[Android] Action bar: set a constant size to the action bar

Adrien Maglo git at videolan.org
Mon Mar 10 15:23:40 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Mar 10 15:23:33 2014 +0100| [8a54ebcb47317f945928f3f967a6d9b33ac8e952] | committer: Adrien Maglo

Action bar: set a constant size to the action bar

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

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

diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index fa1c631..e11dfd3 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -11,6 +11,8 @@
     <style name="Theme.VLC" parent="Theme.Sherlock.Light">
         <item name="actionBarStyle">@style/ActionBar</item>
         <item name="android:actionBarStyle">@style/ActionBar</item>
+        <item name="actionBarSize">50dp</item>
+        <item name="android:actionBarSize">50dp</item>
         <item name="android:windowActionBarOverlay">true</item>
         <item name="windowActionBarOverlay">true</item>
         <item name="android:actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
@@ -64,6 +66,8 @@
     <style name="Theme.VLC.Black" parent="Theme.Sherlock">
         <item name="actionBarStyle">@style/ActionBar</item>
         <item name="android:actionBarStyle">@style/ActionBar</item>
+        <item name="actionBarSize">50dp</item>
+        <item name="android:actionBarSize">50dp</item>
         <item name="android:windowActionBarOverlay">true</item>
         <item name="windowActionBarOverlay">true</item>
         <item name="android:actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>



More information about the Android mailing list