[Android] Restore correct actionbar size

Geoffrey Métais git at videolan.org
Wed Apr 1 18:35:54 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr  1 18:35:28 2015 +0200| [5a2f6f648d1948dbfedbb0756c0da525244be830] | committer: Geoffrey Métais

Restore correct actionbar size

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

 vlc-android/res/layout/main.xml    |    2 +-
 vlc-android/res/layout/sidebar.xml |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/layout/main.xml b/vlc-android/res/layout/main.xml
index a5489b5..174c0e6 100644
--- a/vlc-android/res/layout/main.xml
+++ b/vlc-android/res/layout/main.xml
@@ -30,7 +30,7 @@
 
                 <View
                     android:layout_width="fill_parent"
-                    android:layout_height="@dimen/actionBarSize"
+                    android:layout_height="?attr/actionBarSize"
                     android:background="?attr/background_actionbar" />
 
                 <FrameLayout
diff --git a/vlc-android/res/layout/sidebar.xml b/vlc-android/res/layout/sidebar.xml
index 6389e4e..f15a0d1 100644
--- a/vlc-android/res/layout/sidebar.xml
+++ b/vlc-android/res/layout/sidebar.xml
@@ -10,7 +10,7 @@
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:focusable="true"
-        android:paddingTop="@dimen/actionBarSize"
+        android:paddingTop="?attr/actionBarSize"
         android:layout_above="@+id/sidebar_separator_settings"
         android:nextFocusForward="@id/sidelist"
         android:nextFocusUp="@id/sidelist"



More information about the Android mailing list