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="0dp" |
16 android:layout_height="match_parent" | 16 android:layout_height="match_parent" |
17 android:layout_weight="1" | 17 android:layout_weight="1" |
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="0dp" |
29 android:layout_height="match_parent" | 24 android:layout_height="match_parent" |
30 android:layout_weight="1" | 25 android:layout_weight="1" |
31 android:background="?android:attr/listChoiceBackgroundIndicator" | 26 android:background="?android:attr/listChoiceBackgroundIndicator" |
32 android:scaleType="center" /> | 27 android:scaleType="center" /> |
33 | 28 |
34 <View | |
35 android:layout_width="1dp" | |
36 android:layout_height="?android:attr/listPreferredItemHeightSmall" | |
37 android:background="?android:attr/listDivider" /> | |
38 | |
39 <ImageButton | 29 <ImageButton |
40 android:id="@+id/button_three" | 30 android:id="@+id/button_three" |
41 android:layout_width="wrap_content" | 31 android:layout_width="0dp" |
42 android:layout_height="match_parent" | 32 android:layout_height="match_parent" |
43 android:layout_weight="1" | 33 android:layout_weight="1" |
44 android:background="?android:attr/listChoiceBackgroundIndicator" | 34 android:background="?android:attr/listChoiceBackgroundIndicator" |
45 android:scaleType="center" /> | 35 android:scaleType="center" /> |
46 | |
47 </LinearLayout> | 36 </LinearLayout> |
OLD | NEW |