|
22 | 22 | android:orientation="vertical" |
23 | 23 | android:layout_width="match_parent" |
24 | 24 | android:layout_height="match_parent" |
25 | | - android:layout_gravity="center"> |
| 25 | + android:gravity="bottom" |
| 26 | + > |
26 | 27 |
|
27 | | - <FrameLayout |
| 28 | + <Space |
28 | 29 | android:layout_width="match_parent" |
29 | 30 | android:layout_height="0dp" |
30 | | - android:layout_weight="1"> |
| 31 | + android:layout_weight="1" |
| 32 | + /> |
31 | 33 |
|
32 | | - <include layout="@layout/keyguard_message_area" |
33 | | - android:layout_width="match_parent" |
34 | | - android:layout_height="wrap_content" |
35 | | - /> |
36 | | - |
37 | | - <LinearLayout |
38 | | - android:layout_height="wrap_content" |
39 | | - android:layout_width="match_parent" |
40 | | - android:orientation="vertical" |
41 | | - android:layout_gravity="center"> |
42 | | - |
43 | | - <LinearLayout |
44 | | - android:layout_width="match_parent" |
45 | | - android:layout_height="wrap_content" |
46 | | - android:orientation="vertical"> |
| 34 | + <include layout="@layout/keyguard_message_area" |
| 35 | + android:layout_width="match_parent" |
| 36 | + android:layout_height="wrap_content" /> |
47 | 37 |
|
48 | | - <!-- Password entry field --> |
49 | | - <!-- Note: the entire container is styled to look like the edit field, |
50 | | - since the backspace/IME switcher looks better inside --> |
51 | | - <LinearLayout |
52 | | - android:layout_gravity="center_vertical|fill_horizontal" |
53 | | - android:layout_height="wrap_content" |
54 | | - android:layout_width="match_parent" |
55 | | - android:orientation="horizontal" |
56 | | - android:background="#70000000" |
57 | | - android:layout_marginStart="4dip" |
58 | | - android:layout_marginEnd="4dip"> |
| 38 | + <!-- Password entry field --> |
| 39 | + <!-- Note: the entire container is styled to look like the edit field, |
| 40 | + since the backspace/IME switcher looks better inside --> |
| 41 | + <LinearLayout |
| 42 | + android:layout_height="wrap_content" |
| 43 | + android:layout_width="match_parent" |
| 44 | + android:orientation="horizontal" |
| 45 | + android:background="#70000000" |
| 46 | + android:layout_marginTop="8dp" |
| 47 | + android:layout_marginBottom="8dp" |
| 48 | + > |
59 | 49 |
|
60 | | - <EditText android:id="@+id/passwordEntry" |
61 | | - android:layout_width="0dip" |
62 | | - android:layout_height="wrap_content" |
63 | | - android:layout_weight="1" |
64 | | - android:gravity="center_horizontal" |
65 | | - android:layout_gravity="center_vertical" |
66 | | - android:layout_marginStart="@*android:dimen/keyguard_lockscreen_pin_margin_left" |
67 | | - android:singleLine="true" |
68 | | - android:textStyle="normal" |
69 | | - android:inputType="textPassword" |
70 | | - android:textSize="36sp" |
71 | | - android:background="@null" |
72 | | - android:textAppearance="?android:attr/textAppearanceMedium" |
73 | | - android:textColor="#ffffffff" |
74 | | - android:imeOptions="flagForceAscii|actionDone" |
75 | | - /> |
| 50 | + <EditText android:id="@+id/passwordEntry" |
| 51 | + android:layout_width="0dip" |
| 52 | + android:layout_height="wrap_content" |
| 53 | + android:layout_weight="1" |
| 54 | + android:gravity="center_horizontal" |
| 55 | + android:layout_gravity="center_vertical" |
| 56 | + android:layout_marginStart="@*android:dimen/keyguard_lockscreen_pin_margin_left" |
| 57 | + android:singleLine="true" |
| 58 | + android:textStyle="normal" |
| 59 | + android:inputType="textPassword" |
| 60 | + android:textSize="36sp" |
| 61 | + android:background="@null" |
| 62 | + android:textAppearance="?android:attr/textAppearanceMedium" |
| 63 | + android:textColor="#ffffffff" |
| 64 | + android:imeOptions="flagForceAscii|actionDone" |
| 65 | + /> |
76 | 66 |
|
77 | | - <ImageView android:id="@+id/switch_ime_button" |
78 | | - android:layout_width="wrap_content" |
79 | | - android:layout_height="wrap_content" |
80 | | - android:src="@*android:drawable/ic_lockscreen_ime" |
81 | | - android:clickable="true" |
82 | | - android:padding="8dip" |
83 | | - android:layout_gravity="center" |
84 | | - android:background="?android:attr/selectableItemBackground" |
85 | | - android:visibility="gone" |
86 | | - /> |
| 67 | + <ImageView android:id="@+id/switch_ime_button" |
| 68 | + android:layout_width="wrap_content" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:src="@*android:drawable/ic_lockscreen_ime" |
| 71 | + android:clickable="true" |
| 72 | + android:padding="8dip" |
| 73 | + android:layout_gravity="center" |
| 74 | + android:background="?android:attr/selectableItemBackground" |
| 75 | + android:visibility="gone" |
| 76 | + /> |
87 | 77 |
|
88 | | - </LinearLayout> |
89 | | - </LinearLayout> |
90 | 78 | </LinearLayout> |
91 | | - </FrameLayout> |
| 79 | + |
92 | 80 | <include layout="@layout/keyguard_emergency_carrier_area" |
93 | 81 | android:id="@+id/keyguard_selector_fade_container" |
94 | 82 | android:layout_width="match_parent" |
|
0 commit comments