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 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
9 android:layout_height="wrap_content" | 9 android:layout_height="?android:attr/listPreferredItemHeightSmall" |
10 android:layout_gravity="top|start" | 10 android:layout_gravity="top|start" |
11 android:orientation="horizontal"> | 11 android:orientation="horizontal"> |
12 | 12 |
13 <ImageButton | 13 <ImageButton |
14 android:id="@+id/button_one" | 14 android:id="@+id/button_one" |
15 android:layout_width="wrap_content" | 15 android:layout_width="56dp" |
16 android:layout_height="match_parent" | 16 android:layout_height="match_parent" |
17 android:layout_weight="1" | 17 android:paddingEnd="8dp" |
18 android:background="?android:attr/listChoiceBackgroundIndicator" | 18 android:background="?android:attr/listChoiceBackgroundIndicator" |
19 android:scaleType="center" /> | 19 android:scaleType="center" /> |
20 | 20 |
21 <View | |
22 android:layout_width="1dp" | |
23 android:layout_height="?android:attr/listPreferredItemHeightSmall" | |
24 android:background="?android:attr/listDivider" /> | |
25 | |
26 <ImageButton | 21 <ImageButton |
27 android:id="@+id/button_two" | 22 android:id="@+id/button_two" |
28 android:layout_width="wrap_content" | 23 android:layout_width="64dp" |
29 android:layout_height="match_parent" | 24 android:layout_height="match_parent" |
30 android:layout_weight="1" | 25 android:paddingStart="8dp" |
| 26 android:paddingEnd="8dp" |
31 android:background="?android:attr/listChoiceBackgroundIndicator" | 27 android:background="?android:attr/listChoiceBackgroundIndicator" |
32 android:scaleType="center" /> | 28 android:scaleType="center" /> |
33 | 29 |
34 <View | |
35 android:layout_width="1dp" | |
36 android:layout_height="?android:attr/listPreferredItemHeightSmall" | |
37 android:background="?android:attr/listDivider" /> | |
38 | |
39 <ImageButton | 30 <ImageButton |
40 android:id="@+id/button_three" | 31 android:id="@+id/button_three" |
41 android:layout_width="wrap_content" | 32 android:layout_width="64dp" |
42 android:layout_height="match_parent" | 33 android:layout_height="match_parent" |
43 android:layout_weight="1" | 34 android:paddingStart="8dp" |
| 35 android:paddingEnd="8dp" |
44 android:background="?android:attr/listChoiceBackgroundIndicator" | 36 android:background="?android:attr/listChoiceBackgroundIndicator" |
45 android:scaleType="center" /> | 37 android:scaleType="center" /> |
46 | |
47 <View | |
48 android:layout_width="1dp" | |
49 android:layout_height="?android:attr/listPreferredItemHeightSmall" | |
50 android:background="?android:attr/listDivider" /> | |
51 | 38 |
52 <ImageButton | 39 <ImageButton |
53 android:id="@+id/button_four" | 40 android:id="@+id/button_four" |
54 android:layout_width="wrap_content" | 41 android:layout_width="56dp" |
55 android:layout_height="match_parent" | 42 android:layout_height="match_parent" |
56 android:layout_weight="1" | 43 android:paddingStart="8dp" |
57 android:background="?android:attr/listChoiceBackgroundIndicator" | 44 android:background="?android:attr/listChoiceBackgroundIndicator" |
58 android:scaleType="center" /> | 45 android:scaleType="center" /> |
59 | 46 |
60 </LinearLayout> | 47 </LinearLayout> |
OLD | NEW |