<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/editor_dialog_section_small_spacing"
android:layout_marginBottom="@dimen/editor_dialog_textview_margin_bottom">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:errorTextAppearance="@style/TextAppearance.ErrorCaption">
<!-- TODO(crbug.com/40600572): Fix and remove lint ignore -->
<AutoCompleteTextView
tools:ignore="LabelFor"
android:id="@+id/text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/editor_dialog_textview_min_height"
android:singleLine="true"
android:imeOptions="flagNoExtractUi" />
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout
android:id="@+id/icons_layer"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_gravity="end"
android:orientation="horizontal">
<ImageView
android:id="@+id/value_icon"
android:layout_width="wrap_content"
android:layout_height="24dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="8dp"
android:adjustViewBounds="true"
tools:ignore="ContentDescription"
android:clickable="false"
android:visibility="gone"/>
<ImageView
android:id="@+id/action_icon"
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
tools:ignore="ContentDescription"
android:visibility="gone"/>
</LinearLayout>
</FrameLayout>