[Android] Material icon for playlist in video player

Geoffrey Métais git at videolan.org
Wed Jan 27 17:42:37 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 27 17:42:12 2016 +0100| [14887370c9b7f5663b518215700e95d9516e9a81] | committer: Geoffrey Métais

Material icon for playlist in video player

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

 vlc-android/res/drawable-hdpi/ic_playlist_play.png        | Bin 0 -> 258 bytes
 .../res/drawable-hdpi/ic_playlist_play_selected.png       | Bin 0 -> 259 bytes
 vlc-android/res/drawable-mdpi/ic_playlist_play.png        | Bin 0 -> 200 bytes
 .../res/drawable-mdpi/ic_playlist_play_selected.png       | Bin 0 -> 200 bytes
 vlc-android/res/drawable-xhdpi/ic_playlist_play.png       | Bin 0 -> 272 bytes
 .../res/drawable-xhdpi/ic_playlist_play_selected.png      | Bin 0 -> 271 bytes
 vlc-android/res/drawable-xxhdpi/ic_playlist_play.png      | Bin 0 -> 437 bytes
 .../res/drawable-xxhdpi/ic_playlist_play_selected.png     | Bin 0 -> 437 bytes
 vlc-android/res/drawable-xxxhdpi/ic_playlist_play.png     | Bin 0 -> 554 bytes
 .../res/drawable-xxxhdpi/ic_playlist_play_selected.png    | Bin 0 -> 554 bytes
 vlc-android/res/drawable/ic_playlist_video.xml            |   7 +++++++
 vlc-android/res/layout-v16/player_action_bar.xml          |   2 +-
 vlc-android/res/layout/player_action_bar.xml              |   2 +-
 13 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/drawable-hdpi/ic_playlist_play.png b/vlc-android/res/drawable-hdpi/ic_playlist_play.png
new file mode 100644
index 0000000..20ab287
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_playlist_play.png differ
diff --git a/vlc-android/res/drawable-hdpi/ic_playlist_play_selected.png b/vlc-android/res/drawable-hdpi/ic_playlist_play_selected.png
new file mode 100644
index 0000000..3fa151c
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_playlist_play_selected.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_playlist_play.png b/vlc-android/res/drawable-mdpi/ic_playlist_play.png
new file mode 100644
index 0000000..8281793
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_playlist_play.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_playlist_play_selected.png b/vlc-android/res/drawable-mdpi/ic_playlist_play_selected.png
new file mode 100644
index 0000000..fcd241a
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_playlist_play_selected.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_playlist_play.png b/vlc-android/res/drawable-xhdpi/ic_playlist_play.png
new file mode 100644
index 0000000..4772ff2
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_playlist_play.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_playlist_play_selected.png b/vlc-android/res/drawable-xhdpi/ic_playlist_play_selected.png
new file mode 100644
index 0000000..ce2a628
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_playlist_play_selected.png differ
diff --git a/vlc-android/res/drawable-xxhdpi/ic_playlist_play.png b/vlc-android/res/drawable-xxhdpi/ic_playlist_play.png
new file mode 100644
index 0000000..08e6702
Binary files /dev/null and b/vlc-android/res/drawable-xxhdpi/ic_playlist_play.png differ
diff --git a/vlc-android/res/drawable-xxhdpi/ic_playlist_play_selected.png b/vlc-android/res/drawable-xxhdpi/ic_playlist_play_selected.png
new file mode 100644
index 0000000..def3046
Binary files /dev/null and b/vlc-android/res/drawable-xxhdpi/ic_playlist_play_selected.png differ
diff --git a/vlc-android/res/drawable-xxxhdpi/ic_playlist_play.png b/vlc-android/res/drawable-xxxhdpi/ic_playlist_play.png
new file mode 100644
index 0000000..3314d73
Binary files /dev/null and b/vlc-android/res/drawable-xxxhdpi/ic_playlist_play.png differ
diff --git a/vlc-android/res/drawable-xxxhdpi/ic_playlist_play_selected.png b/vlc-android/res/drawable-xxxhdpi/ic_playlist_play_selected.png
new file mode 100644
index 0000000..b5127d4
Binary files /dev/null and b/vlc-android/res/drawable-xxxhdpi/ic_playlist_play_selected.png differ
diff --git a/vlc-android/res/drawable/ic_playlist_video.xml b/vlc-android/res/drawable/ic_playlist_video.xml
new file mode 100644
index 0000000..3022dfd
--- /dev/null
+++ b/vlc-android/res/drawable/ic_playlist_video.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+    <item android:drawable="@drawable/ic_playlist_play" android:state_focused="true" android:state_pressed="true"/>
+    <item android:drawable="@drawable/ic_playlist_play_selected" android:state_focused="true"/>
+    <item android:drawable="@drawable/ic_playlist_play_selected" android:state_pressed="true"/>
+    <item android:drawable="@drawable/ic_playlist_play"/>
+</selector>
\ No newline at end of file
diff --git a/vlc-android/res/layout-v16/player_action_bar.xml b/vlc-android/res/layout-v16/player_action_bar.xml
index e56b033..f73e549 100644
--- a/vlc-android/res/layout-v16/player_action_bar.xml
+++ b/vlc-android/res/layout-v16/player_action_bar.xml
@@ -26,7 +26,7 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_alignParentRight="true"
-        android:src="@drawable/ic_playlist"
+        android:src="@drawable/ic_playlist_video"
         android:focusable="true"
         android:visibility="gone"/>
 </RelativeLayout>
diff --git a/vlc-android/res/layout/player_action_bar.xml b/vlc-android/res/layout/player_action_bar.xml
index cb4326f..072a73c 100644
--- a/vlc-android/res/layout/player_action_bar.xml
+++ b/vlc-android/res/layout/player_action_bar.xml
@@ -38,7 +38,7 @@
         android:id="@+id/playlist_toggle"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:src="@drawable/ic_playlist"
+        android:src="@drawable/ic_playlist_video"
         android:focusable="true"
         android:visibility="gone"/>
 </LinearLayout>



More information about the Android mailing list