blob: f2b7c3bd750df0a43545c48d2530f83d9631914f [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:focusable="true"
android:focusableInTouchMode="true"
android:id="@+id/rootContainer">
<EditText android:id="@+id/editTextNoHint"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText android:id="@+id/editTextHintCustom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autofillHints="@string/new_password_label" />
<EditText android:id="@+id/editTextPassword"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autofillHints="password" />
<EditText android:id="@+id/editTextPhoneName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autofillHints=" phone, username " />
<EditText android:id="@+id/editTextHintsFromArray"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autofillHints="@array/cc_expiration_values" />
<!-- Use px instead of dp to not have to deal with screen resolution -->
<LinearLayout android:id="@+id/outerView"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingTop="2px"
android:paddingBottom="5px"
android:paddingLeft="7px"
android:paddingRight="3px"
android:orientation="vertical"
android:background="#F00"
android:importantForAutofill="yes">
<LinearLayout android:id="@+id/nestedView"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingTop="11px"
android:paddingBottom="17px"
android:paddingLeft="19px"
android:paddingRight="13px"
android:orientation="vertical"
android:background="#0F0"
android:importantForAutofill="no">
<LinearLayout android:id="@+id/doubleNestedView"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingTop="23px"
android:paddingBottom="31px"
android:paddingLeft="37px"
android:paddingRight="29px"
android:orientation="vertical"
android:background="#00F"
android:importantForAutofill="yes">
<EditText android:id="@+id/tripleNestedView"
android:layout_height="41px"
android:layout_width="43px"
android:background="#FF0"
android:importantForAutofill="yes" />
</LinearLayout>
<EditText android:id="@+id/secondDoubleNestedView"
android:layout_height="47px"
android:layout_width="53px"
android:background="#F0F"
android:importantForAutofill="yes" />
</LinearLayout>
</LinearLayout>
</LinearLayout>