[Android] Fix checkbox alignment in FileBrowser

Geoffrey Métais git at videolan.org
Mon May 4 14:31:23 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon May  4 14:17:55 2015 +0200| [c2b84285a42047dfc0f7c33945b2b73a2f914fb5] | committer: Geoffrey Métais

Fix checkbox alignment in FileBrowser

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

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

diff --git a/vlc-android/res/layout/directory_view_item.xml b/vlc-android/res/layout/directory_view_item.xml
index 9a5e54f..4bf8760 100644
--- a/vlc-android/res/layout/directory_view_item.xml
+++ b/vlc-android/res/layout/directory_view_item.xml
@@ -10,9 +10,10 @@
 
     <CheckBox
         android:id="@+id/browser_checkbox"
-        android:layout_width="wrap_content"
-        android:layout_height="match_parent"
-        android:paddingLeft="15dp"
+        android:layout_width="@dimen/directory_browser_item_size"
+        android:layout_height="wrap_content"
+        android:layout_gravity="center_vertical"
+        android:layout_marginLeft="15dp"
         android:visibility="gone"/>
 
     <ImageView



More information about the Android mailing list