[Android] Temporary icons for context actions

Geoffrey Métais git at videolan.org
Tue Sep 11 16:42:55 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Sep 11 16:42:35 2018 +0200| [7d3a467428b79d09c6f5188c01ba8daf57477b5c] | committer: Geoffrey Métais

Temporary icons for context actions

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

 .../res/drawable-hdpi/ic_mode_edit_grey_600_36dp.png      | Bin 0 -> 394 bytes
 vlc-android/res/drawable-hdpi/ic_stop_grey_600_36dp.png   | Bin 0 -> 154 bytes
 .../res/drawable-mdpi/ic_mode_edit_grey_600_36dp.png      | Bin 0 -> 297 bytes
 vlc-android/res/drawable-mdpi/ic_stop_grey_600_36dp.png   | Bin 0 -> 113 bytes
 .../res/drawable-xhdpi/ic_mode_edit_grey_600_36dp.png     | Bin 0 -> 463 bytes
 vlc-android/res/drawable-xhdpi/ic_stop_grey_600_36dp.png  | Bin 0 -> 181 bytes
 .../res/drawable-xxhdpi/ic_mode_edit_grey_600_36dp.png    | Bin 0 -> 659 bytes
 vlc-android/res/drawable-xxhdpi/ic_stop_grey_600_36dp.png | Bin 0 -> 268 bytes
 .../res/drawable-xxxhdpi/ic_mode_edit_grey_600_36dp.png   | Bin 0 -> 764 bytes
 .../res/drawable-xxxhdpi/ic_stop_grey_600_36dp.png        | Bin 0 -> 411 bytes
 .../src/org/videolan/vlc/gui/dialogs/ContextSheet.kt      |   4 ++--
 11 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/drawable-hdpi/ic_mode_edit_grey_600_36dp.png b/vlc-android/res/drawable-hdpi/ic_mode_edit_grey_600_36dp.png
new file mode 100644
index 000000000..87cc5b3a9
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_mode_edit_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-hdpi/ic_stop_grey_600_36dp.png b/vlc-android/res/drawable-hdpi/ic_stop_grey_600_36dp.png
new file mode 100644
index 000000000..c9ccb272d
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_stop_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_mode_edit_grey_600_36dp.png b/vlc-android/res/drawable-mdpi/ic_mode_edit_grey_600_36dp.png
new file mode 100644
index 000000000..b6b43fe14
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_mode_edit_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_stop_grey_600_36dp.png b/vlc-android/res/drawable-mdpi/ic_stop_grey_600_36dp.png
new file mode 100644
index 000000000..3c9496e65
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_stop_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_mode_edit_grey_600_36dp.png b/vlc-android/res/drawable-xhdpi/ic_mode_edit_grey_600_36dp.png
new file mode 100644
index 000000000..df197b76e
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_mode_edit_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_stop_grey_600_36dp.png b/vlc-android/res/drawable-xhdpi/ic_stop_grey_600_36dp.png
new file mode 100644
index 000000000..cfb5e7a56
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_stop_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-xxhdpi/ic_mode_edit_grey_600_36dp.png b/vlc-android/res/drawable-xxhdpi/ic_mode_edit_grey_600_36dp.png
new file mode 100644
index 000000000..b5c107e70
Binary files /dev/null and b/vlc-android/res/drawable-xxhdpi/ic_mode_edit_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-xxhdpi/ic_stop_grey_600_36dp.png b/vlc-android/res/drawable-xxhdpi/ic_stop_grey_600_36dp.png
new file mode 100644
index 000000000..6e90a07fa
Binary files /dev/null and b/vlc-android/res/drawable-xxhdpi/ic_stop_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-xxxhdpi/ic_mode_edit_grey_600_36dp.png b/vlc-android/res/drawable-xxxhdpi/ic_mode_edit_grey_600_36dp.png
new file mode 100644
index 000000000..7365af323
Binary files /dev/null and b/vlc-android/res/drawable-xxxhdpi/ic_mode_edit_grey_600_36dp.png differ
diff --git a/vlc-android/res/drawable-xxxhdpi/ic_stop_grey_600_36dp.png b/vlc-android/res/drawable-xxxhdpi/ic_stop_grey_600_36dp.png
new file mode 100644
index 000000000..cb2bbb280
Binary files /dev/null and b/vlc-android/res/drawable-xxxhdpi/ic_stop_grey_600_36dp.png differ
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/ContextSheet.kt b/vlc-android/src/org/videolan/vlc/gui/dialogs/ContextSheet.kt
index e7b3932e9..2f9bda5bd 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/ContextSheet.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/ContextSheet.kt
@@ -95,8 +95,8 @@ class ContextSheet : BottomSheetDialogFragment() {
         if (flags and CTX_FAV_EDIT != 0) add(Simple(CTX_FAV_EDIT, getString(R.string.favorites_edit), R.drawable.ic_ctx_fav_edit_normal))
         if (flags and CTX_FAV_REMOVE != 0) add(Simple(CTX_FAV_REMOVE, getString(R.string.favorites_remove), R.drawable.ic_ctx_fav_remove_normal))
         if (flags and CTX_REMOVE_FROM_PLAYLIST != 0) add(Simple(CTX_REMOVE_FROM_PLAYLIST, getString(R.string.remove), R.drawable.ic_ctx_remove_from_playlist_normal))
-        if (flags and CTX_STOP_AFTER_THIS != 0) add(Simple(CTX_STOP_AFTER_THIS, getString(R.string.stop_after_this), R.drawable.ic_pause_normal))
-        if (flags and CTX_RENAME != 0) add(Simple(CTX_RENAME, getString(R.string.rename), R.drawable.ic_ctx_play_normal))
+        if (flags and CTX_STOP_AFTER_THIS != 0) add(Simple(CTX_STOP_AFTER_THIS, getString(R.string.stop_after_this), R.drawable.ic_stop_grey_600_36dp))
+        if (flags and CTX_RENAME != 0) add(Simple(CTX_RENAME, getString(R.string.rename), R.drawable.ic_mode_edit_grey_600_36dp))
     }
 
     inner class ContextAdapter : RecyclerView.Adapter<ContextAdapter.ViewHolder>() {



More information about the Android mailing list