Browse Source

Fixed scroll view in landscape: full content is scrollable when software keyboard is shown

David A. Velasco 12 years ago
parent
commit
8bc9a0c86d
1 changed files with 12 additions and 17 deletions
  1. 12 17
      res/layout-land/account_setup.xml

+ 12 - 17
res/layout-land/account_setup.xml

@@ -26,10 +26,9 @@
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-		android:layout_alignParentTop="true"
-		android:layout_above="@+id/buttonOK"
-		android:orientation="horizontal" 
-        >
+        android:layout_above="@id/buttonOK"
+        android:layout_alignParentTop="true"
+        android:orientation="horizontal" >
         
 		<ImageView
 			android:id="@+id/imageView1"
@@ -43,22 +42,18 @@
 		<ScrollView
 		    android:layout_width="0dp"
 		    android:layout_height="match_parent"
-			android:layout_weight="1"
-		    android:layout_gravity="center"
+		    android:layout_weight="1"
 		    android:fillViewport="true"
-		    android:orientation="vertical"
-		    >
+		    android:orientation="vertical" >
 						
 			<LinearLayout
-				android:id="@+id/LinearLayout1"
-				android:layout_width="match_parent"
-				android:layout_height="wrap_content"
-				android:layout_gravity="center"
-				android:layout_margin="8dp"
-				android:gravity="center"
-				android:orientation="vertical"
-				android:focusable="true" 
-				>
+			    android:id="@+id/LinearLayout1"
+			    android:layout_width="match_parent"
+			    android:layout_height="wrap_content"
+			    android:layout_margin="8dp"
+			    android:focusable="true"
+			    android:gravity="center"
+			    android:orientation="vertical" >
 		
 				<EditText
 					android:id="@+id/hostUrlInput"