mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Rewrite catalogue adapter
This commit is contained in:
		| @@ -21,14 +21,6 @@ | ||||
|             android:layout_gravity="center_vertical|center_horizontal" | ||||
|             android:visibility="gone"/> | ||||
|  | ||||
|         <ProgressBar | ||||
|             android:id="@+id/progress_grid" | ||||
|             style="?android:attr/progressBarStyle" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_gravity="center_vertical|center_horizontal" | ||||
|             android:visibility="gone"/> | ||||
|  | ||||
|     </LinearLayout> | ||||
|  | ||||
| </android.support.design.widget.CoordinatorLayout> | ||||
							
								
								
									
										25
									
								
								app/src/main/res/layout/progress_item.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								app/src/main/res/layout/progress_item.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <FrameLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:padding="8dp"> | ||||
|  | ||||
|     <ProgressBar | ||||
|         android:id="@+id/progress_bar" | ||||
|         style="@style/Widget.AppCompat.ProgressBar" | ||||
|         android:layout_width="24dp" | ||||
|         android:layout_height="24dp" | ||||
|         android:layout_gravity="center"/> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@+id/progress_message" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:text="@string/no_more_results" | ||||
|         android:layout_gravity="center" | ||||
|         android:visibility="gone" | ||||
|         tools:visibility="visible"/> | ||||
|  | ||||
| </FrameLayout> | ||||
| @@ -223,6 +223,7 @@ | ||||
|     <string name="source_requires_login">This source requires you to log in</string> | ||||
|     <string name="select_source">Select a source</string> | ||||
|     <string name="no_valid_sources">Please enable at least one valid source</string> | ||||
|     <string name="no_more_results">No more results</string> | ||||
|  | ||||
|     <!-- Manga activity --> | ||||
|     <string name="manga_not_in_db">This manga was removed from the database!</string> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user