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

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

Issue 1505913003: Add update menu item and app menu icon badge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rearrange field_trial.. again to facilitate command line testing Created 5 years 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
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 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 style="@style/AppMenuItem"
9 android:layout_width="match_parent" 10 android:layout_width="match_parent"
10 android:layout_height="?android:attr/listPreferredItemHeightSmall" 11 android:layout_height="?android:attr/listPreferredItemHeightSmall" >
11 android:paddingStart="16dp"
12 android:paddingEnd="16dp"
13 android:background="?attr/listChoiceBackgroundIndicator">
14 <TextView 12 <TextView
15 android:id="@+id/menu_item_text" 13 android:id="@+id/menu_item_text"
16 android:textAppearance="?android:attr/textAppearanceLargePopupMenu" 14 android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
17 android:layout_weight="1" 15 android:layout_weight="1"
18 android:layout_width="wrap_content" 16 android:layout_width="wrap_content"
19 android:layout_height="match_parent" 17 android:layout_height="match_parent"
20 android:layout_gravity="start" 18 android:layout_gravity="start"
21 android:gravity="center_vertical" 19 android:gravity="center_vertical"
22 android:singleLine="true" 20 android:singleLine="true"
23 android:paddingEnd="9dp" /> 21 android:paddingEnd="9dp" />
24 <view 22 <org.chromium.chrome.browser.appmenu.AppMenuItemIcon
25 class="org.chromium.chrome.browser.appmenu.AppMenuItemIcon"
26 android:id="@+id/menu_item_icon" 23 android:id="@+id/menu_item_icon"
27 android:layout_weight="0" 24 android:layout_weight="0"
28 android:layout_width="wrap_content" 25 android:layout_width="wrap_content"
29 android:layout_height="match_parent" 26 android:layout_height="match_parent"
30 android:layout_gravity="end" 27 android:layout_gravity="end"
31 android:gravity="center_vertical" /> 28 android:gravity="center_vertical" />
32 </LinearLayout> 29 </LinearLayout>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/location_bar.xml ('k') | chrome/android/java/res/layout/toolbar.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698