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