Added option to download page or set page as cover (#481)
* Added option to download page or set page as cover * Removed network call now copies from page image * Format fix + notification feedback * Added code to prevent OutOfMemory error. Made notification optional. Can now save image on long press. Bug fixes * Now uses glide for notification * Fixed webtoon page * Fixes + API 16 support * fixes * Fixed API 24 FileProvider error * Added page.ready check * Indention
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-hdpi/ic_delete_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 485 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-hdpi/ic_insert_photo_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 247 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-hdpi/ic_share_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 928 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-mdpi/ic_delete_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 367 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-mdpi/ic_insert_photo_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 185 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-mdpi/ic_share_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 554 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xhdpi/ic_delete_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 594 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xhdpi/ic_insert_photo_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 304 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xhdpi/ic_share_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxhdpi/ic_delete_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 695 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxhdpi/ic_insert_photo_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 450 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxhdpi/ic_share_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/ic_delete_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/ic_insert_photo_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 570 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/ic_share_grey_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable/ic_insert_photo_white_24dp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 185 B | 
| @@ -176,4 +176,16 @@ | ||||
|         <item>3</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="reader_image_options"> | ||||
|         <item>@string/set_as_cover</item> | ||||
|         <item>@string/action_share</item> | ||||
|         <item>@string/action_save</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="reader_image_options_values"> | ||||
|         <item>0</item> | ||||
|         <item>1</item> | ||||
|         <item>2</item> | ||||
|     </string-array> | ||||
|  | ||||
| </resources> | ||||
| @@ -48,7 +48,6 @@ | ||||
|     <string name="pref_download_only_over_wifi_key">pref_download_only_over_wifi_key</string> | ||||
|     <string name="pref_remove_after_marked_as_read_key">pref_remove_after_marked_as_read_key</string> | ||||
|     <string name="pref_category_remove_after_read_key">pref_category_remove_after_read_key</string> | ||||
|  | ||||
|     <string name="pref_last_used_category_key">last_used_category</string> | ||||
|  | ||||
|     <string name="pref_source_languages">pref_source_languages</string> | ||||
|   | ||||
| @@ -62,6 +62,7 @@ | ||||
|     <string name="action_sort">Sort</string> | ||||
|     <string name="action_install">Install</string> | ||||
|     <string name="action_share">Share</string> | ||||
|     <string name="action_save">Save</string> | ||||
|  | ||||
|     <!-- Operations --> | ||||
|     <string name="deleting">Deleting…</string> | ||||
| @@ -224,7 +225,6 @@ | ||||
|     <string name="manga_info_status_label">Status</string> | ||||
|     <string name="manga_info_source_label">Source</string> | ||||
|     <string name="manga_info_genres_label">Genres</string> | ||||
|     <string name="share_subject">Share…</string> | ||||
|     <string name="share_text">Check out %1$s! at %2$s</string> | ||||
|     <string name="circular_icon">Circular icon</string> | ||||
|     <string name="rounded_icon">Rounded icon</string> | ||||
| @@ -272,9 +272,16 @@ | ||||
|     <string name="dialog_remove_recently_description">This will remove the read date of this chapter. Are you sure?</string> | ||||
|     <string name="dialog_remove_recently_reset">Reset all chapters for this manga</string> | ||||
|  | ||||
|     <!-- Image notifier --> | ||||
|     <string name="picture_saved">Picture saved</string> | ||||
|     <string name="saving_picture">Saving picture</string> | ||||
|     <string name="options">Options</string> | ||||
|  | ||||
|     <!-- Reader activity --> | ||||
|     <string name="custom_filter">Custom filter</string> | ||||
|     <string name="set_as_cover">Set as cover</string> | ||||
|     <string name="cover_updated">Cover updated</string> | ||||
|     <string name="page_downloaded">Page copied to %1$s</string> | ||||
|     <string name="downloading">Downloading…</string> | ||||
|     <string name="download_progress">Downloaded %1$d%%</string> | ||||
|     <string name="chapter_progress">Page: %1$d</string> | ||||
| @@ -305,6 +312,7 @@ | ||||
|     <string name="notification_no_new_chapters">No new chapters found</string> | ||||
|     <string name="notification_new_chapters">New chapters found for:</string> | ||||
|     <string name="notification_manga_update_failed">Failed to update manga:</string> | ||||
|     <string name="notification_cover_update_failed">Failed to update cover</string> | ||||
|     <string name="notification_first_add_to_library">Please add the manga to your library before doing this</string> | ||||
|     <string name="notification_not_connected_to_ac_title">Sync canceled</string> | ||||
|     <string name="notification_not_connected_to_ac_body">Not connected to AC power</string> | ||||
|   | ||||
							
								
								
									
										4
									
								
								app/src/main/res/xml/provider_paths.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,4 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <paths> | ||||
|     <external-path name="pictures" path="Pictures" /> | ||||
| </paths> | ||||