Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / android / java / res / layout / menu_icon_row.xml
blob1cd56a912d0b320271e3f0d614a9e6a68cf3af04
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2011 The Chromium Authors. All rights reserved.
4      Use of this source code is governed by a BSD-style license that can be
5      found in the LICENSE file.
6 -->
7 <!-- Layout for the first row of icons in menu popup -->
8 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
9     android:layout_width="match_parent"
10     android:layout_height="wrap_content">
11     <LinearLayout
12         android:layout_width="match_parent"
13         android:orientation="horizontal"
14         android:layout_height="?android:attr/listPreferredItemHeightSmall"
15         android:layout_gravity="top|start">
16         <ImageButton
17             android:src="@drawable/back_button_selector"
18             android:layout_weight="1"
19             android:layout_width="wrap_content"
20             android:layout_height="match_parent"
21             android:scaleType="center"
22             android:id="@+id/menu_item_back"
23             android:background="?android:attr/selectableItemBackground"
24             android:contentDescription="@string/accessibility_menu_back" />
25         <View android:background="?android:attr/listDivider"
26             android:layout_height="match_parent"
27             android:layout_width="@dimen/menu_item_divider_width"
28             android:layout_marginBottom="@dimen/menu_item_divider_width" />
29         <ImageButton
30             android:src="@drawable/forward_button_selector"
31             android:layout_weight="1"
32             android:layout_width="wrap_content"
33             android:layout_height="match_parent"
34             android:scaleType="center"
35             android:id="@+id/menu_item_forward"
36             android:background="?android:attr/selectableItemBackground"
37             android:contentDescription="@string/accessibility_menu_forward" />
38         <View android:background="?android:attr/listDivider"
39             android:layout_height="match_parent"
40             android:layout_width="@dimen/menu_item_divider_width"
41             android:layout_marginBottom="@dimen/menu_item_divider_width" />
42         <ImageButton
43             android:src="@drawable/star"
44             android:layout_weight="1"
45             android:layout_width="wrap_content"
46             android:layout_height="match_parent"
47             android:scaleType="center"
48             android:id="@+id/menu_item_bookmark"
49             android:background="?android:attr/selectableItemBackground"
50             android:contentDescription="@string/accessibility_menu_bookmark" />
51     </LinearLayout>
52     <View android:background="?android:attr/listDivider"
53         android:layout_height="@dimen/menu_item_divider_width"
54         android:layout_width="match_parent"
55         android:layout_gravity="bottom|start" />
56 </FrameLayout>