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

Side by Side Diff: chrome/android/java/res/values-v17/styles.xml

Issue 914003002: Use ButtonCompat to get Material-y buttons in more places. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file. -->
5 -->
6 5
7 <resources> 6 <resources>
8 <!-- Preferences --> 7 <!-- Preferences -->
9 <style name="PreferencesTheme" parent="ThemeWithActionBar"> 8 <style name="PreferencesTheme" parent="ThemeWithActionBar">
10 <item name="android:textColorLink">@color/pref_accent_color</item> 9 <item name="android:textColorLink">@color/pref_accent_color</item>
11 <item name="android:buttonStyle">@style/PreferenceButtonStyle</item>
12 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item> 10 <item name="android:textAppearanceMedium">@style/PreferenceTextAppearanc eMedium</item>
13 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item> 11 <item name="android:preferenceCategoryStyle">@style/PreferenceCategory</ item>
14 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item > 12 <item name="android:spinnerItemStyle">@style/PreferenceSpinnerItem</item >
15 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item> 13 <item name="floatLabelTextAppearance">@style/PreferenceFloatLabelTextApp earance</item>
16 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item> 14 <item name="floatLabelPaddingLeft">@dimen/pref_autofill_field_horizontal _padding</item>
17 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item> 15 <item name="floatLabelPaddingRight">@dimen/pref_autofill_field_horizonta l_padding</item>
18 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item> 16 <item name="floatLabelPaddingTop">@dimen/pref_autofill_field_top_padding </item>
19 </style> 17 </style>
20 <style name="PreferenceButtonStyle" parent="@android:style/Widget.Holo.Light .Button">
21 <!-- TODO(twellington): Delete btn_default_preferences.xml once the AppC ompat theme supports
22 Material-like buttons. -->
23 <item name="android:background">@drawable/btn_default_preferences</item>
24 <item name="android:textAllCaps">true</item>
25 <item name="android:textColor">#fff</item>
26 <item name="android:textSize">14sp</item>
27 <item name="android:textStyle">bold</item>
28 </style>
29 <style name="PreferenceTextAppearanceMedium"> 18 <style name="PreferenceTextAppearanceMedium">
30 <item name="android:textSize">18sp</item> 19 <item name="android:textSize">18sp</item>
31 <item name="android:textColor">?android:attr/textColorPrimary</item> 20 <item name="android:textColor">?android:attr/textColorPrimary</item>
32 </style> 21 </style>
33 <style name="PreferenceCategory"> 22 <style name="PreferenceCategory">
34 <item name="android:layout">@layout/preference_category</item> 23 <item name="android:layout">@layout/preference_category</item>
35 <item name="android:shouldDisableView">false</item> 24 <item name="android:shouldDisableView">false</item>
36 <item name="android:selectable">false</item> 25 <item name="android:selectable">false</item>
37 </style> 26 </style>
38 <style name="PreferenceCategoryWithButtonStyle"> 27 <style name="PreferenceCategoryWithButtonStyle">
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 <item name="android:gravity">center_vertical|center_horizontal</item> 201 <item name="android:gravity">center_vertical|center_horizontal</item>
213 </style> 202 </style>
214 <style name="ButtonCompat" parent="ButtonCompatBase"> 203 <style name="ButtonCompat" parent="ButtonCompatBase">
215 <item name="android:background">@drawable/button_compat_shape</item> 204 <item name="android:background">@drawable/button_compat_shape</item>
216 </style> 205 </style>
217 <style name="ButtonBorderlessCompat" parent="ButtonCompat"> 206 <style name="ButtonBorderlessCompat" parent="ButtonCompat">
218 <item name="android:background">?attr/selectableItemBackground</item> 207 <item name="android:background">?attr/selectableItemBackground</item>
219 </style> 208 </style>
220 209
221 </resources> 210 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/website_settings.xml ('k') | chrome/android/java/res/values-v21/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698