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 <!-- Themes in the "Theme.AppCompat" family will contain an action bar by default. 20 If Holo themes are available on the current platform version they will be used. 21 A limited Holo-styled action bar will be provided on platform versions older 22 than 3.0. (API 11) 23 24 These theme declarations contain any version-independent specification. Items 25 that need to vary based on platform version should be defined in the corresponding 26 "Theme.Base" theme. --> 27 28 <!-- Platform-independent theme providing an action bar in a dark-themed activity. --> 29 <style name="Theme.AppCompat" parent="Base.Theme.AppCompat" /> 30 31 <!-- Platform-independent theme providing an action bar in a light-themed activity. --> 32 <style name="Theme.AppCompat.Light" parent="Base.Theme.AppCompat.Light" /> 33 34 <!-- Platform-independent theme providing an action bar in a dark-themed activity. --> 35 <style name="Theme.AppCompat.Light.DarkActionBar" parent="Base.Theme.AppCompat.Light.DarkActionBar" /> 36 37 <style name="Theme.AppCompat.NoActionBar"> 38 <item name="windowActionBar">false</item> 39 <item name="windowNoTitle">true</item> 40 </style> 41 42 <style name="Theme.AppCompat.Light.NoActionBar"> 43 <item name="windowActionBar">false</item> 44 <item name="windowNoTitle">true</item> 45 </style> 46 47 <style name="Theme.AppCompat.DialogWhenLarge" 48 parent="Base.Theme.AppCompat.DialogWhenLarge"> 49 </style> 50 51 <style name="Theme.AppCompat.Light.DialogWhenLarge" 52 parent="Base.Theme.AppCompat.Light.DialogWhenLarge"> 53 </style> 54 55 <style name="Theme.AppCompat.Dialog" parent="Base.Theme.AppCompat.Dialog" /> 56 57 <style name="Theme.AppCompat.Light.Dialog" parent="Base.Theme.AppCompat.Light.Dialog" /> 58 59 60 <!-- Material theme for alert dialog windows, which is used by the AlertDialog class. 61 This is basically a dialog but sets the background to empty so it can do 62 two-tone backgrounds. For applications targeting Honeycomb or newer, this is the default 63 AlertDialog theme. --> 64 <style name="Theme.AppCompat.Dialog.Alert" parent="Base.Theme.AppCompat.Dialog.Alert" /> 65 <style name="Theme.AppCompat.Light.Dialog.Alert" parent="Base.Theme.AppCompat.Light.Dialog.Alert" /> 66 67 <!-- Variant of Theme.AppCompat.Dialog that has a nice minimum width for 68 a regular dialog. --> 69 <style name="Theme.AppCompat.Dialog.MinWidth" parent="Base.Theme.AppCompat.Dialog.MinWidth" /> 70 <style name="Theme.AppCompat.Light.Dialog.MinWidth" parent="Base.Theme.AppCompat.Light.Dialog.MinWidth" /> 71 72 <!-- Menu/item attributes --> 73 <style name="Theme.AppCompat.CompactMenu" parent="Base.Theme.AppCompat.CompactMenu" /> 74 75 76 <style name="ThemeOverlay.AppCompat" parent="Base.ThemeOverlay.AppCompat" /> 77 78 <!-- Theme overlay that replaces colors with their light versions but preserves 79 the value of colorAccent, colorPrimary and its variants. --> 80 <style name="ThemeOverlay.AppCompat.Light" parent="Base.ThemeOverlay.AppCompat.Light" /> 81 82 <!-- Theme overlay that replaces colors with their dark versions but preserves 83 the value of colorAccent, colorPrimary and its variants. --> 84 <style name="ThemeOverlay.AppCompat.Dark" parent="Base.ThemeOverlay.AppCompat.Dark" /> 85 86 <!-- Theme overlay that replaces the normal control color, which by default is the same as the 87 secondary text color, with the primary text color. --> 88 <style name="ThemeOverlay.AppCompat.ActionBar" parent="Base.ThemeOverlay.AppCompat.ActionBar" /> 89 90 <!-- Theme overlay that replaces colors with their dark versions and replaces the normal 91 control color, which by default is the same as the secondary text color, with the primary 92 text color. --> 93 <style name="ThemeOverlay.AppCompat.Dark.ActionBar" parent="Base.ThemeOverlay.AppCompat.Dark.ActionBar" /> 94 95 <style name="ThemeOverlay.AppCompat.Dialog" parent="Base.ThemeOverlay.AppCompat.Dialog" /> 96 <style name="ThemeOverlay.AppCompat.Dialog.Alert" parent="Base.ThemeOverlay.AppCompat.Dialog.Alert" /> 97 98 </resources> 99