Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: chrome/android/java/res/layout/menu_icon_row.xml

Issue 203173008: Cleanup Icon Row custom code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/android/java/res/layout/three_button_menu_item.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2011 The Chromium Authors. All rights reserved.
3
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>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/layout/three_button_menu_item.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698