1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18
19    <!--
20        Theme in the "Platform.AppCompat" family are designed to be aliases for the default
21        theme on a given platform version and should set up the default theme ready for adding our
22        unbundled Action Bar.
23    -->
24    <eat-comment/>
25
26    <style name="Platform.AppCompat" parent="Platform.V11.AppCompat" />
27    <style name="Platform.AppCompat.Light" parent="Platform.V11.AppCompat.Light" />
28
29    <style name="Platform.V11.AppCompat" parent="android:Theme.Holo">
30        <item name="android:windowNoTitle">true</item>
31        <item name="android:windowActionBar">false</item>
32
33        <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
34        <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
35
36        <!-- Window colors -->
37        <item name="android:colorForeground">@color/foreground_material_dark</item>
38        <item name="android:colorForegroundInverse">@color/foreground_material_light</item>
39        <item name="android:colorBackground">@color/background_material_dark</item>
40        <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item>
41        <item name="android:disabledAlpha">@dimen/abc_disabled_alpha_material_dark</item>
42        <item name="android:backgroundDimAmount">0.6</item>
43        <item name="android:windowBackground">@color/background_material_dark</item>
44
45        <!-- Text colors -->
46        <item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item>
47        <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item>
48        <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
49        <item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item>
50        <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item>
51        <item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item>
52        <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item>
53        <item name="android:textColorHint">@color/hint_foreground_material_dark</item>
54        <item name="android:textColorHintInverse">@color/hint_foreground_material_light</item>
55        <item name="android:textColorHighlight">@color/highlighted_text_material_dark</item>
56        <item name="android:textColorHighlightInverse">@color/highlighted_text_material_light</item>
57        <item name="android:textColorLink">?attr/colorAccent</item>
58        <item name="android:textColorLinkInverse">?attr/colorAccent</item>
59        <item name="android:textColorAlertDialogListItem">@color/abc_primary_text_material_dark</item>
60
61        <!-- Text styles -->
62        <item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
63        <item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item>
64        <item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item>
65        <item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item>
66        <item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item>
67        <item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item>
68        <item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item>
69        <item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item>
70
71        <item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item>
72        <item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item>
73
74        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
75        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
76        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
77    </style>
78
79    <style name="Platform.V11.AppCompat.Light" parent="android:Theme.Holo.Light">
80        <item name="android:windowNoTitle">true</item>
81        <item name="android:windowActionBar">false</item>
82
83        <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
84        <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
85
86        <!-- Window colors -->
87        <item name="android:colorForeground">@color/foreground_material_light</item>
88        <item name="android:colorForegroundInverse">@color/foreground_material_dark</item>
89        <item name="android:colorBackground">@color/background_material_light</item>
90        <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_light</item>
91        <item name="android:disabledAlpha">@dimen/abc_disabled_alpha_material_light</item>
92        <item name="android:backgroundDimAmount">0.6</item>
93        <item name="android:windowBackground">@color/background_material_light</item>
94
95        <!-- Text colors -->
96        <item name="android:textColorPrimary">@color/abc_primary_text_material_light</item>
97        <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_dark</item>
98        <item name="android:textColorSecondary">@color/abc_secondary_text_material_light</item>
99        <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_dark</item>
100        <item name="android:textColorTertiary">@color/abc_secondary_text_material_light</item>
101        <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_dark</item>
102        <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_light</item>
103        <item name="android:textColorPrimaryInverseDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
104        <item name="android:textColorHint">@color/hint_foreground_material_light</item>
105        <item name="android:textColorHintInverse">@color/hint_foreground_material_dark</item>
106        <item name="android:textColorHighlight">@color/highlighted_text_material_light</item>
107        <item name="android:textColorHighlightInverse">@color/highlighted_text_material_dark</item>
108        <item name="android:textColorLink">?attr/colorAccent</item>
109        <item name="android:textColorLinkInverse">?attr/colorAccent</item>
110        <item name="android:textColorAlertDialogListItem">@color/abc_primary_text_material_light</item>
111
112        <!-- Text styles -->
113        <item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
114        <item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item>
115        <item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item>
116        <item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item>
117        <item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item>
118        <item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item>
119        <item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item>
120        <item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item>
121
122        <item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item>
123        <item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item>
124
125        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
126        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
127        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
128    </style>
129
130    <style name="Base.V11.Theme.AppCompat.Dialog" parent="Base.V7.Theme.AppCompat.Dialog">
131        <item name="android:buttonBarStyle">@style/Widget.AppCompat.ButtonBar.AlertDialog</item>
132        <item name="android:borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item>
133        <item name="android:windowCloseOnTouchOutside">@bool/abc_config_closeDialogWhenTouchOutside</item>
134    </style>
135
136    <style name="Base.V11.Theme.AppCompat.Light.Dialog" parent="Base.V7.Theme.AppCompat.Light.Dialog">
137        <item name="android:buttonBarStyle">@style/Widget.AppCompat.ButtonBar.AlertDialog</item>
138        <item name="android:borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item>
139        <item name="android:windowCloseOnTouchOutside">@bool/abc_config_closeDialogWhenTouchOutside</item>
140    </style>
141
142    <style name="Base.Theme.AppCompat.Dialog" parent="Base.V11.Theme.AppCompat.Dialog" />
143    <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V11.Theme.AppCompat.Light.Dialog" />
144
145    <style name="Base.V11.ThemeOverlay.AppCompat.Dialog" parent="Base.V7.ThemeOverlay.AppCompat.Dialog">
146        <item name="android:buttonBarStyle">@style/Widget.AppCompat.ButtonBar.AlertDialog</item>
147        <item name="android:borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item>
148        <item name="android:windowCloseOnTouchOutside">@bool/abc_config_closeDialogWhenTouchOutside</item>
149    </style>
150
151    <style name="Base.ThemeOverlay.AppCompat.Dialog" parent="Base.V11.ThemeOverlay.AppCompat.Dialog" />
152
153</resources>
154