620 lines
38 KiB
XML
620 lines
38 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2012 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<resources>
|
|
|
|
<!--
|
|
Theme in the "Platform.AppCompat" family are designed to be aliases for the default
|
|
theme on a given platform version and should set up the default theme ready for adding our
|
|
unbundled Action Bar.
|
|
-->
|
|
<eat-comment/>
|
|
<style name="Platform.AppCompat" parent="android:Theme">
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
<item name="buttonBarStyle">@android:style/ButtonBar</item>
|
|
<item name="buttonBarButtonStyle">@android:style/Widget.Button</item>
|
|
|
|
<!-- Window colors -->
|
|
<item name="android:colorForeground">@color/bright_foreground_material_dark</item>
|
|
<item name="android:colorForegroundInverse">@color/bright_foreground_material_light</item>
|
|
<item name="android:colorBackground">@color/background_material_dark</item>
|
|
<item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item>
|
|
<item name="android:disabledAlpha">0.5</item>
|
|
<item name="android:backgroundDimAmount">0.6</item>
|
|
<item name="android:windowBackground">@color/background_material_dark</item>
|
|
|
|
<!-- Text colors -->
|
|
<item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item>
|
|
<item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item>
|
|
<item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
|
|
<item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorHint">@color/hint_foreground_material_dark</item>
|
|
<item name="android:textColorHintInverse">@color/hint_foreground_material_light</item>
|
|
<item name="android:textColorHighlight">@color/highlighted_text_material_dark</item>
|
|
<item name="android:textColorLink">@color/link_text_material_dark</item>
|
|
|
|
<!-- Text styles -->
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
|
|
<item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item>
|
|
<item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item>
|
|
<item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item>
|
|
<item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item>
|
|
<item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item>
|
|
<item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item>
|
|
<item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item>
|
|
|
|
<item name="android:spinnerStyle">@style/Widget.AppCompat.Spinner</item>
|
|
<item name="android:dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
|
|
|
|
<item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item>
|
|
<item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item>
|
|
</style>
|
|
|
|
<style name="Platform.AppCompat.Light" parent="android:Theme.Light">
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
<item name="buttonBarStyle">@android:style/ButtonBar</item>
|
|
<item name="buttonBarButtonStyle">@android:style/Widget.Button</item>
|
|
|
|
<!-- Window colors -->
|
|
<item name="android:colorForeground">@color/bright_foreground_material_light</item>
|
|
<item name="android:colorForegroundInverse">@color/bright_foreground_material_dark</item>
|
|
<item name="android:colorBackground">@color/background_material_light</item>
|
|
<item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_light</item>
|
|
<item name="android:disabledAlpha">0.5</item>
|
|
<item name="android:backgroundDimAmount">0.6</item>
|
|
<item name="android:windowBackground">@color/background_material_light</item>
|
|
|
|
<!-- Text colors -->
|
|
<item name="android:textColorPrimary">@color/abc_primary_text_material_light</item>
|
|
<item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_dark</item>
|
|
<item name="android:textColorSecondary">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorTertiary">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_light</item>
|
|
<item name="android:textColorPrimaryInverseDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
|
|
<item name="android:textColorHint">@color/hint_foreground_material_light</item>
|
|
<item name="android:textColorHintInverse">@color/hint_foreground_material_dark</item>
|
|
<item name="android:textColorHighlight">@color/highlighted_text_material_light</item>
|
|
<item name="android:textColorLink">@color/link_text_material_light</item>
|
|
|
|
<!-- Text styles -->
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
|
|
<item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item>
|
|
<item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item>
|
|
<item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item>
|
|
<item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item>
|
|
<item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item>
|
|
<item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item>
|
|
<item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item>
|
|
|
|
<item name="android:spinnerStyle">@style/Widget.AppCompat.Spinner</item>
|
|
<item name="android:dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
|
|
|
|
<item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item>
|
|
<item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item>
|
|
</style>
|
|
|
|
<style name="Platform.AppCompat.Dialog" parent="android:Theme.Dialog">
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
<item name="buttonBarStyle">@android:style/ButtonBar</item>
|
|
<item name="buttonBarButtonStyle">@android:style/Widget.Button</item>
|
|
|
|
<!-- Window colors -->
|
|
<item name="android:colorForeground">@color/bright_foreground_material_dark</item>
|
|
<item name="android:colorForegroundInverse">@color/bright_foreground_material_light</item>
|
|
<item name="android:colorBackground">@color/background_material_dark</item>
|
|
<item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item>
|
|
<item name="android:disabledAlpha">0.5</item>
|
|
<item name="android:backgroundDimAmount">0.6</item>
|
|
<item name="android:windowBackground">@color/background_material_dark</item>
|
|
|
|
<!-- Text colors -->
|
|
<item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item>
|
|
<item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item>
|
|
<item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
|
|
<item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorHint">@color/hint_foreground_material_dark</item>
|
|
<item name="android:textColorHintInverse">@color/hint_foreground_material_light</item>
|
|
<item name="android:textColorHighlight">@color/highlighted_text_material_dark</item>
|
|
<item name="android:textColorLink">@color/link_text_material_dark</item>
|
|
|
|
<!-- Text styles -->
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
|
|
<item name="android:textAppearanceInverse">@style/TextAppearance.AppCompat.Inverse</item>
|
|
<item name="android:textAppearanceLarge">@style/TextAppearance.AppCompat.Large</item>
|
|
<item name="android:textAppearanceLargeInverse">@style/TextAppearance.AppCompat.Large.Inverse</item>
|
|
<item name="android:textAppearanceMedium">@style/TextAppearance.AppCompat.Medium</item>
|
|
<item name="android:textAppearanceMediumInverse">@style/TextAppearance.AppCompat.Medium.Inverse</item>
|
|
<item name="android:textAppearanceSmall">@style/TextAppearance.AppCompat.Small</item>
|
|
<item name="android:textAppearanceSmallInverse">@style/TextAppearance.AppCompat.Small.Inverse</item>
|
|
|
|
<item name="android:spinnerStyle">@style/Widget.AppCompat.Spinner</item>
|
|
<item name="android:dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
|
|
|
|
<item name="android:listChoiceIndicatorSingle">@drawable/abc_btn_radio_material</item>
|
|
<item name="android:listChoiceIndicatorMultiple">@drawable/abc_btn_check_material</item>
|
|
</style>
|
|
|
|
<style name="Platform.AppCompat.Light.Dialog" parent="Platform.AppCompat.Dialog" />
|
|
|
|
<!-- Themes in the "Base.Theme" family vary based on the current platform
|
|
version to provide the correct basis on each device. You probably don't
|
|
want to use them directly in your apps.
|
|
|
|
Themes in the "Theme.AppCompat" family are meant to be extended or used
|
|
directly by apps. -->
|
|
<eat-comment/>
|
|
|
|
<!-- Base platform-dependent theme providing an action bar in a dark-themed activity. -->
|
|
<style name="Base.V7.Theme.AppCompat" parent="Platform.AppCompat">
|
|
<item name="windowActionBar">true</item>
|
|
<item name="windowActionBarOverlay">false</item>
|
|
|
|
<!-- Used by MediaRouter -->
|
|
<item name="isLightTheme">false</item>
|
|
|
|
<item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item>
|
|
<item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item>
|
|
<item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
|
|
|
|
<item name="dividerVertical">@drawable/abc_list_divider_mtrl_alpha</item>
|
|
<item name="dividerHorizontal">@drawable/abc_list_divider_mtrl_alpha</item>
|
|
|
|
<!-- Action Bar Styles -->
|
|
<item name="actionBarTabStyle">@style/Widget.AppCompat.ActionBar.TabView</item>
|
|
<item name="actionBarTabBarStyle">@style/Widget.AppCompat.ActionBar.TabBar</item>
|
|
<item name="actionBarTabTextStyle">@style/Widget.AppCompat.ActionBar.TabText</item>
|
|
<item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item>
|
|
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item>
|
|
<item name="actionOverflowMenuStyle">@style/Widget.AppCompat.PopupMenu.Overflow</item>
|
|
<item name="actionBarStyle">@style/Widget.AppCompat.ActionBar.Solid</item>
|
|
<item name="actionBarSplitStyle">?attr/actionBarStyle</item>
|
|
<item name="actionBarWidgetTheme">@null</item>
|
|
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.ActionBar</item>
|
|
<item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item>
|
|
<item name="actionBarDivider">?attr/dividerVertical</item>
|
|
<item name="actionBarItemBackground">?attr/selectableItemBackgroundBorderless</item>
|
|
<item name="actionMenuTextAppearance">@style/TextAppearance.AppCompat.Widget.ActionBar.Menu</item>
|
|
<item name="actionMenuTextColor">?android:attr/textColorPrimaryDisableOnly</item>
|
|
|
|
<!-- Dropdown Spinner Attributes -->
|
|
<item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item>
|
|
|
|
<!-- Action Mode -->
|
|
<item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item>
|
|
<item name="actionModeBackground">@drawable/abc_cab_background_top_material</item>
|
|
<item name="actionModeSplitBackground">?attr/colorPrimaryDark</item>
|
|
<item name="actionModeCloseDrawable">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
|
|
<item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode</item>
|
|
|
|
<item name="actionModeCutDrawable">@drawable/abc_ic_menu_cut_mtrl_alpha</item>
|
|
<item name="actionModeCopyDrawable">@drawable/abc_ic_menu_copy_mtrl_am_alpha</item>
|
|
<item name="actionModePasteDrawable">@drawable/abc_ic_menu_paste_mtrl_am_alpha</item>
|
|
<item name="actionModeSelectAllDrawable">@drawable/abc_ic_menu_selectall_mtrl_alpha</item>
|
|
<item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_mtrl_alpha</item>
|
|
|
|
<!-- Panel attributes -->
|
|
<item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item>
|
|
<item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item>
|
|
<item name="panelBackground">@drawable/abc_menu_hardkey_panel_mtrl_mult</item>
|
|
<item name="android:panelBackground">@android:color/transparent</item>
|
|
<item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item>
|
|
|
|
<!-- List attributes -->
|
|
<item name="textAppearanceListItem">@style/TextAppearance.AppCompat.Subhead</item>
|
|
<item name="textAppearanceListItemSmall">@style/TextAppearance.AppCompat.Subhead</item>
|
|
<item name="listPreferredItemHeight">64dp</item>
|
|
<item name="listPreferredItemHeightSmall">48dp</item>
|
|
<item name="listPreferredItemHeightLarge">80dp</item>
|
|
<item name="listPreferredItemPaddingLeft">16dip</item>
|
|
<item name="listPreferredItemPaddingRight">16dip</item>
|
|
|
|
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
|
|
<item name="spinnerDropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
|
|
|
|
<!-- Popup Menu styles -->
|
|
<item name="popupMenuStyle">@style/Widget.AppCompat.PopupMenu</item>
|
|
<item name="textAppearanceLargePopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Large</item>
|
|
<item name="textAppearanceSmallPopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Small</item>
|
|
<item name="listPopupWindowStyle">@style/Widget.AppCompat.ListPopupWindow</item>
|
|
<item name="dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
|
|
|
|
<!-- SearchView attributes -->
|
|
<item name="searchViewStyle">@style/Widget.AppCompat.SearchView</item>
|
|
<item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
<item name="textColorSearchUrl">@color/abc_search_url_text</item>
|
|
<item name="textAppearanceSearchResultTitle">@style/TextAppearance.AppCompat.SearchResult.Title</item>
|
|
<item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.AppCompat.SearchResult.Subtitle</item>
|
|
|
|
<!-- ShareActionProvider attributes -->
|
|
<item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item>
|
|
|
|
<!-- Toolbar styles -->
|
|
<item name="toolbarStyle">@style/Widget.AppCompat.Toolbar</item>
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.AppCompat.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="android:editTextStyle">@style/Widget.AppCompat.EditText</item>
|
|
<item name="editTextBackground">@drawable/abc_edit_text_material</item>
|
|
<item name="editTextColor">?android:attr/textColorPrimary</item>
|
|
|
|
<!-- Color palette -->
|
|
<item name="colorPrimaryDark">@color/primary_dark_material_dark</item>
|
|
<item name="colorPrimary">@color/primary_material_dark</item>
|
|
<item name="colorAccent">@color/accent_material_dark</item>
|
|
|
|
<item name="colorControlNormal">?android:attr/textColorSecondary</item>
|
|
<item name="colorControlActivated">?attr/colorAccent</item>
|
|
<item name="colorControlHighlight">@color/ripple_material_dark</item>
|
|
<item name="colorSwitchThumbNormal">@color/switch_thumb_normal_material_dark</item>
|
|
|
|
<item name="drawerArrowStyle">@style/Widget.AppCompat.DrawerArrowToggle</item>
|
|
|
|
<item name="switchStyle">@style/Widget.AppCompat.CompoundButton.Switch</item>
|
|
</style>
|
|
|
|
<!-- Base platform-dependent theme providing an action bar in a light-themed activity. -->
|
|
<style name="Base.V7.Theme.AppCompat.Light" parent="Platform.AppCompat.Light">
|
|
<item name="windowActionBar">true</item>
|
|
<item name="windowActionBarOverlay">false</item>
|
|
|
|
<!-- Used by MediaRouter -->
|
|
<item name="isLightTheme">true</item>
|
|
|
|
<item name="selectableItemBackground">@drawable/abc_item_background_holo_light</item>
|
|
<item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item>
|
|
<item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
|
|
|
|
<item name="dividerVertical">@drawable/abc_list_divider_mtrl_alpha</item>
|
|
<item name="dividerHorizontal">@drawable/abc_list_divider_mtrl_alpha</item>
|
|
|
|
<!-- Action Bar Styles -->
|
|
<item name="actionBarTabStyle">@style/Widget.AppCompat.Light.ActionBar.TabView</item>
|
|
<item name="actionBarTabBarStyle">@style/Widget.AppCompat.Light.ActionBar.TabBar</item>
|
|
<item name="actionBarTabTextStyle">@style/Widget.AppCompat.Light.ActionBar.TabText</item>
|
|
<item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item>
|
|
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item>
|
|
<item name="actionOverflowMenuStyle">@style/Widget.AppCompat.Light.PopupMenu.Overflow</item>
|
|
<item name="actionBarStyle">@style/Widget.AppCompat.Light.ActionBar.Solid</item>
|
|
<item name="actionBarSplitStyle">?attr/actionBarStyle</item>
|
|
<item name="actionBarWidgetTheme">@null</item>
|
|
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.ActionBar</item>
|
|
<item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item>
|
|
<item name="actionBarDivider">?attr/dividerVertical</item>
|
|
<item name="actionBarItemBackground">?attr/selectableItemBackgroundBorderless</item>
|
|
<item name="actionMenuTextAppearance">@style/TextAppearance.AppCompat.Widget.ActionBar.Menu</item>
|
|
<item name="actionMenuTextColor">?android:attr/textColorPrimaryDisableOnly</item>
|
|
|
|
<!-- Action Mode -->
|
|
<item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item>
|
|
<item name="actionModeBackground">@drawable/abc_cab_background_top_material</item>
|
|
<item name="actionModeSplitBackground">?attr/colorPrimaryDark</item>
|
|
<item name="actionModeCloseDrawable">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
|
|
<item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode</item>
|
|
|
|
<item name="actionModeCutDrawable">@drawable/abc_ic_menu_cut_mtrl_alpha</item>
|
|
<item name="actionModeCopyDrawable">@drawable/abc_ic_menu_copy_mtrl_am_alpha</item>
|
|
<item name="actionModePasteDrawable">@drawable/abc_ic_menu_paste_mtrl_am_alpha</item>
|
|
<item name="actionModeSelectAllDrawable">@drawable/abc_ic_menu_selectall_mtrl_alpha</item>
|
|
<item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_mtrl_alpha</item>
|
|
|
|
<!-- Dropdown Spinner Attributes -->
|
|
<item name="actionDropDownStyle">@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar</item>
|
|
|
|
<!-- Panel attributes -->
|
|
<item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item>
|
|
<item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item>
|
|
<item name="panelBackground">@drawable/abc_menu_hardkey_panel_mtrl_mult</item>
|
|
<item name="android:panelBackground">@android:color/transparent</item>
|
|
<item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_light</item>
|
|
|
|
<!-- List attributes -->
|
|
<item name="textAppearanceListItem">@style/TextAppearance.AppCompat.Subhead</item>
|
|
<item name="textAppearanceListItemSmall">@style/TextAppearance.AppCompat.Subhead</item>
|
|
<item name="listPreferredItemHeight">64dp</item>
|
|
<item name="listPreferredItemHeightSmall">48dp</item>
|
|
<item name="listPreferredItemHeightLarge">80dp</item>
|
|
<item name="listPreferredItemPaddingLeft">16dip</item>
|
|
<item name="listPreferredItemPaddingRight">16dip</item>
|
|
|
|
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
|
|
<item name="spinnerDropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
|
|
|
|
<!-- Popup Menu styles -->
|
|
<item name="popupMenuStyle">@style/Widget.AppCompat.Light.PopupMenu</item>
|
|
<item name="textAppearanceLargePopupMenu">@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Large</item>
|
|
<item name="textAppearanceSmallPopupMenu">@style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Small</item>
|
|
<item name="listPopupWindowStyle">@style/Widget.AppCompat.ListPopupWindow</item>
|
|
<item name="dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
|
|
|
|
<!-- SearchView attributes -->
|
|
<item name="searchViewStyle">@style/Widget.AppCompat.Light.SearchView</item>
|
|
<item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
<item name="textColorSearchUrl">@color/abc_search_url_text</item>
|
|
<item name="textAppearanceSearchResultTitle">@style/TextAppearance.AppCompat.SearchResult.Title</item>
|
|
<item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.AppCompat.SearchResult.Subtitle</item>
|
|
|
|
<!-- ShareActionProvider attributes -->
|
|
<item name="activityChooserViewStyle">@style/Widget.AppCompat.Light.ActivityChooserView</item>
|
|
|
|
<!-- Toolbar styles -->
|
|
<item name="toolbarStyle">@style/Widget.AppCompat.Toolbar</item>
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.AppCompat.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="android:editTextStyle">@style/Widget.AppCompat.EditText</item>
|
|
<item name="editTextBackground">@drawable/abc_edit_text_material</item>
|
|
<item name="editTextColor">?android:attr/textColorPrimary</item>
|
|
|
|
<!-- Color palette -->
|
|
<item name="colorPrimaryDark">@color/primary_dark_material_light</item>
|
|
<item name="colorPrimary">@color/primary_material_light</item>
|
|
<item name="colorAccent">@color/accent_material_light</item>
|
|
|
|
<item name="colorControlNormal">?android:attr/textColorSecondary</item>
|
|
<item name="colorControlActivated">?attr/colorAccent</item>
|
|
<item name="colorControlHighlight">@color/ripple_material_light</item>
|
|
<item name="colorSwitchThumbNormal">@color/switch_thumb_normal_material_light</item>
|
|
|
|
<item name="drawerArrowStyle">@style/Widget.AppCompat.DrawerArrowToggle</item>
|
|
|
|
<item name="switchStyle">@style/Widget.AppCompat.CompoundButton.Switch</item>
|
|
</style>
|
|
|
|
<style name="Base.Theme.AppCompat" parent="Base.V7.Theme.AppCompat">
|
|
</style>
|
|
|
|
<style name="Base.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light">
|
|
</style>
|
|
|
|
<style name="Base.Theme.AppCompat.Light.DarkActionBar" parent="Base.Theme.AppCompat.Light">
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
|
<item name="actionBarWidgetTheme">@null</item>
|
|
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
|
|
|
|
<!-- Panel attributes -->
|
|
<item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item>
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark_material_dark</item>
|
|
<item name="colorPrimary">@color/primary_material_dark</item>
|
|
</style>
|
|
|
|
<!-- Menu/item attributes -->
|
|
<style name="Base.Theme.AppCompat.CompactMenu" parent="">
|
|
<item name="android:itemTextAppearance">?android:attr/textAppearanceMedium</item>
|
|
<item name="android:listViewStyle">@style/Widget.AppCompat.ListView.Menu</item>
|
|
</style>
|
|
|
|
<style name="Base.V7.Theme.AppCompat.Dialog" parent="Platform.AppCompat.Dialog">
|
|
<item name="windowActionBar">true</item>
|
|
<item name="windowActionBarOverlay">false</item>
|
|
<item name="isLightTheme">false</item>
|
|
|
|
<item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item>
|
|
<item name="selectableItemBackgroundBorderless">?attr/selectableItemBackground</item>
|
|
<item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
|
|
|
|
<item name="dividerVertical">@drawable/abc_list_divider_mtrl_alpha</item>
|
|
<item name="dividerHorizontal">@drawable/abc_list_divider_mtrl_alpha</item>
|
|
|
|
<!-- Action Bar Styles -->
|
|
<item name="actionBarTabStyle">@style/Widget.AppCompat.ActionBar.TabView</item>
|
|
<item name="actionBarTabBarStyle">@style/Widget.AppCompat.ActionBar.TabBar</item>
|
|
<item name="actionBarTabTextStyle">@style/Widget.AppCompat.ActionBar.TabText</item>
|
|
<item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item>
|
|
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item>
|
|
<item name="actionOverflowMenuStyle">@style/Widget.AppCompat.PopupMenu.Overflow</item>
|
|
<item name="actionBarStyle">@style/Widget.AppCompat.ActionBar.Solid</item>
|
|
<item name="actionBarSplitStyle">?attr/actionBarStyle</item>
|
|
<item name="actionBarWidgetTheme">@null</item>
|
|
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.ActionBar</item>
|
|
<item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item>
|
|
<item name="actionBarDivider">?attr/dividerVertical</item>
|
|
<item name="actionBarItemBackground">?attr/selectableItemBackground</item>
|
|
<item name="actionMenuTextAppearance">@style/TextAppearance.AppCompat.Widget.ActionBar.Menu</item>
|
|
<item name="actionMenuTextColor">?android:attr/textColorPrimaryDisableOnly</item>
|
|
|
|
<!-- Dropdown Spinner Attributes -->
|
|
<item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item>
|
|
|
|
<!-- Action Mode -->
|
|
<item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item>
|
|
<item name="actionModeBackground">@drawable/abc_cab_background_top_material</item>
|
|
<item name="actionModeSplitBackground">?attr/colorPrimaryDark</item>
|
|
<item name="actionModeCloseDrawable">@drawable/abc_ic_ab_back_mtrl_am_alpha</item>
|
|
<item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode</item>
|
|
|
|
<item name="actionModeCutDrawable">@drawable/abc_ic_menu_cut_mtrl_alpha</item>
|
|
<item name="actionModeCopyDrawable">@drawable/abc_ic_menu_copy_mtrl_am_alpha</item>
|
|
<item name="actionModePasteDrawable">@drawable/abc_ic_menu_paste_mtrl_am_alpha</item>
|
|
<item name="actionModeSelectAllDrawable">@drawable/abc_ic_menu_selectall_mtrl_alpha</item>
|
|
<item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_mtrl_alpha</item>
|
|
|
|
<!-- Panel attributes -->
|
|
<item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item>
|
|
<item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item>
|
|
<item name="panelBackground">@drawable/abc_menu_hardkey_panel_mtrl_mult</item>
|
|
<item name="android:panelBackground">@android:color/transparent</item>
|
|
<item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item>
|
|
|
|
<!-- List attributes -->
|
|
<item name="textAppearanceListItem">@style/TextAppearance.AppCompat.Subhead</item>
|
|
<item name="textAppearanceListItemSmall">@style/TextAppearance.AppCompat.Subhead</item>
|
|
<item name="listPreferredItemHeight">64dp</item>
|
|
<item name="listPreferredItemHeightSmall">48dp</item>
|
|
<item name="listPreferredItemHeightLarge">80dp</item>
|
|
<item name="listPreferredItemPaddingLeft">16dip</item>
|
|
<item name="listPreferredItemPaddingRight">16dip</item>
|
|
|
|
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
|
|
<item name="spinnerDropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
|
|
|
|
<!-- Popup Menu styles -->
|
|
<item name="popupMenuStyle">@style/Widget.AppCompat.PopupMenu</item>
|
|
<item name="textAppearanceLargePopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Large</item>
|
|
<item name="textAppearanceSmallPopupMenu">@style/TextAppearance.AppCompat.Widget.PopupMenu.Small</item>
|
|
<item name="listPopupWindowStyle">@style/Widget.AppCompat.ListPopupWindow</item>
|
|
<item name="dropDownListViewStyle">@style/Widget.AppCompat.ListView.DropDown</item>
|
|
|
|
<!-- SearchView attributes -->
|
|
<item name="searchViewStyle">@style/Widget.AppCompat.SearchView</item>
|
|
<item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
<item name="textColorSearchUrl">@color/abc_search_url_text</item>
|
|
<item name="textAppearanceSearchResultTitle">@style/TextAppearance.AppCompat.SearchResult.Title</item>
|
|
<item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.AppCompat.SearchResult.Subtitle</item>
|
|
|
|
<!-- ShareActionProvider attributes -->
|
|
<item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item>
|
|
|
|
<!-- Toolbar styles -->
|
|
<item name="toolbarStyle">@style/Widget.AppCompat.Toolbar</item>
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.AppCompat.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="android:editTextStyle">@style/Widget.AppCompat.EditText</item>
|
|
<item name="editTextBackground">@drawable/abc_edit_text_material</item>
|
|
<item name="editTextColor">?android:attr/textColorPrimary</item>
|
|
|
|
<!-- Color palette -->
|
|
<item name="colorPrimaryDark">@color/primary_dark_material_dark</item>
|
|
<item name="colorPrimary">@color/primary_material_dark</item>
|
|
<item name="colorAccent">@color/accent_material_dark</item>
|
|
|
|
<item name="colorControlNormal">?android:attr/textColorSecondary</item>
|
|
<item name="colorControlActivated">?attr/colorAccent</item>
|
|
<item name="colorControlHighlight">@color/ripple_material_dark</item>
|
|
<item name="colorSwitchThumbNormal">@color/switch_thumb_normal_material_dark</item>
|
|
|
|
<item name="switchStyle">@style/Widget.AppCompat.CompoundButton.Switch</item>
|
|
</style>
|
|
|
|
<style name="Base.Theme.AppCompat.Dialog" parent="Base.V7.Theme.AppCompat.Dialog" />
|
|
|
|
<style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.Theme.AppCompat.Dialog" />
|
|
|
|
<style name="Base.Theme.AppCompat.Dialog.FixedSize">
|
|
<item name="windowFixedWidthMajor">@dimen/dialog_fixed_width_major</item>
|
|
<item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item>
|
|
<item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item>
|
|
<item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item>
|
|
</style>
|
|
|
|
<style name="Base.Theme.AppCompat.Light.Dialog.FixedSize">
|
|
<item name="windowFixedWidthMajor">@dimen/dialog_fixed_width_major</item>
|
|
<item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item>
|
|
<item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item>
|
|
<item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item>
|
|
</style>
|
|
|
|
<!-- We're not large, so redirect to Theme.AppCompat -->
|
|
<style name="Base.Theme.AppCompat.DialogWhenLarge" parent="Theme.AppCompat" />
|
|
|
|
<style name="Base.Theme.AppCompat.Light.DialogWhenLarge" parent="Theme.AppCompat.Light" />
|
|
|
|
<!-- Overlay themes -->
|
|
<style name="Base.ThemeOverlay.AppCompat" parent="" />
|
|
|
|
<style name="Base.ThemeOverlay.AppCompat.Light">
|
|
<item name="android:windowBackground">@color/background_material_light</item>
|
|
<item name="android:colorForeground">@color/bright_foreground_material_light</item>
|
|
<item name="android:colorForegroundInverse">@color/bright_foreground_material_dark</item>
|
|
<item name="android:colorBackground">@color/background_material_light</item>
|
|
<item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_light</item>
|
|
|
|
<item name="android:textColorPrimary">@color/abc_primary_text_material_light</item>
|
|
<item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_dark</item>
|
|
<item name="android:textColorSecondary">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorTertiary">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_light</item>
|
|
<item name="android:textColorPrimaryInverseDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
|
|
<item name="android:textColorHint">@color/hint_foreground_material_light</item>
|
|
<item name="android:textColorHintInverse">@color/hint_foreground_material_dark</item>
|
|
<item name="android:textColorHighlight">@color/highlighted_text_material_light</item>
|
|
<item name="android:textColorLink">@color/link_text_material_light</item>
|
|
|
|
<item name="actionBarItemBackground">@drawable/abc_item_background_holo_light</item>
|
|
<item name="actionDropDownStyle">@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar</item>
|
|
<item name="selectableItemBackground">@drawable/abc_item_background_holo_light</item>
|
|
|
|
<!-- SearchView attributes -->
|
|
<item name="android:autoCompleteTextViewStyle">@style/Widget.AppCompat.Light.AutoCompleteTextView</item>
|
|
<item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
|
|
<item name="colorControlNormal">?android:attr/textColorSecondary</item>
|
|
<item name="colorControlHighlight">@color/ripple_material_light</item>
|
|
<item name="colorSwitchThumbNormal">@color/switch_thumb_normal_material_light</item>
|
|
|
|
<!-- Used by MediaRouter -->
|
|
<item name="isLightTheme">true</item>
|
|
</style>
|
|
|
|
<style name="Base.ThemeOverlay.AppCompat.Dark">
|
|
<item name="android:windowBackground">@color/background_material_dark</item>
|
|
<item name="android:colorForeground">@color/bright_foreground_material_dark</item>
|
|
<item name="android:colorForegroundInverse">@color/bright_foreground_material_light</item>
|
|
<item name="android:colorBackground">@color/background_material_dark</item>
|
|
<item name="android:colorBackgroundCacheHint">@color/abc_background_cache_hint_selector_material_dark</item>
|
|
|
|
<item name="android:textColorPrimary">@color/abc_primary_text_material_dark</item>
|
|
<item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item>
|
|
<item name="android:textColorPrimaryDisableOnly">@color/abc_primary_text_disable_only_material_dark</item>
|
|
<item name="android:textColorSecondary">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorSecondaryInverse">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorTertiary">@color/abc_secondary_text_material_dark</item>
|
|
<item name="android:textColorTertiaryInverse">@color/abc_secondary_text_material_light</item>
|
|
<item name="android:textColorHint">@color/hint_foreground_material_dark</item>
|
|
<item name="android:textColorHintInverse">@color/hint_foreground_material_light</item>
|
|
<item name="android:textColorHighlight">@color/highlighted_text_material_dark</item>
|
|
<item name="android:textColorLink">@color/link_text_material_dark</item>
|
|
|
|
<!-- Action Bar styles -->
|
|
<item name="actionBarItemBackground">@drawable/abc_item_background_holo_dark</item>
|
|
<item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item>
|
|
<item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item>
|
|
|
|
<!-- SearchView styles -->
|
|
<item name="android:autoCompleteTextViewStyle">@style/Widget.AppCompat.AutoCompleteTextView</item>
|
|
<item name="android:dropDownItemStyle">@style/Widget.AppCompat.DropDownItem.Spinner</item>
|
|
|
|
<item name="colorControlNormal">?android:attr/textColorSecondary</item>
|
|
<item name="colorControlHighlight">@color/ripple_material_dark</item>
|
|
<item name="colorSwitchThumbNormal">@color/switch_thumb_normal_material_dark</item>
|
|
|
|
<!-- Used by MediaRouter -->
|
|
<item name="isLightTheme">false</item>
|
|
</style>
|
|
|
|
<style name="Base.ThemeOverlay.AppCompat.ActionBar">
|
|
<item name="colorControlNormal">?android:attr/textColorPrimary</item>
|
|
</style>
|
|
|
|
<style name="Base.ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
<item name="colorControlNormal">?android:attr/textColorPrimary</item>
|
|
</style>
|
|
|
|
</resources>
|