diff options
Diffstat (limited to 'res/layout/four_button_menu_item.xml')
-rw-r--r-- | res/layout/four_button_menu_item.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/res/layout/four_button_menu_item.xml b/res/layout/four_button_menu_item.xml new file mode 100644 index 0000000..99c4996 --- /dev/null +++ b/res/layout/four_button_menu_item.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright 2014 The Chromium Authors. All rights reserved. + + Use of this source code is governed by a BSD-style license that can be + found in the LICENSE file. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="?android:attr/listPreferredItemHeightSmall" + android:layout_gravity="top|start" + android:orientation="horizontal"> + + <ImageButton + android:id="@+id/button_one" + android:layout_width="0dp" + android:layout_height="match_parent" + android:paddingEnd="11dp" + android:layout_weight="24" + android:paddingStart="11dp" + android:background="?android:attr/listChoiceBackgroundIndicator" + android:scaleType="center" /> + + <ImageButton + android:id="@+id/button_two" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="24" + android:paddingStart="11dp" + android:paddingEnd="11dp" + android:background="?android:attr/listChoiceBackgroundIndicator" + android:scaleType="center" /> + + <ImageButton + android:id="@+id/button_three" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="24" + android:paddingStart="11dp" + android:paddingEnd="11dp" + android:background="?android:attr/listChoiceBackgroundIndicator" + android:scaleType="center" /> + + <ImageButton + android:id="@+id/button_four" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="24" + android:paddingStart="11dp" + android:paddingEnd="11dp" + android:background="?android:attr/listChoiceBackgroundIndicator" + android:scaleType="center" /> +</LinearLayout> |