Improve icon sizes
This commit is contained in:
parent
19580cda8b
commit
731447fda5
|
@ -758,7 +758,7 @@ public class MediaPlayerService extends Service
|
|||
case 0:
|
||||
keycode = KeyEvent.KEYCODE_MEDIA_PREVIOUS;
|
||||
label = getString(R.string.common_play_previous);
|
||||
icon = R.drawable.media_backward_normal_dark;
|
||||
icon = R.drawable.media_backward_medium_dark;
|
||||
break;
|
||||
case 1:
|
||||
// Is handled in generatePlayPauseAction()
|
||||
|
@ -766,7 +766,7 @@ public class MediaPlayerService extends Service
|
|||
case 2:
|
||||
keycode = KeyEvent.KEYCODE_MEDIA_NEXT;
|
||||
label = getString(R.string.common_play_next);
|
||||
icon = R.drawable.media_forward_normal_dark;
|
||||
icon = R.drawable.media_forward_medium_dark;
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
|
@ -787,10 +787,10 @@ public class MediaPlayerService extends Service
|
|||
|
||||
if (isPlaying) {
|
||||
label = getString(R.string.common_pause);
|
||||
icon = R.drawable.media_pause_normal_dark;
|
||||
icon = R.drawable.media_pause_large_dark;
|
||||
} else {
|
||||
label = getString(R.string.common_play);
|
||||
icon = R.drawable.media_start_normal_dark;
|
||||
icon = R.drawable.media_start_large_dark;
|
||||
}
|
||||
|
||||
return new NotificationCompat.Action.Builder(icon, label, pendingIntent).build();
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<vector android:height="32dp"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="32dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FFFFFF" android:pathData="M6,6h2v12L6,18zM9.5,12l8.5,6L18,6z"/>
|
||||
</vector>
|
|
@ -0,0 +1,5 @@
|
|||
<vector android:height="32dp"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="32dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FFFFFF" android:pathData="M6,18l8.5,-6L6,6v12zM16,6v12h2V6h-2z"/>
|
||||
</vector>
|
|
@ -0,0 +1,5 @@
|
|||
<vector android:height="48dp"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FFFFFF" android:pathData="M6,19h4L10,5L6,5v14zM14,5v14h4L18,5h-4z"/>
|
||||
</vector>
|
|
@ -0,0 +1,5 @@
|
|||
<vector android:height="48dp"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FFFFFF" android:pathData="M8,5v14l11,-7z"/>
|
||||
</vector>
|
Loading…
Reference in New Issue