[Android] Fix MenuDrawer items alignment

Geoffrey Métais git at videolan.org
Fri Feb 27 12:20:22 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 27 12:19:56 2015 +0100| [e9371348582009f31b2d45b86b87ec1a883c9b5d] | committer: Geoffrey Métais

Fix MenuDrawer items alignment

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

 vlc-android/res/layout/sidebar.xml |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/layout/sidebar.xml b/vlc-android/res/layout/sidebar.xml
index ad45286..5293f2e 100644
--- a/vlc-android/res/layout/sidebar.xml
+++ b/vlc-android/res/layout/sidebar.xml
@@ -33,7 +33,10 @@
             android:layout_height="32dp"
             android:layout_alignParentLeft="true"
             android:layout_above="@+id/about_icon"
-            android:layout_margin="10dp"
+            android:layout_marginLeft="10dp"
+            android:layout_marginTop="10dp"
+            android:layout_marginBottom="10dp"
+            android:layout_marginRight="5dp"
             android:clickable="true"
             android:onClick="onClick"
             android:src="?attr/ic_menu_preferences"/>
@@ -60,7 +63,10 @@
             android:layout_height="32dp"
             android:layout_alignParentLeft="true"
             android:layout_alignParentBottom="true"
-            android:layout_margin="10dp"
+            android:layout_marginLeft="10dp"
+            android:layout_marginTop="10dp"
+            android:layout_marginBottom="10dp"
+            android:layout_marginRight="5dp"
             android:clickable="true"
             android:onClick="onClick"
             android:src="?attr/ic_menu_cone"/>



More information about the Android mailing list