mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Adjust reader seekbar design
- Revert back to old prev/next chapter icons - Make views taller for easier actions - Use more consistent spacing - Add ripples to prev/next chapter buttons
This commit is contained in:
		
							
								
								
									
										9
									
								
								app/src/main/res/drawable/ic_skip_next_24dp.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/drawable/ic_skip_next_24dp.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|     <path | ||||
|         android:fillColor="@android:color/black" | ||||
|         android:pathData="M6,18l8.5,-6L6,6v12zM16,6v12h2V6h-2z" /> | ||||
| </vector> | ||||
							
								
								
									
										9
									
								
								app/src/main/res/drawable/ic_skip_previous_24dp.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/drawable/ic_skip_previous_24dp.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|     <path | ||||
|         android:fillColor="@android:color/black" | ||||
|         android:pathData="M6,6h2v12L6,18zM9.5,12l8.5,6L18,6z" /> | ||||
| </vector> | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <shape xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:shape="rectangle"> | ||||
|     <corners android:radius="15dp" /> | ||||
|     <corners android:radius="48dp" /> | ||||
|     <solid android:color="?attr/colorPrimary" /> | ||||
| </shape> | ||||
|   | ||||
							
								
								
									
										7
									
								
								app/src/main/res/drawable/reader_seekbar_button.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								app/src/main/res/drawable/reader_seekbar_button.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <item android:drawable="@drawable/reader_seekbar_ripple" android:state_pressed="true" /> | ||||
|     <item android:drawable="@drawable/reader_seekbar_ripple" android:state_focused="true" /> | ||||
|     <item android:drawable="@drawable/reader_seekbar_ripple" android:state_selected="true" /> | ||||
|     <item android:drawable="@drawable/reader_seekbar_background" /> | ||||
| </selector> | ||||
							
								
								
									
										10
									
								
								app/src/main/res/drawable/reader_seekbar_ripple.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								app/src/main/res/drawable/reader_seekbar_ripple.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <ripple xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:color="?attr/colorOnPrimary"> | ||||
|     <item android:id="@android:id/mask"> | ||||
|         <shape android:shape="rectangle"> | ||||
|             <solid android:color="@android:color/white" /> | ||||
|             <corners android:radius="48dp" /> | ||||
|         </shape> | ||||
|     </item> | ||||
| </ripple> | ||||
		Reference in New Issue
	
	Block a user