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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 </style> | 66 </style> |
67 <style name="WebappSplashScreenTextTheme"> | 67 <style name="WebappSplashScreenTextTheme"> |
68 <item name="android:textSize">24sp</item> | 68 <item name="android:textSize">24sp</item> |
69 <item name="android:ellipsize">end</item> | 69 <item name="android:ellipsize">end</item> |
70 <item name="android:textColor">@color/default_text_color</item> | 70 <item name="android:textColor">@color/default_text_color</item> |
71 <item name="android:gravity">center</item> | 71 <item name="android:gravity">center</item> |
72 <item name="android:fontFamily">sans-serif-condensed</item> | 72 <item name="android:fontFamily">sans-serif-condensed</item> |
73 <item name="android:maxLines">2</item> | 73 <item name="android:maxLines">2</item> |
74 </style> | 74 </style> |
75 | 75 |
| 76 <style name="OverlayTheme" parent="MainTheme"> |
| 77 <!-- Using these values will make the Activity translucent. |
| 78 <item name="android:windowIsTranslucent">true</item> |
| 79 <item name="android:windowBackground">@android:color/transparent</ite
m> |
| 80 <item name="android:windowContentOverlay">@null</item> |
| 81 <item name="android:windowNoTitle">true</item> |
| 82 --> |
| 83 <item name="android:windowBackground">@color/light_normal_color</item> |
| 84 </style> |
| 85 |
76 <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert"> | 86 <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert"> |
77 <item name="android:textColorHighlight">@color/text_highlight_color</ite
m> | 87 <item name="android:textColorHighlight">@color/text_highlight_color</ite
m> |
78 | 88 |
79 <!-- Overriding AppCompat values --> | 89 <!-- Overriding AppCompat values --> |
80 <item name="colorAccent">@color/light_active_color</item> | 90 <item name="colorAccent">@color/light_active_color</item> |
81 <item name="colorControlActivated">@color/light_active_color</item> | 91 <item name="colorControlActivated">@color/light_active_color</item> |
82 <item name="colorControlNormal">@color/light_normal_color</item> | 92 <item name="colorControlNormal">@color/light_normal_color</item> |
83 <item name="colorPrimary">@color/light_active_color</item> | 93 <item name="colorPrimary">@color/light_active_color</item> |
84 | 94 |
85 <!-- Default TintedImageButton tint --> | 95 <!-- Default TintedImageButton tint --> |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 <item name="android:contentDescription">@null</item> | 676 <item name="android:contentDescription">@null</item> |
667 <item name="android:scaleType">center</item> | 677 <item name="android:scaleType">center</item> |
668 <item name="android:background">@color/light_active_color</item> | 678 <item name="android:background">@color/light_active_color</item> |
669 </style> | 679 </style> |
670 | 680 |
671 <!-- Miscellaneous --> | 681 <!-- Miscellaneous --> |
672 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> | 682 <style name="BottomSheetContentTitle" parent="TextAppearance.Widget.AppCompa
t.Toolbar.Title"> |
673 <item name="android:textSize">20sp</item> | 683 <item name="android:textSize">20sp</item> |
674 </style> | 684 </style> |
675 </resources> | 685 </resources> |
OLD | NEW |