blob: 9e4ee5432dc028e7587a38be81a57e43b630e05c [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Themes in the "Theme.AppCompat" family will contain an action bar by default.
If Holo themes are available on the current platform version they will be used.
A limited Holo-styled action bar will be provided on platform versions older
than 3.0. (API 11)
These theme declarations contain any version-independent specification. Items
that need to vary based on platform version should be defined in the corresponding
"Theme.Base" theme. -->
<!-- Platform-independent theme providing an action bar in a dark-themed activity. -->
<style name="Theme.AppCompat" parent="Theme.Base.AppCompat">
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
<item name="spinnerDropDownItemStyle">
@style/Widget.AppCompat.DropDownItem.Spinner
</item>
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
<!-- Popup Menu styles -->
<item name="popupMenuStyle">@style/Widget.AppCompat.PopupMenu</item>
<item name="textAppearanceLargePopupMenu">
@style/TextAppearance.AppCompat.Widget.PopupMenu.Large
</item>
<item name="textAppearanceSmallPopupMenu">
@style/TextAppearance.AppCompat.Widget.PopupMenu.Small
</item>
</style>
<!-- Platform-independent theme providing an action bar in a light-themed activity. -->
<style name="Theme.AppCompat.Light" parent="Theme.Base.AppCompat.Light">
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
<item name="spinnerDropDownItemStyle">
@style/Widget.AppCompat.Light.DropDownItem.Spinner
</item>
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
<!-- Popup Menu styles -->
<item name="popupMenuStyle">@style/Widget.AppCompat.Light.PopupMenu</item>
<item name="textAppearanceLargePopupMenu">
@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Large
</item>
<item name="textAppearanceSmallPopupMenu">
@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Small
</item>
</style>
<!-- Platform-independent theme providing an action bar in a dark-themed activity. -->
<style name="Theme.AppCompat.Light.DarkActionBar"
parent="Theme.Base.AppCompat.Light.DarkActionBar">
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
<item name="spinnerDropDownItemStyle">
@style/Widget.AppCompat.Light.DropDownItem.Spinner
</item>
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
<!-- Popup Menu styles -->
<item name="popupMenuStyle">@style/Widget.AppCompat.Light.PopupMenu</item>
<item name="textAppearanceLargePopupMenu">
@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Large
</item>
<item name="textAppearanceSmallPopupMenu">
@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Small
</item>
</style>
<!-- Menu/item attributes -->
<style name="Theme.AppCompat.CompactMenu" parent="Theme.AppCompat.Base.CompactMenu">
</style>
<style name="Theme.AppCompat.CompactMenu.Dialog"
parent="Theme.AppCompat.Base.CompactMenu.Dialog">
</style>
</resources>