|
| 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 | +--> |
| 19 | +<com.android.internal.policy.impl.keyguard.KeyguardAccountView |
| 20 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | + android:id="@+id/keyguard_account_view" |
| 22 | + android:layout_width="match_parent" |
| 23 | + android:layout_height="match_parent" |
| 24 | + android:orientation="vertical"> |
| 25 | + |
| 26 | + <include layout="@layout/keyguard_navigation"/> |
| 27 | + |
| 28 | + <RelativeLayout |
| 29 | + android:layout_width="match_parent" |
| 30 | + android:layout_height="0dip" |
| 31 | + android:layout_weight="1"> |
| 32 | + |
| 33 | + <EditText |
| 34 | + android:id="@+id/login" |
| 35 | + android:layout_width="match_parent" |
| 36 | + android:layout_height="wrap_content" |
| 37 | + android:layout_marginTop="8dip" |
| 38 | + android:layout_marginStart="7dip" |
| 39 | + android:layout_marginEnd="7dip" |
| 40 | + android:layout_alignParentTop="true" |
| 41 | + android:hint="@string/kg_login_username_hint" |
| 42 | + android:inputType="textEmailAddress" |
| 43 | + /> |
| 44 | + |
| 45 | + <EditText |
| 46 | + android:id="@+id/password" |
| 47 | + android:layout_width="match_parent" |
| 48 | + android:layout_height="wrap_content" |
| 49 | + android:layout_below="@id/login" |
| 50 | + android:layout_marginTop="15dip" |
| 51 | + android:layout_marginStart="7dip" |
| 52 | + android:layout_marginEnd="7dip" |
| 53 | + android:inputType="textPassword" |
| 54 | + android:hint="@string/kg_login_password_hint" |
| 55 | + android:nextFocusRight="@+id/ok" |
| 56 | + android:nextFocusDown="@+id/ok" |
| 57 | + /> |
| 58 | + |
| 59 | + <!-- ok below password, aligned to right of screen --> |
| 60 | + <Button |
| 61 | + android:id="@+id/ok" |
| 62 | + android:layout_width="wrap_content" |
| 63 | + android:layout_height="wrap_content" |
| 64 | + android:layout_margin="7dip" |
| 65 | + android:layout_alignParentEnd="true" |
| 66 | + android:layout_alignParentBottom="true" |
| 67 | + android:text="@string/kg_login_submit_button" |
| 68 | + /> |
| 69 | + |
| 70 | + </RelativeLayout> |
| 71 | + |
| 72 | +</com.android.internal.policy.impl.keyguard.KeyguardAccountView> |
0 commit comments