1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content"
20    android:paddingStart="24dp"
21    android:paddingEnd="24dp"
22    android:orientation="vertical">
23
24    <TextView
25        android:id="@+id/username_view"
26        android:layout_height="wrap_content"
27        android:layout_width="wrap_content"
28        android:text="@string/alert_dialog_username"
29        android:gravity="left"
30        android:textAppearance="?android:attr/textAppearanceMedium" />
31
32    <EditText
33        android:id="@+id/username_edit"
34        android:layout_height="wrap_content"
35        android:layout_width="match_parent"
36        android:scrollHorizontally="true"
37        android:autoText="false"
38        android:capitalize="none"
39        android:gravity="fill_horizontal"
40        android:textAppearance="?android:attr/textAppearanceMedium"
41        android:autofillHints="username"/>
42
43    <TextView
44        android:id="@+id/password_view"
45        android:layout_height="wrap_content"
46        android:layout_width="wrap_content"
47        android:text="@string/alert_dialog_password"
48        android:gravity="left"
49        android:textAppearance="?android:attr/textAppearanceMedium" />
50
51    <EditText
52        android:id="@+id/password_edit"
53        android:layout_height="wrap_content"
54        android:layout_width="match_parent"
55        android:scrollHorizontally="true"
56        android:autoText="false"
57        android:capitalize="none"
58        android:gravity="fill_horizontal"
59        android:password="true"
60        android:textAppearance="?android:attr/textAppearanceMedium"
61        android:autofillHints="password"/>
62
63</LinearLayout>
64