[Android] Update delete action mode icon

Alexandre Perraud git at videolan.org
Fri Oct 6 10:20:34 UTC 2023


vlc-android | branch: master | Alexandre Perraud <alexandre at videolan.org> | Fri Sep 15 10:16:55 2023 +0200| [c6823241a5d4b4be85e8dac6a757dba90643d500] | committer: Alexandre Perraud

Update delete action mode icon

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

 .../assets/images/svg/{ic_delete_toolbar.svg => ic_am_delete.svg}       | 0
 .../src/main/res/drawable/{ic_delete_toolbar.xml => ic_am_delete.xml}   | 0
 application/vlc-android/res/menu/action_mode_audio_browser.xml          | 2 +-
 application/vlc-android/res/menu/action_mode_browser_file.xml           | 2 +-
 application/vlc-android/res/menu/action_mode_folder.xml                 | 2 +-
 application/vlc-android/res/menu/action_mode_video.xml                  | 2 +-
 application/vlc-android/res/menu/action_mode_video_group.xml            | 2 +-
 application/vlc-android/res/menu/activity_option.xml                    | 2 +-
 8 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/application/resources/assets/images/svg/ic_delete_toolbar.svg b/application/resources/assets/images/svg/ic_am_delete.svg
similarity index 100%
rename from application/resources/assets/images/svg/ic_delete_toolbar.svg
rename to application/resources/assets/images/svg/ic_am_delete.svg
diff --git a/application/resources/src/main/res/drawable/ic_delete_toolbar.xml b/application/resources/src/main/res/drawable/ic_am_delete.xml
similarity index 100%
rename from application/resources/src/main/res/drawable/ic_delete_toolbar.xml
rename to application/resources/src/main/res/drawable/ic_am_delete.xml
diff --git a/application/vlc-android/res/menu/action_mode_audio_browser.xml b/application/vlc-android/res/menu/action_mode_audio_browser.xml
index 8f48aa405e..57401e945a 100644
--- a/application/vlc-android/res/menu/action_mode_audio_browser.xml
+++ b/application/vlc-android/res/menu/action_mode_audio_browser.xml
@@ -40,7 +40,7 @@
     <item
         android:id="@+id/action_mode_audio_delete"
         android:title="@string/delete"
-            android:icon="@drawable/ic_delete_toolbar"
+            android:icon="@drawable/ic_am_delete"
         android:visible="false"
             app:showAsAction="ifRoom" />
     <group android:id="@+id/phone_only" >
diff --git a/application/vlc-android/res/menu/action_mode_browser_file.xml b/application/vlc-android/res/menu/action_mode_browser_file.xml
index 5ebabba86d..fe61a664a9 100644
--- a/application/vlc-android/res/menu/action_mode_browser_file.xml
+++ b/application/vlc-android/res/menu/action_mode_browser_file.xml
@@ -21,7 +21,7 @@
         android:id="@+id/action_mode_file_delete"
         android:title="@string/delete"
         android:visible="false"
-            android:icon="@drawable/ic_delete_toolbar"
+            android:icon="@drawable/ic_am_delete"
         app:showAsAction="always"/>
     <item
         android:id="@+id/action_mode_file_add_playlist"
diff --git a/application/vlc-android/res/menu/action_mode_folder.xml b/application/vlc-android/res/menu/action_mode_folder.xml
index ac50219ae9..3482633e93 100644
--- a/application/vlc-android/res/menu/action_mode_folder.xml
+++ b/application/vlc-android/res/menu/action_mode_folder.xml
@@ -19,7 +19,7 @@
     <item
             android:id="@+id/action_video_delete"
             android:title="@string/delete"
-            android:icon="@drawable/ic_delete_toolbar"
+            android:icon="@drawable/ic_am_delete"
             app:showAsAction="ifRoom" />
     <item
         android:orderInCategory="6"
diff --git a/application/vlc-android/res/menu/action_mode_video.xml b/application/vlc-android/res/menu/action_mode_video.xml
index b77d396ced..7b6a537547 100644
--- a/application/vlc-android/res/menu/action_mode_video.xml
+++ b/application/vlc-android/res/menu/action_mode_video.xml
@@ -36,7 +36,7 @@
     <item
         android:id="@+id/action_video_delete"
         android:title="@string/delete"
-            android:icon="@drawable/ic_delete_toolbar"
+            android:icon="@drawable/ic_am_delete"
         app:showAsAction="ifRoom" />
     <item
         android:id="@+id/action_video_download_subtitles"
diff --git a/application/vlc-android/res/menu/action_mode_video_group.xml b/application/vlc-android/res/menu/action_mode_video_group.xml
index 4e05ff67b7..825329d169 100644
--- a/application/vlc-android/res/menu/action_mode_video_group.xml
+++ b/application/vlc-android/res/menu/action_mode_video_group.xml
@@ -34,7 +34,7 @@
     <item
             android:id="@+id/action_video_delete"
             android:title="@string/delete"
-            android:icon="@drawable/ic_delete_toolbar"
+            android:icon="@drawable/ic_am_delete"
             app:showAsAction="ifRoom" />
 
     <item
diff --git a/application/vlc-android/res/menu/activity_option.xml b/application/vlc-android/res/menu/activity_option.xml
index a17fdd2022..72a52465c0 100644
--- a/application/vlc-android/res/menu/activity_option.xml
+++ b/application/vlc-android/res/menu/activity_option.xml
@@ -213,7 +213,7 @@
     <item
             android:orderInCategory="5"
             android:title="@string/ungroup"
-            android:icon="@drawable/ic_delete_toolbar"
+            android:icon="@drawable/ic_am_delete"
             android:visible="false"
             vlc:showAsAction="ifRoom"
             android:id="@+id/ungroup" />



More information about the Android mailing list