| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 <style name="FullscreenWhite" parent="Theme.AppCompat.Light" > | 49 <style name="FullscreenWhite" parent="Theme.AppCompat.Light" > |
| 50 <item name="android:windowBackground">@android:color/white</item> | 50 <item name="android:windowBackground">@android:color/white</item> |
| 51 <item name="android:textColorLink">@color/light_active_color</item> | 51 <item name="android:textColorLink">@color/light_active_color</item> |
| 52 <item name="colorPrimaryDark">@android:color/black</item> | 52 <item name="colorPrimaryDark">@android:color/black</item> |
| 53 <item name="colorPrimary">@color/light_active_color</item> | 53 <item name="colorPrimary">@color/light_active_color</item> |
| 54 <item name="colorAccent">@color/light_active_color</item> | 54 <item name="colorAccent">@color/light_active_color</item> |
| 55 <item name="windowNoTitle">true</item> | 55 <item name="windowNoTitle">true</item> |
| 56 </style> | 56 </style> |
| 57 | 57 |
| 58 <style name="FullscreenTransparentActivityTheme" parent="Theme.AppCompat.Lig
ht" > |
| 59 <item name="android:windowBackground">@android:color/transparent</item> |
| 60 <item name="android:windowContentOverlay">@null</item> |
| 61 <item name="android:windowIsFloating">true</item> |
| 62 <item name="android:windowIsTranslucent">true</item> |
| 63 <item name="windowActionBar">false</item> |
| 64 <item name="windowNoTitle">true</item> |
| 65 </style> |
| 66 |
| 58 <style name="FullscreenWhiteActivityTheme" parent="FullscreenWhite"> | 67 <style name="FullscreenWhiteActivityTheme" parent="FullscreenWhite"> |
| 59 <item name="windowActionBar">false</item> | 68 <item name="windowActionBar">false</item> |
| 60 </style> | 69 </style> |
| 61 | 70 |
| 62 <!-- Web app themes --> | 71 <!-- Web app themes --> |
| 63 <style name="WebappTheme" parent="MainTheme"> | 72 <style name="WebappTheme" parent="MainTheme"> |
| 64 <item name="android:windowBackground">@null</item> | 73 <item name="android:windowBackground">@null</item> |
| 65 <item name="android:windowDisablePreview">true</item> | 74 <item name="android:windowDisablePreview">true</item> |
| 66 </style> | 75 </style> |
| 67 <style name="WebappSplashScreenTextTheme"> | 76 <style name="WebappSplashScreenTextTheme"> |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 <item name="android:contentDescription">@null</item> | 675 <item name="android:contentDescription">@null</item> |
| 667 <item name="android:scaleType">center</item> | 676 <item name="android:scaleType">center</item> |
| 668 <item name="android:background">@color/light_active_color</item> | 677 <item name="android:background">@color/light_active_color</item> |
| 669 </style> | 678 </style> |
| 670 | 679 |
| 671 <!-- Miscellaneous --> | 680 <!-- Miscellaneous --> |
| 672 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 681 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
| 673 <item name="android:textSize">20sp</item> | 682 <item name="android:textSize">20sp</item> |
| 674 </style> | 683 </style> |
| 675 </resources> | 684 </resources> |
| OLD | NEW |