[Android] UI : Use new cone menu icon

Alexandre Perraud git at videolan.org
Wed Jan 28 17:44:38 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Jan 28 14:42:57 2015 +0100| [fe7d4523b9ee90597316472b39b58fda449759bb] | committer: Alexandre Perraud

UI : Use new cone menu icon

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=fe7d4523b9ee90597316472b39b58fda449759bb
---

 vlc-android/res/layout/sidebar.xml |    2 +-
 vlc-android/res/values/attrs.xml   |    1 +
 vlc-android/res/values/styles.xml  |    2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/sidebar.xml b/vlc-android/res/layout/sidebar.xml
index dfe586e..f2dc061 100644
--- a/vlc-android/res/layout/sidebar.xml
+++ b/vlc-android/res/layout/sidebar.xml
@@ -38,7 +38,7 @@
             android:layout_margin="10dp"
             android:clickable="true"
             android:onClick="onClick"
-            android:src="@drawable/ic_cone_o"/>
+            android:src="?attr/ic_menu_cone"/>
 
         <TextView
             android:id="@+id/about"
diff --git a/vlc-android/res/values/attrs.xml b/vlc-android/res/values/attrs.xml
index 1ccf0e1..00ca621 100644
--- a/vlc-android/res/values/attrs.xml
+++ b/vlc-android/res/values/attrs.xml
@@ -50,6 +50,7 @@
     <attr name="ic_menu_history" format="reference" />
     <attr name="ic_menu_openmrl" format="reference" />
     <attr name="ic_menu_preferences" format="reference" />
+    <attr name="ic_menu_cone" format="reference" />
     <attr name="ic_move_media" format="reference" />
     <attr name="gridview_progressbar" format="reference" />
 
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index c9c6ab9..38b93ca 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -69,6 +69,7 @@
         <item name="ic_menu_history">@drawable/ic_menu_history</item>
         <item name="ic_menu_openmrl">@drawable/ic_menu_goto</item>
         <item name="ic_menu_preferences">@drawable/ic_menu_preferences</item>
+        <item name="ic_menu_cone">@drawable/ic_menu_cone</item>
         <item name="ic_move_media">@drawable/ic_move_media</item>
         <item name="gridview_progressbar">@drawable/gridview_progressbar_w</item>
         <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsLight</item>
@@ -136,6 +137,7 @@
         <item name="ic_menu_history">@drawable/ic_menu_history_w</item>
         <item name="ic_menu_openmrl">@drawable/ic_menu_goto_w</item>
         <item name="ic_menu_preferences">@drawable/ic_menu_preferences_w</item>
+        <item name="ic_menu_cone">@drawable/ic_menu_cone_w</item>
         <item name="ic_move_media">@drawable/ic_move_media_w</item>
         <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
         <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>



More information about the Android mailing list