[Android] Style: change the overflow menu icon of the action bar

Adrien Maglo git at videolan.org
Mon Mar 3 16:44:34 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Mar  3 16:44:25 2014 +0100| [432d08a59adeac26a3d99bde772eba208ce027c7] | committer: Adrien Maglo

Style: change the overflow menu icon of the action bar

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

 vlc-android/res/values/styles.xml |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 12f7bb3..9533f7b 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -13,6 +13,8 @@
         <item name="android:actionBarStyle">@style/ActionBar</item>
         <item name="android:windowActionBarOverlay">true</item>
         <item name="windowActionBarOverlay">true</item>
+        <item name="android:actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
+        <item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
         <item name="android:listViewStyle">@style/Theme.VLC.List</item>
         <item name="android:gridViewStyle">@style/Theme.VLC.List</item>
         <item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
@@ -110,6 +112,10 @@
         <item name="android:textColor">@color/action_bar_title</item>
     </style>
 
+    <style name="ActionBar.OverflowButton">
+        <item name="android:src">@drawable/ic_menu_overflow</item>
+    </style>
+
     <!-- Advanced options menu styles -->
 
     <style name="Theme.VLC.AdvancedOptions" parent="@android:style/Theme.Dialog">



More information about the Android mailing list