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

Side by Side Diff: chrome/android/java/res/values-v17/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 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 parent="@android:style/Widget.Holo.ProgressBar.Horizontal"/> 271 parent="@android:style/Widget.Holo.ProgressBar.Horizontal"/>
272 <style name="CastMediaRouteButton" parent="@style/Widget.MediaRouter.MediaRo uteButton"> 272 <style name="CastMediaRouteButton" parent="@style/Widget.MediaRouter.MediaRo uteButton">
273 <item name="android:background">@null</item> 273 <item name="android:background">@null</item>
274 <item name="android:paddingTop">0dp</item> 274 <item name="android:paddingTop">0dp</item>
275 <item name="android:paddingBottom">0dp</item> 275 <item name="android:paddingBottom">0dp</item>
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 -->
282 <style name="WebNotificationTitle"
283 parent="@style/TextAppearance.StatusBar.EventContent.Title"/>
284 <style name="WebNotificationBody"
285 parent="@style/TextAppearance.StatusBar.EventContent.Line2"/>
286 <style name="WebNotificationOrigin"
287 parent="@style/TextAppearance.StatusBar.EventContent.Info"/>
288 <style name="WebNotificationTime"
289 parent="@style/TextAppearance.StatusBar.EventContent.Time"/>
290
281 <!-- First Run and Bookmark/recent-tabs dialogs --> 291 <!-- First Run and Bookmark/recent-tabs dialogs -->
282 <style name="DialogWhenLarge" parent="Theme.AppCompat.Light.DialogWhenLarge" > 292 <style name="DialogWhenLarge" parent="Theme.AppCompat.Light.DialogWhenLarge" >
283 <item name="android:windowBackground">@drawable/bg_white_dialog</item> 293 <item name="android:windowBackground">@drawable/bg_white_dialog</item>
284 <item name="android:statusBarColor" tools:targetApi="21">@android:color/ black</item> 294 <item name="android:statusBarColor" tools:targetApi="21">@android:color/ black</item>
285 <item name="android:textColorLink">@color/light_active_color</item> 295 <item name="android:textColorLink">@color/light_active_color</item>
286 <item name="colorPrimary">@color/light_active_color</item> 296 <item name="colorPrimary">@color/light_active_color</item>
287 <item name="colorAccent">@color/light_active_color</item> 297 <item name="colorAccent">@color/light_active_color</item>
288 298
289 <!-- Remove ActionBar --> 299 <!-- Remove ActionBar -->
290 <item name="windowNoTitle">true</item> 300 <item name="windowNoTitle">true</item>
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 <style name="LocationBarButton"> 413 <style name="LocationBarButton">
404 <item name="android:background">@null</item> 414 <item name="android:background">@null</item>
405 </style> 415 </style>
406 <style name="ToolbarButton"> 416 <style name="ToolbarButton">
407 <item name="android:background">?attr/selectableItemBackground</item> 417 <item name="android:background">?attr/selectableItemBackground</item>
408 <item name="android:layout_width">48dp</item> 418 <item name="android:layout_width">48dp</item>
409 <item name="android:layout_height">56dp</item> 419 <item name="android:layout_height">56dp</item>
410 <item name="android:scaleType">center</item> 420 <item name="android:scaleType">center</item>
411 </style> 421 </style>
412 </resources> 422 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698