Removed the fixed height in the sim unlock screen's header.
Use wrap content and set the textview for the explaination
to 2 lines.
Fixed the bug on passion.
G1 is too unstable to test.
Bug:2251298
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 ac404f2..45e96a3 100644
--- a/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml
+++ b/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml
@@ -24,7 +24,7 @@
<LinearLayout android:id="@+id/topDisplayGroup"
android:layout_width="fill_parent"
- android:layout_height="115dip"
+ android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:orientation="vertical"
>
@@ -35,8 +35,9 @@
android:layout_height="wrap_content"
android:layout_marginTop="9dip"
android:gravity="center"
+ android:lines="2"
android:textAppearance="?android:attr/textAppearanceLarge"
- />
+ />
<RelativeLayout
android:layout_width="fill_parent"