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