2014-12-29 16:52:20 +01:00
|
|
|
<?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>
|
|
|
|
|
2015-05-03 14:56:07 +02:00
|
|
|
<item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
|
|
|
|
<item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
</style>
|
|
|
|
|
2015-05-03 14:56:07 +02:00
|
|
|
<style name="Platform.AppCompat.Light" parent="android:Theme.Material.Light">
|
2014-12-29 16:52:20 +01:00
|
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
<item name="android:windowActionBar">false</item>
|
|
|
|
|
2015-05-03 14:56:07 +02:00
|
|
|
<item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
|
|
|
|
<item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
</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>
|
2015-11-26 11:27:16 +01:00
|
|
|
<item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
<item name="actionButtonStyle">?android:attr/actionButtonStyle</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>
|
2015-06-09 01:07:57 +02:00
|
|
|
<item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
<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>
|
|
|
|
|
2015-06-09 01:07:57 +02:00
|
|
|
<!-- Copy the platform default styles for the AppCompat widgets -->
|
|
|
|
<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="radioButtonStyle">?android:attr/radioButtonStyle</item>
|
|
|
|
<item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
|
|
|
|
<item name="spinnerStyle">?android:attr/spinnerStyle</item>
|
|
|
|
|
2014-12-29 16:52:20 +01:00
|
|
|
<!-- 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>
|
2015-06-09 01:07:57 +02:00
|
|
|
<item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
</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>
|
2015-11-26 11:27:16 +01:00
|
|
|
<item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
<item name="actionButtonStyle">?android:attr/actionButtonStyle</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>
|
2015-06-09 01:07:57 +02:00
|
|
|
<item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
<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>
|
|
|
|
|
2015-06-09 01:07:57 +02:00
|
|
|
<!-- Copy the platform default styles for the AppCompat widgets -->
|
|
|
|
<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="radioButtonStyle">?android:attr/radioButtonStyle</item>
|
|
|
|
<item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
|
|
|
|
<item name="spinnerStyle">?android:attr/spinnerStyle</item>
|
|
|
|
|
2014-12-29 16:52:20 +01:00
|
|
|
<!-- 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>
|
2015-06-09 01:07:57 +02:00
|
|
|
<item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Base.V21.Theme.AppCompat.Dialog" parent="Base.V11.Theme.AppCompat.Dialog">
|
2015-05-03 14:56:07 +02:00
|
|
|
<item name="android:windowElevation">@dimen/abc_floating_window_z</item>
|
2015-06-09 01:07:57 +02:00
|
|
|
</style>
|
2015-05-03 14:56:07 +02:00
|
|
|
|
2015-06-09 01:07:57 +02:00
|
|
|
<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>
|
2014-12-29 16:52:20 +01:00
|
|
|
|
2015-06-09 01:07:57 +02:00
|
|
|
<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" />
|
2014-12-29 16:52:20 +01:00
|
|
|
|
2015-11-26 11:27:16 +01:00
|
|
|
<style name="Platform.ThemeOverlay.AppCompat" parent="">
|
2014-12-29 16:52:20 +01:00
|
|
|
<!-- 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>
|
2015-06-09 01:07:57 +02:00
|
|
|
<item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
|
2014-12-29 16:52:20 +01:00
|
|
|
</style>
|
|
|
|
|
2015-11-26 11:27:16 +01:00
|
|
|
<style name="Platform.ThemeOverlay.AppCompat.Dark" />
|
|
|
|
|
|
|
|
<style name="Platform.ThemeOverlay.AppCompat.Light" />
|
2014-12-29 16:52:20 +01:00
|
|
|
|
|
|
|
</resources>
|