mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Added option to sort library (#536)
* Initial code * Added all sort options * Fixes * Removed sort by added. Some renaming * Removed date added database calls * Fixes
This commit is contained in:
		
				
					committed by
					
						 inorichi
						inorichi
					
				
			
			
				
	
			
			
			
						parent
						
							d971768056
						
					
				
				
					commit
					aba528b227
				
			| @@ -1,6 +1,7 @@ | ||||
| <menu xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity"> | ||||
|       xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|       xmlns:tools="http://schemas.android.com/tools" | ||||
|       tools:context=".MainActivity"> | ||||
|  | ||||
|     <item | ||||
|         android:id="@+id/action_search" | ||||
| @@ -29,11 +30,34 @@ | ||||
|         </menu> | ||||
|     </item> | ||||
|  | ||||
|     <item | ||||
|         android:id="@+id/action_sort" | ||||
|         android:icon="@drawable/ic_sort_white_24dp" | ||||
|         android:title="@string/action_sort" | ||||
|         app:showAsAction="never" | ||||
|         > | ||||
|         <menu> | ||||
|             <group | ||||
|                 android:id="@+id/sort_group" | ||||
|                 android:checkableBehavior="single"> | ||||
|                 <item | ||||
|                     android:id="@+id/action_sort_alpha" | ||||
|                     android:title="@string/action_sort_alpha"/> | ||||
|                 <item | ||||
|                     android:id="@+id/action_sort_last_read" | ||||
|                     android:title="@string/action_sort_last_read"/> | ||||
|                 <item | ||||
|                     android:id="@+id/action_sort_last_updated" | ||||
|                     android:title="@string/action_sort_last_updated"/> | ||||
|             </group> | ||||
|         </menu> | ||||
|     </item> | ||||
|  | ||||
|     <item | ||||
|         android:id="@+id/action_update_library" | ||||
|         android:icon="@drawable/ic_refresh_white_24dp" | ||||
|         android:title="@string/action_update_library" | ||||
|         app:showAsAction="ifRoom" /> | ||||
|         app:showAsAction="ifRoom"/> | ||||
|  | ||||
|     <item | ||||
|         android:id="@+id/action_library_display_mode" | ||||
| @@ -43,6 +67,6 @@ | ||||
|     <item | ||||
|         android:id="@+id/action_edit_categories" | ||||
|         android:title="@string/action_edit_categories" | ||||
|         app:showAsAction="never" /> | ||||
|         app:showAsAction="never"/> | ||||
|  | ||||
| </menu> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user