OLD | NEW |
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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 <item name="android:windowAnimationStyle">@null</item> | 268 <item name="android:windowAnimationStyle">@null</item> |
269 <item name="android:windowBackground">@android:color/transparent</item> | 269 <item name="android:windowBackground">@android:color/transparent</item> |
270 <item name="android:windowCloseOnTouchOutside">false</item> | 270 <item name="android:windowCloseOnTouchOutside">false</item> |
271 <item name="android:windowContentOverlay">@null</item> | 271 <item name="android:windowContentOverlay">@null</item> |
272 <item name="android:windowFrame">@null</item> | 272 <item name="android:windowFrame">@null</item> |
273 <item name="android:windowFullscreen">false</item> | 273 <item name="android:windowFullscreen">false</item> |
274 <item name="android:windowIsFloating">true</item> | 274 <item name="android:windowIsFloating">true</item> |
275 <item name="android:windowIsTranslucent">true</item> | 275 <item name="android:windowIsTranslucent">true</item> |
276 <item name="android:windowNoTitle">true</item> | 276 <item name="android:windowNoTitle">true</item> |
277 </style> | 277 </style> |
278 <!-- Cast --> | 278 <!-- Cast and media playback notifications --> |
| 279 <style |
| 280 name="MediaNotificationTitle" |
| 281 parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/> |
| 282 <style |
| 283 name="MediaNotificationText" |
| 284 parent="@android:style/TextAppearance.StatusBar.EventContent"/> |
279 <style | 285 <style |
280 name="RemoteNotificationTitle" | 286 name="RemoteNotificationTitle" |
281 parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/> | 287 parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/> |
282 <style | 288 <style |
283 name="RemoteNotificationText" | 289 name="RemoteNotificationText" |
284 parent="@android:style/TextAppearance.StatusBar.EventContent"/> | 290 parent="@android:style/TextAppearance.StatusBar.EventContent"/> |
285 <style | 291 <style |
286 name="RemoteNotificationProgressBar" | 292 name="RemoteNotificationProgressBar" |
287 parent="@android:style/Widget.Holo.ProgressBar.Horizontal"/> | 293 parent="@android:style/Widget.Holo.ProgressBar.Horizontal"/> |
288 <style name="CastMediaRouteButton" parent="@style/Widget.MediaRouter.MediaRo
uteButton"> | 294 <style name="CastMediaRouteButton" parent="@style/Widget.MediaRouter.MediaRo
uteButton"> |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 <style name="LocationBarButton"> | 387 <style name="LocationBarButton"> |
382 <item name="android:background">@null</item> | 388 <item name="android:background">@null</item> |
383 </style> | 389 </style> |
384 <style name="ToolbarButton"> | 390 <style name="ToolbarButton"> |
385 <item name="android:background">?attr/selectableItemBackground</item> | 391 <item name="android:background">?attr/selectableItemBackground</item> |
386 <item name="android:layout_width">48dp</item> | 392 <item name="android:layout_width">48dp</item> |
387 <item name="android:layout_height">56dp</item> | 393 <item name="android:layout_height">56dp</item> |
388 <item name="android:scaleType">center</item> | 394 <item name="android:scaleType">center</item> |
389 </style> | 395 </style> |
390 </resources> | 396 </resources> |
OLD | NEW |