1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 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    <style name="Platform.AppCompat" parent="android:Theme">
26        <item name="android:windowNoTitle">true</item>
27
28        <!-- Window colors -->
29        <item name="android:colorForeground">@color/foreground_material_dark</item>
30        <item name="android:colorForegroundInverse">@color/foreground_material_light</item>
31        <item name="android:colorBackground">@color/background_material_dark</item>
32        <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item>
33        <item name="android:disabledAlpha">@dimen/abc_disabled_alpha_material_dark</item>
34        <item name="android:backgroundDimAmount">0.6</item>
35        <item name="android:windowBackground">@color/background_material_dark</item>
36
37        <!-- Text colors -->
38        <item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item>
39        <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item>
40        <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
41        <item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item>
42        <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item>
43        <item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item>
44        <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item>
45        <item name="android:textColorHint">@color/hint_foreground_material_dark</item>
46        <item name="android:textColorHintInverse">@color/hint_foreground_material_light</item>
47        <item name="android:textColorHighlight">@color/highlighted_text_material_dark</item>
48        <item name="android:textColorLink">?attr/colorAccent</item>
49
50        <!-- Text styles -->
51        <item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
52        <item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item>
53        <item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item>
54        <item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item>
55        <item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item>
56        <item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item>
57        <item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item>
58        <item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item>
59
60        <item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item>
61        <item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item>
62    </style>
63
64    <style name="Platform.AppCompat.Light" parent="android:Theme.Light">
65        <item name="android:windowNoTitle">true</item>
66
67        <!-- Window colors -->
68        <item name="android:colorForeground">@color/foreground_material_light</item>
69        <item name="android:colorForegroundInverse">@color/foreground_material_dark</item>
70        <item name="android:colorBackground">@color/background_material_light</item>
71        <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_light</item>
72        <item name="android:disabledAlpha">@dimen/abc_disabled_alpha_material_light</item>
73        <item name="android:backgroundDimAmount">0.6</item>
74        <item name="android:windowBackground">@color/background_material_light</item>
75
76        <!-- Text colors -->
77        <item name="android:textColorPrimary">@color/abc_primary_text_material_light</item>
78        <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_dark</item>
79        <item name="android:textColorSecondary">@color/abc_secondary_text_material_light</item>
80        <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_dark</item>
81        <item name="android:textColorTertiary">@color/abc_secondary_text_material_light</item>
82        <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_dark</item>
83        <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_light</item>
84        <item name="android:textColorPrimaryInverseDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
85        <item name="android:textColorHint">@color/hint_foreground_material_light</item>
86        <item name="android:textColorHintInverse">@color/hint_foreground_material_dark</item>
87        <item name="android:textColorHighlight">@color/highlighted_text_material_light</item>
88        <item name="android:textColorLink">?attr/colorAccent</item>
89
90        <!-- Text styles -->
91        <item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
92        <item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item>
93        <item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item>
94        <item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item>
95        <item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item>
96        <item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item>
97        <item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item>
98        <item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item>
99
100        <item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item>
101        <item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item>
102    </style>
103
104    <!-- Themes in the "Base.Theme" family vary based on the current platform
105         version to provide the correct basis on each device. You probably don't
106         want to use them directly in your apps.
107
108         Themes in the "Theme.AppCompat" family are meant to be extended or used
109         directly by apps. -->
110    <eat-comment/>
111
112    <!-- Base platform-dependent theme providing an action bar in a dark-themed activity. -->
113    <style name="Base.V7.Theme.AppCompat" parent="Platform.AppCompat">
114        <item name="windowActionBar">true</item>
115        <item name="windowActionBarOverlay">false</item>
116        <item name="actionBarPopupTheme">@null</item>
117
118        <!-- Used by MediaRouter -->
119        <item name="isLightTheme">false</item>
120
121        <item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item>
122        <item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item>
123        <item name="borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item>
124        <item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
125
126        <item name="dividerVertical">@drawable/abc_list_divider_mtrl_alpha</item>
127        <item name="dividerHorizontal">@drawable/abc_list_divider_mtrl_alpha</item>
128
129        <!-- Action Bar Styles -->
130        <item name="actionBarTabStyle">@style/Widget.AppCompat.ActionBar.TabView</item>
131        <item name="actionBarTabBarStyle">@style/Widget.AppCompat.ActionBar.TabBar</item>
132        <item name="actionBarTabTextStyle">@style/Widget.AppCompat.ActionBar.TabText</item>
133        <item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item>
134        <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item>
135        <item name="actionOverflowMenuStyle">@style/Widget.AppCompat.PopupMenu.Overflow</item>
136        <item name="actionBarStyle">@style/Widget.AppCompat.ActionBar.Solid</item>
137        <item name="actionBarSplitStyle">?attr/actionBarStyle</item>
138        <item name="actionBarWidgetTheme">@null</item>
139        <item name="actionBarTheme">@style/ThemeOverlay.AppCompat.ActionBar</item>
140        <item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item>
141        <item name="actionBarDivider">?attr/dividerVertical</item>
142        <item name="actionBarItemBackground">?attr/selectableItemBackgroundBorderless</item>
143        <item name="actionMenuTextAppearance">@style/TextAppearance.AppCompat.Widget.ActionBar.Menu</item>
144        <item name="actionMenuTextColor">?android:attr/textColorPrimaryDisableOnly</item>
145
146        <!-- Dropdown Spinner Attributes -->
147        <item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item>
148
149        <!-- Action Mode -->
150        <item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item>
151        <item name="actionModeBackground">@drawable/abc_cab_background_top_material</item>
152        <item name="actionModeSplitBackground">?attr/colorPrimaryDark</item>
153        <item name="actionModeCloseDrawable">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
154        <item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode</item>
155
156        <item name="actionModeCutDrawable">@drawable/abc_ic_menu_cut_mtrl_alpha</item>
157        <item name="actionModeCopyDrawable">@drawable/abc_ic_menu_copy_mtrl_am_alpha</item>
158        <item name="actionModePasteDrawable">@drawable/abc_ic_menu_paste_mtrl_am_alpha</item>
159        <item name="actionModeSelectAllDrawable">@drawable/abc_ic_menu_selectall_mtrl_alpha</item>
160        <item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_mtrl_alpha</item>
161
162        <!-- Panel attributes -->
163        <item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item>
164        <item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item>
165        <item name="panelBackground">@drawable/abc_menu_hardkey_panel_mtrl_mult</item>
166        <item name="android:panelBackground">@android:color/transparent</item>
167        <item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item>
168
169        <!-- List attributes -->
170        <item name="textAppearanceListItem">@style/TextAppearance.AppCompat.Subhead</item>
171        <item name="textAppearanceListItemSmall">@style/TextAppearance.AppCompat.Subhead</item>
172        <item name="listPreferredItemHeight">64dp</item>
173        <item name="listPreferredItemHeightSmall">48dp</item>
174        <item name="listPreferredItemHeightLarge">80dp</item>
175        <item name="listPreferredItemPaddingLeft">@dimen/abc_list_item_padding_horizontal_material</item>
176        <item name="listPreferredItemPaddingRight">@dimen/abc_list_item_padding_horizontal_material</item>
177
178        <!-- Spinner styles -->
179        <item name="spinnerStyle">@style/Widget.AppCompat.Spinner</item>
180        <item name="android:spinnerItemStyle">@style/Widget.AppCompat.TextView.SpinnerItem</item>
181        <item name="android:dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
182
183        <!-- Required for use of support_simple_spinner_dropdown_item.xml -->
184        <item name="spinnerDropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
185        <item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
186
187        <!-- Popup Menu styles -->
188        <item name="popupMenuStyle">@style/Widget.AppCompat.PopupMenu</item>
189        <item name="textAppearanceLargePopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Large</item>
190        <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Small</item>
191        <item name="listPopupWindowStyle">@style/Widget.AppCompat.ListPopupWindow</item>
192        <item name="dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
193
194        <!-- SearchView attributes -->
195        <item name="searchViewStyle">@style/Widget.AppCompat.SearchView</item>
196        <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
197        <item name="textColorSearchUrl">@color/abc_search_url_text</item>
198        <item name="textAppearanceSearchResultTitle">@style/TextAppearance.AppCompat.SearchResult.Title</item>
199        <item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.AppCompat.SearchResult.Subtitle</item>
200
201        <!-- ShareActionProvider attributes -->
202        <item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item>
203
204        <!-- Toolbar styles -->
205        <item name="toolbarStyle">@style/Widget.AppCompat.Toolbar</item>
206        <item name="toolbarNavigationButtonStyle">@style/Widget.AppCompat.Toolbar.Button.Navigation</item>
207
208        <item name="editTextStyle">@style/Widget.AppCompat.EditText</item>
209        <item name="editTextBackground">@drawable/abc_edit_text_material</item>
210        <item name="editTextColor">?android:attr/textColorPrimary</item>
211        <item name="autoCompleteTextViewStyle">@style/Widget.AppCompat.AutoCompleteTextView</item>
212
213        <!-- Color palette -->
214        <item name="colorPrimaryDark">@color/primary_dark_material_dark</item>
215        <item name="colorPrimary">@color/primary_material_dark</item>
216        <item name="colorAccent">@color/accent_material_dark</item>
217
218        <item name="colorControlNormal">?android:attr/textColorSecondary</item>
219        <item name="colorControlActivated">?attr/colorAccent</item>
220        <item name="colorControlHighlight">@color/ripple_material_dark</item>
221        <item name="colorButtonNormal">@color/button_material_dark</item>
222        <item name="colorSwitchThumbNormal">@color/switch_thumb_material_dark</item>
223        <item name="controlBackground">?attr/selectableItemBackgroundBorderless</item>
224
225        <item name="drawerArrowStyle">@style/Widget.AppCompat.DrawerArrowToggle</item>
226
227        <item name="checkboxStyle">@style/Widget.AppCompat.CompoundButton.CheckBox</item>
228        <item name="radioButtonStyle">@style/Widget.AppCompat.CompoundButton.RadioButton</item>
229        <item name="switchStyle">@style/Widget.AppCompat.CompoundButton.Switch</item>
230
231        <item name="ratingBarStyle">@style/Widget.AppCompat.RatingBar</item>
232
233        <!-- Button styles -->
234        <item name="buttonStyle">@style/Widget.AppCompat.Button</item>
235        <item name="buttonStyleSmall">@style/Widget.AppCompat.Button.Small</item>
236        <item name="android:textAppearanceButton">@style/TextAppearance.AppCompat.Widget.Button</item>
237
238        <item name="buttonBarStyle">@style/Widget.AppCompat.ButtonBar</item>
239        <item name="buttonBarButtonStyle">@style/Widget.AppCompat.Button.ButtonBar.AlertDialog</item>
240        <item name="buttonBarPositiveButtonStyle">?attr/buttonBarButtonStyle</item>
241        <item name="buttonBarNegativeButtonStyle">?attr/buttonBarButtonStyle</item>
242        <item name="buttonBarNeutralButtonStyle">?attr/buttonBarButtonStyle</item>
243
244        <!-- Dialog attributes -->
245        <item name="dialogTheme">@style/Theme.AppCompat.Dialog</item>
246        <item name="dialogPreferredPadding">@dimen/abc_dialog_padding_material</item>
247
248        <item name="alertDialogTheme">@style/Theme.AppCompat.Dialog.Alert</item>
249        <item name="alertDialogStyle">@style/AlertDialog.AppCompat</item>
250        <item name="alertDialogCenterButtons">false</item>
251        <item name="textColorAlertDialogListItem">@color/abc_primary_text_material_dark</item>
252        <item name="listDividerAlertDialog">@null</item>
253
254        <!-- Define these here; ContextThemeWrappers around themes that define them should
255             always clear these values. -->
256        <item name="windowFixedWidthMajor">0dp</item>
257        <item name="windowFixedWidthMinor">0dp</item>
258        <item name="windowFixedHeightMajor">0dp</item>
259        <item name="windowFixedHeightMinor">0dp</item>
260    </style>
261
262    <!-- Base platform-dependent theme providing an action bar in a light-themed activity. -->
263    <style name="Base.V7.Theme.AppCompat.Light" parent="Platform.AppCompat.Light">
264        <item name="windowActionBar">true</item>
265        <item name="windowActionBarOverlay">false</item>
266        <item name="actionBarPopupTheme">@null</item>
267
268        <!-- Used by MediaRouter -->
269        <item name="isLightTheme">true</item>
270
271        <item name="selectableItemBackground">@drawable/abc_item_background_holo_light</item>
272        <item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item>
273        <item name="borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item>
274        <item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
275
276        <item name="dividerVertical">@drawable/abc_list_divider_mtrl_alpha</item>
277        <item name="dividerHorizontal">@drawable/abc_list_divider_mtrl_alpha</item>
278
279        <!-- Action Bar Styles -->
280        <item name="actionBarTabStyle">@style/Widget.AppCompat.Light.ActionBar.TabView</item>
281        <item name="actionBarTabBarStyle">@style/Widget.AppCompat.Light.ActionBar.TabBar</item>
282        <item name="actionBarTabTextStyle">@style/Widget.AppCompat.Light.ActionBar.TabText</item>
283        <item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item>
284        <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item>
285        <item name="actionOverflowMenuStyle">@style/Widget.AppCompat.Light.PopupMenu.Overflow</item>
286        <item name="actionBarStyle">@style/Widget.AppCompat.Light.ActionBar.Solid</item>
287        <item name="actionBarSplitStyle">?attr/actionBarStyle</item>
288        <item name="actionBarWidgetTheme">@null</item>
289        <item name="actionBarTheme">@style/ThemeOverlay.AppCompat.ActionBar</item>
290        <item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item>
291        <item name="actionBarDivider">?attr/dividerVertical</item>
292        <item name="actionBarItemBackground">?attr/selectableItemBackgroundBorderless</item>
293        <item name="actionMenuTextAppearance">@style/TextAppearance.AppCompat.Widget.ActionBar.Menu</item>
294        <item name="actionMenuTextColor">?android:attr/textColorPrimaryDisableOnly</item>
295
296        <!-- Action Mode -->
297        <item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item>
298        <item name="actionModeBackground">@drawable/abc_cab_background_top_material</item>
299        <item name="actionModeSplitBackground">?attr/colorPrimaryDark</item>
300        <item name="actionModeCloseDrawable">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
301        <item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode</item>
302
303        <item name="actionModeCutDrawable">@drawable/abc_ic_menu_cut_mtrl_alpha</item>
304        <item name="actionModeCopyDrawable">@drawable/abc_ic_menu_copy_mtrl_am_alpha</item>
305        <item name="actionModePasteDrawable">@drawable/abc_ic_menu_paste_mtrl_am_alpha</item>
306        <item name="actionModeSelectAllDrawable">@drawable/abc_ic_menu_selectall_mtrl_alpha</item>
307        <item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_mtrl_alpha</item>
308
309        <!-- Dropdown Spinner Attributes -->
310        <item name="actionDropDownStyle">@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar</item>
311
312        <!-- Panel attributes -->
313        <item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item>
314        <item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item>
315        <item name="panelBackground">@drawable/abc_menu_hardkey_panel_mtrl_mult</item>
316        <item name="android:panelBackground">@android:color/transparent</item>
317        <item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_light</item>
318
319        <!-- List attributes -->
320        <item name="textAppearanceListItem">@style/TextAppearance.AppCompat.Subhead</item>
321        <item name="textAppearanceListItemSmall">@style/TextAppearance.AppCompat.Subhead</item>
322        <item name="listPreferredItemHeight">64dp</item>
323        <item name="listPreferredItemHeightSmall">48dp</item>
324        <item name="listPreferredItemHeightLarge">80dp</item>
325        <item name="listPreferredItemPaddingLeft">@dimen/abc_list_item_padding_horizontal_material</item>
326        <item name="listPreferredItemPaddingRight">@dimen/abc_list_item_padding_horizontal_material</item>
327
328        <!-- Spinner styles -->
329        <item name="spinnerStyle">@style/Widget.AppCompat.Spinner</item>
330        <item name="android:spinnerItemStyle">@style/Widget.AppCompat.TextView.SpinnerItem</item>
331        <item name="android:dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
332
333        <!-- Required for use of support_simple_spinner_dropdown_item.xml -->
334        <item name="spinnerDropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
335        <item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
336
337        <!-- Popup Menu styles -->
338        <item name="popupMenuStyle">@style/Widget.AppCompat.Light.PopupMenu</item>
339        <item name="textAppearanceLargePopupMenu">@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Large</item>
340        <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Small</item>
341        <item name="listPopupWindowStyle">@style/Widget.AppCompat.ListPopupWindow</item>
342        <item name="dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
343
344        <!-- SearchView attributes -->
345        <item name="searchViewStyle">@style/Widget.AppCompat.Light.SearchView</item>
346        <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
347        <item name="textColorSearchUrl">@color/abc_search_url_text</item>
348        <item name="textAppearanceSearchResultTitle">@style/TextAppearance.AppCompat.SearchResult.Title</item>
349        <item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.AppCompat.SearchResult.Subtitle</item>
350
351        <!-- ShareActionProvider attributes -->
352        <item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item>
353
354        <!-- Toolbar styles -->
355        <item name="toolbarStyle">@style/Widget.AppCompat.Toolbar</item>
356        <item name="toolbarNavigationButtonStyle">@style/Widget.AppCompat.Toolbar.Button.Navigation</item>
357
358        <item name="editTextStyle">@style/Widget.AppCompat.EditText</item>
359        <item name="editTextBackground">@drawable/abc_edit_text_material</item>
360        <item name="editTextColor">?android:attr/textColorPrimary</item>
361        <item name="autoCompleteTextViewStyle">@style/Widget.AppCompat.AutoCompleteTextView</item>
362
363        <!-- Color palette -->
364        <item name="colorPrimaryDark">@color/primary_dark_material_light</item>
365        <item name="colorPrimary">@color/primary_material_light</item>
366        <item name="colorAccent">@color/accent_material_light</item>
367
368        <item name="colorControlNormal">?android:attr/textColorSecondary</item>
369        <item name="colorControlActivated">?attr/colorAccent</item>
370        <item name="colorControlHighlight">@color/ripple_material_light</item>
371        <item name="colorButtonNormal">@color/button_material_light</item>
372        <item name="colorSwitchThumbNormal">@color/switch_thumb_material_light</item>
373        <item name="controlBackground">?attr/selectableItemBackgroundBorderless</item>
374
375        <item name="drawerArrowStyle">@style/Widget.AppCompat.DrawerArrowToggle</item>
376
377        <item name="checkboxStyle">@style/Widget.AppCompat.CompoundButton.CheckBox</item>
378        <item name="radioButtonStyle">@style/Widget.AppCompat.CompoundButton.RadioButton</item>
379        <item name="switchStyle">@style/Widget.AppCompat.CompoundButton.Switch</item>
380
381        <item name="ratingBarStyle">@style/Widget.AppCompat.RatingBar</item>
382
383        <!-- Button styles -->
384        <item name="buttonStyle">@style/Widget.AppCompat.Button</item>
385        <item name="buttonStyleSmall">@style/Widget.AppCompat.Button.Small</item>
386        <item name="android:textAppearanceButton">@style/TextAppearance.AppCompat.Widget.Button</item>
387
388        <item name="buttonBarStyle">@style/Widget.AppCompat.ButtonBar</item>
389        <item name="buttonBarButtonStyle">@style/Widget.AppCompat.Button.ButtonBar.AlertDialog</item>
390        <item name="buttonBarPositiveButtonStyle">?attr/buttonBarButtonStyle</item>
391        <item name="buttonBarNegativeButtonStyle">?attr/buttonBarButtonStyle</item>
392        <item name="buttonBarNeutralButtonStyle">?attr/buttonBarButtonStyle</item>
393
394        <!-- Dialog attributes -->
395        <item name="dialogTheme">@style/Theme.AppCompat.Light.Dialog</item>
396        <item name="dialogPreferredPadding">@dimen/abc_dialog_padding_material</item>
397
398        <item name="alertDialogTheme">@style/Theme.AppCompat.Light.Dialog.Alert</item>
399        <item name="alertDialogStyle">@style/AlertDialog.AppCompat.Light</item>
400        <item name="alertDialogCenterButtons">false</item>
401        <item name="textColorAlertDialogListItem">@color/abc_primary_text_material_light</item>
402        <item name="listDividerAlertDialog">@null</item>
403
404        <!-- Define these here; ContextThemeWrappers around themes that define them should
405             always clear these values. -->
406        <item name="windowFixedWidthMajor">0dp</item>
407        <item name="windowFixedWidthMinor">0dp</item>
408        <item name="windowFixedHeightMajor">0dp</item>
409        <item name="windowFixedHeightMinor">0dp</item>
410    </style>
411
412    <style name="Base.Theme.AppCompat" parent="Base.V7.Theme.AppCompat">
413    </style>
414
415    <style name="Base.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light">
416    </style>
417
418    <style name="Base.Theme.AppCompat.Light.DarkActionBar" parent="Base.Theme.AppCompat.Light">
419        <item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
420        <item name="actionBarWidgetTheme">@null</item>
421        <item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
422
423        <!-- Panel attributes -->
424        <item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item>
425
426        <item name="colorPrimaryDark">@color/primary_dark_material_dark</item>
427        <item name="colorPrimary">@color/primary_material_dark</item>
428    </style>
429
430    <!-- Menu/item attributes -->
431    <style name="Base.Theme.AppCompat.CompactMenu" parent="">
432        <item name="android:itemTextAppearance">?android:attr/textAppearanceMedium</item>
433        <item name="android:listViewStyle">@style/Widget.AppCompat.ListView.Menu</item>
434        <item name="android:windowAnimationStyle">@style/Animation.AppCompat.DropDownUp</item>
435    </style>
436
437    <style name="Base.V7.Theme.AppCompat.Dialog" parent="Base.Theme.AppCompat">
438        <item name="android:colorBackground">@color/background_floating_material_dark</item>
439        <item name="android:colorBackgroundCacheHint">@null</item>
440
441        <item name="android:windowFrame">@null</item>
442        <item name="android:windowTitleStyle">@style/RtlOverlay.DialogWindowTitle.AppCompat</item>
443        <item name="android:windowTitleBackgroundStyle">@style/Base.DialogWindowTitleBackground.AppCompat</item>
444        <item name="android:windowBackground">@drawable/abc_dialog_material_background_dark</item>
445        <item name="android:windowIsFloating">true</item>
446        <item name="android:backgroundDimEnabled">true</item>
447        <item name="android:windowContentOverlay">@null</item>
448        <item name="android:windowAnimationStyle">@style/Animation.AppCompat.Dialog</item>
449        <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
450
451        <item name="windowActionBar">false</item>
452        <item name="windowActionModeOverlay">true</item>
453
454        <item name="listPreferredItemPaddingLeft">24dip</item>
455        <item name="listPreferredItemPaddingRight">24dip</item>
456
457        <item name="android:listDivider">@null</item>
458    </style>
459
460    <style name="Base.V7.Theme.AppCompat.Light.Dialog" parent="Base.Theme.AppCompat.Light">
461        <item name="android:colorBackground">@color/background_floating_material_light</item>
462        <item name="android:colorBackgroundCacheHint">@null</item>
463
464        <item name="android:windowFrame">@null</item>
465        <item name="android:windowTitleStyle">@style/RtlOverlay.DialogWindowTitle.AppCompat</item>
466        <item name="android:windowTitleBackgroundStyle">@style/Base.DialogWindowTitleBackground.AppCompat</item>
467        <item name="android:windowBackground">@drawable/abc_dialog_material_background_light</item>
468        <item name="android:windowIsFloating">true</item>
469        <item name="android:backgroundDimEnabled">true</item>
470        <item name="android:windowContentOverlay">@null</item>
471        <item name="android:windowAnimationStyle">@style/Animation.AppCompat.Dialog</item>
472        <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
473
474        <item name="windowActionBar">false</item>
475        <item name="windowActionModeOverlay">true</item>
476
477        <item name="listPreferredItemPaddingLeft">24dip</item>
478        <item name="listPreferredItemPaddingRight">24dip</item>
479
480        <item name="android:listDivider">@null</item>
481    </style>
482
483    <style name="Base.Theme.AppCompat.Dialog" parent="Base.V7.Theme.AppCompat.Dialog" />
484    <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V7.Theme.AppCompat.Light.Dialog" />
485
486    <style name="Base.Theme.AppCompat.Dialog.Alert">
487        <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item>
488        <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item>
489    </style>
490
491    <style name="Base.Theme.AppCompat.Light.Dialog.Alert">
492        <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item>
493        <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item>
494    </style>
495
496    <style name="Base.Theme.AppCompat.Dialog.MinWidth">
497        <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item>
498        <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item>
499    </style>
500
501    <style name="Base.Theme.AppCompat.Light.Dialog.MinWidth">
502        <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item>
503        <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item>
504    </style>
505
506    <style name="Base.Theme.AppCompat.Dialog.FixedSize">
507        <item name="windowFixedWidthMajor">@dimen/dialog_fixed_width_major</item>
508        <item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item>
509        <item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item>
510        <item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item>
511    </style>
512
513    <style name="Base.Theme.AppCompat.Light.Dialog.FixedSize">
514        <item name="windowFixedWidthMajor">@dimen/dialog_fixed_width_major</item>
515        <item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item>
516        <item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item>
517        <item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item>
518    </style>
519
520    <!-- We're not large, so redirect to Theme.AppCompat -->
521    <style name="Base.Theme.AppCompat.DialogWhenLarge" parent="Theme.AppCompat" />
522
523    <style name="Base.Theme.AppCompat.Light.DialogWhenLarge" parent="Theme.AppCompat.Light" />
524
525    <!-- Overlay themes -->
526    <style name="Platform.ThemeOverlay.AppCompat" parent="" />
527
528    <style name="Base.ThemeOverlay.AppCompat" parent="Platform.ThemeOverlay.AppCompat" />
529
530    <style name="Platform.ThemeOverlay.AppCompat.Dark">
531        <!-- Action Bar styles -->
532        <item name="actionBarItemBackground">@drawable/abc_item_background_holo_dark</item>
533        <item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item>
534        <item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item>
535
536        <!-- SearchView styles -->
537        <item name="android:autoCompleteTextViewStyle">@style/Widget.AppCompat.AutoCompleteTextView</item>
538        <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
539    </style>
540
541    <style name="Platform.ThemeOverlay.AppCompat.Light">
542        <item name="actionBarItemBackground">@drawable/abc_item_background_holo_light</item>
543        <item name="actionDropDownStyle">@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar</item>
544        <item name="selectableItemBackground">@drawable/abc_item_background_holo_light</item>
545
546        <!-- SearchView attributes -->
547        <item name="android:autoCompleteTextViewStyle">@style/Widget.AppCompat.Light.AutoCompleteTextView</item>
548        <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
549    </style>
550
551    <style name="Base.ThemeOverlay.AppCompat.Light" parent="Platform.ThemeOverlay.AppCompat.Light">
552        <item name="android:windowBackground">@color/background_material_light</item>
553        <item name="android:colorForeground">@color/foreground_material_light</item>
554        <item name="android:colorForegroundInverse">@color/foreground_material_dark</item>
555        <item name="android:colorBackground">@color/background_material_light</item>
556        <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_light</item>
557
558        <item name="android:textColorPrimary">@color/abc_primary_text_material_light</item>
559        <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_dark</item>
560        <item name="android:textColorSecondary">@color/abc_secondary_text_material_light</item>
561        <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_dark</item>
562        <item name="android:textColorTertiary">@color/abc_secondary_text_material_light</item>
563        <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_dark</item>
564        <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_light</item>
565        <item name="android:textColorPrimaryInverseDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
566        <item name="android:textColorHint">@color/hint_foreground_material_light</item>
567        <item name="android:textColorHintInverse">@color/hint_foreground_material_dark</item>
568        <item name="android:textColorHighlight">@color/highlighted_text_material_light</item>
569
570        <item name="colorControlNormal">?android:attr/textColorSecondary</item>
571        <item name="colorControlHighlight">@color/ripple_material_light</item>
572        <item name="colorButtonNormal">@color/button_material_light</item>
573        <item name="colorSwitchThumbNormal">@color/switch_thumb_material_light</item>
574
575        <!-- Used by MediaRouter -->
576        <item name="isLightTheme">true</item>
577    </style>
578
579    <style name="Base.ThemeOverlay.AppCompat.Dark" parent="Platform.ThemeOverlay.AppCompat.Dark">
580        <item name="android:windowBackground">@color/background_material_dark</item>
581        <item name="android:colorForeground">@color/foreground_material_dark</item>
582        <item name="android:colorForegroundInverse">@color/foreground_material_light</item>
583        <item name="android:colorBackground">@color/background_material_dark</item>
584        <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item>
585
586        <item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item>
587        <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item>
588        <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
589        <item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item>
590        <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item>
591        <item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item>
592        <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item>
593        <item name="android:textColorHint">@color/hint_foreground_material_dark</item>
594        <item name="android:textColorHintInverse">@color/hint_foreground_material_light</item>
595        <item name="android:textColorHighlight">@color/highlighted_text_material_dark</item>
596
597        <item name="colorControlNormal">?android:attr/textColorSecondary</item>
598        <item name="colorControlHighlight">@color/ripple_material_dark</item>
599        <item name="colorButtonNormal">@color/button_material_dark</item>
600        <item name="colorSwitchThumbNormal">@color/switch_thumb_material_dark</item>
601
602        <!-- Used by MediaRouter -->
603        <item name="isLightTheme">false</item>
604    </style>
605
606    <style name="Base.ThemeOverlay.AppCompat.ActionBar">
607        <item name="colorControlNormal">?android:attr/textColorPrimary</item>
608        <item name="searchViewStyle">@style/Widget.AppCompat.SearchView.ActionBar</item>
609    </style>
610
611    <style name="Base.ThemeOverlay.AppCompat.Dark.ActionBar">
612        <item name="colorControlNormal">?android:attr/textColorPrimary</item>
613        <item name="searchViewStyle">@style/Widget.AppCompat.SearchView.ActionBar</item>
614    </style>
615
616</resources>
617