<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 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> <!-- Theme in the "Platform.AppCompat" family are designed to be aliases for the default theme on a given platform version and should set up the default theme ready for adding our unbundled Action Bar. --> <eat-comment/> <style name="Platform.AppCompat" parent="android:Theme.Material"> <item name="android:windowNoTitle">true</item> <item name="android:windowActionBar">false</item> <item name="android:buttonBarStyle">?attr/buttonBarStyle</item> <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item> </style> <style name="Platform.AppCompat.Light" parent="android:Theme.Material.Light"> <item name="android:windowNoTitle">true</item> <item name="android:windowActionBar">false</item> <item name="android:buttonBarStyle">?attr/buttonBarStyle</item> <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item> </style> <style name="Base.Theme.AppCompat" parent="Base.V21.Theme.AppCompat" /> <style name="Base.Theme.AppCompat.Light" parent="Base.V21.Theme.AppCompat.Light" /> <style name="Base.V21.Theme.AppCompat" parent="Base.V7.Theme.AppCompat"> <!-- Action Bar styling attributes --> <item name="actionBarSize">?android:attr/actionBarSize</item> <item name="actionBarDivider">?android:attr/actionBarDivider</item> <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item> <item name="actionButtonStyle">?android:attr/actionButtonStyle</item> <item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item> <item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item> <item name="actionModeBackground">?android:attr/actionModeBackground</item> <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item> <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</item> <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item> <!-- For PopupMenu --> <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item> <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item> <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item> <!-- General view attributes --> <item name="selectableItemBackground">?android:attr/selectableItemBackground</item> <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item> <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item> <item name="dividerHorizontal">?android:attr/dividerHorizontal</item> <item name="dividerVertical">?android:attr/dividerVertical</item> <item name="editTextBackground">?android:attr/editTextBackground</item> <item name="editTextColor">?android:attr/editTextColor</item> <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item> <!-- Copy the platform default styles for the AppCompat widgets --> <item name="autoCompleteTextViewStyle">?android:attr/autoCompleteTextViewStyle</item> <item name="buttonStyle">?android:attr/buttonStyle</item> <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item> <item name="checkboxStyle">?android:attr/checkboxStyle</item> <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item> <item name="editTextStyle">?android:attr/editTextStyle</item> <item name="radioButtonStyle">?android:attr/radioButtonStyle</item> <item name="ratingBarStyle">?android:attr/ratingBarStyle</item> <item name="spinnerStyle">?android:attr/spinnerStyle</item> <!-- Copy our color theme attributes to the framework --> <item name="android:colorPrimary">?attr/colorPrimary</item> <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item> <item name="android:colorAccent">?attr/colorAccent</item> <item name="android:colorControlNormal">?attr/colorControlNormal</item> <item name="android:colorControlActivated">?attr/colorControlActivated</item> <item name="android:colorControlHighlight">?attr/colorControlHighlight</item> <item name="android:colorButtonNormal">?attr/colorButtonNormal</item> </style> <style name="Base.V21.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light"> <!-- Action Bar styling attributes --> <item name="actionBarSize">?android:attr/actionBarSize</item> <item name="actionBarDivider">?android:attr/actionBarDivider</item> <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item> <item name="actionButtonStyle">?android:attr/actionButtonStyle</item> <item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item> <item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item> <item name="actionModeBackground">?android:attr/actionModeBackground</item> <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item> <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</item> <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item> <!-- For PopupMenu --> <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item> <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item> <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item> <!-- General view attributes --> <item name="selectableItemBackground">?android:attr/selectableItemBackground</item> <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item> <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item> <item name="dividerHorizontal">?android:attr/dividerHorizontal</item> <item name="dividerVertical">?android:attr/dividerVertical</item> <item name="editTextBackground">?android:attr/editTextBackground</item> <item name="editTextColor">?android:attr/editTextColor</item> <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item> <!-- Copy the platform default styles for the AppCompat widgets --> <item name="autoCompleteTextViewStyle">?android:attr/autoCompleteTextViewStyle</item> <item name="buttonStyle">?android:attr/buttonStyle</item> <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item> <item name="checkboxStyle">?android:attr/checkboxStyle</item> <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item> <item name="editTextStyle">?android:attr/editTextStyle</item> <item name="radioButtonStyle">?android:attr/radioButtonStyle</item> <item name="ratingBarStyle">?android:attr/ratingBarStyle</item> <item name="spinnerStyle">?android:attr/spinnerStyle</item> <!-- Copy our color theme attributes to the framework --> <item name="android:colorPrimary">?attr/colorPrimary</item> <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item> <item name="android:colorAccent">?attr/colorAccent</item> <item name="android:colorControlNormal">?attr/colorControlNormal</item> <item name="android:colorControlActivated">?attr/colorControlActivated</item> <item name="android:colorControlHighlight">?attr/colorControlHighlight</item> <item name="android:colorButtonNormal">?attr/colorButtonNormal</item> </style> <style name="Base.V21.Theme.AppCompat.Dialog" parent="Base.V11.Theme.AppCompat.Dialog"> <item name="android:windowElevation">@dimen/abc_floating_window_z</item> </style> <style name="Base.V21.Theme.AppCompat.Light.Dialog" parent="Base.V11.Theme.AppCompat.Light.Dialog"> <item name="android:windowElevation">@dimen/abc_floating_window_z</item> </style> <style name="Base.Theme.AppCompat.Dialog" parent="Base.V21.Theme.AppCompat.Dialog" /> <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V21.Theme.AppCompat.Light.Dialog" /> <style name="Platform.ThemeOverlay.AppCompat" parent=""> <!-- Copy our color theme attributes to the framework --> <item name="android:colorPrimary">?attr/colorPrimary</item> <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item> <item name="android:colorAccent">?attr/colorAccent</item> <item name="android:colorControlNormal">?attr/colorControlNormal</item> <item name="android:colorControlActivated">?attr/colorControlActivated</item> <item name="android:colorControlHighlight">?attr/colorControlHighlight</item> <item name="android:colorButtonNormal">?attr/colorButtonNormal</item> </style> <style name="Platform.ThemeOverlay.AppCompat.Dark" /> <style name="Platform.ThemeOverlay.AppCompat.Light" /> </resources>