blob: 766effaed7299e05554c6ffc4f0afe4d6e5f6685 [file] [log] [blame]
Jim Millerdcb3d842012-08-23 19:18:12 -07001<?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 Miller5ecd8112013-01-09 18:50:26 -080019<com.android.keyguard.KeyguardAccountView
Jim Millerdcb3d842012-08-23 19:18:12 -070020 xmlns:android="http://schemas.android.com/apk/res/android"
Jim Miller5ecd8112013-01-09 18:50:26 -080021 xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard"
Jim Millerdcb3d842012-08-23 19:18:12 -070022 android:id="@+id/keyguard_account_view"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
Jim Miller5ecd8112013-01-09 18:50:26 -080025 androidprv:layout_maxWidth="@dimen/keyguard_security_width"
26 androidprv:layout_maxHeight="@dimen/keyguard_security_height"
Jim Millerdcb3d842012-08-23 19:18:12 -070027 android:orientation="vertical">
28
Jim Miller0b728242012-10-28 19:42:30 -070029 <include layout="@layout/keyguard_message_area"
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content" />
Jim Millerdcb3d842012-08-23 19:18:12 -070032
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 Sandlercf2b7a22012-11-08 00:09:37 -050055 android:layout_toLeftOf="@+id/ok"
Jim Millerdcb3d842012-08-23 19:18:12 -070056 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 Sandlercf2b7a22012-11-08 00:09:37 -050072 android:layout_below="@id/login"
Jim Millerdcb3d842012-08-23 19:18:12 -070073 android:text="@string/kg_login_submit_button"
74 />
75
76 </RelativeLayout>
77
Daniel Sandlercf2b7a22012-11-08 00:09:37 -050078 <!-- no room for ECA on this screen right now
Jim Miller9e0a2502012-11-07 21:23:32 -080079 <include layout="@layout/keyguard_eca"
Adam Cohen6f131412012-10-14 21:25:08 -070080 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 Sandlercf2b7a22012-11-08 00:09:37 -050086 -->
Adam Cohen6f131412012-10-14 21:25:08 -070087
Jim Miller5ecd8112013-01-09 18:50:26 -080088</com.android.keyguard.KeyguardAccountView>