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

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

Issue 1405143003: Notification custom layouts: adjust title and body text. (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 xmlns:tools="http://schemas.android.com/tools"> 6 <resources xmlns:tools="http://schemas.android.com/tools">
7 <!-- Q: Why put style resources under values-v17/ ? 7 <!-- Q: Why put style resources under values-v17/ ?
8 A: Problem: 8 A: Problem:
9 1. paddingStart causes a crash on Galaxy Tab&Note b/8351339. 9 1. paddingStart causes a crash on Galaxy Tab&Note b/8351339.
10 2. So we wrote a build script(generate_v14_compatible_resources.py) to convert 10 2. So we wrote a build script(generate_v14_compatible_resources.py) to convert
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 <item name="android:paddingStart">0dp</item> 276 <item name="android:paddingStart">0dp</item>
277 <item name="android:paddingEnd">0dp</item> 277 <item name="android:paddingEnd">0dp</item>
278 <item name="externalRouteEnabledDrawable">@drawable/ic_cast_dark_chrome< /item> 278 <item name="externalRouteEnabledDrawable">@drawable/ic_cast_dark_chrome< /item>
279 </style> 279 </style>
280 280
281 <!-- Web Notifications --> 281 <!-- Web Notifications -->
282 <style name="WebNotificationTitle" 282 <style name="WebNotificationTitle"
283 parent="@style/TextAppearance.StatusBar.EventContent.Title"/> 283 parent="@style/TextAppearance.StatusBar.EventContent.Title"/>
284 <style name="WebNotificationBody" 284 <style name="WebNotificationBody"
285 parent="@style/TextAppearance.StatusBar.EventContent.Line2"/> 285 parent="@style/TextAppearance.StatusBar.EventContent.Line2"/>
286 <style name="WebNotificationBodyBig"
287 parent="@style/TextAppearance.StatusBar.EventContent"/>
286 <style name="WebNotificationOrigin" 288 <style name="WebNotificationOrigin"
287 parent="@style/TextAppearance.StatusBar.EventContent.Info"/> 289 parent="@style/TextAppearance.StatusBar.EventContent.Info"/>
288 <style name="WebNotificationTime" 290 <style name="WebNotificationTime"
289 parent="@style/TextAppearance.StatusBar.EventContent.Time"/> 291 parent="@style/TextAppearance.StatusBar.EventContent.Time"/>
290 <style name="WebNotificationDivider"> 292 <style name="WebNotificationDivider">
291 <item name="android:background">?android:dividerHorizontal</item> 293 <item name="android:background">?android:dividerHorizontal</item>
292 </style> 294 </style>
293 <style name="WebNotificationButton" 295 <style name="WebNotificationButton"
294 parent="@android:style/Widget.DeviceDefault.Button.Borderless.Small"/> 296 parent="@android:style/Widget.DeviceDefault.Button.Borderless.Small"/>
295 297
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 <style name="LocationBarButton"> 425 <style name="LocationBarButton">
424 <item name="android:background">@null</item> 426 <item name="android:background">@null</item>
425 </style> 427 </style>
426 <style name="ToolbarButton"> 428 <style name="ToolbarButton">
427 <item name="android:background">?attr/selectableItemBackground</item> 429 <item name="android:background">?attr/selectableItemBackground</item>
428 <item name="android:layout_width">48dp</item> 430 <item name="android:layout_width">48dp</item>
429 <item name="android:layout_height">56dp</item> 431 <item name="android:layout_height">56dp</item>
430 <item name="android:scaleType">center</item> 432 <item name="android:scaleType">center</item>
431 </style> 433 </style>
432 </resources> 434 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/web_notification_big.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