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 <!-- Styles in here can be extended for customisation in your application. Each utilises 20 one of the.styles. If Holo themes are available on the current platform version 21 they will be used instead of the compat styles. --> 22 23 <style name="Widget.AppCompat.ActionBar" parent="Base.Widget.AppCompat.ActionBar"> 24 </style> 25 26 <style name="Widget.AppCompat.Light.ActionBar" parent="Base.Widget.AppCompat.Light.ActionBar"> 27 </style> 28 29 <style name="Widget.AppCompat.ActionBar.Solid" 30 parent="Base.Widget.AppCompat.ActionBar.Solid"> 31 </style> 32 33 <style name="Widget.AppCompat.Light.ActionBar.Solid" 34 parent="Base.Widget.AppCompat.Light.ActionBar.Solid"> 35 </style> 36 37 <style name="TextAppearance.AppCompat.Widget.ActionBar.Title" 38 parent="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" /> 39 40 <style name="TextAppearance.AppCompat.Widget.ActionBar.Subtitle" 41 parent="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" /> 42 43 <style name="TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" 44 parent="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse"> 45 </style> 46 47 <style name="TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" 48 parent="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse"> 49 </style> 50 51 <style name="Widget.AppCompat.ProgressBar.Horizontal" 52 parent="Base.Widget.AppCompat.ProgressBar.Horizontal"> 53 </style> 54 55 <style name="Widget.AppCompat.ProgressBar" 56 parent="Base.Widget.AppCompat.ProgressBar"> 57 </style> 58 59 <style name="Widget.AppCompat.ActionButton" parent="Base.Widget.AppCompat.ActionButton" /> 60 61 <style name="Widget.AppCompat.ActionButton.CloseMode" parent="Base.Widget.AppCompat.ActionButton.CloseMode" /> 62 63 <style name="Widget.AppCompat.ActionButton.Overflow" parent="Base.Widget.AppCompat.ActionButton.Overflow" /> 64 65 <style name="Widget.AppCompat.ActionBar.TabBar" 66 parent="Base.Widget.AppCompat.ActionBar.TabBar"> 67 </style> 68 69 <style name="Widget.AppCompat.Light.ActionBar.TabBar" 70 parent="Base.Widget.AppCompat.Light.ActionBar.TabBar"> 71 </style> 72 73 <style name="Widget.AppCompat.ActionBar.TabView" 74 parent="Base.Widget.AppCompat.ActionBar.TabView"> 75 </style> 76 77 <style name="Widget.AppCompat.Light.ActionBar.TabView" 78 parent="Base.Widget.AppCompat.Light.ActionBar.TabView"> 79 </style> 80 81 <style name="Widget.AppCompat.ActionBar.TabText" 82 parent="Base.Widget.AppCompat.ActionBar.TabText"> 83 </style> 84 85 <style name="Widget.AppCompat.DrawerArrowToggle" 86 parent="Base.Widget.AppCompat.DrawerArrowToggle"> 87 <item name="color">?attr/colorControlNormal</item> 88 </style> 89 90 <style name="Widget.AppCompat.Light.ActionBar.TabText" 91 parent="Base.Widget.AppCompat.Light.ActionBar.TabText"> 92 </style> 93 94 <style name="Widget.AppCompat.Light.ActionBar.TabText.Inverse" 95 parent="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse"> 96 </style> 97 98 <style name="TextAppearance.AppCompat.Widget.ActionBar.Menu" 99 parent="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu"> 100 </style> 101 102 <style name="Widget.AppCompat.ActionMode" parent="Base.Widget.AppCompat.ActionMode"> 103 </style> 104 105 <style name="TextAppearance.AppCompat.Widget.ActionMode.Title" 106 parent="Base.TextAppearance.AppCompat.Widget.ActionMode.Title"> 107 </style> 108 109 <style name="TextAppearance.AppCompat.Widget.ActionMode.Subtitle" 110 parent="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle"> 111 </style> 112 113 <style name="TextAppearance.AppCompat.Widget.DropDownItem" 114 parent="Base.TextAppearance.AppCompat.Widget.DropDownItem"> 115 </style> 116 117 <style name="Widget.AppCompat.Spinner" parent="Base.Widget.AppCompat.Spinner" /> 118 119 <style name="Widget.AppCompat.Spinner.Underlined" parent="Base.Widget.AppCompat.Spinner.Underlined" /> 120 121 <style name="Widget.AppCompat.Spinner.DropDown" /> 122 123 <style name="Widget.AppCompat.Spinner.DropDown.ActionBar" /> 124 125 <!-- This style has an extra indirection to properly set RTL attributes. See styles_rtl.xml --> 126 <style name="Widget.AppCompat.DropDownItem.Spinner" parent="RtlOverlay.Widget.AppCompat.Search.DropDown.Text" /> 127 128 <style name="Widget.AppCompat.ListView" parent="Base.Widget.AppCompat.ListView" /> 129 <style name="Widget.AppCompat.ListView.DropDown" parent="Base.Widget.AppCompat.ListView.DropDown" /> 130 131 <style name="TextAppearance.Widget.AppCompat.ExpandedMenu.Item" 132 parent="Base.TextAppearance.Widget.AppCompat.ExpandedMenu.Item"> 133 </style> 134 135 <style name="Widget.AppCompat.ListPopupWindow" parent="Base.Widget.AppCompat.ListPopupWindow"> 136 </style> 137 138 <style name="Widget.AppCompat.PopupMenu.Overflow" 139 parent="Base.Widget.AppCompat.PopupMenu.Overflow"> 140 </style> 141 142 <style name="Widget.AppCompat.Light.PopupMenu.Overflow" 143 parent="Base.Widget.AppCompat.Light.PopupMenu.Overflow"> 144 </style> 145 146 <style name="Widget.AppCompat.PopupMenu" parent="Base.Widget.AppCompat.PopupMenu" /> 147 148 <style name="Widget.AppCompat.Light.PopupMenu" parent="Base.Widget.AppCompat.Light.PopupMenu" /> 149 150 <style name="Widget.AppCompat.ListView.Menu" parent="Base.Widget.AppCompat.ListView.Menu" /> 151 152 <style name="Widget.AppCompat.ListMenuView" parent="Base.Widget.AppCompat.ListMenuView" /> 153 154 <style name="Widget.AppCompat.PopupWindow" parent="Base.Widget.AppCompat.PopupWindow"> 155 </style> 156 157 <style name="TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" /> 158 159 <style name="TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" /> 160 161 <style name="TextAppearance.AppCompat.Widget.PopupMenu.Header" parent="Base.TextAppearance.AppCompat.Widget.PopupMenu.Header" /> 162 163 <style name="TextAppearance.AppCompat.SearchResult.Title" 164 parent="Base.TextAppearance.AppCompat.SearchResult.Title"> 165 </style> 166 167 <style name="TextAppearance.AppCompat.SearchResult.Subtitle" 168 parent="Base.TextAppearance.AppCompat.SearchResult.Subtitle"> 169 </style> 170 171 <style name="Widget.AppCompat.AutoCompleteTextView" 172 parent="Base.Widget.AppCompat.AutoCompleteTextView"> 173 </style> 174 175 <style name="Widget.AppCompat.ActivityChooserView" 176 parent="Base.Widget.AppCompat.ActivityChooserView"> 177 </style> 178 179 <style name="Widget.AppCompat.SearchView" parent="Base.Widget.AppCompat.SearchView" /> 180 <style name="Widget.AppCompat.SearchView.ActionBar" parent="Base.Widget.AppCompat.SearchView.ActionBar" /> 181 182 <style name="Widget.AppCompat.EditText" parent="Base.Widget.AppCompat.EditText"/> 183 184 <style name="Widget.AppCompat.CompoundButton.Switch" parent="Base.Widget.AppCompat.CompoundButton.Switch" /> 185 186 <style name="Widget.AppCompat.CompoundButton.CheckBox" parent="Base.Widget.AppCompat.CompoundButton.CheckBox" /> 187 188 <style name="Widget.AppCompat.CompoundButton.RadioButton" parent="Base.Widget.AppCompat.CompoundButton.RadioButton" /> 189 190 <style name="Widget.AppCompat.RatingBar" parent="Base.Widget.AppCompat.RatingBar" /> 191 192 <style name="Widget.AppCompat.RatingBar.Indicator" parent="Base.Widget.AppCompat.RatingBar.Indicator" /> 193 194 <style name="Widget.AppCompat.RatingBar.Small" parent="Base.Widget.AppCompat.RatingBar.Small" /> 195 196 <style name="Widget.AppCompat.Button" parent="Base.Widget.AppCompat.Button" /> 197 198 <style name="Widget.AppCompat.Button.Small" parent="Base.Widget.AppCompat.Button.Small" /> 199 200 <style name="Widget.AppCompat.Button.Borderless" parent="Base.Widget.AppCompat.Button.Borderless" /> 201 202 <style name="Widget.AppCompat.Button.Borderless.Colored" parent="Base.Widget.AppCompat.Button.Borderless.Colored" /> 203 204 <style name="Widget.AppCompat.Button.ButtonBar.AlertDialog" parent="Base.Widget.AppCompat.Button.ButtonBar.AlertDialog" /> 205 206 <style name="Widget.AppCompat.Button.Colored" parent="Base.Widget.AppCompat.Button.Colored" /> 207 208 <style name="Widget.AppCompat.ButtonBar" parent="Base.Widget.AppCompat.ButtonBar" /> 209 210 <style name="Widget.AppCompat.ButtonBar.AlertDialog" parent="Base.Widget.AppCompat.ButtonBar.AlertDialog" /> 211 212 <style name="Widget.AppCompat.ImageButton" parent="Base.Widget.AppCompat.ImageButton" /> 213 214 <style name="Widget.AppCompat.TextView.SpinnerItem" parent="Base.Widget.AppCompat.TextView.SpinnerItem" /> 215 216 <style name="AlertDialog.AppCompat" parent="Base.AlertDialog.AppCompat" /> 217 218 <style name="AlertDialog.AppCompat.Light" parent="Base.AlertDialog.AppCompat.Light" /> 219 220 <style name="Widget.AppCompat.SeekBar" parent="Base.Widget.AppCompat.SeekBar" /> 221 222 <style name="Widget.AppCompat.SeekBar.Discrete" parent="Base.Widget.AppCompat.SeekBar.Discrete" /> 223 224 <!-- Toolbar --> 225 226 <style name="Widget.AppCompat.Toolbar" parent="Base.Widget.AppCompat.Toolbar" /> 227 228 <style name="Widget.AppCompat.Toolbar.Button.Navigation" 229 parent="Base.Widget.AppCompat.Toolbar.Button.Navigation" /> 230 231 <style name="TextAppearance.Widget.AppCompat.Toolbar.Title" 232 parent="Base.TextAppearance.Widget.AppCompat.Toolbar.Title"> 233 </style> 234 235 <style name="TextAppearance.Widget.AppCompat.Toolbar.Subtitle" 236 parent="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle"> 237 </style> 238 239 240 <!-- Animation styles --> 241 <eat-comment /> 242 <style name="Animation.AppCompat.Dialog" parent="Base.Animation.AppCompat.Dialog" /> 243 <style name="Animation.AppCompat.DropDownUp" parent="Base.Animation.AppCompat.DropDownUp" /> 244 245 246 <!-- Text styles --> 247 <eat-comment /> 248 249 <style name="TextAppearance.AppCompat" parent="Base.TextAppearance.AppCompat" /> 250 251 <style name="TextAppearance.AppCompat.Display4" parent="Base.TextAppearance.AppCompat.Display4" /> 252 253 <style name="TextAppearance.AppCompat.Display3" parent="Base.TextAppearance.AppCompat.Display3" /> 254 255 <style name="TextAppearance.AppCompat.Display2" parent="Base.TextAppearance.AppCompat.Display2" /> 256 257 <style name="TextAppearance.AppCompat.Display1" parent="Base.TextAppearance.AppCompat.Display1" /> 258 259 <style name="TextAppearance.AppCompat.Headline" parent="Base.TextAppearance.AppCompat.Headline" /> 260 261 <style name="TextAppearance.AppCompat.Title" parent="Base.TextAppearance.AppCompat.Title" /> 262 263 <style name="TextAppearance.AppCompat.Title.Inverse" parent="Base.TextAppearance.AppCompat.Title.Inverse" /> 264 265 <style name="TextAppearance.AppCompat.Subhead" parent="Base.TextAppearance.AppCompat.Subhead" /> 266 267 <style name="TextAppearance.AppCompat.Subhead.Inverse" parent="Base.TextAppearance.AppCompat.Subhead.Inverse" /> 268 269 <style name="TextAppearance.AppCompat.Body2" parent="Base.TextAppearance.AppCompat.Body2" /> 270 271 <style name="TextAppearance.AppCompat.Body1" parent="Base.TextAppearance.AppCompat.Body1" /> 272 273 <style name="TextAppearance.AppCompat.Caption" parent="Base.TextAppearance.AppCompat.Caption" /> 274 275 <style name="TextAppearance.AppCompat.Menu" parent="Base.TextAppearance.AppCompat.Menu" /> 276 277 <style name="TextAppearance.AppCompat.Inverse" parent="Base.TextAppearance.AppCompat.Inverse" /> 278 279 <style name="TextAppearance.AppCompat.Large" parent="Base.TextAppearance.AppCompat.Large" /> 280 281 <style name="TextAppearance.AppCompat.Large.Inverse" parent="Base.TextAppearance.AppCompat.Large.Inverse" /> 282 283 <style name="TextAppearance.AppCompat.Medium" parent="Base.TextAppearance.AppCompat.Medium" /> 284 285 <style name="TextAppearance.AppCompat.Medium.Inverse" parent="Base.TextAppearance.AppCompat.Medium.Inverse" /> 286 287 <style name="TextAppearance.AppCompat.Small" parent="Base.TextAppearance.AppCompat.Small" /> 288 289 <style name="TextAppearance.AppCompat.Small.Inverse" parent="Base.TextAppearance.AppCompat.Small.Inverse" /> 290 291 <style name="TextAppearance.AppCompat.Button" parent="Base.TextAppearance.AppCompat.Button" /> 292 293 <style name="TextAppearance.AppCompat.Widget.Button" parent="Base.TextAppearance.AppCompat.Widget.Button" /> 294 295 <style name="TextAppearance.AppCompat.Widget.Button.Inverse" parent="Base.TextAppearance.AppCompat.Widget.Button.Inverse" /> 296 297 <style name="TextAppearance.AppCompat.Widget.Switch" parent="Base.TextAppearance.AppCompat.Widget.Switch" /> 298 299 <style name="TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" /> 300 301 <!-- 302 The following themes are deprecated. 303 --> 304 <style name="Widget.AppCompat.Light.ActionBar.Solid.Inverse" /> 305 <style name="Widget.AppCompat.Light.ActionBar.TabBar.Inverse" /> 306 <style name="Widget.AppCompat.Light.ActionBar.TabView.Inverse" /> 307 <style name="TextAppearance.AppCompat.Light.SearchResult.Title" parent="TextAppearance.AppCompat.SearchResult.Title" /> 308 <style name="TextAppearance.AppCompat.Light.SearchResult.Subtitle" parent="TextAppearance.AppCompat.SearchResult.Subtitle" /> 309 <style name="Widget.AppCompat.Light.ActionMode.Inverse" parent="Widget.AppCompat.ActionMode" /> 310 <style name="TextAppearance.AppCompat.Widget.ActionMode.Title.Inverse" parent="TextAppearance.AppCompat.Widget.ActionMode.Title" /> 311 <style name="TextAppearance.AppCompat.Widget.ActionMode.Subtitle.Inverse" parent="TextAppearance.AppCompat.Widget.ActionMode.Subtitle" /> 312 <style name="Widget.AppCompat.Light.DropDownItem.Spinner" parent="Widget.AppCompat.DropDownItem.Spinner" /> 313 <style name="Widget.AppCompat.Light.SearchView" parent="Widget.AppCompat.SearchView" /> 314 <style name="Widget.AppCompat.Light.ActionButton" parent="Widget.AppCompat.ActionButton" /> 315 <style name="Widget.AppCompat.Light.ActionButton.Overflow" parent="Widget.AppCompat.ActionButton.Overflow" /> 316 <style name="Widget.AppCompat.Light.ActionButton.CloseMode" parent="Widget.AppCompat.ActionButton.CloseMode" /> 317 <style name="Widget.AppCompat.Light.Spinner.DropDown.ActionBar" parent="Widget.AppCompat.Spinner.DropDown.ActionBar" /> 318 <style name="Widget.AppCompat.Light.ListView.DropDown" parent="Widget.AppCompat.ListView.DropDown" /> 319 <style name="Widget.AppCompat.Light.ListPopupWindow" parent="Widget.AppCompat.ListPopupWindow" /> 320 <style name="Widget.AppCompat.Light.AutoCompleteTextView" parent="Widget.AppCompat.AutoCompleteTextView" /> 321 <style name="Widget.AppCompat.Light.ActivityChooserView" parent="Widget.AppCompat.ActivityChooserView" /> 322 <style name="TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" parent="TextAppearance.AppCompat.Widget.PopupMenu.Large" /> 323 <style name="TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" parent="TextAppearance.AppCompat.Widget.PopupMenu.Small" /> 324 325 <!-- These styles didn't exist on v7. Since we only use the media template in later versions 326 (ICS+), just define it here and use the correct references in values/v14 --> 327 <style name="TextAppearance.StatusBar.EventContent" parent=""/> 328 <style name="TextAppearance.StatusBar.EventContent.Title" parent=""/> 329 <style name="TextAppearance.StatusBar.EventContent.Line2" parent=""/> 330 <style name="TextAppearance.StatusBar.EventContent.Info" parent=""/> 331 <style name="TextAppearance.StatusBar.EventContent.Time" parent=""/> 332 333 <style name="TextAppearance.AppCompat.Notification"> 334 <item name="android:textSize">14sp</item> 335 <item name="android:textColor">?android:attr/textColorSecondary</item> 336 </style> 337 <style name="TextAppearance.AppCompat.Notification.Title"> 338 <item name="android:textSize">16sp</item> 339 <item name="android:textColor">?android:attr/textColorPrimary</item> 340 </style> 341 <style name="TextAppearance.AppCompat.Notification.Info"> 342 <item name="android:textSize">12sp</item> 343 <item name="android:textColor">?android:attr/textColorSecondary</item> 344 </style> 345 <style name="TextAppearance.AppCompat.Notification.Time"> 346 <item name="android:textSize">12sp</item> 347 <item name="android:textColor">?android:attr/textColorSecondary</item> 348 </style> 349 <style name="TextAppearance.AppCompat.Notification.Line2" parent="TextAppearance.AppCompat.Notification.Info" /> 350 351 <style name="TextAppearance.AppCompat.Notification.Title.Media" /> 352 353 <style name="TextAppearance.AppCompat.Notification.Media" /> 354 355 <style name="TextAppearance.AppCompat.Notification.Info.Media"/> 356 357 <style name="TextAppearance.AppCompat.Notification.Time.Media"/> 358 359 <style name="TextAppearance.AppCompat.Notification.Line2.Media" parent="TextAppearance.AppCompat.Notification.Info.Media"/> 360 361 <style name="Widget.AppCompat.NotificationActionText" parent=""/> 362 <style name="Widget.AppCompat.NotificationActionContainer" parent=""/> 363 </resources> 364