From 292224d1c1d867d1235cb11637b9f268e3ad4198 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 14 Dec 2009 17:52:08 -0800 Subject: Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices. This change basically tightens up the layout and makes the emergency button area the "stretchy" part of the layout. --- .../layout/keyguard_screen_sim_pin_portrait.xml | 93 +++++++++++----------- 1 file changed, 45 insertions(+), 48 deletions(-) diff --git a/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml b/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml index 45e96a3b4624..2a23ada6660b 100644 --- a/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml +++ b/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml @@ -16,59 +16,55 @@ ** limitations under the License. */ --> - + android:gravity="center_horizontal"> + android:orientation="vertical"> + android:textAppearance="?android:attr/textAppearanceLarge"/> - + + android:gravity="center_vertical" + android:background="@android:drawable/edit_text"> + /> - - + android:layout_marginRight="-3dip" + android:layout_marginBottom="-3dip" + /> + @@ -78,16 +74,14 @@ android:layout_height="wrap_content" android:layout_below="@id/topDisplayGroup" android:layout_marginTop="10dip" - android:orientation="vertical" - > + android:orientation="vertical"> + android:orientation="horizontal">