| 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 24 matching lines...) Expand all Loading... |
| 35 <!-- Navigation Transitions, requires API level 21 --> | 35 <!-- Navigation Transitions, requires API level 21 --> |
| 36 <item name="android:windowAllowEnterTransitionOverlap" tools:targetApi="
21">false</item> | 36 <item name="android:windowAllowEnterTransitionOverlap" tools:targetApi="
21">false</item> |
| 37 <item name="android:windowAllowReturnTransitionOverlap" tools:targetApi=
"21">true</item> | 37 <item name="android:windowAllowReturnTransitionOverlap" tools:targetApi=
"21">true</item> |
| 38 <item name="android:windowContentTransitions" tools:targetApi="21">true<
/item> | 38 <item name="android:windowContentTransitions" tools:targetApi="21">true<
/item> |
| 39 <item name="android:windowEnterTransition" tools:targetApi="21">@transit
ion/fade</item> | 39 <item name="android:windowEnterTransition" tools:targetApi="21">@transit
ion/fade</item> |
| 40 <item name="android:windowExitTransition" tools:targetApi="21">@null</it
em> | 40 <item name="android:windowExitTransition" tools:targetApi="21">@null</it
em> |
| 41 <item name="android:windowSharedElementEnterTransition" tools:targetApi=
"21">@transition/move_image</item> | 41 <item name="android:windowSharedElementEnterTransition" tools:targetApi=
"21">@transition/move_image</item> |
| 42 <item name="android:windowSharedElementExitTransition" tools:targetApi="
21">@transition/move_image</item> | 42 <item name="android:windowSharedElementExitTransition" tools:targetApi="
21">@transition/move_image</item> |
| 43 </style> | 43 </style> |
| 44 | 44 |
| 45 <style name="SearchActivityTheme" parent="MainTheme"> |
| 46 <item name="android:windowBackground">@color/google_grey_500</item> |
| 47 </style> |
| 48 |
| 45 <style name="TabbedModeTheme" parent="MainTheme"> | 49 <style name="TabbedModeTheme" parent="MainTheme"> |
| 46 <item name="android:windowBackground">@drawable/window_background</item> | 50 <item name="android:windowBackground">@drawable/window_background</item> |
| 47 </style> | 51 </style> |
| 48 | 52 |
| 49 <style name="FullscreenWhite" parent="Theme.AppCompat.Light" > | 53 <style name="FullscreenWhite" parent="Theme.AppCompat.Light" > |
| 50 <item name="android:windowBackground">@android:color/white</item> | 54 <item name="android:windowBackground">@android:color/white</item> |
| 51 <item name="android:textColorLink">@color/light_active_color</item> | 55 <item name="android:textColorLink">@color/light_active_color</item> |
| 52 <item name="colorPrimaryDark">@android:color/black</item> | 56 <item name="colorPrimaryDark">@android:color/black</item> |
| 53 <item name="colorPrimary">@color/light_active_color</item> | 57 <item name="colorPrimary">@color/light_active_color</item> |
| 54 <item name="colorAccent">@color/light_active_color</item> | 58 <item name="colorAccent">@color/light_active_color</item> |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 <item name="android:singleLine">true</item> | 701 <item name="android:singleLine">true</item> |
| 698 <item name="android:textColor">@color/data_reduction_breakdown_text_colo
r</item> | 702 <item name="android:textColor">@color/data_reduction_breakdown_text_colo
r</item> |
| 699 <item name="android:textSize">12sp</item> | 703 <item name="android:textSize">12sp</item> |
| 700 </style> | 704 </style> |
| 701 | 705 |
| 702 <!-- Miscellaneous --> | 706 <!-- Miscellaneous --> |
| 703 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 707 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
| 704 <item name="android:textSize">20sp</item> | 708 <item name="android:textSize">20sp</item> |
| 705 </style> | 709 </style> |
| 706 </resources> | 710 </resources> |
| OLD | NEW |