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

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

Issue 199733002: Cleanup AppMenu code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move lint suppression to AppMenuDragHelper 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
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2011 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 <!-- Layout for each item in the menu popup --> 7 <!-- Layout for each item in the menu popup -->
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="wrap_content" 10 android:layout_height="wrap_content"
11 android:background="?android:attr/selectableItemBackground"> 11 android:background="?android:attr/selectableItemBackground">
12 <TextView 12 <TextView
13 android:id="@+id/menu_item_text" 13 android:id="@+id/menu_item_text"
14 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" 14 android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
15 android:layout_weight="1" 15 android:layout_weight="1"
16 android:layout_width="wrap_content" 16 android:layout_width="wrap_content"
17 android:layout_height="?android:attr/listPreferredItemHeightSmall" 17 android:layout_height="?android:attr/listPreferredItemHeightSmall"
18 android:layout_gravity="start" 18 android:layout_gravity="start"
19 android:gravity="center_vertical" 19 android:gravity="center_vertical"
20 android:singleLine="true" 20 android:singleLine="true"
21 android:paddingStart="9dp" 21 android:paddingStart="9dp"
22 android:paddingEnd="9dp" /> 22 android:paddingEnd="9dp" />
23 <view 23 <view
24 class="org.chromium.chrome.browser.appmenu.AppMenu$MenuItemIcon" 24 class="org.chromium.chrome.browser.appmenu.AppMenuItemIcon"
25 android:id="@+id/menu_item_icon" 25 android:id="@+id/menu_item_icon"
26 android:layout_weight="0" 26 android:layout_weight="0"
27 android:layout_width="wrap_content" 27 android:layout_width="wrap_content"
28 android:layout_height="?android:attr/listPreferredItemHeightSmall" 28 android:layout_height="?android:attr/listPreferredItemHeightSmall"
29 android:layout_gravity="end" 29 android:layout_gravity="end"
30 android:gravity="center_vertical" 30 android:gravity="center_vertical"
31 android:paddingEnd="8dp" /> 31 android:paddingEnd="8dp" />
32 </LinearLayout> 32 </LinearLayout>
OLDNEW
« no previous file with comments | « build/android/lint/suppressions.xml ('k') | chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698