Changed seekbar style
This commit is contained in:
		
							parent
							
								
									bc6fba88fa
								
							
						
					
					
						commit
						54eaa273b6
					
				
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable/seekbar_bg.9.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable/seekbar_bg.9.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 207 B | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable/seekbar_fill.9.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable/seekbar_fill.9.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 206 B | 
							
								
								
									
										12
									
								
								app/src/main/res/drawable/seekbar_progress.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								app/src/main/res/drawable/seekbar_progress.xml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | ||||
|     <item android:id="@android:id/background"> | ||||
|         <nine-patch android:src="@drawable/seekbar_bg" android:dither="true"/> | ||||
|     </item> | ||||
|     <item android:id="@android:id/progress"> | ||||
|         <clip android:clipOrientation="horizontal" | ||||
|               android:gravity="left"> | ||||
|             <nine-patch android:src="@drawable/seekbar_fill" android:dither="true"/> | ||||
|         </clip> | ||||
|     </item> | ||||
| </layer-list> | ||||
							
								
								
									
										11
									
								
								app/src/main/res/drawable/seekbar_thumb.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/src/main/res/drawable/seekbar_thumb.xml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <item> | ||||
|         <shape android:shape="oval"> | ||||
|             <solid android:color="@color/fdroid_green"/> | ||||
|             <size | ||||
|                     android:width="20dp" | ||||
|                     android:height="20dp"/> | ||||
|         </shape> | ||||
|     </item> | ||||
| </layer-list> | ||||
| @ -46,7 +46,8 @@ | ||||
|              android:layout_below="@android:id/summary" | ||||
|              android:layout_alignStart="@android:id/summary" | ||||
|              android:layout_alignLeft="@android:id/summary" | ||||
|              android:thumb="@android:drawable/radiobutton_off_background" | ||||
|              android:progressDrawable="@drawable/seekbar_progress" | ||||
|              android:thumb="@drawable/seekbar_thumb" | ||||
|              android:padding="16dip" | ||||
|              android:theme="@style/Widget.AppCompat.SeekBar.Discrete"/> | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ByteHamster
						ByteHamster