| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 <item name="android:showDividers">middle</item> | 212 <item name="android:showDividers">middle</item> |
| 213 </style> | 213 </style> |
| 214 <style name="ButtonBarButton" parent="@android:style/Widget.Holo.Light.Butto
n"> | 214 <style name="ButtonBarButton" parent="@android:style/Widget.Holo.Light.Butto
n"> |
| 215 <item name="android:layout_width">0dp</item> | 215 <item name="android:layout_width">0dp</item> |
| 216 <item name="android:layout_height">match_parent</item> | 216 <item name="android:layout_height">match_parent</item> |
| 217 <item name="android:layout_weight">1</item> | 217 <item name="android:layout_weight">1</item> |
| 218 <item name="android:background">?attr/selectableItemBackground</item> | 218 <item name="android:background">?attr/selectableItemBackground</item> |
| 219 <item name="android:paddingStart">4dp</item> | 219 <item name="android:paddingStart">4dp</item> |
| 220 <item name="android:paddingEnd">4dp</item> | 220 <item name="android:paddingEnd">4dp</item> |
| 221 </style> | 221 </style> |
| 222 <style name="info_bubble"> | 222 |
| 223 <item name="android:textColor">@android:color/white</item> | 223 <!-- Bubble styles --> |
| 224 <item name="android:textStyle">bold</item> | 224 <style name="TextBubbleAnimation"> |
| 225 <item name="android:textSize">18sp</item> | 225 <item name="android:windowEnterAnimation">@anim/text_bubble_in</item> |
| 226 <item name="android:windowExitAnimation">@anim/text_bubble_out</item> |
| 226 </style> | 227 </style> |
| 227 <style name="FullscreenNotificationBubble" parent="@android:style/Animation.
Toast"> | 228 <style name="FullscreenNotificationBubble" parent="@android:style/Animation.
Toast"> |
| 228 <item name="android:windowEnterAnimation">@anim/fullscreen_notification_
in</item> | 229 <item name="android:windowEnterAnimation">@anim/fullscreen_notification_
in</item> |
| 229 </style> | 230 </style> |
| 230 | 231 |
| 231 <!-- Data Saver --> | 232 <!-- Data Saver --> |
| 232 <style name="DataReductionPromoScreenDialog" > | 233 <style name="DataReductionPromoScreenDialog" > |
| 233 <item name="android:background">@android:color/transparent</item> | 234 <item name="android:background">@android:color/transparent</item> |
| 234 <item name="android:backgroundDimEnabled">false</item> | 235 <item name="android:backgroundDimEnabled">false</item> |
| 235 <item name="android:clipChildren">false</item> | 236 <item name="android:clipChildren">false</item> |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> | 469 <style name="ToolbarMenuButtonTablet" parent="ToolbarButton"> |
| 469 <item name="android:layout_width">43dp</item> | 470 <item name="android:layout_width">43dp</item> |
| 470 <item name="android:paddingEnd">3.5dp</item> | 471 <item name="android:paddingEnd">3.5dp</item> |
| 471 </style> | 472 </style> |
| 472 <style name="AppMenuItem"> | 473 <style name="AppMenuItem"> |
| 473 <item name="android:paddingStart">16dp</item> | 474 <item name="android:paddingStart">16dp</item> |
| 474 <item name="android:paddingEnd">16dp</item> | 475 <item name="android:paddingEnd">16dp</item> |
| 475 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 476 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
| 476 </style> | 477 </style> |
| 477 </resources> | 478 </resources> |
| OLD | NEW |