tor-android/external/appcompat/res/values/themes_base.xml

202 lines
11 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>
<!-- Themes in the "Theme.Base" 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/>
<style name="Theme.Base" parent="android:Theme">
</style>
<style name="Theme.Base.Light" parent="android:Theme.Light">
</style>
<!-- Base platform-dependent theme providing an action bar in a dark-themed activity. -->
<style name="Theme.Base.AppCompat" parent="Theme.Base">
<item name="windowActionBar">true</item>
<!-- Remove system title bars; we will add the action bar ourselves. -->
<item name="android:windowNoTitle">true</item>
<item name="buttonBarStyle">@android:style/ButtonBar</item>
<item name="buttonBarButtonStyle">@android:style/Widget.Button</item>
<item name="selectableItemBackground">@drawable/abc_item_background_holo_dark</item>
<item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_holo_dark</item>
<item name="dividerVertical">@drawable/abc_list_divider_holo_dark</item>
<item name="dividerHorizontal">@drawable/abc_list_divider_holo_dark</item>
<item name="listPreferredItemHeight">?android:attr/listPreferredItemHeight</item>
<item name="listPreferredItemHeightSmall">48dp</item>
<item name="listPreferredItemHeightLarge">80dp</item>
<item name="listPreferredItemPaddingLeft">8dip</item>
<item name="listPreferredItemPaddingRight">8dip</item>
<item name="textAppearanceListItem">?android:attr/textAppearanceMedium</item>
<item name="textAppearanceListItemSmall">?android:attr/textAppearanceMedium</item>
<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="actionBarStyle">@style/Widget.AppCompat.ActionBar</item>
<item name="actionBarSplitStyle">?attr/actionBarStyle</item>
<item name="actionBarWidgetTheme">@null</item>
<item name="actionBarSize">@dimen/abc_action_bar_default_height</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_holo_dark</item>
<item name="actionModeSplitBackground">@drawable/abc_cab_background_bottom_holo_dark</item>
<item name="actionModeCloseDrawable">@drawable/abc_ic_cab_done_holo_dark</item>
<item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode
</item>
<!-- Panel attributes -->
<item name="panelMenuListWidth">@dimen/abc_panel_menu_list_width</item>
<item name="panelMenuListTheme">@style/Theme.AppCompat.CompactMenu</item>
<item name="android:panelBackground">@drawable/abc_menu_hardkey_panel_holo_dark</item>
<item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item>
</style>
<!-- Base platform-dependent theme providing an action bar in a light-themed activity. -->
<style name="Theme.Base.AppCompat.Light" parent="Theme.Base.Light">
<item name="windowActionBar">true</item>
<!-- Remove system title bars; we will add the action bar ourselves. -->
<item name="android:windowNoTitle">true</item>
<item name="buttonBarStyle">@android:style/ButtonBar</item>
<item name="buttonBarButtonStyle">@android:style/Widget.Button</item>
<item name="selectableItemBackground">@drawable/abc_item_background_holo_light</item>
<item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_holo_light</item>
<item name="dividerVertical">@drawable/abc_list_divider_holo_light</item>
<item name="dividerHorizontal">@drawable/abc_list_divider_holo_light</item>
<item name="listPreferredItemHeight">?android:attr/listPreferredItemHeight</item>
<item name="listPreferredItemHeightSmall">48dp</item>
<item name="listPreferredItemHeightLarge">80dp</item>
<item name="listPreferredItemPaddingLeft">8dip</item>
<item name="listPreferredItemPaddingRight">8dip</item>
<item name="textAppearanceListItem">?android:attr/textAppearanceMedium</item>
<item name="textAppearanceListItemSmall">?android:attr/textAppearanceMedium</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="actionBarStyle">@style/Widget.AppCompat.Light.ActionBar</item>
<item name="actionBarSplitStyle">?attr/actionBarStyle</item>
<item name="actionBarWidgetTheme">@null</item>
<item name="actionBarSize">@dimen/abc_action_bar_default_height</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>
<!-- Action Mode -->
<item name="actionModeStyle">@style/Widget.AppCompat.ActionMode</item>
<item name="actionModeBackground">@drawable/abc_cab_background_top_holo_light</item>
<item name="actionModeSplitBackground">@drawable/abc_cab_background_bottom_holo_light</item>
<item name="actionModeCloseDrawable">@drawable/abc_ic_cab_done_holo_light</item>
<item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.Light.ActionButton.CloseMode
</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="android:panelBackground">@drawable/abc_menu_hardkey_panel_holo_light</item>
<item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_light</item>
</style>
<!-- Base platform-dependent theme providing a dark action bar in a light-themed activity. -->
<style name="Theme.Base.AppCompat.Light.DarkActionBar" parent="Theme.Base.AppCompat.Light">
<item name="homeAsUpIndicator">@drawable/abc_ic_ab_back_holo_dark</item>
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item>
<item name="actionBarStyle">@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse</item>
<item name="actionBarWidgetTheme">@style/Theme.AppCompat</item>
<item name="actionBarDivider">@drawable/abc_list_divider_holo_dark</item>
<item name="actionBarItemBackground">@drawable/abc_item_background_holo_dark</item>
<item name="actionBarTabStyle">@style/Widget.AppCompat.Light.ActionBar.TabView.Inverse
</item>
<item name="actionBarTabBarStyle">@style/Widget.AppCompat.Light.ActionBar.TabBar.Inverse
</item>
<item name="actionBarTabTextStyle">@style/Widget.AppCompat.Light.ActionBar.TabText.Inverse
</item>
<item name="actionMenuTextColor">?android:attr/textColorPrimaryInverseDisableOnly</item>
<!-- Action Mode -->
<item name="actionModeStyle">@style/Widget.AppCompat.Light.ActionMode.Inverse</item>
<item name="actionModeBackground">@drawable/abc_cab_background_top_holo_dark</item>
<item name="actionModeSplitBackground">@drawable/abc_cab_background_bottom_holo_dark</item>
<item name="actionModeCloseDrawable">@drawable/abc_ic_cab_done_holo_dark</item>
<item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionButton.CloseMode
</item>
<!-- Dropdown Spinner Attributes -->
<item name="actionDropDownStyle">@style/Widget.AppCompat.Spinner.DropDown.ActionBar</item>
<!-- Panel attributes -->
<item name="android:panelBackground">@drawable/abc_menu_hardkey_panel_holo_dark</item>
<item name="listChoiceBackgroundIndicator">@drawable/abc_list_selector_holo_dark</item>
</style>
<!-- Menu/item attributes -->
<style name="Theme.AppCompat.Base.CompactMenu" parent="">
<item name="android:itemTextAppearance">
@style/TextAppearance.Widget.AppCompat.ExpandedMenu.Item</item>
<item name="android:listViewStyle">@style/Widget.AppCompat.ListView.Menu</item>
</style>
<style name="Theme.AppCompat.Base.CompactMenu.Dialog" parent="">
<item name="android:itemTextAppearance">
@style/TextAppearance.AppCompat.Base.CompactMenu.Dialog</item>
<item name="android:listViewStyle">@android:style/Widget.ListView.Menu</item>
</style>
</resources>