| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2019 The Chromium Authors. All rights reserved. Use of this |
| source code is governed by a BSD-style license that can be found in the |
| LICENSE file. |
| --> |
| |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/fragment_flags" |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:paddingStart="8dp" |
| android:paddingEnd="8dp"> |
| |
| <RelativeLayout |
| android:orientation="horizontal" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="8dp" |
| android:layout_marginBottom="8dp"> |
| |
| <!--suppress HardcodedText --> |
| <EditText |
| android:id="@+id/flag_search_bar" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentStart="true" |
| android:layout_toStartOf="@id/reset_flags_button" |
| android:hint="Search flags" |
| android:inputType="textFilter" |
| android:singleLine="true" |
| android:drawablePadding="4dp" |
| android:drawableStart="@drawable/ic_devui_search" |
| android:imeOptions="actionDone" |
| android:drawableTint="?android:textColorPrimary" |
| android:textAppearance="?android:attr/textAppearanceMedium"/> |
| |
| <!--suppress HardcodedText --> |
| <Button |
| android:text="Reset flags" |
| android:id="@+id/reset_flags_button" |
| android:layout_marginStart="8dp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentEnd="true" |
| android:textAppearance="?android:attr/textAppearanceMedium"/> |
| |
| </RelativeLayout> |
| |
| <!-- horizontal divider --> |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:background="?android:attr/listDivider"/> |
| |
| <ListView |
| android:id="@+id/flags_list" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"/> |
| |
| </LinearLayout> |