diff options
author | Daniel Sandler <dsandler@android.com> | 2010-04-07 00:22:47 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2010-04-07 00:22:47 -0400 |
commit | 789a25eb9bd9c2953e9d7cd1a5cbfd1f92b8f3a0 (patch) | |
tree | 9a7638c7203d8da37390b69097a9877781f6eb05 /core/res | |
parent | 6e52b5d76850ee60bbef2f3d8a2e47bd589e28e8 (diff) | |
download | frameworks_base-789a25eb9bd9c2953e9d7cd1a5cbfd1f92b8f3a0.zip frameworks_base-789a25eb9bd9c2953e9d7cd1a5cbfd1f92b8f3a0.tar.gz frameworks_base-789a25eb9bd9c2953e9d7cd1a5cbfd1f92b8f3a0.tar.bz2 |
Add emergency call button to PUK'd lockscreen.
The user unlocks a PUK-locked SIM via the e-call dialer, so
we absolutely need the button there.
This is the layout portion; it requires change
I6872c3ad135bc34348adafa76e08a3878f1b506f from
frameworks/policies/base.
Bug: 2568732
Change-Id: I8aa0fc2223428ba15a57269ac5a624e74e91a5f3
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/res/layout/keyguard_screen_tab_unlock.xml | 14 | ||||
-rw-r--r-- | core/res/res/layout/keyguard_screen_tab_unlock_land.xml | 12 |
2 files changed, 26 insertions, 0 deletions
diff --git a/core/res/res/layout/keyguard_screen_tab_unlock.xml b/core/res/res/layout/keyguard_screen_tab_unlock.xml index a4b2357..945d283 100644 --- a/core/res/res/layout/keyguard_screen_tab_unlock.xml +++ b/core/res/res/layout/keyguard_screen_tab_unlock.xml @@ -152,5 +152,19 @@ android:layout_marginBottom="80dip" /> + <!-- 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:drawableLeft="@drawable/ic_emergency" + android:layout_centerInParent="true" + android:layout_alignParentBottom="true" + android:layout_marginBottom="80dip" + style="@style/Widget.Button.Transparent" + android:drawablePadding="8dip" + /> + </RelativeLayout> diff --git a/core/res/res/layout/keyguard_screen_tab_unlock_land.xml b/core/res/res/layout/keyguard_screen_tab_unlock_land.xml index e1c9772..6b76004 100644 --- a/core/res/res/layout/keyguard_screen_tab_unlock_land.xml +++ b/core/res/res/layout/keyguard_screen_tab_unlock_land.xml @@ -153,4 +153,16 @@ android:layout_marginRight="80dip" /> + <!-- 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:drawableLeft="@drawable/ic_emergency" + style="@style/Widget.Button.Transparent" + android:drawablePadding="8dip" + android:layout_marginRight="80dip" + /> + </LinearLayout> |