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

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

Issue 902893004: Add ButtonCompat: a Material-styled button on all versions of Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/app/chrome 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
« no previous file with comments | « chrome/android/java/res/values-v17/styles.xml ('k') | chrome/android/java/res/values/attrs.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5
6 <resources> 6 <resources>
7 <!-- Preferences --> 7 <!-- Preferences -->
8 <style name="PreferencesTheme" parent="ThemeWithActionBar"> 8 <style name="PreferencesTheme" parent="ThemeWithActionBar">
9 <item name="android:textColorLink">@color/pref_accent_color</item> 9 <item name="android:textColorLink">@color/pref_accent_color</item>
10 <item name="android:buttonStyle">@style/PreferenceButtonStyle</item> 10 <item name="android:buttonStyle">@style/PreferenceButtonStyle</item>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 <style name="PreferenceLayoutBase"> 44 <style name="PreferenceLayoutBase">
45 <item name="android:background">?android:attr/activatedBackgroundIndicat or</item> 45 <item name="android:background">?android:attr/activatedBackgroundIndicat or</item>
46 <item name="android:minHeight">?android:attr/listPreferredItemHeightSmal l</item> 46 <item name="android:minHeight">?android:attr/listPreferredItemHeightSmal l</item>
47 <item name="android:paddingTop">16dp</item> 47 <item name="android:paddingTop">16dp</item>
48 <item name="android:paddingBottom">16dp</item> 48 <item name="android:paddingBottom">16dp</item>
49 <item name="android:paddingStart">?android:attr/listPreferredItemPadding Start</item> 49 <item name="android:paddingStart">?android:attr/listPreferredItemPadding Start</item>
50 <item name="android:paddingEnd">?android:attr/listPreferredItemPaddingEn d</item> 50 <item name="android:paddingEnd">?android:attr/listPreferredItemPaddingEn d</item>
51 </style> 51 </style>
52 <style name="PreferenceLayout" parent="PreferenceLayoutBase" /> 52 <style name="PreferenceLayout" parent="PreferenceLayoutBase" />
53 53
54 <!-- Buttons -->
55 <style name="ButtonCompat" parent="ButtonCompatBase">
56 <item name="android:background">@drawable/button_compat</item>
57 <item name="android:fontFamily">sans-serif-medium</item>
58 </style>
59 <style name="ButtonBorderlessCompat" parent="ButtonCompat">
60 <item name="android:background">@drawable/button_borderless_compat</item >
61 </style>
62
54 </resources> 63 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/values-v17/styles.xml ('k') | chrome/android/java/res/values/attrs.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698