|
37 | 37 | android:textColor="?android:attr/textColorSecondary"/> |
38 | 38 |
|
39 | 39 | <LinearLayout |
40 | | - android:layout_width="wrap_content" |
| 40 | + android:layout_width="match_parent" |
41 | 41 | 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"> |
43 | 46 |
|
44 | 47 | <com.android.internal.policy.impl.keyguard.EmergencyButton |
45 | 48 | android:id="@+id/emergency_call_button" |
46 | | - android:layout_width="wrap_content" |
| 49 | + android:layout_width="0dip" |
47 | 50 | android:layout_height="wrap_content" |
| 51 | + android:layout_weight="1" |
48 | 52 | android:drawableLeft="@*android:drawable/lockscreen_emergency_button" |
49 | 53 | android:text="@string/kg_emergency_call_label" |
50 | 54 | style="?android:attr/buttonBarButtonStyle" |
|
54 | 58 | android:drawablePadding="8dip" /> |
55 | 59 |
|
56 | 60 | <Button android:id="@+id/forgot_password_button" |
57 | | - android:layout_width="wrap_content" |
| 61 | + android:layout_width="0dip" |
58 | 62 | 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" |
61 | 66 | android:textSize="@dimen/kg_status_line_font_size" |
| 67 | + android:textColor="?android:attr/textColorSecondary" |
| 68 | + android:textAppearance="?android:attr/textAppearanceMedium" |
| 69 | + android:drawablePadding="8dip" |
62 | 70 | android:visibility="gone"/> |
63 | 71 | </LinearLayout> |
64 | 72 |
|
|
0 commit comments