diff options
author | Ben Komalo <benkomalo@google.com> | 2011-06-02 11:40:00 -0700 |
---|---|---|
committer | Ben Komalo <benkomalo@google.com> | 2011-06-02 13:59:03 -0700 |
commit | a1d57709c297f7a9144c7a86477adb1c7623ca3e (patch) | |
tree | 809161250789dfcada3ea643c090ac9aeeb104af /res/layout-sw600dp-land | |
parent | 8ac8456491e1409a071c7cf4e164440aeec7c4dd (diff) | |
download | packages_apps_Settings-a1d57709c297f7a9144c7a86477adb1c7623ca3e.zip packages_apps_Settings-a1d57709c297f7a9144c7a86477adb1c7623ca3e.tar.gz packages_apps_Settings-a1d57709c297f7a9144c7a86477adb1c7623ca3e.tar.bz2 |
Fix cryptkeeper UI for 7" tablets.
- fixes pw entry/keyboard overlap on landscape
- fixes progress screen to be centered
Bug: 4478944
Change-Id: I411ad3507f42029022815ec001d0d8e5464ac0a1
Diffstat (limited to 'res/layout-sw600dp-land')
-rw-r--r-- | res/layout-sw600dp-land/crypt_keeper_password_entry.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/res/layout-sw600dp-land/crypt_keeper_password_entry.xml b/res/layout-sw600dp-land/crypt_keeper_password_entry.xml index 45a630a..9415fd1 100644 --- a/res/layout-sw600dp-land/crypt_keeper_password_entry.xml +++ b/res/layout-sw600dp-land/crypt_keeper_password_entry.xml @@ -16,20 +16,21 @@ ** limitations under the License. */ --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" > <RelativeLayout android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:layout_marginTop="206dip" + android:layout_height="0dip" + android:layout_weight="1" + android:layout_gravity="center_horizontal" > <ImageView android:id="@+id/encroid" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentTop="true" + android:layout_centerVertical="true" android:src="@drawable/encroid_resignin" /> @@ -37,7 +38,7 @@ android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_toRightOf="@+id/encroid" - android:layout_marginTop="37dip" + android:layout_centerVertical="true" android:paddingRight="17dip" android:singleLine="true" android:textAppearance="?android:attr/textAppearanceMedium" @@ -51,7 +52,7 @@ android:layout_height="wrap_content" android:layout_width="320dip" android:layout_toRightOf="@+id/passwordLabel" - android:layout_marginTop="26dip" + android:layout_centerVertical="true" android:singleLine="true" android:inputType="textPassword" android:textAppearance="?android:attr/textAppearanceMedium" @@ -75,10 +76,9 @@ <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_alignParentBottom="true" android:background="#00000000" android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans" android:visibility="visible" /> -</RelativeLayout>
\ No newline at end of file +</LinearLayout> |