mirror of
https://github.com/MinimalBible/MinimalBible-Legacy
synced 2025-07-03 06:44:51 -04:00
Add the appcompat project to the repository
This commit is contained in:
556
appcompat_v7/res/values/attrs.xml
Normal file
556
appcompat_v7/res/values/attrs.xml
Normal file
@ -0,0 +1,556 @@
|
||||
<?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>
|
||||
<!-- Many app-specific attributes are declared in this file.
|
||||
Unless otherwise specified, they are intended to be set within
|
||||
the context of a theme declaration.
|
||||
|
||||
Each cluster of attributes below states whether it is meant to
|
||||
be set by the app and read by the system, or set by the system and
|
||||
read by the app. -->
|
||||
<eat-comment/>
|
||||
|
||||
<!-- These attributes are meant to be specified and customized by the app.
|
||||
The system will read and apply them as needed. These attributes control
|
||||
properties of the activity window, such as whether an action bar should
|
||||
be present and whether it should overlay content. -->
|
||||
<declare-styleable name="ActionBarWindow">
|
||||
<attr name="windowActionBar" format="boolean"/>
|
||||
<attr name="windowActionBarOverlay" format="boolean"/>
|
||||
<attr name="windowSplitActionBar" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- ============================================ -->
|
||||
|
||||
<!-- Action bar appearance and styling attributes.
|
||||
These attributes are meant to be specified and customized by the
|
||||
app. The system will read and apply them as needed. -->
|
||||
<eat-comment/>
|
||||
|
||||
<!-- Default style for tabs within an action bar -->
|
||||
<attr name="actionBarTabStyle" format="reference"/>
|
||||
<attr name="actionBarTabBarStyle" format="reference"/>
|
||||
<attr name="actionBarTabTextStyle" format="reference"/>
|
||||
<attr name="actionOverflowButtonStyle" format="reference"/>
|
||||
<!-- Reference to a style for the Action Bar -->
|
||||
<attr name="actionBarStyle" format="reference"/>
|
||||
<!-- Reference to a theme that should be used to inflate widgets
|
||||
and layouts destined for the action bar. Most of the time
|
||||
this will be a reference to the current theme, but when
|
||||
the action bar has a significantly different contrast
|
||||
profile than the rest of the activity the difference
|
||||
can become important. If this is set to @null the current
|
||||
theme will be used.-->
|
||||
<attr name="actionBarSplitStyle" format="reference"/>
|
||||
<!-- Reference to a theme that should be used to inflate widgets
|
||||
and layouts destined for the action bar. Most of the time
|
||||
this will be a reference to the current theme, but when
|
||||
the action bar has a significantly different contrast
|
||||
profile than the rest of the activity the difference
|
||||
can become important. If this is set to @null the current
|
||||
theme will be used.-->
|
||||
<attr name="actionBarWidgetTheme" format="reference"/>
|
||||
<!-- Size of the Action Bar, including the contextual
|
||||
bar used to present Action Modes. -->
|
||||
<attr name="actionBarSize" format="dimension"/>
|
||||
<!-- Custom divider drawable to use for elements in the action bar. -->
|
||||
<attr name="actionBarDivider" format="reference"/>
|
||||
<!-- Custom item state list drawable background for action bar items. -->
|
||||
<attr name="actionBarItemBackground" format="reference"/>
|
||||
<!-- TextAppearance style that will be applied to text that
|
||||
appears within action menu items. -->
|
||||
<attr name="actionMenuTextAppearance" format="reference"/>
|
||||
<!-- Color for text that appears within action menu items. -->
|
||||
<attr name="actionMenuTextColor" format="color|reference"/>
|
||||
<!-- Specifies a drawable to use for the 'home as up' indicator. -->
|
||||
<attr name="homeAsUpIndicator" format="reference"/>
|
||||
<!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
|
||||
<attr name="textAppearanceLargePopupMenu" format="reference"/>
|
||||
<!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
|
||||
<attr name="textAppearanceSmallPopupMenu" format="reference"/>
|
||||
<!-- Default action button style. -->
|
||||
<attr name="actionButtonStyle" format="reference"/>
|
||||
|
||||
<!-- ============================================ -->
|
||||
|
||||
<!-- Assorted theme compatibility attributes.
|
||||
These attributes are meant to be set by the system and read by apps
|
||||
for use in layouts or other style declarations. -->
|
||||
<eat-comment/>
|
||||
<!-- A style that may be applied to horizontal LinearLayouts
|
||||
to form a button bar. -->
|
||||
<attr name="buttonBarStyle" format="reference"/>
|
||||
<!-- A style that may be applied to Buttons placed within a
|
||||
LinearLayout with the style buttonBarStyle to form a button bar. -->
|
||||
<attr name="buttonBarButtonStyle" format="reference"/>
|
||||
<!-- A style that may be applied to buttons or other selectable items
|
||||
that should react to pressed and focus states, but that do not
|
||||
have a clear visual border along the edges. -->
|
||||
<attr name="selectableItemBackground" format="reference"/>
|
||||
<!-- A drawable that may be used as a vertical divider between visual elements. -->
|
||||
<attr name="dividerVertical" format="reference"/>
|
||||
<!-- A drawable that may be used as a horizontal divider between visual elements. -->
|
||||
<attr name="dividerHorizontal" format="reference"/>
|
||||
|
||||
<!-- The preferred list item height. -->
|
||||
<attr name="listPreferredItemHeight" format="dimension"/>
|
||||
<!-- A smaller, sleeker list item height. -->
|
||||
<attr name="listPreferredItemHeightSmall" format="dimension"/>
|
||||
<!-- A larger, more robust list item height. -->
|
||||
<attr name="listPreferredItemHeightLarge" format="dimension"/>
|
||||
|
||||
<!-- The preferred padding along the left edge of list items. -->
|
||||
<attr name="listPreferredItemPaddingLeft" format="dimension"/>
|
||||
<!-- The preferred padding along the right edge of list items. -->
|
||||
<attr name="listPreferredItemPaddingRight" format="dimension"/>
|
||||
|
||||
<!-- ListPopupWindow comaptibility -->
|
||||
<attr name="dropDownListViewStyle" format="reference"/>
|
||||
<attr name="listPopupWindowStyle" format="reference"/>
|
||||
|
||||
|
||||
<!-- The preferred TextAppearance for the primary text of list items. -->
|
||||
<attr name="textAppearanceListItem" format="reference"/>
|
||||
<!-- The preferred TextAppearance for the primary text of small list items. -->
|
||||
<attr name="textAppearanceListItemSmall" format="reference"/>
|
||||
|
||||
<attr name="title" format="string"/>
|
||||
<attr name="height" format="dimension"/>
|
||||
|
||||
|
||||
<!-- ============================================ -->
|
||||
|
||||
<!-- Attributes used to style the Action Bar.
|
||||
These should be set on your theme; the default actionBarStyle will
|
||||
propagate them to the correct elements as needed.
|
||||
|
||||
Please Note: when overriding attributes for an ActionBar style
|
||||
you must specify each attribute twice: once with the "android:"
|
||||
namespace prefix and once without. -->
|
||||
<declare-styleable name="ActionBar">
|
||||
<!-- The type of navigation to use. -->
|
||||
<attr name="navigationMode">
|
||||
<!-- Normal static title text -->
|
||||
<enum name="normal" value="0"/>
|
||||
<!-- The action bar will use a selection list for navigation. -->
|
||||
<enum name="listMode" value="1"/>
|
||||
<!-- The action bar will use a series of horizontal tabs for navigation. -->
|
||||
<enum name="tabMode" value="2"/>
|
||||
</attr>
|
||||
<!-- Options affecting how the action bar is displayed. -->
|
||||
<attr name="displayOptions">
|
||||
<flag name="useLogo" value="0x1"/>
|
||||
<flag name="showHome" value="0x2"/>
|
||||
<flag name="homeAsUp" value="0x4"/>
|
||||
<flag name="showTitle" value="0x8"/>
|
||||
<flag name="showCustom" value="0x10"/>
|
||||
<flag name="disableHome" value="0x20"/>
|
||||
</attr>
|
||||
<!-- Specifies title text used for navigationMode="normal" -->
|
||||
<attr name="title"/>
|
||||
<!-- Specifies subtitle text used for navigationMode="normal" -->
|
||||
<attr name="subtitle" format="string"/>
|
||||
<!-- Specifies a style to use for title text. -->
|
||||
<attr name="titleTextStyle" format="reference"/>
|
||||
<!-- Specifies a style to use for subtitle text. -->
|
||||
<attr name="subtitleTextStyle" format="reference"/>
|
||||
<!-- Specifies the drawable used for the application icon. -->
|
||||
<attr name="icon" format="reference"/>
|
||||
<!-- Specifies the drawable used for the application logo. -->
|
||||
<attr name="logo" format="reference"/>
|
||||
<!-- Specifies the drawable used for item dividers. -->
|
||||
<attr name="divider" format="reference"/>
|
||||
<!-- Specifies a background drawable for the action bar. -->
|
||||
<attr name="background" format="reference"/>
|
||||
<!-- Specifies a background drawable for a second stacked row of the action bar. -->
|
||||
<attr name="backgroundStacked" format="reference|color"/>
|
||||
<!-- Specifies a background drawable for the bottom component of a split action bar. -->
|
||||
<attr name="backgroundSplit" format="reference|color"/>
|
||||
<!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
|
||||
<attr name="customNavigationLayout" format="reference"/>
|
||||
<!-- Specifies a fixed height. -->
|
||||
<attr name="height"/>
|
||||
<!-- Specifies a layout to use for the "home" section of the action bar. -->
|
||||
<attr name="homeLayout" format="reference"/>
|
||||
<!-- Specifies a style resource to use for an embedded progress bar. -->
|
||||
<attr name="progressBarStyle" format="reference"/>
|
||||
<!-- Specifies a style resource to use for an indeterminate progress spinner. -->
|
||||
<attr name="indeterminateProgressStyle" format="reference"/>
|
||||
<!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
|
||||
<attr name="progressBarPadding" format="dimension"/>
|
||||
<!-- Specifies padding that should be applied to the left and right sides of
|
||||
system-provided items in the bar. -->
|
||||
<attr name="itemPadding" format="dimension"/>
|
||||
</declare-styleable>
|
||||
|
||||
<!-- Valid LayoutParams for views placed in the action bar as custom views. -->
|
||||
<declare-styleable name="ActionBarLayout">
|
||||
<attr name="android:layout_gravity"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ActionMenuItemView">
|
||||
<attr name="android:minWidth"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ActionMode">
|
||||
<!-- Specifies a style to use for title text. -->
|
||||
<attr name="titleTextStyle"/>
|
||||
<!-- Specifies a style to use for subtitle text. -->
|
||||
<attr name="subtitleTextStyle"/>
|
||||
<!-- Specifies a background for the action mode bar. -->
|
||||
<attr name="background"/>
|
||||
<!-- Specifies a background for the split action mode bar. -->
|
||||
<attr name="backgroundSplit"/>
|
||||
<!-- Specifies a fixed height for the action mode bar. -->
|
||||
<attr name="height"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="View">
|
||||
<!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
|
||||
<attr name="paddingStart" format="dimension"/>
|
||||
<!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
|
||||
<attr name="paddingEnd" format="dimension"/>
|
||||
|
||||
<!-- Boolean that controls whether a view can take focus. By default the user can not
|
||||
move focus to a view; by setting this attribute to true the view is
|
||||
allowed to take focus. This value does not impact the behavior of
|
||||
directly calling {@link android.view.View#requestFocus}, which will
|
||||
always request focus regardless of this view. It only impacts where
|
||||
focus navigation will try to move focus. -->
|
||||
<attr name="android:focusable" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- =================== -->
|
||||
<!-- Action mode styles -->
|
||||
<!-- =================== -->
|
||||
<eat-comment/>
|
||||
<attr name="actionModeStyle" format="reference"/>
|
||||
<attr name="actionModeCloseButtonStyle" format="reference"/>
|
||||
<!-- Background drawable to use for action mode UI -->
|
||||
<attr name="actionModeBackground" format="reference"/>
|
||||
<!-- Background drawable to use for action mode UI in the lower split bar -->
|
||||
<attr name="actionModeSplitBackground" format="reference"/>
|
||||
<!-- Drawable to use for the close action mode button -->
|
||||
<attr name="actionModeCloseDrawable" format="reference"/>
|
||||
|
||||
<!-- Drawable to use for the Cut action button in Contextual Action Bar -->
|
||||
<attr name="actionModeCutDrawable" format="reference"/>
|
||||
<!-- Drawable to use for the Copy action button in Contextual Action Bar -->
|
||||
<attr name="actionModeCopyDrawable" format="reference"/>
|
||||
<!-- Drawable to use for the Paste action button in Contextual Action Bar -->
|
||||
<attr name="actionModePasteDrawable" format="reference"/>
|
||||
<!-- Drawable to use for the Select all action button in Contextual Action Bar -->
|
||||
<attr name="actionModeSelectAllDrawable" format="reference"/>
|
||||
<!-- Drawable to use for the Share action button in WebView selection action modes -->
|
||||
<attr name="actionModeShareDrawable" format="reference"/>
|
||||
<!-- Drawable to use for the Find action button in WebView selection action modes -->
|
||||
<attr name="actionModeFindDrawable" format="reference"/>
|
||||
<!-- Drawable to use for the Web Search action button in WebView selection action modes -->
|
||||
<attr name="actionModeWebSearchDrawable" format="reference"/>
|
||||
|
||||
<!-- PopupWindow style to use for action modes when showing as a window overlay. -->
|
||||
<attr name="actionModePopupWindowStyle" format="reference"/>
|
||||
|
||||
<!-- These are the standard attributes that make up a complete theme. -->
|
||||
<declare-styleable name="Theme">
|
||||
<!-- Default ActionBar dropdown style. -->
|
||||
<attr name="actionDropDownStyle" format="reference"/>
|
||||
<!-- The preferred item height for dropdown lists. -->
|
||||
<attr name="dropdownListPreferredItemHeight" format="dimension"/>
|
||||
<!-- Default PopupMenu style. -->
|
||||
<attr name="popupMenuStyle" format="reference"/>
|
||||
|
||||
<!-- ============ -->
|
||||
<!-- Panel styles -->
|
||||
<!-- ============ -->
|
||||
<eat-comment />
|
||||
|
||||
<!-- Default Panel Menu width. -->
|
||||
<attr name="panelMenuListWidth" format="dimension" />
|
||||
|
||||
<!-- Default Panel Menu style. -->
|
||||
<attr name="panelMenuListTheme" format="reference" />
|
||||
|
||||
<!-- Drawable used as a background for selected list items. -->
|
||||
<attr name="listChoiceBackgroundIndicator" format="reference" />
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="MenuView">
|
||||
<!-- Default appearance of menu item text. -->
|
||||
<attr name="android:itemTextAppearance"/>
|
||||
<!-- Default horizontal divider between rows of menu items. -->
|
||||
<attr name="android:horizontalDivider"/>
|
||||
<!-- Default vertical divider between menu items. -->
|
||||
<attr name="android:verticalDivider"/>
|
||||
<!-- Default background for the menu header. -->
|
||||
<attr name="android:headerBackground"/>
|
||||
<!-- Default background for each menu item. -->
|
||||
<attr name="android:itemBackground"/>
|
||||
<!-- Default animations for the menu. -->
|
||||
<attr name="android:windowAnimationStyle"/>
|
||||
<!-- Default disabled icon alpha for each menu item that shows an icon. -->
|
||||
<attr name="android:itemIconDisabledAlpha"/>
|
||||
<!-- Whether space should be reserved in layout when an icon is missing. -->
|
||||
<attr name="android:preserveIconSpacing"/>
|
||||
</declare-styleable>
|
||||
<declare-styleable name="ActionMenuView">
|
||||
<!-- Size of padding on either end of a divider. -->
|
||||
</declare-styleable>
|
||||
|
||||
<!-- Base attributes that are available to all groups. -->
|
||||
<declare-styleable name="MenuGroup">
|
||||
|
||||
<!-- The ID of the group. -->
|
||||
<attr name="android:id" />
|
||||
|
||||
<!-- The category applied to all items within this group.
|
||||
(This will be or'ed with the orderInCategory attribute.) -->
|
||||
<attr name="android:menuCategory" />
|
||||
|
||||
<!-- The order within the category applied to all items within this group.
|
||||
(This will be or'ed with the category attribute.) -->
|
||||
<attr name="android:orderInCategory" />
|
||||
|
||||
<!-- Whether the items are capable of displaying a check mark. -->
|
||||
<attr name="android:checkableBehavior" />
|
||||
|
||||
<!-- Whether the items are shown/visible. -->
|
||||
<attr name="android:visible" />
|
||||
|
||||
<!-- Whether the items are enabled. -->
|
||||
<attr name="android:enabled" />
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<!-- Base attributes that are available to all Item objects. -->
|
||||
<declare-styleable name="MenuItem">
|
||||
|
||||
<!-- The ID of the item. -->
|
||||
<attr name="android:id" />
|
||||
|
||||
<!-- The category applied to the item.
|
||||
(This will be or'ed with the orderInCategory attribute.) -->
|
||||
<attr name="android:menuCategory" />
|
||||
|
||||
<!-- The order within the category applied to the item.
|
||||
(This will be or'ed with the category attribute.) -->
|
||||
<attr name="android:orderInCategory" />
|
||||
|
||||
<!-- The title associated with the item. -->
|
||||
<attr name="android:title" />
|
||||
|
||||
<!-- The condensed title associated with the item. This is used in situations where the
|
||||
normal title may be too long to be displayed. -->
|
||||
<attr name="android:titleCondensed" />
|
||||
|
||||
<!-- The icon associated with this item. This icon will not always be shown, so
|
||||
the title should be sufficient in describing this item. -->
|
||||
<attr name="android:icon" />
|
||||
|
||||
<!-- The alphabetic shortcut key. This is the shortcut when using a keyboard
|
||||
with alphabetic keys. -->
|
||||
<attr name="android:alphabeticShortcut" />
|
||||
|
||||
<!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key)
|
||||
keyboard. -->
|
||||
<attr name="android:numericShortcut" />
|
||||
|
||||
<!-- Whether the item is capable of displaying a check mark. -->
|
||||
<attr name="android:checkable" />
|
||||
|
||||
<!-- Whether the item is checked. Note that you must first have enabled checking with
|
||||
the checkable attribute or else the check mark will not appear. -->
|
||||
<attr name="android:checked" />
|
||||
|
||||
<!-- Whether the item is shown/visible. -->
|
||||
<attr name="android:visible" />
|
||||
|
||||
<!-- Whether the item is enabled. -->
|
||||
<attr name="android:enabled" />
|
||||
|
||||
<!-- Name of a method on the Context used to inflate the menu that will be
|
||||
called when the item is clicked. -->
|
||||
<attr name="android:onClick" />
|
||||
|
||||
<!-- How this item should display in the Action Bar, if present. -->
|
||||
<attr name="showAsAction">
|
||||
<!-- Never show this item in an action bar, show it in the overflow menu instead.
|
||||
Mutually exclusive with "ifRoom" and "always". -->
|
||||
<flag name="never" value="0" />
|
||||
<!-- Show this item in an action bar if there is room for it as determined
|
||||
by the system. Favor this option over "always" where possible.
|
||||
Mutually exclusive with "never" and "always". -->
|
||||
<flag name="ifRoom" value="1" />
|
||||
<!-- Always show this item in an actionbar, even if it would override
|
||||
the system's limits of how much stuff to put there. This may make
|
||||
your action bar look bad on some screens. In most cases you should
|
||||
use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
|
||||
<flag name="always" value="2" />
|
||||
<!-- When this item is shown as an action in the action bar, show a text
|
||||
label with it even if it has an icon representation. -->
|
||||
<flag name="withText" value="4" />
|
||||
<!-- This item's action view collapses to a normal menu
|
||||
item. When expanded, the action view takes over a
|
||||
larger segment of its container. -->
|
||||
<flag name="collapseActionView" value="8" />
|
||||
</attr>
|
||||
|
||||
<!-- An optional layout to be used as an action view.
|
||||
See {@link android.view.MenuItem#setActionView(android.view.View)}
|
||||
for more info. -->
|
||||
<attr name="actionLayout" format="reference" />
|
||||
|
||||
<!-- The name of an optional View class to instantiate and use as an
|
||||
action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
|
||||
for more info. -->
|
||||
<attr name="actionViewClass" format="string" />
|
||||
|
||||
<!-- The name of an optional ActionProvider class to instantiate an action view
|
||||
and perform operations such as default action for that menu item.
|
||||
See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
|
||||
for more info. -->
|
||||
<attr name="actionProviderClass" format="string" />
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="Spinner">
|
||||
<!-- The prompt to display when the spinner's dialog is shown. -->
|
||||
<attr name="prompt" format="reference" />
|
||||
<!-- Display mode for spinner options. -->
|
||||
<attr name="spinnerMode" format="enum">
|
||||
<!-- Spinner options will be presented to the user as a dialog window. -->
|
||||
<enum name="dialog" value="0" />
|
||||
<!-- Spinner options will be presented to the user as an inline dropdown
|
||||
anchored to the spinner widget itself. -->
|
||||
<enum name="dropdown" value="1" />
|
||||
</attr>
|
||||
<!-- List selector to use for spinnerMode="dropdown" display. -->
|
||||
<attr name="android:dropDownSelector" />
|
||||
<!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
|
||||
<attr name="android:popupBackground" />
|
||||
<!-- Vertical offset from the spinner widget for positioning the dropdown in
|
||||
spinnerMode="dropdown". -->
|
||||
<attr name="android:dropDownVerticalOffset" />
|
||||
<!-- Horizontal offset from the spinner widget for positioning the dropdown
|
||||
in spinnerMode="dropdown". -->
|
||||
<attr name="android:dropDownHorizontalOffset" />
|
||||
<!-- Width of the dropdown in spinnerMode="dropdown". -->
|
||||
<attr name="android:dropDownWidth" />
|
||||
<!-- Reference to a layout to use for displaying a prompt in the dropdown for
|
||||
spinnerMode="dropdown". This layout must contain a TextView with the id
|
||||
{@code @android:id/text1} to be populated with the prompt text. -->
|
||||
<attr name="popupPromptView" format="reference" />
|
||||
<!-- Gravity setting for positioning the currently selected item. -->
|
||||
<attr name="android:gravity" />
|
||||
<!-- Whether this spinner should mark child views as enabled/disabled when
|
||||
the spinner itself is enabled/disabled. -->
|
||||
<attr name="disableChildrenWhenDisabled" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="LinearLayoutICS">
|
||||
<!-- Drawable to use as a vertical divider between buttons. -->
|
||||
<attr name="divider" />
|
||||
<!-- Setting for which dividers to show. -->
|
||||
<attr name="showDividers">
|
||||
<flag name="none" value="0" />
|
||||
<flag name="beginning" value="1" />
|
||||
<flag name="middle" value="2" />
|
||||
<flag name="end" value="4" />
|
||||
</attr>
|
||||
<!-- Size of padding on either end of a divider. -->
|
||||
<attr name="dividerPadding" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- Default Spinner style. -->
|
||||
<attr name="spinnerStyle" format="reference" />
|
||||
|
||||
<!-- Default Spinner style. -->
|
||||
<attr name="spinnerDropDownItemStyle" format="reference" />
|
||||
|
||||
<!-- Specifies whether the theme is light, otherwise it is dark. -->
|
||||
<attr name="isLightTheme" format="boolean" />
|
||||
|
||||
<declare-styleable name="SearchView">
|
||||
<!-- The default state of the SearchView. If true, it will be iconified when not in
|
||||
use and expanded when clicked. -->
|
||||
<attr name="iconifiedByDefault" format="boolean"/>
|
||||
<!-- An optional maximum width of the SearchView. -->
|
||||
<attr name="android:maxWidth" />
|
||||
<!-- An optional query hint string to be displayed in the empty query field. -->
|
||||
<attr name="queryHint" format="string" />
|
||||
<!-- The IME options to set on the query text field. -->
|
||||
<attr name="android:imeOptions" />
|
||||
<!-- The input type to set on the query text field. -->
|
||||
<attr name="android:inputType" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- ============================ -->
|
||||
<!-- SearchView styles and assets -->
|
||||
<!-- ============================ -->
|
||||
<eat-comment />
|
||||
<!-- SearchView dropdown background -->
|
||||
<attr name="searchDropdownBackground" format="reference" />
|
||||
<!-- SearchView close button icon -->
|
||||
<attr name="searchViewCloseIcon" format="reference" />
|
||||
<!-- SearchView Go button icon -->
|
||||
<attr name="searchViewGoIcon" format="reference" />
|
||||
<!-- SearchView Search icon -->
|
||||
<attr name="searchViewSearchIcon" format="reference" />
|
||||
<!-- SearchView Voice button icon -->
|
||||
<attr name="searchViewVoiceIcon" format="reference" />
|
||||
<!-- SearchView query refinement icon -->
|
||||
<attr name="searchViewEditQuery" format="reference" />
|
||||
<!-- SearchView query refinement icon background -->
|
||||
<attr name="searchViewEditQueryBackground" format="reference" />
|
||||
<!-- SearchView text field background for the left section -->
|
||||
<attr name="searchViewTextField" format="reference" />
|
||||
<!-- SearchView text field background for the right section -->
|
||||
<attr name="searchViewTextFieldRight" format="reference" />
|
||||
<!-- The list item height for search results. @hide -->
|
||||
<attr name="searchResultListItemHeight" format="dimension" />
|
||||
<!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
|
||||
<attr name="textAppearanceSearchResultTitle" format="reference" />
|
||||
<!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
|
||||
<attr name="textAppearanceSearchResultSubtitle" format="reference" />
|
||||
<!-- Text color for urls in search suggestions, used by things like global search -->
|
||||
<attr name="textColorSearchUrl" format="reference|color" />
|
||||
<!-- SearchView AutoCompleteTextView style -->
|
||||
<attr name="searchViewAutoCompleteTextView" format="reference" />
|
||||
|
||||
<!-- Attrbitutes for a ActivityChooserView. -->
|
||||
<declare-styleable name="ActivityChooserView">
|
||||
<!-- The maximal number of items initially shown in the activity list. -->
|
||||
<attr name="initialActivityCount" format="string" />
|
||||
<!-- The drawable to show in the button for expanding the activities overflow popup.
|
||||
<strong>Note:</strong> Clients would like to set this drawable
|
||||
as a clue about the action the chosen activity will perform. For
|
||||
example, if share activity is to be chosen the drawable should
|
||||
give a clue that sharing is to be performed.
|
||||
-->
|
||||
<attr name="expandActivityOverflowButtonDrawable" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- Default ActivityChooserView style. -->
|
||||
<attr name="activityChooserViewStyle" format="reference" />
|
||||
|
||||
<declare-styleable name="CompatTextView">
|
||||
<!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
|
||||
<attr name="textAllCaps" format="reference|boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
23
appcompat_v7/res/values/bools.xml
Normal file
23
appcompat_v7/res/values/bools.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?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>
|
||||
<bool name="abc_action_bar_embed_tabs_pre_jb">false</bool>
|
||||
<bool name="abc_action_bar_expanded_action_views_exclusive">true</bool>
|
||||
<bool name="abc_split_action_bar_is_narrow">true</bool>
|
||||
|
||||
<bool name="abc_config_showMenuShortcutsWhenKeyboardPresent">false</bool>
|
||||
</resources>
|
20
appcompat_v7/res/values/colors.xml
Normal file
20
appcompat_v7/res/values/colors.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?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>
|
||||
<color name="abc_search_url_text_normal">#7fa87f</color>
|
||||
<color name="abc_search_url_text_selected">@android:color/black</color>
|
||||
<color name="abc_search_url_text_pressed">@android:color/black</color>
|
||||
</resources>
|
34
appcompat_v7/res/values/config.xml
Normal file
34
appcompat_v7/res/values/config.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- Whether action menu items should obey the "withText" showAsAction
|
||||
flag. This may be set to false for situations where space is
|
||||
extremely limited. -->
|
||||
<bool name="abc_config_allowActionMenuItemTextWithIcon">false</bool>
|
||||
|
||||
<!-- The maximum width we would prefer dialogs to be. 0 if there is no
|
||||
maximum (let them grow as large as the screen). Actual values are
|
||||
specified for -large and -xlarge configurations. -->
|
||||
<dimen name="abc_config_prefDialogWidth">320dp</dimen>
|
||||
|
||||
<!-- Whether action menu items should be displayed in ALLCAPS or not.
|
||||
Defaults to true. If this is not appropriate for specific locales
|
||||
it should be disabled in that locale's resources. -->
|
||||
<bool name="abc_config_actionMenuItemAllCaps">true</bool>
|
||||
</resources>
|
61
appcompat_v7/res/values/dimens.xml
Normal file
61
appcompat_v7/res/values/dimens.xml
Normal file
@ -0,0 +1,61 @@
|
||||
<?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>
|
||||
|
||||
<!-- The maximum number of action buttons that should be permitted within
|
||||
an action bar/action mode. This will be used to determine how many
|
||||
showAsAction="ifRoom" items can fit. "always" items can override this. -->
|
||||
<integer name="abc_max_action_buttons">2</integer>
|
||||
|
||||
<!-- Maximum width for a stacked action bar tab. This prevents
|
||||
action bar tabs from becoming too wide on a wide screen when only
|
||||
a few are present. -->
|
||||
<dimen name="abc_action_bar_stacked_tab_max_width">180dp</dimen>
|
||||
|
||||
<!-- Default height of an action bar. -->
|
||||
<dimen name="abc_action_bar_default_height">48dip</dimen>
|
||||
<!-- Vertical padding around action bar icons. -->
|
||||
<dimen name="abc_action_bar_icon_vertical_padding">8dip</dimen>
|
||||
<!-- Text size for action bar titles -->
|
||||
<dimen name="abc_action_bar_title_text_size">18dp</dimen>
|
||||
<!-- Text size for action bar subtitles -->
|
||||
<dimen name="abc_action_bar_subtitle_text_size">14dp</dimen>
|
||||
<!-- Top margin for action bar subtitles -->
|
||||
<dimen name="abc_action_bar_subtitle_top_margin">-3dp</dimen>
|
||||
<!-- Bottom margin for action bar subtitles -->
|
||||
<dimen name="abc_action_bar_subtitle_bottom_margin">5dip</dimen>
|
||||
<!-- Minimum width for an action button in the menu area of an action bar -->
|
||||
<dimen name="abc_action_button_min_width">56dip</dimen>
|
||||
<!-- Maximum height for a stacked tab bar as part of an action bar -->
|
||||
<dimen name="abc_action_bar_stacked_max_height">48dp</dimen>
|
||||
<!-- Size of the indeterminate Progress Bar -->
|
||||
<dimen name="abc_action_bar_progress_bar_size">40dp</dimen>
|
||||
|
||||
<dimen name="abc_panel_menu_list_width">296dp</dimen>
|
||||
|
||||
<!-- Minimum width of the search view text entry area. -->
|
||||
<dimen name="abc_search_view_text_min_width">160dip</dimen>
|
||||
<!-- Preferred width of the search view. -->
|
||||
<dimen name="abc_search_view_preferred_width">320dip</dimen>
|
||||
|
||||
<!-- Text padding for dropdown items -->
|
||||
<dimen name="abc_dropdownitem_text_padding_left">8dip</dimen>
|
||||
<dimen name="abc_dropdownitem_text_padding_right">8dip</dimen>
|
||||
<!-- Width of the icon in a dropdown list -->
|
||||
<dimen name="abc_dropdownitem_icon_width">32dip</dimen>
|
||||
|
||||
</resources>
|
23
appcompat_v7/res/values/ids.xml
Normal file
23
appcompat_v7/res/values/ids.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?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>
|
||||
<item type="id" name="home"/>
|
||||
<item type="id" name="action_bar_activity_content"/>
|
||||
<item type="id" name="action_menu_divider"/>
|
||||
<item type="id" name="action_menu_presenter"/>
|
||||
<item type="id" name="progress_circular"/>
|
||||
<item type="id" name="progress_horizontal"/>
|
||||
</resources>
|
48
appcompat_v7/res/values/strings.xml
Normal file
48
appcompat_v7/res/values/strings.xml
Normal file
@ -0,0 +1,48 @@
|
||||
<?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>
|
||||
<!-- Label for the "Done" button on the far left of action mode toolbars. -->
|
||||
<string name="abc_action_mode_done">Done</string>
|
||||
<!-- Content description for the action bar "home" affordance. [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_action_bar_home_description">Navigate home</string>
|
||||
<!-- Content description for the action bar "up" affordance. [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_action_bar_up_description">Navigate up</string>
|
||||
<!-- Content description for the action menu overflow button. [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_action_menu_overflow_description">More options</string>
|
||||
|
||||
<!-- SearchView accessibility description for search button [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_searchview_description_search">Search</string>
|
||||
<!-- SearchView accessibility description for search text field [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_searchview_description_query">Search query</string>
|
||||
<!-- SearchView accessibility description for clear button [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_searchview_description_clear">Clear query</string>
|
||||
<!-- SearchView accessibility description for submit button [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_searchview_description_submit">Submit query</string>
|
||||
<!-- SearchView accessibility description for voice button [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_searchview_description_voice">Voice search</string>
|
||||
|
||||
<!-- ActivityChooserView - accessibility support -->
|
||||
<!-- Description of the shwoing of a popup window with activities to choose from. [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_activitychooserview_choose_application">Choose an app</string>
|
||||
<!-- Title for a button to expand the list of activities in ActivityChooserView [CHAR LIMIT=25] -->
|
||||
<string name="abc_activity_chooser_view_see_all">See all</string>
|
||||
<!-- Description of a share target (both in the list of such or the default share button) in a ShareActionProvider (share UI). [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_shareactionprovider_share_with_application">Share with %s</string>
|
||||
<!-- Description of the choose target button in a ShareActionProvider (share UI). [CHAR LIMIT=NONE] -->
|
||||
<string name="abc_shareactionprovider_share_with">Share with</string>
|
||||
|
||||
</resources>
|
245
appcompat_v7/res/values/styles.xml
Normal file
245
appcompat_v7/res/values/styles.xml
Normal file
@ -0,0 +1,245 @@
|
||||
<?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>
|
||||
|
||||
<!-- Styles in here can be extended for customisation in your application. Each utilises
|
||||
one of the Base styles. If Holo themes are available on the current platform version
|
||||
they will be used instead of the compat styles. -->
|
||||
|
||||
<style name="Widget.AppCompat.ActionBar" parent="Widget.AppCompat.Base.ActionBar">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar" parent="Widget.AppCompat.Light.Base.ActionBar">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionBar.Solid"
|
||||
parent="Widget.AppCompat.Base.ActionBar.Solid">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.Solid"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.Solid">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.Solid.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.Solid.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionBar.Title"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionBar.Title">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionBar.Subtitle"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionBar.Subtitle">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionBar.Title.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionBar.Subtitle.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ProgressBar.Horizontal"
|
||||
parent="Widget.AppCompat.Base.ProgressBar.Horizontal">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ProgressBar"
|
||||
parent="Widget.AppCompat.Base.ProgressBar">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionButton" parent="Widget.AppCompat.Base.ActionButton">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionButton"
|
||||
parent="Widget.AppCompat.Light.Base.ActionButton">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionButton.CloseMode"
|
||||
parent="Widget.AppCompat.Base.ActionButton.CloseMode">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionButton.CloseMode"
|
||||
parent="Widget.AppCompat.Light.Base.ActionButton.CloseMode">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionButton.Overflow"
|
||||
parent="Widget.AppCompat.Base.ActionButton.Overflow">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionButton.Overflow"
|
||||
parent="Widget.AppCompat.Light.Base.ActionButton.Overflow">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionBar.TabBar" parent="Widget.AppCompat.Base.ActionBar.TabBar">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.TabBar"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabBar">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.TabBar.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabBar.Inverse"></style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionBar.TabView"
|
||||
parent="Widget.AppCompat.Base.ActionBar.TabView">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.TabView"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabView">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.TabView.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabView.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionBar.TabText"
|
||||
parent="Widget.AppCompat.Base.ActionBar.TabText">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.TabText"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabText">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionBar.TabText.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabText.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionBar.Menu"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionBar.Menu">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActionMode" parent="Widget.AppCompat.Base.ActionMode">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActionMode.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionMode.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionMode.Title"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionMode.Title">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionMode.Subtitle"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionMode.Subtitle">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionMode.Title.Inverse"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionMode.Title.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.ActionMode.Subtitle.Inverse"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.ActionMode.Subtitle.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.DropDownItem"
|
||||
parent="TextAppearance.AppCompat.Widget.Base.DropDownItem">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Spinner.DropDown.ActionBar"
|
||||
parent="Widget.AppCompat.Base.Spinner">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Spinner.DropDown.ActionBar"
|
||||
parent="Widget.AppCompat.Light.Base.Spinner">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.DropDownItem.Spinner"
|
||||
parent="Widget.AppCompat.Base.DropDownItem.Spinner">
|
||||
</style>
|
||||
<style name="Widget.AppCompat.Light.DropDownItem.Spinner"
|
||||
parent="Widget.AppCompat.Light.Base.DropDownItem.Spinner">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ListView.DropDown"
|
||||
parent="Widget.AppCompat.Base.ListView.DropDown">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ListView.DropDown"
|
||||
parent="Widget.AppCompat.Light.Base.ListView.DropDown">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.AppCompat.ExpandedMenu.Item"
|
||||
parent="TextAppearance.Widget.AppCompat.Base.ExpandedMenu.Item">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ListPopupWindow" parent="Widget.AppCompat.Base.ListPopupWindow">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ListPopupWindow"
|
||||
parent="Widget.AppCompat.Light.Base.ListPopupWindow">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.PopupMenu" parent="Widget.AppCompat.Base.PopupMenu">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.PopupMenu"
|
||||
parent="Widget.AppCompat.Light.Base.PopupMenu">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ListView.Menu" parent="Widget.AppCompat.Base.ListView.Menu">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.PopupMenu.Large"
|
||||
parent="TextAppearance.AppCompat.Base.Widget.PopupMenu.Large">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.PopupMenu.Small"
|
||||
parent="TextAppearance.AppCompat.Base.Widget.PopupMenu.Small">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.Widget.PopupMenu.Large"
|
||||
parent="TextAppearance.AppCompat.Light.Base.Widget.PopupMenu.Large">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.Widget.PopupMenu.Small"
|
||||
parent="TextAppearance.AppCompat.Light.Base.Widget.PopupMenu.Small">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.SearchResult.Title"
|
||||
parent="TextAppearance.AppCompat.Base.SearchResult.Title">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.SearchResult.Subtitle"
|
||||
parent="TextAppearance.AppCompat.Base.SearchResult.Subtitle">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.SearchResult.Title"
|
||||
parent="TextAppearance.AppCompat.Light.Base.SearchResult.Title">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.SearchResult.Subtitle"
|
||||
parent="TextAppearance.AppCompat.Light.Base.SearchResult.Subtitle">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.AutoCompleteTextView"
|
||||
parent="Widget.AppCompat.Base.AutoCompleteTextView">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.AutoCompleteTextView"
|
||||
parent="Widget.AppCompat.Light.Base.AutoCompleteTextView">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.ActivityChooserView"
|
||||
parent="Widget.AppCompat.Base.ActivityChooserView">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.ActivityChooserView"
|
||||
parent="Widget.AppCompat.Light.Base.ActivityChooserView">
|
||||
</style>
|
||||
|
||||
</resources>
|
404
appcompat_v7/res/values/styles_base.xml
Normal file
404
appcompat_v7/res/values/styles_base.xml
Normal file
@ -0,0 +1,404 @@
|
||||
<?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>
|
||||
|
||||
<!-- Like in themes_base.xml, the namespace "*.AppCompat.Base" is used to
|
||||
define base styles for the platform version. The "*.AppCompat"
|
||||
variants are for direct use or use as parent styles by the app. -->
|
||||
<eat-comment/>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionBar" parent="">
|
||||
<item name="displayOptions">useLogo|showHome|showTitle</item>
|
||||
<item name="divider">?attr/dividerVertical</item>
|
||||
<item name="height">?attr/actionBarSize</item>
|
||||
<item name="homeLayout">@layout/abc_action_bar_home</item>
|
||||
|
||||
<item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Title</item>
|
||||
<item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle
|
||||
</item>
|
||||
|
||||
<item name="background">@drawable/abc_ab_transparent_dark_holo</item>
|
||||
<item name="backgroundStacked">@drawable/abc_ab_stacked_transparent_dark_holo</item>
|
||||
<item name="backgroundSplit">@drawable/abc_ab_bottom_transparent_dark_holo</item>
|
||||
|
||||
<item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item>
|
||||
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item>
|
||||
|
||||
<item name="progressBarStyle">@style/Widget.AppCompat.ProgressBar.Horizontal</item>
|
||||
<item name="indeterminateProgressStyle">@style/Widget.AppCompat.ProgressBar</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar" parent="Widget.AppCompat.Base.ActionBar">
|
||||
<item name="background">@drawable/abc_ab_transparent_light_holo</item>
|
||||
<item name="backgroundStacked">@drawable/abc_ab_stacked_transparent_light_holo</item>
|
||||
<item name="backgroundSplit">@drawable/abc_ab_bottom_transparent_light_holo</item>
|
||||
|
||||
<item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item>
|
||||
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow
|
||||
</item>
|
||||
|
||||
<item name="progressBarStyle">@style/Widget.AppCompat.ProgressBar.Horizontal</item>
|
||||
<item name="indeterminateProgressStyle">@style/Widget.AppCompat.ProgressBar</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionBar.Solid" parent="Widget.AppCompat.Base.ActionBar">
|
||||
<item name="background">@drawable/abc_ab_solid_dark_holo</item>
|
||||
<item name="backgroundStacked">@drawable/abc_ab_stacked_solid_dark_holo</item>
|
||||
<item name="backgroundSplit">@drawable/abc_ab_bottom_solid_dark_holo</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.Solid"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar">
|
||||
<item name="background">@drawable/abc_ab_solid_light_holo</item>
|
||||
<item name="backgroundStacked">@drawable/abc_ab_stacked_solid_light_holo</item>
|
||||
<item name="backgroundSplit">@drawable/abc_ab_bottom_solid_light_holo</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.Solid.Inverse"
|
||||
parent="Widget.AppCompat.Base.ActionBar.Solid">
|
||||
<item name="titleTextStyle">
|
||||
@style/TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse
|
||||
</item>
|
||||
<item name="subtitleTextStyle">
|
||||
@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse
|
||||
</item>
|
||||
<item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item>
|
||||
<item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow
|
||||
</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionButton" parent="">
|
||||
<item name="android:background">?attr/actionBarItemBackground</item>
|
||||
<item name="android:paddingLeft">12dip</item>
|
||||
<item name="android:paddingRight">12dip</item>
|
||||
<item name="android:minWidth">@dimen/abc_action_button_min_width</item>
|
||||
<item name="android:minHeight">?attr/actionBarSize</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:maxLines">2</item>
|
||||
<item name="textAllCaps">@bool/abc_config_actionMenuItemAllCaps</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionButton"
|
||||
parent="Widget.AppCompat.Base.ActionButton">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionButton.CloseMode"
|
||||
parent="Widget.AppCompat.Base.ActionButton">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionButton.CloseMode"
|
||||
parent="Widget.AppCompat.Light.Base.ActionButton">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionButton.Overflow"
|
||||
parent="Widget.AppCompat.Base.ActionButton">
|
||||
<item name="android:src">@drawable/abc_ic_menu_moreoverflow_normal_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionButton.Overflow"
|
||||
parent="Widget.AppCompat.Light.Base.ActionButton">
|
||||
<item name="android:src">@drawable/abc_ic_menu_moreoverflow_normal_holo_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionBar.TabBar" parent="">
|
||||
<item name="divider">?attr/actionBarDivider</item>
|
||||
<item name="showDividers">middle</item>
|
||||
<item name="dividerPadding">12dip</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.TabBar"
|
||||
parent="Widget.AppCompat.Base.ActionBar.TabBar">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.TabBar.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabBar">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionBar.TabView" parent="">
|
||||
<item name="android:background">@drawable/abc_tab_indicator_ab_holo</item>
|
||||
<item name="android:gravity">center_horizontal</item>
|
||||
<item name="android:paddingLeft">16dip</item>
|
||||
<item name="android:paddingRight">16dip</item>
|
||||
<item name="android:minWidth">80dip</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.TabView"
|
||||
parent="Widget.AppCompat.Base.ActionBar.TabView">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.TabView.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabView">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionBar.TabText" parent="">
|
||||
<item name="android:textAppearance">@null</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item>
|
||||
<item name="android:textSize">12sp</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:ellipsize">marquee</item>
|
||||
<item name="android:maxLines">2</item>
|
||||
<item name="textAllCaps">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.TabText"
|
||||
parent="Widget.AppCompat.Base.ActionBar.TabText">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionBar.TabText.Inverse"
|
||||
parent="Widget.AppCompat.Light.Base.ActionBar.TabText">
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryInverseDisableOnly</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActionMode" parent="">
|
||||
<item name="background">?attr/actionModeBackground</item>
|
||||
<item name="backgroundSplit">?attr/actionModeSplitBackground</item>
|
||||
<item name="height">?attr/actionBarSize</item>
|
||||
<item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Title</item>
|
||||
<item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle
|
||||
</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActionMode.Inverse"
|
||||
parent="Widget.AppCompat.Base.ActionMode">
|
||||
<item name="titleTextStyle">
|
||||
@style/TextAppearance.AppCompat.Widget.ActionMode.Title.Inverse
|
||||
</item>
|
||||
<item name="subtitleTextStyle">
|
||||
@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle.Inverse
|
||||
</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionMode.Title"
|
||||
parent="android:TextAppearance.Medium">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionMode.Subtitle"
|
||||
parent="android:TextAppearance.Small">
|
||||
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionMode.Title.Inverse"
|
||||
parent="android:TextAppearance.Medium.Inverse">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionMode.Subtitle.Inverse"
|
||||
parent="android:TextAppearance.Small.Inverse">
|
||||
<item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionBar.Menu"
|
||||
parent="android:TextAppearance.Small">
|
||||
<item name="android:textSize">12sp</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">?attr/actionMenuTextColor</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionBar.Title"
|
||||
parent="android:TextAppearance.Medium">
|
||||
<item name="android:textSize">@dimen/abc_action_bar_title_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionBar.Subtitle"
|
||||
parent="android:TextAppearance.Small">
|
||||
<item name="android:textSize">@dimen/abc_action_bar_subtitle_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionBar.Title.Inverse"
|
||||
parent="android:TextAppearance.Medium.Inverse">
|
||||
<item name="android:textSize">@dimen/abc_action_bar_title_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.ActionBar.Subtitle.Inverse"
|
||||
parent="android:TextAppearance.Small.Inverse">
|
||||
<item name="android:textSize">@dimen/abc_action_bar_subtitle_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ProgressBar.Horizontal"
|
||||
parent="android:Widget.ProgressBar.Horizontal">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ProgressBar" parent="android:Widget.ProgressBar">
|
||||
<item name="android:minWidth">@dimen/abc_action_bar_progress_bar_size</item>
|
||||
<item name="android:maxWidth">@dimen/abc_action_bar_progress_bar_size</item>
|
||||
<item name="android:minHeight">@dimen/abc_action_bar_progress_bar_size</item>
|
||||
<item name="android:maxHeight">@dimen/abc_action_bar_progress_bar_size</item>
|
||||
</style>
|
||||
|
||||
<!-- Action Bar Spinner Widgets -->
|
||||
|
||||
<style name="Widget.AppCompat.Base.Spinner" parent="">
|
||||
<item name="spinnerMode">dropdown</item>
|
||||
<item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_dark</item>
|
||||
<item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item>
|
||||
<item name="android:dropDownVerticalOffset">0dip</item>
|
||||
<item name="android:dropDownHorizontalOffset">0dip</item>
|
||||
<item name="android:dropDownWidth">wrap_content</item>
|
||||
<item name="android:gravity">left|center_vertical</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:background">@drawable/abc_spinner_ab_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.Spinner" parent="Widget.AppCompat.Base.Spinner">
|
||||
<item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item>
|
||||
<item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_light</item>
|
||||
<item name="android:background">@drawable/abc_spinner_ab_holo_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.DropDownItem.Spinner" parent="">
|
||||
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.DropDownItem
|
||||
</item>
|
||||
<item name="android:paddingLeft">8dp</item>
|
||||
<item name="android:paddingRight">8dp</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.DropDownItem.Spinner"
|
||||
parent="Widget.AppCompat.Base.DropDownItem.Spinner">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ListView.DropDown" parent="android:Widget.ListView">
|
||||
<item name="android:listSelector">@drawable/abc_list_selector_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ListView.DropDown"
|
||||
parent="android:Widget.ListView">
|
||||
<item name="android:listSelector">@drawable/abc_list_selector_holo_light</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Widget.Base.DropDownItem"
|
||||
parent="android:TextAppearance.Small">
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.AppCompat.Base.ExpandedMenu.Item"
|
||||
parent="android:TextAppearance.Medium">
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item>
|
||||
</style>
|
||||
|
||||
<!-- Mimic text appearance in select_dialog_item.xml -->
|
||||
<style name="TextAppearance.AppCompat.Base.CompactMenu.Dialog"
|
||||
parent="android:TextAppearance.Medium">
|
||||
<item name="android:textColor">@android:color/primary_text_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ListView.Menu" parent="android:Widget.ListView.Menu">
|
||||
<item name="android:listSelector">?attr/listChoiceBackgroundIndicator</item>
|
||||
<item name="android:divider">?attr/dividerHorizontal</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ListPopupWindow" parent="">
|
||||
<item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item>
|
||||
<item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_dark</item>
|
||||
<item name="android:dropDownVerticalOffset">0dip</item>
|
||||
<item name="android:dropDownHorizontalOffset">0dip</item>
|
||||
<item name="android:dropDownWidth">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ListPopupWindow" parent="">
|
||||
<item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item>
|
||||
<item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_light</item>
|
||||
<item name="android:dropDownVerticalOffset">0dip</item>
|
||||
<item name="android:dropDownHorizontalOffset">0dip</item>
|
||||
<item name="android:dropDownWidth">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.PopupMenu"
|
||||
parent="@style/Widget.AppCompat.Base.ListPopupWindow">
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.PopupMenu"
|
||||
parent="@style/Widget.AppCompat.Light.Base.ListPopupWindow">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Base.Widget.PopupMenu.Large"
|
||||
parent="android:TextAppearance.Widget">
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Base.Widget.PopupMenu.Small"
|
||||
parent="android:TextAppearance.Widget">
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.Base.Widget.PopupMenu.Large"
|
||||
parent="TextAppearance.AppCompat.Base.Widget.PopupMenu.Large">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.Base.Widget.PopupMenu.Small"
|
||||
parent="TextAppearance.AppCompat.Base.Widget.PopupMenu.Small">
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Base.SearchResult" parent="">
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">?android:textColorPrimary</item>
|
||||
<item name="android:textColorHint">?android:textColorHint</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Base.SearchResult.Title">
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Base.SearchResult.Subtitle">
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textColor">?android:textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.Base.SearchResult"
|
||||
parent="TextAppearance.AppCompat.Base.SearchResult">
|
||||
<item name="android:textColor">?android:textColorPrimary</item>
|
||||
<item name="android:textColorHint">?android:textColorHint</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.Base.SearchResult.Title">
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.AppCompat.Light.Base.SearchResult.Subtitle">
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textColor">?android:textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.AutoCompleteTextView"
|
||||
parent="android:Widget.AutoCompleteTextView">
|
||||
<item name="android:textColor">?attr/actionMenuTextColor</item>
|
||||
<item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item>
|
||||
<item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.AutoCompleteTextView"
|
||||
parent="android:Widget.AutoCompleteTextView">
|
||||
<item name="android:textColor">?attr/actionMenuTextColor</item>
|
||||
<item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item>
|
||||
<item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Base.ActivityChooserView" parent="">
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:background">@drawable/abc_ab_share_pack_holo_dark</item>
|
||||
<item name="divider">?attr/dividerVertical</item>
|
||||
<item name="showDividers">middle</item>
|
||||
<item name="dividerPadding">6dip</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.AppCompat.Light.Base.ActivityChooserView"
|
||||
parent="Widget.AppCompat.Base.ActivityChooserView">
|
||||
<item name="android:background">@drawable/abc_ab_share_pack_holo_light</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
193
appcompat_v7/res/values/themes.xml
Normal file
193
appcompat_v7/res/values/themes.xml
Normal file
@ -0,0 +1,193 @@
|
||||
<?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.AppCompat" family will contain an action bar by default.
|
||||
If Holo themes are available on the current platform version they will be used.
|
||||
A limited Holo-styled action bar will be provided on platform versions older
|
||||
than 3.0. (API 11)
|
||||
|
||||
These theme declarations contain any version-independent specification. Items
|
||||
that need to vary based on platform version should be defined in the corresponding
|
||||
"Theme.Base" theme. -->
|
||||
|
||||
<!-- Platform-independent theme providing an action bar in a dark-themed activity. -->
|
||||
<style name="Theme.AppCompat" parent="Theme.Base.AppCompat">
|
||||
<item name="isLightTheme">false</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>
|
||||
<item name="searchResultListItemHeight">58dip</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="searchDropdownBackground">@drawable/abc_search_dropdown_dark</item>
|
||||
<item name="searchViewTextField">@drawable/abc_textfield_searchview_holo_dark</item>
|
||||
<item name="searchViewTextFieldRight">@drawable/abc_textfield_searchview_right_holo_dark
|
||||
</item>
|
||||
<item name="searchViewCloseIcon">@drawable/abc_ic_clear</item>
|
||||
<item name="searchViewSearchIcon">@drawable/abc_ic_search</item>
|
||||
<item name="searchViewGoIcon">@drawable/abc_ic_go</item>
|
||||
<item name="searchViewVoiceIcon">@drawable/abc_ic_voice_search</item>
|
||||
<item name="searchViewEditQuery">@drawable/abc_ic_commit_search_api_holo_dark</item>
|
||||
<item name="searchViewEditQueryBackground">?attr/selectableItemBackground</item>
|
||||
<item name="searchViewAutoCompleteTextView">
|
||||
@style/Widget.AppCompat.AutoCompleteTextView</item>
|
||||
<item name="textColorSearchUrl">@color/abc_search_url_text_holo</item>
|
||||
<item name="textAppearanceSearchResultTitle">
|
||||
@style/TextAppearance.AppCompat.SearchResult.Title
|
||||
</item>
|
||||
<item name="textAppearanceSearchResultSubtitle">
|
||||
@style/TextAppearance.AppCompat.SearchResult.Subtitle
|
||||
</item>
|
||||
|
||||
<item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_holo_dark</item>
|
||||
|
||||
<!-- ShareActionProvider attributes -->
|
||||
<item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item>
|
||||
|
||||
</style>
|
||||
|
||||
<!-- Platform-independent theme providing an action bar in a light-themed activity. -->
|
||||
<style name="Theme.AppCompat.Light" parent="Theme.Base.AppCompat.Light">
|
||||
<item name="isLightTheme">true</item>
|
||||
|
||||
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
|
||||
<item name="spinnerDropDownItemStyle">
|
||||
@style/Widget.AppCompat.Light.DropDownItem.Spinner
|
||||
</item>
|
||||
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
|
||||
<item name="searchResultListItemHeight">58dip</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.Light.ListPopupWindow</item>
|
||||
<item name="dropDownListViewStyle">@style/Widget.AppCompat.Light.ListView.DropDown</item>
|
||||
|
||||
<!-- SearchView attributes -->
|
||||
<item name="searchDropdownBackground">@drawable/abc_search_dropdown_light</item>
|
||||
<item name="searchViewTextField">@drawable/abc_textfield_searchview_holo_light</item>
|
||||
<item name="searchViewTextFieldRight">@drawable/abc_textfield_searchview_right_holo_light
|
||||
</item>
|
||||
<item name="searchViewCloseIcon">@drawable/abc_ic_clear_holo_light</item>
|
||||
<item name="searchViewSearchIcon">@drawable/abc_ic_search_api_holo_light</item>
|
||||
<item name="searchViewGoIcon">@drawable/abc_ic_go_search_api_holo_light</item>
|
||||
<item name="searchViewVoiceIcon">@drawable/abc_ic_voice_search_api_holo_light</item>
|
||||
<item name="searchViewEditQuery">@drawable/abc_ic_commit_search_api_holo_light</item>
|
||||
<item name="searchViewEditQueryBackground">?attr/selectableItemBackground</item>
|
||||
<item name="searchViewAutoCompleteTextView">
|
||||
@style/Widget.AppCompat.Light.AutoCompleteTextView</item>
|
||||
<item name="textColorSearchUrl">@color/abc_search_url_text_holo</item>
|
||||
<item name="textAppearanceSearchResultTitle">
|
||||
@style/TextAppearance.AppCompat.Light.SearchResult.Title
|
||||
</item>
|
||||
<item name="textAppearanceSearchResultSubtitle">
|
||||
@style/TextAppearance.AppCompat.Light.SearchResult.Subtitle
|
||||
</item>
|
||||
|
||||
<item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_holo_light</item>
|
||||
|
||||
<!-- ShareActionProvider attributes -->
|
||||
<item name="activityChooserViewStyle">@style/Widget.AppCompat.Light.ActivityChooserView
|
||||
</item>
|
||||
|
||||
</style>
|
||||
|
||||
<!-- Platform-independent theme providing an action bar in a dark-themed activity. -->
|
||||
<style name="Theme.AppCompat.Light.DarkActionBar"
|
||||
parent="Theme.Base.AppCompat.Light.DarkActionBar">
|
||||
<item name="isLightTheme">true</item>
|
||||
|
||||
<!-- Required for use of support_simple_spinner_dropdown_item.xml -->
|
||||
<item name="spinnerDropDownItemStyle">
|
||||
@style/Widget.AppCompat.Light.DropDownItem.Spinner
|
||||
</item>
|
||||
<item name="dropdownListPreferredItemHeight">?attr/listPreferredItemHeightSmall</item>
|
||||
<item name="searchResultListItemHeight">58dip</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="searchDropdownBackground">@drawable/abc_search_dropdown_dark</item>
|
||||
<item name="searchViewTextField">@drawable/abc_textfield_searchview_holo_dark</item>
|
||||
<item name="searchViewTextFieldRight">@drawable/abc_textfield_searchview_right_holo_dark
|
||||
</item>
|
||||
<item name="searchViewCloseIcon">@drawable/abc_ic_clear</item>
|
||||
<item name="searchViewSearchIcon">@drawable/abc_ic_search</item>
|
||||
<item name="searchViewGoIcon">@drawable/abc_ic_go</item>
|
||||
<item name="searchViewVoiceIcon">@drawable/abc_ic_voice_search</item>
|
||||
<item name="searchViewEditQuery">@drawable/abc_ic_commit_search_api_holo_dark</item>
|
||||
<item name="searchViewEditQueryBackground">?attr/selectableItemBackground</item>
|
||||
<item name="searchViewAutoCompleteTextView">
|
||||
@style/Widget.AppCompat.AutoCompleteTextView</item>
|
||||
<item name="textColorSearchUrl">@color/abc_search_url_text_holo</item>
|
||||
<item name="textAppearanceSearchResultTitle">
|
||||
@style/TextAppearance.AppCompat.SearchResult.Title
|
||||
</item>
|
||||
<item name="textAppearanceSearchResultSubtitle">
|
||||
@style/TextAppearance.AppCompat.SearchResult.Subtitle
|
||||
</item>
|
||||
|
||||
<item name="actionModeShareDrawable">@drawable/abc_ic_menu_share_holo_dark</item>
|
||||
|
||||
<!-- ShareActionProvider attributes -->
|
||||
<item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView
|
||||
</item>
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<!-- Menu/item attributes -->
|
||||
<style name="Theme.AppCompat.CompactMenu" parent="Theme.AppCompat.Base.CompactMenu">
|
||||
</style>
|
||||
|
||||
<style name="Theme.AppCompat.CompactMenu.Dialog"
|
||||
parent="Theme.AppCompat.Base.CompactMenu.Dialog">
|
||||
</style>
|
||||
|
||||
</resources>
|
201
appcompat_v7/res/values/themes_base.xml
Normal file
201
appcompat_v7/res/values/themes_base.xml
Normal file
@ -0,0 +1,201 @@
|
||||
<?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>
|
Reference in New Issue
Block a user