add better icon for notification
This commit is contained in:
		| @@ -57,7 +57,7 @@ class AutoBrightnessDelayService : Service() { | |||||||
|       NOTIFICATION_ID, |       NOTIFICATION_ID, | ||||||
|       NotificationCompat.Builder(this, CHANNEL_ID) |       NotificationCompat.Builder(this, CHANNEL_ID) | ||||||
|         .setContentTitle("AutoBrightnessDelay running") |         .setContentTitle("AutoBrightnessDelay running") | ||||||
|         .setSmallIcon(android.R.drawable.ic_menu_view) |         .setSmallIcon(R.drawable.brightness_auto) | ||||||
|         .setOngoing(true) |         .setOngoing(true) | ||||||
|         .build(), |         .build(), | ||||||
|     ) |     ) | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								app/src/main/res/drawable/brightness_auto.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								app/src/main/res/drawable/brightness_auto.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp"> | ||||||
|  |        | ||||||
|  |     <path android:fillColor="@android:color/white" android:pathData="M10.85,12.65h2.3L12,9l-1.15,3.65zM20,8.69V4h-4.69L12,0.69 8.69,4H4v4.69L0.69,12 4,15.31V20h4.69L12,23.31 15.31,20H20v-4.69L23.31,12 20,8.69zM14.3,16l-0.7,-2h-3.2l-0.7,2H7.8L11,7h2l3.2,9h-1.9z"/> | ||||||
|  |      | ||||||
|  | </vector> | ||||||
		Reference in New Issue
	
	Block a user