blob: d89f329039c66e9b62b47347a8d3b99a7326f65c [file] [log] [blame]
Curtis Belmonte44d5ad82020-04-27 16:08:59 -07001<!--
2 ~ Copyright (C) 2020 The Android Open Source Project
3 ~
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
15 -->
16
17<com.android.systemui.biometrics.AuthCredentialPasswordView
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:orientation="vertical"
22 android:gravity="center_horizontal"
23 android:elevation="@dimen/biometric_dialog_elevation">
24
25 <TextView
26 android:id="@+id/title"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 style="@style/TextAppearance.AuthCredential.Title"/>
30
31 <TextView
32 android:id="@+id/subtitle"
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 style="@style/TextAppearance.AuthCredential.Subtitle"/>
36
37 <TextView
38 android:id="@+id/description"
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 style="@style/TextAppearance.AuthCredential.Description"/>
42
43 <EditText
44 android:id="@+id/lockPassword"
45 android:layout_width="208dp"
46 android:layout_height="wrap_content"
47 android:layout_gravity="center_horizontal"
48 android:minHeight="48dp"
49 android:gravity="center"
50 android:inputType="textPassword"
51 android:maxLength="500"
52 android:imeOptions="actionNext|flagNoFullscreen|flagForceAscii"
53 style="@style/TextAppearance.AuthCredential.PasswordEntry"/>
54
55 <TextView
56 android:id="@+id/error"
57 android:layout_width="match_parent"
58 android:layout_height="wrap_content"
59 style="@style/TextAppearance.AuthCredential.Error"/>
60
61</com.android.systemui.biometrics.AuthCredentialPasswordView>