| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 <item name="android:layout_marginStart">0dp</item> | 313 <item name="android:layout_marginStart">0dp</item> |
| 314 <item name="android:showDividers">middle</item> | 314 <item name="android:showDividers">middle</item> |
| 315 <item name="android:divider">?android:attr/listDivider</item> | 315 <item name="android:divider">?android:attr/listDivider</item> |
| 316 <item name="android:dividerPadding">12dp</item> | 316 <item name="android:dividerPadding">12dp</item> |
| 317 </style> | 317 </style> |
| 318 <style name="WebNotificationButton" | 318 <style name="WebNotificationButton" |
| 319 parent="@android:style/Widget.DeviceDefault.Button.Borderless.Small"> | 319 parent="@android:style/Widget.DeviceDefault.Button.Borderless.Small"> |
| 320 <!-- textColor from the 4.4.4 notification_action.xml - no public aliase
s. --> | 320 <!-- textColor from the 4.4.4 notification_action.xml - no public aliase
s. --> |
| 321 <item name="android:textColor">#ccc</item> | 321 <item name="android:textColor">#ccc</item> |
| 322 </style> | 322 </style> |
| 323 <style name="WebNotificationSettingsButton" |
| 324 parent="@style/WebNotificationButton"> |
| 325 <item name="android:textAppearance">@style/TextAppearance.StatusBar.Even
tContent.Line2</item> |
| 326 </style> |
| 323 <style name="WebNotificationLargeIcon"> | 327 <style name="WebNotificationLargeIcon"> |
| 324 <item name="android:background">@drawable/notification_template_icon_bg<
/item> | 328 <item name="android:background">@drawable/notification_template_icon_bg<
/item> |
| 325 </style> | 329 </style> |
| 326 <style name="WebNotificationSmallIcon"> | 330 <style name="WebNotificationSmallIcon"> |
| 327 <item name="android:alpha">0.6</item> | 331 <item name="android:alpha">0.6</item> |
| 328 </style> | 332 </style> |
| 329 | 333 |
| 330 <!-- First Run and Bookmark/recent-tabs dialogs --> | 334 <!-- First Run and Bookmark/recent-tabs dialogs --> |
| 331 <style name="DialogWhenLarge" parent="Theme.AppCompat.Light.DialogWhenLarge"
> | 335 <style name="DialogWhenLarge" parent="Theme.AppCompat.Light.DialogWhenLarge"
> |
| 332 <item name="android:windowBackground">@drawable/bg_white_dialog</item> | 336 <item name="android:windowBackground">@drawable/bg_white_dialog</item> |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 <style name="UpdateMenuBadge"> | 483 <style name="UpdateMenuBadge"> |
| 480 <item name="android:layout_height">@dimen/menu_badge_size</item> | 484 <item name="android:layout_height">@dimen/menu_badge_size</item> |
| 481 <item name="android:layout_width">@dimen/menu_badge_size</item> | 485 <item name="android:layout_width">@dimen/menu_badge_size</item> |
| 482 <item name="android:layout_gravity">end|bottom</item> | 486 <item name="android:layout_gravity">end|bottom</item> |
| 483 <item name="android:layout_marginBottom">14dp</item> | 487 <item name="android:layout_marginBottom">14dp</item> |
| 484 <item name="android:focusable">false</item> | 488 <item name="android:focusable">false</item> |
| 485 <item name="android:importantForAccessibility">no</item> | 489 <item name="android:importantForAccessibility">no</item> |
| 486 <item name="android:visibility">invisible</item> | 490 <item name="android:visibility">invisible</item> |
| 487 </style> | 491 </style> |
| 488 </resources> | 492 </resources> |
| OLD | NEW |