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 <!-- 20 Theme in the "Platform.AppCompat" family are designed to be aliases for the default 21 theme on a given platform version and should set up the default theme ready for adding our 22 unbundled Action Bar. 23 --> 24 <eat-comment/> 25 <style name="Platform.AppCompat" parent="android:Theme"> 26 <item name="android:windowNoTitle">true</item> 27 28 <!-- Window colors --> 29 <item name="android:colorForeground">@color/foreground_material_dark</item> 30 <item name="android:colorForegroundInverse">@color/foreground_material_light</item> 31 <item name="android:colorBackground">@color/background_material_dark</item> 32 <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item> 33 <item name="android:disabledAlpha">@dimen/abc_disabled_alpha_material_dark</item> 34 <item name="android:backgroundDimAmount">0.6</item> 35 <item name="android:windowBackground">@color/background_material_dark</item> 36 37 <!-- Text colors --> 38 <item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item> 39 <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item> 40 <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item> 41 <item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item> 42 <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item> 43 <item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item> 44 <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item> 45 <item name="android:textColorHint">@color/hint_foreground_material_dark</item> 46 <item name="android:textColorHintInverse">@color/hint_foreground_material_light</item> 47 <item name="android:textColorHighlight">@color/highlighted_text_material_dark</item> 48 <item name="android:textColorLink">?attr/colorAccent</item> 49 50 <!-- Text styles --> 51 <item name="android:textAppearance">@style/TextAppearance.AppCompat</item> 52 <item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item> 53 <item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item> 54 <item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item> 55 <item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item> 56 <item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item> 57 <item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item> 58 <item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item> 59 60 <item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item> 61 <item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item> 62 </style> 63 64 <style name="Platform.AppCompat.Light" parent="android:Theme.Light"> 65 <item name="android:windowNoTitle">true</item> 66 67 <!-- Window colors --> 68 <item name="android:colorForeground">@color/foreground_material_light</item> 69 <item name="android:colorForegroundInverse">@color/foreground_material_dark</item> 70 <item name="android:colorBackground">@color/background_material_light</item> 71 <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_light</item> 72 <item name="android:disabledAlpha">@dimen/abc_disabled_alpha_material_light</item> 73 <item name="android:backgroundDimAmount">0.6</item> 74 <item name="android:windowBackground">@color/background_material_light</item> 75 76 <!-- Text colors --> 77 <item name="android:textColorPrimary">@color/abc_primary_text_material_light</item> 78 <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_dark</item> 79 <item name="android:textColorSecondary">@color/abc_secondary_text_material_light</item> 80 <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_dark</item> 81 <item name="android:textColorTertiary">@color/abc_secondary_text_material_light</item> 82 <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_dark</item> 83 <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_light</item> 84 <item name="android:textColorPrimaryInverseDisableOnly">@color/abc_primary_text_disable_only_material_dark</item> 85 <item name="android:textColorHint">@color/hint_foreground_material_light</item> 86 <item name="android:textColorHintInverse">@color/hint_foreground_material_dark</item> 87 <item name="android:textColorHighlight">@color/highlighted_text_material_light</item> 88 <item name="android:textColorLink">?attr/colorAccent</item> 89 90 <!-- Text styles --> 91 <item name="android:textAppearance">@style/TextAppearance.AppCompat</item> 92 <item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item> 93 <item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item> 94 <item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item> 95 <item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item> 96 <item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item> 97 <item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item> 98 <item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item> 99 100 <item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item> 101 <item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item> 102 </style> 103 104 <!-- Themes in the "Base.Theme" family vary based on the current platform 105 version to provide the correct basis on each device. You probably don't 106 want to use them directly in your apps. 107 108 Themes in the "Theme.AppCompat" family are meant to be extended or used 109 directly by apps. --> 110 <eat-comment/> 111 112 <!-- Base platform-dependent theme providing an action bar in a dark-themed activity. --> 113 <style name="Base.V7.Theme.AppCompat" parent="Platform.AppCompat"> 114 <item name="windowNoTitle">false</item> 115 <item name="windowActionBar">true</item> 116 <item name="windowActionBarOverlay">false</item> 117 <item name="windowActionModeOverlay">false</item> 118 <item name="actionBarPopupTheme">@null</item> 119 120 <item name="colorBackgroundFloating">@color/background_floating_material_dark</item> 121 122 <!-- Used by MediaRouter --> 123 <item name="isLightTheme">false</item> 124 125 <item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item> 126 <item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item> 127 <item name="borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item> 128 <item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_material</item> 129 130 <item name="dividerVertical">@drawable/abc_list_divider_mtrl_alpha</item> 131 <item name="dividerHorizontal">@drawable/abc_list_divider_mtrl_alpha</item> 132 133 <!-- Action Bar Styles --> 134 <item name="actionBarTabStyle">@style/Widget.AppCompat.ActionBar.TabView</item> 135 <item name="actionBarTabBarStyle">@style/Widget.AppCompat.ActionBar.TabBar</item> 136 <item name="actionBarTabTextStyle">@style/Widget.AppCompat.ActionBar.TabText</item> 137 <item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item> 138 <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item> 139 <item name="actionOverflowMenuStyle">@style/Widget.AppCompat.PopupMenu.Overflow</item> 140 <item name="actionBarStyle">@style/Widget.AppCompat.ActionBar.Solid</item> 141 <item name="actionBarSplitStyle">?attr/actionBarStyle</item> 142 <item name="actionBarWidgetTheme">@null</item> 143 <item name="actionBarTheme">@style/ThemeOverlay.AppCompat.ActionBar</item> 144 <item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item> 145 <item name="actionBarDivider">?attr/dividerVertical</item> 146 <item name="actionBarItemBackground">?attr/selectableItemBackgroundBorderless</item> 147 <item name="actionMenuTextAppearance">@style/TextAppearance.AppCompat.Widget.ActionBar.Menu</item> 148 <item name="actionMenuTextColor">?android:attr/textColorPrimaryDisableOnly</item> 149 150 <!-- Dropdown Spinner Attributes --> 151 <item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item> 152 153 <!-- Action Mode --> 154 <item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item> 155 <item name="actionModeBackground">@drawable/abc_cab_background_top_material</item> 156 <item name="actionModeSplitBackground">?attr/colorPrimaryDark</item> 157 <item name="actionModeCloseDrawable">@drawable/abc_ic_ab_back_material</item> 158 <item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode</item> 159 160 <item name="actionModeCutDrawable">@drawable/abc_ic_menu_cut_mtrl_alpha</item> 161 <item name="actionModeCopyDrawable">@drawable/abc_ic_menu_copy_mtrl_am_alpha</item> 162 <item name="actionModePasteDrawable">@drawable/abc_ic_menu_paste_mtrl_am_alpha</item> 163 <item name="actionModeSelectAllDrawable">@drawable/abc_ic_menu_selectall_mtrl_alpha</item> 164 <item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_mtrl_alpha</item> 165 166 <!-- Panel attributes --> 167 <item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item> 168 <item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item> 169 <item name="panelBackground">@drawable/abc_menu_hardkey_panel_mtrl_mult</item> 170 <item name="android:panelBackground">@android:color/transparent</item> 171 <item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item> 172 173 <!-- List attributes --> 174 <item name="textAppearanceListItem">@style/TextAppearance.AppCompat.Subhead</item> 175 <item name="textAppearanceListItemSmall">@style/TextAppearance.AppCompat.Subhead</item> 176 <item name="listPreferredItemHeight">64dp</item> 177 <item name="listPreferredItemHeightSmall">48dp</item> 178 <item name="listPreferredItemHeightLarge">80dp</item> 179 <item name="listPreferredItemPaddingLeft">@dimen/abc_list_item_padding_horizontal_material</item> 180 <item name="listPreferredItemPaddingRight">@dimen/abc_list_item_padding_horizontal_material</item> 181 182 <!-- Spinner styles --> 183 <item name="spinnerStyle">@style/Widget.AppCompat.Spinner</item> 184 <item name="android:spinnerItemStyle">@style/Widget.AppCompat.TextView.SpinnerItem</item> 185 <item name="android:dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item> 186 187 <!-- Required for use of support_simple_spinner_dropdown_item.xml --> 188 <item name="spinnerDropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item> 189 <item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item> 190 191 <!-- Popup Menu styles --> 192 <item name="popupMenuStyle">@style/Widget.AppCompat.PopupMenu</item> 193 <item name="textAppearanceLargePopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Large</item> 194 <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Small</item> 195 <item name="textAppearancePopupMenuHeader">@style/TextAppearance.AppCompat.Widget.PopupMenu.Header</item> 196 <item name="listPopupWindowStyle">@style/Widget.AppCompat.ListPopupWindow</item> 197 <item name="dropDownListViewStyle">?android:attr/dropDownListViewStyle</item> 198 <item name="listMenuViewStyle">@style/Widget.AppCompat.ListMenuView</item> 199 200 <!-- SearchView attributes --> 201 <item name="searchViewStyle">@style/Widget.AppCompat.SearchView</item> 202 <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item> 203 <item name="textColorSearchUrl">@color/abc_search_url_text</item> 204 <item name="textAppearanceSearchResultTitle">@style/TextAppearance.AppCompat.SearchResult.Title</item> 205 <item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.AppCompat.SearchResult.Subtitle</item> 206 207 <!-- ShareActionProvider attributes --> 208 <item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item> 209 210 <!-- Toolbar styles --> 211 <item name="toolbarStyle">@style/Widget.AppCompat.Toolbar</item> 212 <item name="toolbarNavigationButtonStyle">@style/Widget.AppCompat.Toolbar.Button.Navigation</item> 213 214 <item name="editTextStyle">@style/Widget.AppCompat.EditText</item> 215 <item name="editTextBackground">@drawable/abc_edit_text_material</item> 216 <item name="editTextColor">?android:attr/textColorPrimary</item> 217 <item name="autoCompleteTextViewStyle">@style/Widget.AppCompat.AutoCompleteTextView</item> 218 219 <!-- Color palette --> 220 <item name="colorPrimaryDark">@color/primary_dark_material_dark</item> 221 <item name="colorPrimary">@color/primary_material_dark</item> 222 <item name="colorAccent">@color/accent_material_dark</item> 223 224 <item name="colorControlNormal">?android:attr/textColorSecondary</item> 225 <item name="colorControlActivated">?attr/colorAccent</item> 226 <item name="colorControlHighlight">@color/ripple_material_dark</item> 227 <item name="colorButtonNormal">@color/button_material_dark</item> 228 <item name="colorSwitchThumbNormal">@color/switch_thumb_material_dark</item> 229 <item name="controlBackground">?attr/selectableItemBackgroundBorderless</item> 230 231 <item name="drawerArrowStyle">@style/Widget.AppCompat.DrawerArrowToggle</item> 232 233 <item name="checkboxStyle">@style/Widget.AppCompat.CompoundButton.CheckBox</item> 234 <item name="radioButtonStyle">@style/Widget.AppCompat.CompoundButton.RadioButton</item> 235 <item name="switchStyle">@style/Widget.AppCompat.CompoundButton.Switch</item> 236 237 <item name="ratingBarStyle">@style/Widget.AppCompat.RatingBar</item> 238 <item name="ratingBarStyleIndicator">@style/Widget.AppCompat.RatingBar.Indicator</item> 239 <item name="ratingBarStyleSmall">@style/Widget.AppCompat.RatingBar.Small</item> 240 <item name="seekBarStyle">@style/Widget.AppCompat.SeekBar</item> 241 242 <!-- Button styles --> 243 <item name="buttonStyle">@style/Widget.AppCompat.Button</item> 244 <item name="buttonStyleSmall">@style/Widget.AppCompat.Button.Small</item> 245 <item name="android:textAppearanceButton">@style/TextAppearance.AppCompat.Widget.Button</item> 246 247 <item name="imageButtonStyle">@style/Widget.AppCompat.ImageButton</item> 248 249 <item name="buttonBarStyle">@style/Widget.AppCompat.ButtonBar</item> 250 <item name="buttonBarButtonStyle">@style/Widget.AppCompat.Button.ButtonBar.AlertDialog</item> 251 <item name="buttonBarPositiveButtonStyle">?attr/buttonBarButtonStyle</item> 252 <item name="buttonBarNegativeButtonStyle">?attr/buttonBarButtonStyle</item> 253 <item name="buttonBarNeutralButtonStyle">?attr/buttonBarButtonStyle</item> 254 255 <!-- Dialog attributes --> 256 <item name="dialogTheme">@style/ThemeOverlay.AppCompat.Dialog</item> 257 <item name="dialogPreferredPadding">@dimen/abc_dialog_padding_material</item> 258 259 <item name="alertDialogTheme">@style/ThemeOverlay.AppCompat.Dialog.Alert</item> 260 <item name="alertDialogStyle">@style/AlertDialog.AppCompat</item> 261 <item name="alertDialogCenterButtons">false</item> 262 <item name="textColorAlertDialogListItem">@color/abc_primary_text_material_dark</item> 263 <item name="listDividerAlertDialog">@null</item> 264 265 <!-- Define these here; ContextThemeWrappers around themes that define them should 266 always clear these values. --> 267 <item name="windowFixedWidthMajor">0dp</item> 268 <item name="windowFixedWidthMinor">0dp</item> 269 <item name="windowFixedHeightMajor">0dp</item> 270 <item name="windowFixedHeightMinor">0dp</item> 271 </style> 272 273 <!-- Base platform-dependent theme providing an action bar in a light-themed activity. --> 274 <style name="Base.V7.Theme.AppCompat.Light" parent="Platform.AppCompat.Light"> 275 <item name="windowNoTitle">false</item> 276 <item name="windowActionBar">true</item> 277 <item name="windowActionBarOverlay">false</item> 278 <item name="windowActionModeOverlay">false</item> 279 <item name="actionBarPopupTheme">@null</item> 280 281 <item name="colorBackgroundFloating">@color/background_floating_material_light</item> 282 283 <!-- Used by MediaRouter --> 284 <item name="isLightTheme">true</item> 285 286 <item name="selectableItemBackground">@drawable/abc_item_background_holo_light</item> 287 <item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item> 288 <item name="borderlessButtonStyle">@style/Widget.AppCompat.Button.Borderless</item> 289 <item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_material</item> 290 291 <item name="dividerVertical">@drawable/abc_list_divider_mtrl_alpha</item> 292 <item name="dividerHorizontal">@drawable/abc_list_divider_mtrl_alpha</item> 293 294 <!-- Action Bar Styles --> 295 <item name="actionBarTabStyle">@style/Widget.AppCompat.Light.ActionBar.TabView</item> 296 <item name="actionBarTabBarStyle">@style/Widget.AppCompat.Light.ActionBar.TabBar</item> 297 <item name="actionBarTabTextStyle">@style/Widget.AppCompat.Light.ActionBar.TabText</item> 298 <item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item> 299 <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item> 300 <item name="actionOverflowMenuStyle">@style/Widget.AppCompat.Light.PopupMenu.Overflow</item> 301 <item name="actionBarStyle">@style/Widget.AppCompat.Light.ActionBar.Solid</item> 302 <item name="actionBarSplitStyle">?attr/actionBarStyle</item> 303 <item name="actionBarWidgetTheme">@null</item> 304 <item name="actionBarTheme">@style/ThemeOverlay.AppCompat.ActionBar</item> 305 <item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item> 306 <item name="actionBarDivider">?attr/dividerVertical</item> 307 <item name="actionBarItemBackground">?attr/selectableItemBackgroundBorderless</item> 308 <item name="actionMenuTextAppearance">@style/TextAppearance.AppCompat.Widget.ActionBar.Menu</item> 309 <item name="actionMenuTextColor">?android:attr/textColorPrimaryDisableOnly</item> 310 311 <!-- Action Mode --> 312 <item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item> 313 <item name="actionModeBackground">@drawable/abc_cab_background_top_material</item> 314 <item name="actionModeSplitBackground">?attr/colorPrimaryDark</item> 315 <item name="actionModeCloseDrawable">@drawable/abc_ic_ab_back_material</item> 316 <item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode</item> 317 318 <item name="actionModeCutDrawable">@drawable/abc_ic_menu_cut_mtrl_alpha</item> 319 <item name="actionModeCopyDrawable">@drawable/abc_ic_menu_copy_mtrl_am_alpha</item> 320 <item name="actionModePasteDrawable">@drawable/abc_ic_menu_paste_mtrl_am_alpha</item> 321 <item name="actionModeSelectAllDrawable">@drawable/abc_ic_menu_selectall_mtrl_alpha</item> 322 <item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_mtrl_alpha</item> 323 324 <!-- Dropdown Spinner Attributes --> 325 <item name="actionDropDownStyle">@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar</item> 326 327 <!-- Panel attributes --> 328 <item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item> 329 <item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item> 330 <item name="panelBackground">@drawable/abc_menu_hardkey_panel_mtrl_mult</item> 331 <item name="android:panelBackground">@android:color/transparent</item> 332 <item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_light</item> 333 334 <!-- List attributes --> 335 <item name="textAppearanceListItem">@style/TextAppearance.AppCompat.Subhead</item> 336 <item name="textAppearanceListItemSmall">@style/TextAppearance.AppCompat.Subhead</item> 337 <item name="listPreferredItemHeight">64dp</item> 338 <item name="listPreferredItemHeightSmall">48dp</item> 339 <item name="listPreferredItemHeightLarge">80dp</item> 340 <item name="listPreferredItemPaddingLeft">@dimen/abc_list_item_padding_horizontal_material</item> 341 <item name="listPreferredItemPaddingRight">@dimen/abc_list_item_padding_horizontal_material</item> 342 343 <!-- Spinner styles --> 344 <item name="spinnerStyle">@style/Widget.AppCompat.Spinner</item> 345 <item name="android:spinnerItemStyle">@style/Widget.AppCompat.TextView.SpinnerItem</item> 346 <item name="android:dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item> 347 348 <!-- Required for use of support_simple_spinner_dropdown_item.xml --> 349 <item name="spinnerDropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item> 350 <item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item> 351 352 <!-- Popup Menu styles --> 353 <item name="popupMenuStyle">@style/Widget.AppCompat.Light.PopupMenu</item> 354 <item name="textAppearanceLargePopupMenu">@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Large</item> 355 <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Small</item> 356 <item name="textAppearancePopupMenuHeader">@style/TextAppearance.AppCompat.Widget.PopupMenu.Header</item> 357 <item name="listPopupWindowStyle">@style/Widget.AppCompat.ListPopupWindow</item> 358 <item name="dropDownListViewStyle">?android:attr/dropDownListViewStyle</item> 359 <item name="listMenuViewStyle">@style/Widget.AppCompat.ListMenuView</item> 360 361 <!-- SearchView attributes --> 362 <item name="searchViewStyle">@style/Widget.AppCompat.Light.SearchView</item> 363 <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item> 364 <item name="textColorSearchUrl">@color/abc_search_url_text</item> 365 <item name="textAppearanceSearchResultTitle">@style/TextAppearance.AppCompat.SearchResult.Title</item> 366 <item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.AppCompat.SearchResult.Subtitle</item> 367 368 <!-- ShareActionProvider attributes --> 369 <item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item> 370 371 <!-- Toolbar styles --> 372 <item name="toolbarStyle">@style/Widget.AppCompat.Toolbar</item> 373 <item name="toolbarNavigationButtonStyle">@style/Widget.AppCompat.Toolbar.Button.Navigation</item> 374 375 <item name="editTextStyle">@style/Widget.AppCompat.EditText</item> 376 <item name="editTextBackground">@drawable/abc_edit_text_material</item> 377 <item name="editTextColor">?android:attr/textColorPrimary</item> 378 <item name="autoCompleteTextViewStyle">@style/Widget.AppCompat.AutoCompleteTextView</item> 379 380 <!-- Color palette --> 381 <item name="colorPrimaryDark">@color/primary_dark_material_light</item> 382 <item name="colorPrimary">@color/primary_material_light</item> 383 <item name="colorAccent">@color/accent_material_light</item> 384 385 <item name="colorControlNormal">?android:attr/textColorSecondary</item> 386 <item name="colorControlActivated">?attr/colorAccent</item> 387 <item name="colorControlHighlight">@color/ripple_material_light</item> 388 <item name="colorButtonNormal">@color/button_material_light</item> 389 <item name="colorSwitchThumbNormal">@color/switch_thumb_material_light</item> 390 <item name="controlBackground">?attr/selectableItemBackgroundBorderless</item> 391 392 <item name="drawerArrowStyle">@style/Widget.AppCompat.DrawerArrowToggle</item> 393 394 <item name="checkboxStyle">@style/Widget.AppCompat.CompoundButton.CheckBox</item> 395 <item name="radioButtonStyle">@style/Widget.AppCompat.CompoundButton.RadioButton</item> 396 <item name="switchStyle">@style/Widget.AppCompat.CompoundButton.Switch</item> 397 398 <item name="ratingBarStyle">@style/Widget.AppCompat.RatingBar</item> 399 <item name="ratingBarStyleIndicator">@style/Widget.AppCompat.RatingBar.Indicator</item> 400 <item name="ratingBarStyleSmall">@style/Widget.AppCompat.RatingBar.Small</item> 401 <item name="seekBarStyle">@style/Widget.AppCompat.SeekBar</item> 402 403 <!-- Button styles --> 404 <item name="buttonStyle">@style/Widget.AppCompat.Button</item> 405 <item name="buttonStyleSmall">@style/Widget.AppCompat.Button.Small</item> 406 <item name="android:textAppearanceButton">@style/TextAppearance.AppCompat.Widget.Button</item> 407 408 <item name="imageButtonStyle">@style/Widget.AppCompat.ImageButton</item> 409 410 <item name="buttonBarStyle">@style/Widget.AppCompat.ButtonBar</item> 411 <item name="buttonBarButtonStyle">@style/Widget.AppCompat.Button.ButtonBar.AlertDialog</item> 412 <item name="buttonBarPositiveButtonStyle">?attr/buttonBarButtonStyle</item> 413 <item name="buttonBarNegativeButtonStyle">?attr/buttonBarButtonStyle</item> 414 <item name="buttonBarNeutralButtonStyle">?attr/buttonBarButtonStyle</item> 415 416 <!-- Dialog attributes --> 417 <item name="dialogTheme">@style/ThemeOverlay.AppCompat.Dialog</item> 418 <item name="dialogPreferredPadding">@dimen/abc_dialog_padding_material</item> 419 420 <item name="alertDialogTheme">@style/Theme.AppCompat.Light.Dialog.Alert</item> 421 <item name="alertDialogStyle">@style/AlertDialog.AppCompat.Light</item> 422 <item name="alertDialogCenterButtons">false</item> 423 <item name="textColorAlertDialogListItem">@color/abc_primary_text_material_light</item> 424 <item name="listDividerAlertDialog">@null</item> 425 426 <!-- Define these here; ContextThemeWrappers around themes that define them should 427 always clear these values. --> 428 <item name="windowFixedWidthMajor">0dp</item> 429 <item name="windowFixedWidthMinor">0dp</item> 430 <item name="windowFixedHeightMajor">0dp</item> 431 <item name="windowFixedHeightMinor">0dp</item> 432 </style> 433 434 <style name="Base.Theme.AppCompat" parent="Base.V7.Theme.AppCompat"> 435 </style> 436 437 <style name="Base.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light"> 438 </style> 439 440 <style name="Base.Theme.AppCompat.Light.DarkActionBar" parent="Base.Theme.AppCompat.Light"> 441 <item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item> 442 <item name="actionBarWidgetTheme">@null</item> 443 <item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item> 444 445 <!-- Panel attributes --> 446 <item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item> 447 448 <item name="colorPrimaryDark">@color/primary_dark_material_dark</item> 449 <item name="colorPrimary">@color/primary_material_dark</item> 450 </style> 451 452 <!-- Menu/item attributes --> 453 <style name="Base.Theme.AppCompat.CompactMenu" parent=""> 454 <item name="android:itemTextAppearance">?android:attr/textAppearanceMedium</item> 455 <item name="android:listViewStyle">@style/Widget.AppCompat.ListView.Menu</item> 456 <item name="android:windowAnimationStyle">@style/Animation.AppCompat.DropDownUp</item> 457 </style> 458 459 <style name="Base.V7.Theme.AppCompat.Dialog" parent="Base.Theme.AppCompat"> 460 <item name="android:colorBackground">?attr/colorBackgroundFloating</item> 461 <item name="android:colorBackgroundCacheHint">@null</item> 462 463 <item name="android:windowFrame">@null</item> 464 <item name="android:windowTitleStyle">@style/RtlOverlay.DialogWindowTitle.AppCompat</item> 465 <item name="android:windowTitleBackgroundStyle">@style/Base.DialogWindowTitleBackground.AppCompat</item> 466 <item name="android:windowBackground">@drawable/abc_dialog_material_background</item> 467 <item name="android:windowIsFloating">true</item> 468 <item name="android:backgroundDimEnabled">true</item> 469 <item name="android:windowContentOverlay">@null</item> 470 <item name="android:windowAnimationStyle">@style/Animation.AppCompat.Dialog</item> 471 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> 472 473 <item name="windowActionBar">false</item> 474 <item name="windowActionModeOverlay">true</item> 475 476 <item name="listPreferredItemPaddingLeft">24dip</item> 477 <item name="listPreferredItemPaddingRight">24dip</item> 478 479 <item name="android:listDivider">@null</item> 480 </style> 481 482 <style name="Base.V7.Theme.AppCompat.Light.Dialog" parent="Base.Theme.AppCompat.Light"> 483 <item name="android:colorBackground">?attr/colorBackgroundFloating</item> 484 <item name="android:colorBackgroundCacheHint">@null</item> 485 486 <item name="android:windowFrame">@null</item> 487 <item name="android:windowTitleStyle">@style/RtlOverlay.DialogWindowTitle.AppCompat</item> 488 <item name="android:windowTitleBackgroundStyle">@style/Base.DialogWindowTitleBackground.AppCompat</item> 489 <item name="android:windowBackground">@drawable/abc_dialog_material_background</item> 490 <item name="android:windowIsFloating">true</item> 491 <item name="android:backgroundDimEnabled">true</item> 492 <item name="android:windowContentOverlay">@null</item> 493 <item name="android:windowAnimationStyle">@style/Animation.AppCompat.Dialog</item> 494 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> 495 496 <item name="windowActionBar">false</item> 497 <item name="windowActionModeOverlay">true</item> 498 499 <item name="listPreferredItemPaddingLeft">24dip</item> 500 <item name="listPreferredItemPaddingRight">24dip</item> 501 502 <item name="android:listDivider">@null</item> 503 </style> 504 505 <style name="Base.Theme.AppCompat.Dialog" parent="Base.V7.Theme.AppCompat.Dialog" /> 506 <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V7.Theme.AppCompat.Light.Dialog" /> 507 508 <style name="Base.Theme.AppCompat.Dialog.Alert"> 509 <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> 510 <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> 511 </style> 512 513 <style name="Base.Theme.AppCompat.Light.Dialog.Alert"> 514 <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> 515 <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> 516 </style> 517 518 <style name="Base.Theme.AppCompat.Dialog.MinWidth"> 519 <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> 520 <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> 521 </style> 522 523 <style name="Base.Theme.AppCompat.Light.Dialog.MinWidth"> 524 <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> 525 <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> 526 </style> 527 528 <style name="Base.Theme.AppCompat.Dialog.FixedSize"> 529 <item name="windowFixedWidthMajor">@dimen/abc_dialog_fixed_width_major</item> 530 <item name="windowFixedWidthMinor">@dimen/abc_dialog_fixed_width_minor</item> 531 <item name="windowFixedHeightMajor">@dimen/abc_dialog_fixed_height_major</item> 532 <item name="windowFixedHeightMinor">@dimen/abc_dialog_fixed_height_minor</item> 533 </style> 534 535 <style name="Base.Theme.AppCompat.Light.Dialog.FixedSize"> 536 <item name="windowFixedWidthMajor">@dimen/abc_dialog_fixed_width_major</item> 537 <item name="windowFixedWidthMinor">@dimen/abc_dialog_fixed_width_minor</item> 538 <item name="windowFixedHeightMajor">@dimen/abc_dialog_fixed_height_major</item> 539 <item name="windowFixedHeightMinor">@dimen/abc_dialog_fixed_height_minor</item> 540 </style> 541 542 <!-- We're not large, so redirect to Theme.AppCompat --> 543 <style name="Base.Theme.AppCompat.DialogWhenLarge" parent="Theme.AppCompat" /> 544 545 <style name="Base.Theme.AppCompat.Light.DialogWhenLarge" parent="Theme.AppCompat.Light" /> 546 547 <!-- Overlay themes --> 548 <style name="Platform.ThemeOverlay.AppCompat" parent="" /> 549 550 <style name="Base.ThemeOverlay.AppCompat" parent="Platform.ThemeOverlay.AppCompat" /> 551 552 <style name="Platform.ThemeOverlay.AppCompat.Dark"> 553 <!-- Action Bar styles --> 554 <item name="actionBarItemBackground">@drawable/abc_item_background_holo_dark</item> 555 <item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item> 556 <item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item> 557 558 <!-- SearchView styles --> 559 <item name="android:autoCompleteTextViewStyle">@style/Widget.AppCompat.AutoCompleteTextView</item> 560 <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item> 561 </style> 562 563 <style name="Platform.ThemeOverlay.AppCompat.Light"> 564 <item name="actionBarItemBackground">@drawable/abc_item_background_holo_light</item> 565 <item name="actionDropDownStyle">@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar</item> 566 <item name="selectableItemBackground">@drawable/abc_item_background_holo_light</item> 567 568 <!-- SearchView attributes --> 569 <item name="android:autoCompleteTextViewStyle">@style/Widget.AppCompat.Light.AutoCompleteTextView</item> 570 <item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item> 571 </style> 572 573 <style name="Base.ThemeOverlay.AppCompat.Light" parent="Platform.ThemeOverlay.AppCompat.Light"> 574 <item name="android:windowBackground">@color/background_material_light</item> 575 <item name="android:colorForeground">@color/foreground_material_light</item> 576 <item name="android:colorForegroundInverse">@color/foreground_material_dark</item> 577 <item name="android:colorBackground">@color/background_material_light</item> 578 <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_light</item> 579 580 <item name="android:textColorPrimary">@color/abc_primary_text_material_light</item> 581 <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_dark</item> 582 <item name="android:textColorSecondary">@color/abc_secondary_text_material_light</item> 583 <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_dark</item> 584 <item name="android:textColorTertiary">@color/abc_secondary_text_material_light</item> 585 <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_dark</item> 586 <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_light</item> 587 <item name="android:textColorPrimaryInverseDisableOnly">@color/abc_primary_text_disable_only_material_dark</item> 588 <item name="android:textColorHint">@color/hint_foreground_material_light</item> 589 <item name="android:textColorHintInverse">@color/hint_foreground_material_dark</item> 590 <item name="android:textColorHighlight">@color/highlighted_text_material_light</item> 591 592 <item name="colorControlNormal">?android:attr/textColorSecondary</item> 593 <item name="colorControlHighlight">@color/ripple_material_light</item> 594 <item name="colorButtonNormal">@color/button_material_light</item> 595 <item name="colorSwitchThumbNormal">@color/switch_thumb_material_light</item> 596 597 <!-- Used by MediaRouter --> 598 <item name="isLightTheme">true</item> 599 </style> 600 601 <style name="Base.ThemeOverlay.AppCompat.Dark" parent="Platform.ThemeOverlay.AppCompat.Dark"> 602 <item name="android:windowBackground">@color/background_material_dark</item> 603 <item name="android:colorForeground">@color/foreground_material_dark</item> 604 <item name="android:colorForegroundInverse">@color/foreground_material_light</item> 605 <item name="android:colorBackground">@color/background_material_dark</item> 606 <item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item> 607 608 <item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item> 609 <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item> 610 <item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item> 611 <item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item> 612 <item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item> 613 <item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item> 614 <item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item> 615 <item name="android:textColorHint">@color/hint_foreground_material_dark</item> 616 <item name="android:textColorHintInverse">@color/hint_foreground_material_light</item> 617 <item name="android:textColorHighlight">@color/highlighted_text_material_dark</item> 618 619 <item name="colorControlNormal">?android:attr/textColorSecondary</item> 620 <item name="colorControlHighlight">@color/ripple_material_dark</item> 621 <item name="colorButtonNormal">@color/button_material_dark</item> 622 <item name="colorSwitchThumbNormal">@color/switch_thumb_material_dark</item> 623 624 <!-- Used by MediaRouter --> 625 <item name="isLightTheme">false</item> 626 </style> 627 628 <style name="Base.ThemeOverlay.AppCompat.ActionBar"> 629 <item name="colorControlNormal">?android:attr/textColorPrimary</item> 630 <item name="searchViewStyle">@style/Widget.AppCompat.SearchView.ActionBar</item> 631 </style> 632 633 <style name="Base.ThemeOverlay.AppCompat.Dark.ActionBar"> 634 <item name="colorControlNormal">?android:attr/textColorPrimary</item> 635 <item name="searchViewStyle">@style/Widget.AppCompat.SearchView.ActionBar</item> 636 </style> 637 638 <!-- Theme overlay that overrides window properties to display as a dialog. --> 639 <style name="Base.ThemeOverlay.AppCompat.Dialog" parent="Base.V7.ThemeOverlay.AppCompat.Dialog" /> 640 641 <style name="Base.ThemeOverlay.AppCompat.Dialog.Alert"> 642 <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> 643 <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> 644 </style> 645 646 <!-- Theme overlay that overrides window properties to display as a dialog. --> 647 <style name="Base.V7.ThemeOverlay.AppCompat.Dialog" parent="Base.ThemeOverlay.AppCompat"> 648 <item name="android:colorBackgroundCacheHint">@null</item> 649 <item name="android:colorBackground">?attr/colorBackgroundFloating</item> 650 651 <item name="android:windowFrame">@null</item> 652 <item name="android:windowTitleStyle">@style/RtlOverlay.DialogWindowTitle.AppCompat</item> 653 <item name="android:windowTitleBackgroundStyle">@style/Base.DialogWindowTitleBackground.AppCompat</item> 654 <item name="android:windowBackground">@drawable/abc_dialog_material_background</item> 655 <item name="android:windowIsFloating">true</item> 656 <item name="android:backgroundDimEnabled">true</item> 657 <item name="android:windowContentOverlay">@null</item> 658 <item name="android:windowAnimationStyle">@style/Animation.AppCompat.Dialog</item> 659 <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> 660 661 <item name="windowActionBar">false</item> 662 <item name="windowActionModeOverlay">true</item> 663 664 <item name="listPreferredItemPaddingLeft">24dip</item> 665 <item name="listPreferredItemPaddingRight">24dip</item> 666 667 <item name="android:listDivider">@null</item> 668 </style> 669 670</resources> 671