Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ** |
| 4 | ** Copyright 2012, The Android Open Source Project |
| 5 | ** |
| 6 | ** Licensed under the Apache License, Version 2.0 (the "License") |
| 7 | ** you may not use this file except in compliance with the License. |
| 8 | ** You may obtain a copy of the License at |
| 9 | ** |
| 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ** |
| 12 | ** Unless required by applicable law or agreed to in writing, software |
| 13 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ** See the License for the specific language governing permissions and |
| 16 | ** limitations under the License. |
| 17 | */ |
| 18 | --> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 19 | <com.android.keyguard.KeyguardAccountView |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 21 | xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 22 | android:id="@+id/keyguard_account_view" |
| 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="match_parent" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 25 | androidprv:layout_maxWidth="@dimen/keyguard_security_width" |
| 26 | androidprv:layout_maxHeight="@dimen/keyguard_security_height" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 27 | android:orientation="vertical"> |
| 28 | |
Jim Miller | 0b72824 | 2012-10-28 19:42:30 -0700 | [diff] [blame] | 29 | <include layout="@layout/keyguard_message_area" |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" /> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 32 | |
| 33 | <RelativeLayout |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="0dip" |
| 36 | android:layout_weight="1"> |
| 37 | |
| 38 | <EditText |
| 39 | android:id="@+id/login" |
| 40 | android:layout_width="match_parent" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_marginTop="8dip" |
| 43 | android:layout_marginStart="7dip" |
| 44 | android:layout_marginEnd="7dip" |
| 45 | android:layout_alignParentTop="true" |
| 46 | android:hint="@string/kg_login_username_hint" |
| 47 | android:inputType="textEmailAddress" |
| 48 | /> |
| 49 | |
| 50 | <EditText |
| 51 | android:id="@+id/password" |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_below="@id/login" |
Daniel Sandler | cf2b7a2 | 2012-11-08 00:09:37 -0500 | [diff] [blame] | 55 | android:layout_toLeftOf="@+id/ok" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 56 | android:layout_marginTop="15dip" |
| 57 | android:layout_marginStart="7dip" |
| 58 | android:layout_marginEnd="7dip" |
| 59 | android:inputType="textPassword" |
| 60 | android:hint="@string/kg_login_password_hint" |
| 61 | android:nextFocusRight="@+id/ok" |
| 62 | android:nextFocusDown="@+id/ok" |
| 63 | /> |
| 64 | |
| 65 | <!-- ok below password, aligned to right of screen --> |
| 66 | <Button |
| 67 | android:id="@+id/ok" |
| 68 | android:layout_width="wrap_content" |
| 69 | android:layout_height="wrap_content" |
| 70 | android:layout_margin="7dip" |
| 71 | android:layout_alignParentEnd="true" |
Daniel Sandler | cf2b7a2 | 2012-11-08 00:09:37 -0500 | [diff] [blame] | 72 | android:layout_below="@id/login" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 73 | android:text="@string/kg_login_submit_button" |
| 74 | /> |
| 75 | |
| 76 | </RelativeLayout> |
| 77 | |
Daniel Sandler | cf2b7a2 | 2012-11-08 00:09:37 -0500 | [diff] [blame] | 78 | <!-- no room for ECA on this screen right now |
Jim Miller | 9e0a250 | 2012-11-07 21:23:32 -0800 | [diff] [blame] | 79 | <include layout="@layout/keyguard_eca" |
Adam Cohen | 6f13141 | 2012-10-14 21:25:08 -0700 | [diff] [blame] | 80 | android:id="@+id/keyguard_selector_fade_container" |
| 81 | android:layout_width="match_parent" |
| 82 | android:layout_height="wrap_content" |
| 83 | android:orientation="vertical" |
| 84 | android:layout_gravity="bottom|center_horizontal" |
| 85 | android:gravity="center_horizontal" /> |
Daniel Sandler | cf2b7a2 | 2012-11-08 00:09:37 -0500 | [diff] [blame] | 86 | --> |
Adam Cohen | 6f13141 | 2012-10-14 21:25:08 -0700 | [diff] [blame] | 87 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 88 | </com.android.keyguard.KeyguardAccountView> |