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

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

Issue 1418813010: Notifications custom layouts: make the buttons look good in Material. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 <style name="WebNotificationOrigin" 71 <style name="WebNotificationOrigin"
72 parent="@android:style/TextAppearance.Material.Notification.Info"/> 72 parent="@android:style/TextAppearance.Material.Notification.Info"/>
73 <style name="WebNotificationTime" 73 <style name="WebNotificationTime"
74 parent="@android:style/TextAppearance.Material.Notification.Time"/> 74 parent="@android:style/TextAppearance.Material.Notification.Time"/>
75 <style name="WebNotificationDivider"> 75 <style name="WebNotificationDivider">
76 <!-- From the non-public Drawable notification_template_divider --> 76 <!-- From the non-public Drawable notification_template_divider -->
77 <item name="android:background">#29000000</item> 77 <item name="android:background">#29000000</item>
78 </style> 78 </style>
79 <style name="WebNotificationButton" 79 <style name="WebNotificationButton"
80 parent="@android:style/Widget.DeviceDefault.Light.Button.Borderless.Smal l"> 80 parent="@android:style/Widget.DeviceDefault.Light.Button.Borderless.Smal l">
81 <!-- From the non-public Color secondary_text_default_material_light --> 81 <item name="android:textColor">@color/secondary_text_default_material_li ght</item>
82 <item name="android:textColor">#8a000000</item> 82 <item name="android:background">@drawable/web_notification_button_backgr ound</item>
83 </style> 83 </style>
84 84
85 <style name="IncognitoTheme" parent="MainTheme"> 85 <style name="IncognitoTheme" parent="MainTheme">
86 <item name="android:colorPrimary">@color/incognito_primary_color</item> 86 <item name="android:colorPrimary">@color/incognito_primary_color</item>
87 </style> 87 </style>
88 88
89 <!-- Theme variation for low-end devices. 89 <!-- Theme variation for low-end devices.
90 90
91 Since ChromeActivities are not HW accelerated, they don't get fancy 91 Since ChromeActivities are not HW accelerated, they don't get fancy
92 material shadows for popups. This theme sets drawable with pre-baked 92 material shadows for popups. This theme sets drawable with pre-baked
(...skipping 18 matching lines...) Expand all
111 <item name="android:popupWindowStyle">@style/ListPopupWindow.LowEnd</ite m> 111 <item name="android:popupWindowStyle">@style/ListPopupWindow.LowEnd</ite m>
112 <item name="android:listPopupWindowStyle">@style/ListPopupWindow.LowEnd< /item> 112 <item name="android:listPopupWindowStyle">@style/ListPopupWindow.LowEnd< /item>
113 <item name="android:spinnerStyle">@style/Spinner.LowEnd</item> 113 <item name="android:spinnerStyle">@style/Spinner.LowEnd</item>
114 <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextVi ew.LowEnd</item> 114 <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextVi ew.LowEnd</item>
115 115
116 <!-- Without HW acceleration the default text cursor looks weird (top 116 <!-- Without HW acceleration the default text cursor looks weird (top
117 half is way brighter than the bottom), so we use our own. --> 117 half is way brighter than the bottom), so we use our own. -->
118 <item name="android:textCursorDrawable">@drawable/text_cursor_lowend</it em> 118 <item name="android:textCursorDrawable">@drawable/text_cursor_lowend</it em>
119 </style> 119 </style>
120 </resources> 120 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698