diff options
author | Jim Miller <jaggies@google.com> | 2011-05-20 17:11:04 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2011-06-10 15:57:09 -0700 |
commit | 8daefb9c63cce5e0a87ba38c40dd4f48be3809e1 (patch) | |
tree | 7480aac3e5e383e1e014e224702c1de5af8b36a1 /core | |
parent | 90bdb69bf95e5865547a55260dd61744b0bcc911 (diff) | |
download | frameworks_base-8daefb9c63cce5e0a87ba38c40dd4f48be3809e1.zip frameworks_base-8daefb9c63cce5e0a87ba38c40dd4f48be3809e1.tar.gz frameworks_base-8daefb9c63cce5e0a87ba38c40dd4f48be3809e1.tar.bz2 |
Fix layout issue on table when device thinks there's a SIM.
bug:4411799
Change-Id: I9d9ef036d4cf424ed760e0db157bb1f020b7c678
Diffstat (limited to 'core')
-rw-r--r-- | core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml | 69 |
1 files changed, 35 insertions, 34 deletions
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml index fbb9983..3bb7821 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml @@ -44,31 +44,21 @@ </RelativeLayout> <!-- right side --> - <LinearLayout - android:layout_height="match_parent" - android:layout_weight="1" - android:layout_width="0dip" - android:orientation="horizontal" - android:gravity="center_horizontal" - > - <TextView - android:id="@+id/screenLocked" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@id/status2" - android:textAppearance="?android:attr/textAppearanceMedium" - android:gravity="center" - android:layout_marginTop="12dip" - android:drawablePadding="4dip" - /> + <RelativeLayout + android:layout_height="match_parent" + android:layout_weight="1" + android:layout_width="0dip" + android:gravity="center_horizontal|center_vertical"> - <com.android.internal.widget.WaveView - android:id="@+id/wave_view" + <TextView android:id="@+id/screenLocked" android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_marginRight="0dip" - android:layout_weight="1.0" - /> + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:gravity="center" + android:layout_marginTop="12dip" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:drawablePadding="4dip"/> <!-- "emergency calls only" shown when sim is missing or PUKd --> <TextView @@ -76,24 +66,35 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" - android:layout_marginTop="20dip" + android:layout_alignParentRight="true" + android:layout_marginTop="12dip" android:text="@string/emergency_calls_only" - android:textAppearance="?android:attr/textAppearanceSmall" - android:textColor="@color/white" - /> + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="@color/white"/> - <!-- emergency call button shown when sim is PUKd and tab_selector is - hidden --> + + <com.android.internal.widget.WaveView + android:id="@+id/wave_view" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_gravity="center_vertical|center_horizontal" + android:layout_marginRight="0dip" + android:layout_weight="1.0"/> + + + <!-- emergency call button shown when sim is PUKd and tab_selector is hidden --> <Button android:id="@+id/emergencyCallButton" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginRight="80dip" + android:layout_marginBottom="80dip" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" android:drawableLeft="@drawable/ic_emergency" style="@style/Widget.Button.Transparent" - android:drawablePadding="8dip" - android:layout_marginRight="80dip" - android:visibility="gone" - /> + android:drawablePadding="8dip"/> + + </RelativeLayout>> - </LinearLayout> </LinearLayout> |