OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 |
| 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. |
| 6 --> |
| 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 android:layout_width="match_parent" |
| 9 android:layout_height="?android:attr/listPreferredItemHeightSmall" |
| 10 android:background="?android:attr/selectableItemBackground" > |
| 11 |
| 12 <Button |
| 13 android:id="@+id/title" |
| 14 android:layout_width="wrap_content" |
| 15 android:layout_height="?android:attr/listPreferredItemHeightSmall" |
| 16 android:layout_gravity="start" |
| 17 android:layout_weight="1" |
| 18 android:background="?android:attr/selectableItemBackground" |
| 19 android:gravity="center_vertical" |
| 20 android:paddingEnd="9dp" |
| 21 android:paddingStart="9dp" |
| 22 android:singleLine="true" |
| 23 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" /> |
| 24 |
| 25 <View |
| 26 android:layout_width="@dimen/menu_item_divider_width" |
| 27 android:layout_height="match_parent" |
| 28 android:layout_marginBottom="@dimen/menu_item_divider_width" |
| 29 android:background="?android:attr/listDivider" /> |
| 30 |
| 31 <ImageButton |
| 32 android:id="@+id/button" |
| 33 android:layout_width="wrap_content" |
| 34 android:layout_height="match_parent" |
| 35 android:background="?android:attr/selectableItemBackground" |
| 36 android:paddingEnd="10dp" |
| 37 android:paddingStart="10dp" |
| 38 android:scaleType="center" /> |
| 39 |
| 40 </LinearLayout> |
OLD | NEW |