1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2017 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16-->
17
18<LinearLayout 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:focusable="true"
23    android:focusableInTouchMode="true"
24    android:id="@+id/rootContainer">
25    <EditText android:id="@+id/editTextNoHint"
26        android:layout_width="wrap_content"
27        android:layout_height="wrap_content" />
28
29    <EditText android:id="@+id/editTextHintCustom"
30        android:layout_width="wrap_content"
31        android:layout_height="wrap_content"
32        android:autofillHints="@string/new_password_label" />
33
34    <EditText android:id="@+id/editTextPassword"
35        android:layout_width="wrap_content"
36        android:layout_height="wrap_content"
37        android:autofillHints="password" />
38
39    <EditText android:id="@+id/editTextPhoneName"
40        android:layout_width="wrap_content"
41        android:layout_height="wrap_content"
42        android:autofillHints=" phone, username     " />
43
44    <EditText android:id="@+id/editTextHintsFromArray"
45        android:layout_width="wrap_content"
46        android:layout_height="wrap_content"
47        android:autofillHints="@array/cc_expiration_values" />
48
49    <!-- Use px instead of dp to not have to deal with screen resolution -->
50    <LinearLayout android:id="@+id/outerView"
51        android:layout_height="wrap_content"
52        android:layout_width="wrap_content"
53        android:paddingTop="2px"
54        android:paddingBottom="5px"
55        android:paddingLeft="7px"
56        android:paddingRight="3px"
57        android:orientation="vertical"
58        android:background="#F00"
59        android:importantForAutofill="yes">
60        <LinearLayout android:id="@+id/nestedView"
61            android:layout_height="wrap_content"
62            android:layout_width="wrap_content"
63            android:paddingTop="11px"
64            android:paddingBottom="17px"
65            android:paddingLeft="19px"
66            android:paddingRight="13px"
67            android:orientation="vertical"
68            android:background="#0F0"
69            android:importantForAutofill="no">
70            <LinearLayout android:id="@+id/doubleNestedView"
71                android:layout_height="wrap_content"
72                android:layout_width="wrap_content"
73                android:paddingTop="23px"
74                android:paddingBottom="11px"
75                android:paddingLeft="37px"
76                android:paddingRight="29px"
77                android:orientation="vertical"
78                android:background="#00F"
79                android:importantForAutofill="yes">
80                <EditText android:id="@+id/tripleNestedView"
81                    android:layout_height="11px"
82                    android:layout_width="43px"
83                    android:background="#FF0"
84                    android:importantForAutofill="yes" />
85            </LinearLayout>
86
87            <EditText android:id="@+id/secondDoubleNestedView"
88                android:layout_height="17px"
89                android:layout_width="53px"
90                android:background="#F0F"
91                android:importantForAutofill="yes" />
92        </LinearLayout>
93    </LinearLayout>
94</LinearLayout>
95