mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Can now filter downloads only on library view. Fix #27
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-hdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-hdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 111 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-mdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-mdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 90 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xhdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xhdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 103 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxhdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxhdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 107 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/ic_filter_list_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 106 B | 
| @@ -2,6 +2,26 @@ | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity"> | ||||
|  | ||||
|     <item | ||||
|         android:id="@+id/action_filter" | ||||
|         android:title="@string/action_filter" | ||||
|         android:icon="@drawable/ic_filter_list_white_24dp" | ||||
|         app:showAsAction="ifRoom"> | ||||
|         <menu> | ||||
|             <item | ||||
|                 android:id="@+id/action_filter_downloaded" | ||||
|                 android:checkable="true" | ||||
|                 android:title="@string/action_filter_downloaded"/> | ||||
|             <item | ||||
|                 android:id="@+id/action_filter_unread" | ||||
|                 android:checkable="true" | ||||
|                 android:title="@string/action_filter_unread"/> | ||||
|             <item | ||||
|                 android:id="@+id/action_filter_empty" | ||||
|                 android:title="@string/action_filter_empty"/> | ||||
|         </menu> | ||||
|     </item> | ||||
|  | ||||
|     <item | ||||
|         android:id="@+id/action_search" | ||||
|         android:title="@string/action_search" | ||||
|   | ||||
| @@ -28,6 +28,7 @@ | ||||
|     <string name="pref_reader_theme_key">pref_reader_theme_key</string> | ||||
|     <string name="pref_image_decoder_key">pref_image_decoder_key</string> | ||||
|     <string name="pref_seamless_mode_key">pref_seamless_mode_key</string> | ||||
|     <string name="pref_filter_downloaded">pref_filter_downloaded</string> | ||||
|  | ||||
|     <string name="pref_download_directory_key">pref_download_directory_key</string> | ||||
|     <string name="pref_download_slots_key">pref_download_slots_key</string> | ||||
|   | ||||
| @@ -14,6 +14,10 @@ | ||||
|  | ||||
|     <!-- Actions --> | ||||
|     <string name="action_settings">Settings</string> | ||||
|     <string name="action_filter">Filter</string> | ||||
|     <string name="action_filter_downloaded">Downloaded</string> | ||||
|     <string name="action_filter_unread">Unread</string> | ||||
|     <string name="action_filter_empty">Remove filter</string> | ||||
|     <string name="action_search">Search</string> | ||||
|     <string name="action_refresh">Refresh</string> | ||||
|     <string name="action_select_all">Select all</string> | ||||
|   | ||||
| @@ -15,7 +15,7 @@ | ||||
|         <item name="actionModeBackground">@color/colorPrimarySuperDark</item> | ||||
|         <item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item> | ||||
|         <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item> | ||||
|         <item name="colorAccent">@color/white</item> | ||||
|         <item name="colorAccent">@color/colorAccent</item> | ||||
|     </style> | ||||
|  | ||||
|     <style name="AppTheme.Overlay.Dark" parent="ThemeOverlay.AppCompat.Dark.ActionBar"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user