Fixed form gravity in login view, in landscape
authorDavid A. Velasco <dvelasco@solidgear.es>
Wed, 15 May 2013 15:21:43 +0000 (17:21 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Wed, 15 May 2013 15:21:43 +0000 (17:21 +0200)
res/layout-land/account_setup.xml

index 41fa06e..59ec233 100644 (file)
@@ -20,9 +20,7 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
     android:layout_width="match_parent"\r
     android:layout_height="match_parent"\r
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
     android:layout_width="match_parent"\r
     android:layout_height="match_parent"\r
-    android:gravity="center|fill" \r
        android:padding="8dip"\r
        android:padding="8dip"\r
-    android:focusable="true"\r
     >\r
 \r
     <LinearLayout\r
     >\r
 \r
     <LinearLayout\r
@@ -42,8 +40,7 @@
                        android:src="@drawable/logo" \r
                        />\r
                \r
                        android:src="@drawable/logo" \r
                        />\r
                \r
-               <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"\r
-                   xmlns:tools="http://schemas.android.com/tools"\r
+               <ScrollView\r
                    android:layout_width="0dp"\r
                    android:layout_height="match_parent"\r
                        android:layout_weight="1"\r
                    android:layout_width="0dp"\r
                    android:layout_height="match_parent"\r
                        android:layout_weight="1"\r
@@ -58,7 +55,9 @@
                                android:layout_height="wrap_content"\r
                                android:layout_gravity="center"\r
                                android:layout_margin="8dp"\r
                                android:layout_height="wrap_content"\r
                                android:layout_gravity="center"\r
                                android:layout_margin="8dp"\r
-                               android:orientation="vertical" \r
+                               android:gravity="center"\r
+                               android:orientation="vertical"\r
+                               android:focusable="true" \r
                                >\r
                \r
                                <EditText\r
                                >\r
                \r
                                <EditText\r