| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2019 The Chromium Authors |
| 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/toggleable_flag" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| |
| <!-- A compound drawable will be populated at runtime, but it's OK to configure drawablePadding now. --> |
| <TextView |
| android:id="@+id/flag_name" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:textIsSelectable="true" |
| android:textStyle="bold" |
| android:textAppearance="@style/MediumText" |
| android:drawablePadding="4dp" |
| android:paddingTop="8dp" |
| android:paddingBottom="8dp"/> |
| |
| <TextView |
| android:id="@+id/flag_description" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| android:textIsSelectable="true"/> |
| |
| <Spinner |
| android:id="@+id/flag_toggle" |
| android:spinnerMode="dialog" |
| android:layout_width="fill_parent" |
| android:layout_height="wrap_content" /> |
| |
| </LinearLayout> |