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

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

Issue 1394423004: Initial skeleton of custom layouts for Web Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix v17 styles and add entries to LoginCustomFlags. Created 5 years, 2 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 <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:alertDialogTheme">@style/PreferencesDialogTheme</ite m> 10 <item name="android:alertDialogTheme">@style/PreferencesDialogTheme</ite m>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 <style name="RemoteNotificationTitle" 54 <style name="RemoteNotificationTitle"
55 parent="@android:style/TextAppearance.Material.Notification.Title"> 55 parent="@android:style/TextAppearance.Material.Notification.Title">
56 <item name="android:layout_marginBottom">4dp</item> 56 <item name="android:layout_marginBottom">4dp</item>
57 </style> 57 </style>
58 <style name="RemoteNotificationText" 58 <style name="RemoteNotificationText"
59 parent="@android:style/TextAppearance.Material.Notification.Line2"/> 59 parent="@android:style/TextAppearance.Material.Notification.Line2"/>
60 <style name="RemoteNotificationProgressBar" parent="@android:style/Widget.Pr ogressBar.Horizontal"> 60 <style name="RemoteNotificationProgressBar" parent="@android:style/Widget.Pr ogressBar.Horizontal">
61 <item name="android:minHeight">5dp</item> 61 <item name="android:minHeight">5dp</item>
62 </style> 62 </style>
63 63
64 <!-- Web Notifications -->
65 <style name="WebNotificationTitle"
66 parent="@android:style/TextAppearance.Material.Notification.Title"/>
Peter Beverloo 2015/10/12 14:08:30 Is this different per theme? Does that mean that i
Michael van Ouwerkerk 2015/10/12 17:10:59 The v21 suffix in the directory is for the API ver
67 <style name="WebNotificationBody"
68 parent="@android:style/TextAppearance.Material.Notification.Line2"/>
69 <style name="WebNotificationOrigin"
70 parent="@android:style/TextAppearance.Material.Notification.Info"/>
71 <style name="WebNotificationTime"
72 parent="@android:style/TextAppearance.Material.Notification.Time"/>
73
64 <style name="IncognitoTheme" parent="MainTheme"> 74 <style name="IncognitoTheme" parent="MainTheme">
65 <item name="android:colorPrimary">@color/incognito_primary_color</item> 75 <item name="android:colorPrimary">@color/incognito_primary_color</item>
66 </style> 76 </style>
67 77
68 <!-- Theme variation for low-end devices. 78 <!-- Theme variation for low-end devices.
69 79
70 Since ChromeActivities are not HW accelerated, they don't get fancy 80 Since ChromeActivities are not HW accelerated, they don't get fancy
71 material shadows for popups. This theme sets drawable with pre-baked 81 material shadows for popups. This theme sets drawable with pre-baked
72 shadows to those popups to make them look better. 82 shadows to those popups to make them look better.
73 'popup_background_shadow' is a copy of 'abc_popup_background_mtrl_mult' 83 'popup_background_shadow' is a copy of 'abc_popup_background_mtrl_mult'
(...skipping 16 matching lines...) Expand all
90 <item name="android:popupWindowStyle">@style/ListPopupWindow.LowEnd</ite m> 100 <item name="android:popupWindowStyle">@style/ListPopupWindow.LowEnd</ite m>
91 <item name="android:listPopupWindowStyle">@style/ListPopupWindow.LowEnd< /item> 101 <item name="android:listPopupWindowStyle">@style/ListPopupWindow.LowEnd< /item>
92 <item name="android:spinnerStyle">@style/Spinner.LowEnd</item> 102 <item name="android:spinnerStyle">@style/Spinner.LowEnd</item>
93 <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextVi ew.LowEnd</item> 103 <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextVi ew.LowEnd</item>
94 104
95 <!-- Without HW acceleration the default text cursor looks weird (top 105 <!-- Without HW acceleration the default text cursor looks weird (top
96 half is way brighter than the bottom), so we use our own. --> 106 half is way brighter than the bottom), so we use our own. -->
97 <item name="android:textCursorDrawable">@drawable/text_cursor_lowend</it em> 107 <item name="android:textCursorDrawable">@drawable/text_cursor_lowend</it em>
98 </style> 108 </style>
99 </resources> 109 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698