From a1d57709c297f7a9144c7a86477adb1c7623ca3e Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Thu, 2 Jun 2011 11:40:00 -0700 Subject: [PATCH] Fix cryptkeeper UI for 7" tablets. - fixes pw entry/keyboard overlap on landscape - fixes progress screen to be centered Bug: 4478944 Change-Id: I411ad3507f42029022815ec001d0d8e5464ac0a1 --- .../crypt_keeper_password_entry.xml | 18 +-- res/layout-sw600dp/crypt_keeper_progress.xml | 146 +++++++++--------- 2 files changed, 83 insertions(+), 81 deletions(-) diff --git a/res/layout-sw600dp-land/crypt_keeper_password_entry.xml b/res/layout-sw600dp-land/crypt_keeper_password_entry.xml index 45a630a2f63..9415fd1e44b 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. */ --> - @@ -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 @@ - \ No newline at end of file + diff --git a/res/layout-sw600dp/crypt_keeper_progress.xml b/res/layout-sw600dp/crypt_keeper_progress.xml index 7bad7ba1951..b55781a1c92 100644 --- a/res/layout-sw600dp/crypt_keeper_progress.xml +++ b/res/layout-sw600dp/crypt_keeper_progress.xml @@ -14,89 +14,91 @@ limitations under the License. --> - - - - - - - - - + + + + + - + android:layout_below="@+id/title" + > + + - - - - - - -