| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright 2014 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:layout_width="match_parent" |
| android:layout_height="?android:attr/listPreferredItemHeightSmall"> |
| <TextView |
| android:id="@+id/title" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:layout_gravity="start" |
| android:layout_weight="1" |
| android:background="?android:attr/listChoiceBackgroundIndicator" |
| android:gravity="center_vertical" |
| android:paddingStart="?android:attr/listPreferredItemPaddingStart" |
| android:paddingEnd="9dp" |
| android:singleLine="true" |
| android:textAppearance="?android:attr/textAppearanceLargePopupMenu" /> |
| |
| <ImageButton |
| android:id="@+id/button" |
| android:layout_width="48dp" |
| android:layout_height="match_parent" |
| android:background="?android:attr/listChoiceBackgroundIndicator" |
| android:padding="10dp" |
| android:scaleType="fitCenter" /> |
| |
| </LinearLayout> |