Browse Source

changing the leight_height in order to get the screen backround color right mentioned by @jancborchardt in #1076

AndyScherzinger 10 years ago
parent
commit
8c0376229e
2 changed files with 6 additions and 3 deletions
  1. 5 2
      res/layout/file_details_fragment.xml
  2. 1 1
      res/layout/files.xml

+ 5 - 2
res/layout/file_details_fragment.xml

@@ -21,6 +21,7 @@
 	android:id="@+id/fdScrollView"
 	android:layout_width="match_parent"
 	android:layout_height="match_parent"
+	android:fillViewport="true"
 	>
 
 	<RelativeLayout
@@ -32,6 +33,7 @@
 			android:layout_width="match_parent"
 			android:layout_height="wrap_content"
 			android:layout_marginLeft="16dp"
+			android:layout_marginRight="16dp"
 			android:layout_marginTop="4dp" >
 	
 			<ImageView
@@ -55,6 +57,8 @@
 			android:id="@+id/fdDetailsContainer"
 			android:layout_width="match_parent"
 			android:layout_height="wrap_content"
+			android:layout_marginLeft="16dp"
+			android:layout_marginRight="16dp"
 			android:layout_below="@id/fdFileHeaderContainer" >
 		
 			<RelativeLayout
@@ -62,8 +66,7 @@
 				android:layout_width="wrap_content"
 				android:layout_height="wrap_content"
 				android:layout_alignParentLeft="true"
-				android:layout_alignParentTop="true"
-				android:layout_marginLeft="16dp" >
+				android:layout_alignParentTop="true" >
 				
 				<TextView
 					android:id="@+id/fdTypeLabel"

+ 1 - 1
res/layout/files.xml

@@ -44,7 +44,7 @@
         <LinearLayout
             xmlns:android="http://schemas.android.com/apk/res/android"
             android:layout_width="match_parent"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:background="@color/background_color"
 
             android:orientation="horizontal"