[Android] Fix resume playback icon in launcher shortcuts

Nicolas Pomepuy git at videolan.org
Mon Sep 16 16:34:05 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Mon Sep 16 10:27:13 2019 +0200| [fdc3db0d21672776c893bff2c3aa47b3165e84ed] | committer: Geoffrey Métais

Fix resume playback icon in launcher shortcuts

> https://code.videolan.org/videolan/vlc-android/commit/fdc3db0d21672776c893bff2c3aa47b3165e84ed
---

 vlc-android/flavors/debug/res/xml/shortcuts.xml          |   2 +-
 .../res/drawable-hdpi/ic_shortcut_resume_playback.png    | Bin 0 -> 3681 bytes
 .../res/drawable-mdpi/ic_shortcut_resume_playback.png    | Bin 0 -> 1968 bytes
 .../res/drawable-xhdpi/ic_shortcut_resume_playback.png   | Bin 0 -> 4180 bytes
 .../res/drawable-xxhdpi/ic_shortcut_resume_playback.png  | Bin 0 -> 7920 bytes
 .../res/drawable-xxxhdpi/ic_shortcut_resume_playback.png | Bin 0 -> 9486 bytes
 6 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/flavors/debug/res/xml/shortcuts.xml b/vlc-android/flavors/debug/res/xml/shortcuts.xml
index 7e514584f..a3d0206a2 100644
--- a/vlc-android/flavors/debug/res/xml/shortcuts.xml
+++ b/vlc-android/flavors/debug/res/xml/shortcuts.xml
@@ -5,7 +5,7 @@
     <shortcut
         android:shortcutId="last_playlist"
         android:enabled="true"
-        android:icon="@drawable/ic_queue_music"
+            android:icon="@drawable/ic_shortcut_resume_playback"
             android:shortcutShortLabel="@string/resume_playback"
             android:shortcutLongLabel="@string/resume_playback_long_shortcut">
         <intent
diff --git a/vlc-android/res/drawable-hdpi/ic_shortcut_resume_playback.png b/vlc-android/res/drawable-hdpi/ic_shortcut_resume_playback.png
new file mode 100644
index 000000000..c1a1f8419
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_shortcut_resume_playback.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_shortcut_resume_playback.png b/vlc-android/res/drawable-mdpi/ic_shortcut_resume_playback.png
new file mode 100644
index 000000000..2f77ae2c9
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_shortcut_resume_playback.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_shortcut_resume_playback.png b/vlc-android/res/drawable-xhdpi/ic_shortcut_resume_playback.png
new file mode 100644
index 000000000..826a50ee6
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_shortcut_resume_playback.png differ
diff --git a/vlc-android/res/drawable-xxhdpi/ic_shortcut_resume_playback.png b/vlc-android/res/drawable-xxhdpi/ic_shortcut_resume_playback.png
new file mode 100644
index 000000000..bca39d493
Binary files /dev/null and b/vlc-android/res/drawable-xxhdpi/ic_shortcut_resume_playback.png differ
diff --git a/vlc-android/res/drawable-xxxhdpi/ic_shortcut_resume_playback.png b/vlc-android/res/drawable-xxxhdpi/ic_shortcut_resume_playback.png
new file mode 100644
index 000000000..c1e912834
Binary files /dev/null and b/vlc-android/res/drawable-xxxhdpi/ic_shortcut_resume_playback.png differ



More information about the Android mailing list