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

Unified Diff: chrome/android/java/res/values-v17/styles.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/res/menu/main_menu.xml ('k') | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/values-v17/styles.xml
diff --git a/chrome/android/java/res/values-v17/styles.xml b/chrome/android/java/res/values-v17/styles.xml
index 9a94a02ceb1b4f06eccd5e4e454148b0c6e94ecd..22d8d2e7d4f6d4ae9e6981f3930c25a38275fc71 100644
--- a/chrome/android/java/res/values-v17/styles.xml
+++ b/chrome/android/java/res/values-v17/styles.xml
@@ -465,4 +465,18 @@
<item name="android:layout_height">56dp</item>
<item name="android:scaleType">center</item>
</style>
+ <style name="AppMenuItem">
+ <item name="android:paddingStart">16dp</item>
+ <item name="android:paddingEnd">16dp</item>
+ <item name="android:background">?attr/listChoiceBackgroundIndicator</item>
+ </style>
+ <style name="UpdateMenuBadge">
+ <item name="android:layout_height">@dimen/menu_badge_size</item>
+ <item name="android:layout_width">@dimen/menu_badge_size</item>
+ <item name="android:layout_gravity">end|bottom</item>
+ <item name="android:layout_marginBottom">14dp</item>
+ <item name="android:focusable">false</item>
+ <item name="android:importantForAccessibility">no</item>
+ <item name="android:visibility">invisible</item>
+ </style>
</resources>
« no previous file with comments | « chrome/android/java/res/menu/main_menu.xml ('k') | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698