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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 <style name="FullscreenWhite" parent="Theme.AppCompat.Light" > | 53 <style name="FullscreenWhite" parent="Theme.AppCompat.Light" > |
54 <item name="android:windowBackground">@android:color/white</item> | 54 <item name="android:windowBackground">@android:color/white</item> |
55 <item name="android:textColorLink">@color/light_active_color</item> | 55 <item name="android:textColorLink">@color/light_active_color</item> |
56 <item name="colorPrimaryDark">@android:color/black</item> | 56 <item name="colorPrimaryDark">@android:color/black</item> |
57 <item name="colorPrimary">@color/light_active_color</item> | 57 <item name="colorPrimary">@color/light_active_color</item> |
58 <item name="colorAccent">@color/light_active_color</item> | 58 <item name="colorAccent">@color/light_active_color</item> |
59 <item name="windowNoTitle">true</item> | 59 <item name="windowNoTitle">true</item> |
60 </style> | 60 </style> |
61 | 61 |
| 62 <style name="FullscreenTransparentActivityTheme" parent="Theme.AppCompat.Lig
ht" > |
| 63 <item name="android:windowBackground">@android:color/transparent</item> |
| 64 <item name="android:windowContentOverlay">@null</item> |
| 65 <item name="android:windowIsFloating">true</item> |
| 66 <item name="android:windowIsTranslucent">true</item> |
| 67 <item name="windowActionBar">false</item> |
| 68 <item name="windowNoTitle">true</item> |
| 69 </style> |
| 70 |
62 <style name="FullscreenWhiteActivityTheme" parent="FullscreenWhite"> | 71 <style name="FullscreenWhiteActivityTheme" parent="FullscreenWhite"> |
63 <item name="windowActionBar">false</item> | 72 <item name="windowActionBar">false</item> |
64 </style> | 73 </style> |
65 | 74 |
66 <!-- Web app themes --> | 75 <!-- Web app themes --> |
67 <style name="WebappTheme" parent="MainTheme"> | 76 <style name="WebappTheme" parent="MainTheme"> |
68 <item name="android:windowBackground">@null</item> | 77 <item name="android:windowBackground">@null</item> |
69 <item name="android:windowDisablePreview">true</item> | 78 <item name="android:windowDisablePreview">true</item> |
70 </style> | 79 </style> |
71 <style name="WebappSplashScreenTextTheme"> | 80 <style name="WebappSplashScreenTextTheme"> |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 <style name="IncognitoNewTabLearnMoreLink"> | 724 <style name="IncognitoNewTabLearnMoreLink"> |
716 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> | 725 <item name="android:background">?attr/listChoiceBackgroundIndicator</ite
m> |
717 <item name="android:clickable">true</item> | 726 <item name="android:clickable">true</item> |
718 <item name="android:focusable">true</item> | 727 <item name="android:focusable">true</item> |
719 <item name="android:textSize">14sp</item> | 728 <item name="android:textSize">14sp</item> |
720 <item name="android:textAllCaps">true</item> | 729 <item name="android:textAllCaps">true</item> |
721 <item name="android:padding">16dp</item> | 730 <item name="android:padding">16dp</item> |
722 </style> | 731 </style> |
723 | 732 |
724 </resources> | 733 </resources> |
OLD | NEW |