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

Unified Diff: content/public/android/java/res/values-v21/styles.xml

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Consolidate mContentView and mContainerView Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/res/values-v21/styles.xml
diff --git a/content/public/android/java/res/values-v21/styles.xml b/content/public/android/java/res/values-v21/styles.xml
index a01b0c70d580370e40cbd7585725383348b2f1d0..d25fc67c5e6a87acbe78e1fef8c6ce84ffebb3c1 100644
--- a/content/public/android/java/res/values-v21/styles.xml
+++ b/content/public/android/java/res/values-v21/styles.xml
@@ -10,5 +10,22 @@
<style name="SelectActionMenuWebSearch">
<item name="android:icon">?android:attr/actionModeWebSearchDrawable</item>
</style>
+ <style name="TextSuggestionButton">
+ <item name="android:drawablePadding">8dp</item>
+ <!-- v17 uses sans-serif -->
+ <item name="android:fontFamily">sans-serif-medium</item>
+ <item name="android:gravity">start|center_vertical</item>
+ <item name="android:layout_gravity">start|center_vertical</item>
+ <item name="android:layout_height">48dp</item>
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:paddingBottom">8dp</item>
+ <item name="android:paddingEnd">16dp</item>
+ <item name="android:paddingStart">16dp</item>
+ <item name="android:paddingTop">8dp</item>
+ <item name="android:singleLine">true</item>
+ <!-- v17 hard codes google_blue_500 -->
+ <item name="android:textColor">?android:attr/colorAccent</item>
+ <item name="android:textAllCaps">true</item>
+ <item name="android:textSize">14sp</item>
+ </style>
</resources>
-

Powered by Google App Engine
This is Rietveld 408576698