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