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

Unified Diff: ui/android/java/res/values-v17/styles.xml

Issue 1235033003: Move ButtonCompat to ui/android/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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
« no previous file with comments | « ui/android/java/res/drawable/button_compat_shape.xml ('k') | ui/android/java/res/values-v21/styles.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/res/values-v17/styles.xml
diff --git a/ui/android/java/res/values-v17/styles.xml b/ui/android/java/res/values-v17/styles.xml
index 48b87ff148c16b17f603f0efed6acc92e5787d22..af6b1ff7353547b00d20c426e5887942a1b28f3c 100644
--- a/ui/android/java/res/values-v17/styles.xml
+++ b/ui/android/java/res/values-v17/styles.xml
@@ -10,4 +10,32 @@
<style name="DropdownPopupWindow" parent="@android:style/Widget.ListPopupWindow">
<item name="android:popupBackground">@drawable/dropdown_popup_background</item>
</style>
+
+ <!-- Buttons -->
+ <style name="ButtonCompatOverlay">
+ <item name="android:buttonStyle">@style/ButtonCompat</item>
+ </style>
+ <style name="ButtonCompatBorderlessOverlay">
+ <item name="android:buttonStyle">@style/ButtonCompatBorderless</item>
+ </style>
+ <style name="ButtonCompatBase">
+ <item name="android:minWidth">88dp</item>
+ <item name="android:minHeight">36dp</item>
+ <item name="android:textSize">14sp</item>
+ <item name="android:paddingStart">20dp</item>
+ <item name="android:paddingEnd">20dp</item>
+ <item name="android:paddingTop">5dp</item>
+ <item name="android:paddingBottom">5dp</item>
+ <item name="android:textAllCaps">true</item>
+ <item name="android:focusable">true</item>
+ <item name="android:clickable">true</item>
+ <item name="android:gravity">center_vertical|center_horizontal</item>
+ </style>
+ <style name="ButtonCompat" parent="ButtonCompatBase">
+ <item name="android:background">@drawable/button_compat_shape</item>
+ <item name="android:textStyle">bold</item>
+ </style>
+ <style name="ButtonCompatBorderless" parent="ButtonCompat">
+ <item name="android:background">?android:attr/selectableItemBackground</item>
+ </style>
</resources>
« no previous file with comments | « ui/android/java/res/drawable/button_compat_shape.xml ('k') | ui/android/java/res/values-v21/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698