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

Side by Side Diff: chrome/android/java/res/values-v17/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
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 6
7 <resources> 7 <resources>
8 <!-- Preferences --> 8 <!-- Preferences -->
9 <style name="PreferencesTheme" parent="ThemeWithActionBar"> 9 <style name="PreferencesTheme" parent="ThemeWithActionBar">
10 <item name="android:textColorLink">@color/pref_accent_color</item> 10 <item name="android:textColorLink">@color/pref_accent_color</item>
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 </style> 177 </style>
178 <style name="info_bubble"> 178 <style name="info_bubble">
179 <item name="android:textColor">@android:color/white</item> 179 <item name="android:textColor">@android:color/white</item>
180 <item name="android:textStyle">bold</item> 180 <item name="android:textStyle">bold</item>
181 <item name="android:textSize">18sp</item> 181 <item name="android:textSize">18sp</item>
182 </style> 182 </style>
183 <style name="FullscreenNotificationBubble" parent="@android:style/Animation. Toast"> 183 <style name="FullscreenNotificationBubble" parent="@android:style/Animation. Toast">
184 <item name="android:windowEnterAnimation">@anim/fullscreen_notification_ in</item> 184 <item name="android:windowEnterAnimation">@anim/fullscreen_notification_ in</item>
185 </style> 185 </style>
186 186
187 <!-- Buttons -->
188 <style name="ButtonCompatBase">
189 <item name="android:minWidth">88dp</item>
190 <item name="android:minHeight">36dp</item>
191 <item name="android:textSize">14sp</item>
192 <item name="android:paddingStart">20dp</item>
193 <item name="android:paddingEnd">20dp</item>
194 <item name="android:paddingTop">5dp</item>
195 <item name="android:paddingBottom">5dp</item>
196 <item name="android:textAllCaps">true</item>
197 <item name="android:focusable">true</item>
198 <item name="android:clickable">true</item>
199 <item name="android:gravity">center_vertical|center_horizontal</item>
200 </style>
201 <style name="ButtonCompat" parent="ButtonCompatBase">
202 <item name="android:background">@drawable/button_compat_shape</item>
203 </style>
204 <style name="ButtonBorderlessCompat" parent="ButtonCompat">
205 <item name="android:background">?attr/selectableItemBackground</item>
206 </style>
207
187 </resources> 208 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/drawable/button_compat_shape.xml ('k') | chrome/android/java/res/values-v21/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698