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