[Android] Simplify layouts

Jean-Baptiste Kempf git at videolan.org
Sat Jun 30 09:26:41 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jun 29 22:38:50 2012 +0200| [77f0913cc10e5a6b3bbe143de555aad8f65d6839] | committer: Jean-Baptiste Kempf

Simplify layouts

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=77f0913cc10e5a6b3bbe143de555aad8f65d6839
---

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

diff --git a/vlc-android/res/layout/info_dialog.xml b/vlc-android/res/layout/info_dialog.xml
index 81f2940..ec0ec19 100644
--- a/vlc-android/res/layout/info_dialog.xml
+++ b/vlc-android/res/layout/info_dialog.xml
@@ -29,7 +29,7 @@
     <ScrollView
         android:id="@+id/scrollView1"
         android:layout_width="match_parent"
-        android:layout_height="wrap_content"
+        android:layout_height="0dip"
         android:layout_weight="1" >
 
         <TextView
diff --git a/vlc-android/res/layout/main.xml b/vlc-android/res/layout/main.xml
index 4e71c1f..020c61d 100644
--- a/vlc-android/res/layout/main.xml
+++ b/vlc-android/res/layout/main.xml
@@ -46,7 +46,7 @@
 	<FrameLayout android:id="@+id/fragment_placeholder"
 	    android:layout_weight="1"
         android:layout_width="fill_parent"
-        android:layout_height="wrap_content" />
+        android:layout_height="0dip" />
     <RelativeLayout
         android:id="@+id/info_layout"
         android:layout_width="fill_parent"



More information about the Android mailing list