OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
3 | 3 |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
8 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
9 android:layout_height="?android:attr/listPreferredItemHeightSmall"> | 10 android:layout_height="?android:attr/listPreferredItemHeightSmall"> |
10 <TextView | 11 <TextView |
11 android:id="@+id/title" | 12 android:id="@+id/title" |
12 android:layout_width="wrap_content" | 13 android:layout_width="wrap_content" |
13 android:layout_height="match_parent" | 14 android:layout_height="match_parent" |
14 android:layout_gravity="start" | 15 android:layout_gravity="start" |
15 android:layout_weight="1" | 16 android:layout_weight="1" |
16 android:background="?android:attr/listChoiceBackgroundIndicator" | 17 android:background="?android:attr/listChoiceBackgroundIndicator" |
17 android:gravity="center_vertical" | 18 android:gravity="center_vertical" |
18 android:paddingStart="?android:attr/listPreferredItemPaddingStart" | 19 android:paddingStart="?android:attr/listPreferredItemPaddingStart" |
19 android:paddingEnd="9dp" | 20 android:paddingEnd="9dp" |
20 android:singleLine="true" | 21 android:singleLine="true" |
21 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" /> | 22 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" /> |
22 | 23 |
23 <org.chromium.chrome.browser.widget.TintedImageButton | 24 <org.chromium.chrome.browser.widget.TintedImageButton |
24 android:id="@+id/button" | 25 android:id="@+id/button" |
25 android:layout_width="56dp" | 26 android:layout_width="56dp" |
26 android:layout_height="match_parent" | 27 android:layout_height="match_parent" |
27 android:background="?android:attr/listChoiceBackgroundIndicator" | 28 android:background="?android:attr/listChoiceBackgroundIndicator" |
28 android:paddingStart="16dp" | 29 android:paddingStart="16dp" |
29 android:paddingEnd="16dp" | 30 android:paddingEnd="16dp" |
30 android:paddingTop="12dp" | 31 android:paddingTop="12dp" |
31 android:paddingBottom="12dp" | 32 android:paddingBottom="12dp" |
32 android:scaleType="fitCenter" /> | 33 android:scaleType="fitCenter" |
33 | 34 chrome:tint="@null" /> |
34 </LinearLayout> | 35 </LinearLayout> |
OLD | NEW |