[Android] Sidebar : Set left alignment for menu text.

Alexandre Perraud git at videolan.org
Wed Mar 5 22:37:15 CET 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Mar  5 16:29:01 2014 +0100| [338258c73258b9f9ee465f96e71813c989c5e129] | committer: Adrien Maglo

Sidebar : Set left alignment for menu text.

Signed-off-by: Adrien Maglo <magsoft at videolan.org>

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

 vlc-android/res/layout/sidebar_item.xml |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/vlc-android/res/layout/sidebar_item.xml b/vlc-android/res/layout/sidebar_item.xml
index 2e5dc01..3172d60 100644
--- a/vlc-android/res/layout/sidebar_item.xml
+++ b/vlc-android/res/layout/sidebar_item.xml
@@ -6,9 +6,10 @@
     android:layout_marginLeft="5dip"
     android:layout_marginRight="5dip"
     android:layout_marginTop="5dip"
-    android:padding="13dip"
     android:drawableLeft="@drawable/icon"
+    android:drawablePadding="5dip"
+    android:gravity="left|center_vertical"
+    android:padding="13dip"
     android:text="@string/title"
     android:textColor="?attr/list_menu"
-    android:textSize="20sp"
-    android:gravity="center" />
+    android:textSize="20sp" />



More information about the Android mailing list