Skip to content

Commit c866b80

Browse files
Jim MillerAndroid Git Automerger
authored andcommitted
am 1deaf3c: am 87d5795: Minor layout tweaks and bug fix in keyguard
* commit '1deaf3c710c54a23ace35e1f5c1718591133b681': Minor layout tweaks and bug fix in keyguard
2 parents bd95bd2 + 1deaf3c commit c866b80

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

core/res/res/layout/keyguard_emergency_carrier_area_and_recovery.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,18 @@
3737
android:textColor="?android:attr/textColorSecondary"/>
3838

3939
<LinearLayout
40-
android:layout_width="wrap_content"
40+
android:layout_width="match_parent"
4141
android:layout_height="wrap_content"
42-
android:orientation="horizontal">
42+
style="?android:attr/buttonBarStyle"
43+
android:orientation="horizontal"
44+
android:gravity="center"
45+
android:weightSum="2">
4346

4447
<com.android.internal.policy.impl.keyguard.EmergencyButton
4548
android:id="@+id/emergency_call_button"
46-
android:layout_width="wrap_content"
49+
android:layout_width="0dip"
4750
android:layout_height="wrap_content"
51+
android:layout_weight="1"
4852
android:drawableLeft="@*android:drawable/lockscreen_emergency_button"
4953
android:text="@string/kg_emergency_call_label"
5054
style="?android:attr/buttonBarButtonStyle"
@@ -54,11 +58,15 @@
5458
android:drawablePadding="8dip" />
5559

5660
<Button android:id="@+id/forgot_password_button"
57-
android:layout_width="wrap_content"
61+
android:layout_width="0dip"
5862
android:layout_height="wrap_content"
59-
android:paddingLeft="20dp"
60-
android:paddingRight="20dp"
63+
android:layout_weight="1"
64+
android:drawableLeft="@drawable/lockscreen_forgot_password_button"
65+
style="?android:attr/buttonBarButtonStyle"
6166
android:textSize="@dimen/kg_status_line_font_size"
67+
android:textColor="?android:attr/textColorSecondary"
68+
android:textAppearance="?android:attr/textAppearanceMedium"
69+
android:drawablePadding="8dip"
6270
android:visibility="gone"/>
6371
</LinearLayout>
6472

policy/src/com/android/internal/policy/impl/keyguard/KeyguardSimPukView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void next() {
9191
} else if (state == CONFIRM_PIN) {
9292
if (confirmPin()) {
9393
state = DONE;
94-
msg = R.string.kg_login_checking_password;
94+
msg = R.string.lockscreen_sim_unlock_progress_dialog_message;
9595
updateSim();
9696
} else {
9797
msg = R.string.kg_invalid_confirm_pin_hint;

0 commit comments

Comments
 (0)