OsmAnd/eclipse-compile/appcompat/res/values/attrs.xml
2015-11-26 12:27:16 +02:00

962 lines
48 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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/>
<attr name="title" format="string"/>
<attr name="height" format="dimension"/>
<!-- Specifies whether the theme is light, otherwise it is dark. -->
<attr name="isLightTheme" format="boolean" />
<!-- These are the standard attributes that make up a complete theme. -->
<declare-styleable name="Theme">
<!-- ============= -->
<!-- Window styles -->
<!-- ============= -->
<eat-comment />
<!-- Flag indicating whether this window should have an Action Bar
in place of the usual title bar. -->
<attr name="windowActionBar" format="boolean" />
<!-- Flag indicating whether there should be no title on this window. -->
<attr name="windowNoTitle" format="boolean" />
<!-- Flag indicating whether this window's Action Bar should overlay
application content. Does nothing if the window would not
have an Action Bar. -->
<attr name="windowActionBarOverlay" format="boolean" />
<!-- Flag indicating whether action modes should overlay window content
when there is not reserved space for their UI (such as an Action Bar). -->
<attr name="windowActionModeOverlay" format="boolean" />
<!-- A fixed width for the window along the major axis of the screen,
that is, when in landscape. Can be either an absolute dimension
or a fraction of the screen size in that dimension. -->
<attr name="windowFixedWidthMajor" format="dimension|fraction" />
<!-- A fixed height for the window along the minor axis of the screen,
that is, when in landscape. Can be either an absolute dimension
or a fraction of the screen size in that dimension. -->
<attr name="windowFixedHeightMinor" format="dimension|fraction" />
<!-- A fixed width for the window along the minor axis of the screen,
that is, when in portrait. Can be either an absolute dimension
or a fraction of the screen size in that dimension. -->
<attr name="windowFixedWidthMinor" format="dimension|fraction" />
<!-- A fixed height for the window along the major axis of the screen,
that is, when in portrait. Can be either an absolute dimension
or a fraction of the screen size in that dimension. -->
<attr name="windowFixedHeightMajor" format="dimension|fraction" />
<!-- The minimum width the window is allowed to be, along the major
axis of the screen. That is, when in landscape. Can be either
an absolute dimension or a fraction of the screen size in that
dimension. -->
<attr name="windowMinWidthMajor" format="dimension|fraction" />
<!-- The minimum width the window is allowed to be, along the minor
axis of the screen. That is, when in portrait. Can be either
an absolute dimension or a fraction of the screen size in that
dimension. -->
<attr name="windowMinWidthMinor" format="dimension|fraction" />
<attr name="android:windowIsFloating" />
<attr name="android:windowAnimationStyle" />
<!-- =================== -->
<!-- Action bar styles -->
<!-- =================== -->
<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" />
<attr name="actionOverflowMenuStyle" format="reference" />
<!-- Reference to a theme that should be used to inflate popups
shown by widgets in the action bar. -->
<attr name="actionBarPopupTheme" format="reference" />
<!-- Reference to a style for the Action Bar -->
<attr name="actionBarStyle" format="reference" />
<!-- Reference to a style for the split Action Bar. This style
controls the split component that holds the menu/action
buttons. actionBarStyle is still used for the primary
bar. -->
<attr name="actionBarSplitStyle" format="reference" />
<!-- Reference to a theme that should be used to inflate the
action bar. This will be inherited by any widget inflated
into the action bar. -->
<attr name="actionBarTheme" 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" >
<enum name="wrap_content" value="0" />
</attr>
<!-- 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. -->
<!-- Color for text that appears within action menu items. -->
<attr name="actionMenuTextColor" format="color|reference"/>
<!-- =================== -->
<!-- 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"/>
<!-- =================== -->
<!-- Text styles -->
<!-- =================== -->
<eat-comment />
<!-- 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"/>
<!-- =================== -->
<!-- Dialog styles -->
<!-- =================== -->
<eat-comment />
<!-- Theme to use for dialogs spawned from this theme. -->
<attr name="dialogTheme" format="reference" />
<!-- Preferred padding for dialog content. -->
<attr name="dialogPreferredPadding" format="dimension" />
<!-- The list divider used in alert dialogs. -->
<attr name="listDividerAlertDialog" format="reference" />
<!-- =================== -->
<!-- Other widget styles -->
<!-- =================== -->
<eat-comment />
<!-- Default ActionBar dropdown style. -->
<attr name="actionDropDownStyle" format="reference"/>
<!-- The preferred item height for dropdown lists. -->
<attr name="dropdownListPreferredItemHeight" format="dimension"/>
<!-- Default Spinner style. -->
<attr name="spinnerDropDownItemStyle" format="reference" />
<!-- Specifies a drawable to use for the 'home as up' indicator. -->
<attr name="homeAsUpIndicator" format="reference"/>
<!-- Default action button style. -->
<attr name="actionButtonStyle" format="reference"/>
<!-- Style for button bars -->
<attr name="buttonBarStyle" format="reference"/>
<!-- Style for buttons within button bars -->
<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"/>
<!-- Background drawable for borderless standalone items that need focus/pressed states. -->
<attr name="selectableItemBackgroundBorderless" format="reference" />
<!-- Style for buttons without an explicit border, often used in groups. -->
<attr name="borderlessButtonStyle" 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"/>
<!-- Default ActivityChooserView style. -->
<attr name="activityChooserViewStyle" format="reference" />
<!-- Default Toolbar style. -->
<attr name="toolbarStyle" format="reference" />
<!-- Default Toolar NavigationButtonStyle -->
<attr name="toolbarNavigationButtonStyle" format="reference" />
<!-- Default PopupMenu style. -->
<attr name="popupMenuStyle" format="reference"/>
<!-- Default PopupWindow style. -->
<attr name="popupWindowStyle" format="reference" />
<!-- EditText text foreground color. -->
<attr name="editTextColor" format="reference|color" />
<!-- EditText background drawable. -->
<attr name="editTextBackground" format="reference" />
<!-- ImageButton background drawable. -->
<attr name="imageButtonStyle" format="reference" />
<!-- ============================ -->
<!-- SearchView styles and assets -->
<!-- ============================ -->
<eat-comment />
<!-- 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" />
<!-- Style for the search query widget. -->
<attr name="searchViewStyle" format="reference" />
<!-- =========== -->
<!-- List styles -->
<!-- =========== -->
<eat-comment />
<!-- 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 compatibility -->
<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"/>
<!-- ============ -->
<!-- Panel styles -->
<!-- ============ -->
<eat-comment />
<!-- The background of a panel when it is inset from the left and right edges of the screen. -->
<attr name="panelBackground" format="reference" />
<!-- 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" />
<!-- ============= -->
<!-- Color palette -->
<!-- ============= -->
<eat-comment />
<!-- The primary branding color for the app. By default, this is the color applied to the
action bar background. -->
<attr name="colorPrimary" format="color" />
<!-- Dark variant of the primary branding color. By default, this is the color applied to
the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
<attr name="colorPrimaryDark" format="color" />
<!-- Bright complement to the primary branding color. By default, this is the color applied
to framework controls (via colorControlActivated). -->
<attr name="colorAccent" format="color" />
<!-- The color applied to framework controls in their normal state. -->
<attr name="colorControlNormal" format="color" />
<!-- The color applied to framework controls in their activated (ex. checked) state. -->
<attr name="colorControlActivated" format="color" />
<!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
<attr name="colorControlHighlight" format="color" />
<!-- The color applied to framework buttons in their normal state. -->
<attr name="colorButtonNormal" format="color" />
<!-- The color applied to framework switch thumbs in their normal state. -->
<attr name="colorSwitchThumbNormal" format="color" />
<!-- The background used by framework controls. -->
<attr name="controlBackground" format="reference" />
<!-- ============ -->
<!-- Alert Dialog styles -->
<!-- ============ -->
<eat-comment />
<attr name="alertDialogStyle" format="reference" />
<attr name="alertDialogButtonGroupStyle" format="reference" />
<attr name="alertDialogCenterButtons" format="boolean" />
<!-- Theme to use for alert dialogs spawned from this theme. -->
<attr name="alertDialogTheme" format="reference" />
<!-- Color of list item text in alert dialogs. -->
<attr name="textColorAlertDialogListItem" format="reference|color" />
<!-- Style for the "positive" buttons within button bars -->
<attr name="buttonBarPositiveButtonStyle" format="reference" />
<!-- Style for the "negative" buttons within button bars -->
<attr name="buttonBarNegativeButtonStyle" format="reference" />
<!-- Style for the "neutral" buttons within button bars -->
<attr name="buttonBarNeutralButtonStyle" format="reference" />
<!-- ===================== -->
<!-- Default widget styles -->
<!-- ===================== -->
<eat-comment />
<!-- Default AutoCompleteTextView style. -->
<attr name="autoCompleteTextViewStyle" format="reference" />
<!-- Normal Button style. -->
<attr name="buttonStyle" format="reference" />
<!-- Small Button style. -->
<attr name="buttonStyleSmall" format="reference" />
<!-- Default Checkbox style. -->
<attr name="checkboxStyle" format="reference" />
<!-- Default CheckedTextView style. -->
<attr name="checkedTextViewStyle" format="reference" />
<!-- Default EditText style. -->
<attr name="editTextStyle" format="reference" />
<!-- Default RadioButton style. -->
<attr name="radioButtonStyle" format="reference" />
<!-- Default RatingBar style. -->
<attr name="ratingBarStyle" format="reference" />
<!-- Default SeekBar style. -->
<attr name="seekBarStyle" format="reference" />
<!-- Default Spinner style. -->
<attr name="spinnerStyle" format="reference" />
<!-- Default style for the Switch widget. -->
<attr name="switchStyle" format="reference" />
</declare-styleable>
<!-- ============================================ -->
<!-- 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="none" value="0" />
<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"/>
<!-- Up navigation glyph -->
<attr name="homeAsUpIndicator" />
<!-- Specifies padding that should be applied to the left and right sides of
system-provided items in the bar. -->
<attr name="itemPadding" format="dimension"/>
<!-- Set true to hide the action bar on a vertical nested scroll of content. -->
<attr name="hideOnContentScroll" format="boolean"/>
<!-- Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations. -->
<attr name="contentInsetStart" format="dimension"/>
<!-- Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations. -->
<attr name="contentInsetEnd" format="dimension"/>
<!-- Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations. -->
<attr name="contentInsetLeft" format="dimension"/>
<!-- Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations. -->
<attr name="contentInsetRight" format="dimension"/>
<!-- Elevation for the action bar itself -->
<attr name="elevation" format="dimension" />
<!-- Reference to a theme that should be used to inflate popups
shown by widgets in the action bar. -->
<attr name="popupTheme" format="reference" />
</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"/>
<!-- Specifies a layout to use for the "close" item at the starting edge. -->
<attr name="closeItemLayout" format="reference" />
</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" />
<!-- Deprecated. -->
<attr name="theme" format="reference" />
<!-- Specifies a theme override for a view. When a theme override is set, the
view will be inflated using a {@link android.content.Context} themed with
the specified resource. -->
<attr name="android:theme" />
</declare-styleable>
<declare-styleable name="ViewBackgroundHelper">
<attr name="android:background" />
<!-- Tint to apply to the background. -->
<attr name="backgroundTint" format="color" />
<!-- Blending mode used to apply the background tint. -->
<attr name="backgroundTintMode">
<!-- The tint is drawn on top of the drawable.
[Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
<enum name="src_over" value="3" />
<!-- The tint is masked by the alpha channel of the drawable. The drawables
color channels are thrown out. [Sa * Da, Sc * Da] -->
<enum name="src_in" value="5" />
<!-- The tint is drawn above the drawable, but with the drawables alpha
channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
<enum name="src_atop" value="9" />
<!-- Multiplies the color and alpha channels of the drawable with those of
the tint. [Sa * Da, Sc * Dc] -->
<enum name="multiply" value="14" />
<!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
<enum name="screen" value="15" />
</attr>
</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="preserveIconSpacing" format="boolean" />
</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="android:prompt" />
<!-- Theme to use for the drop-down or dialog popup window. -->
<attr name="popupTheme" />
<!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
<attr name="android:popupBackground" />
<!-- Width of the dropdown in spinnerMode="dropdown". -->
<attr name="android:dropDownWidth" />
</declare-styleable>
<declare-styleable name="SearchView">
<!-- The layout to use for the search view. -->
<attr name="layout" format="reference" />
<!-- 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 user-defined query hint string to be displayed in the empty query field. -->
<attr name="queryHint" format="string" />
<!-- Default query hint used when {@code queryHint} is undefined and
the search view's {@code SearchableInfo} does not provide a hint. -->
<attr name="defaultQueryHint" 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" />
<!-- Close button icon -->
<attr name="closeIcon" format="reference" />
<!-- Go button icon -->
<attr name="goIcon" format="reference" />
<!-- Search icon -->
<attr name="searchIcon" format="reference" />
<!-- Search icon displayed as a text field hint -->
<attr name="searchHintIcon" format="reference" />
<!-- Voice button icon -->
<attr name="voiceIcon" format="reference" />
<!-- Commit icon shown in the query suggestion row -->
<attr name="commitIcon" format="reference" />
<!-- Layout for query suggestion rows -->
<attr name="suggestionRowLayout" format="reference" />
<!-- Background for the section containing the search query -->
<attr name="queryBackground" format="reference" />
<!-- Background for the section containing the action (e.g. voice search) -->
<attr name="submitBackground" format="reference" />
<attr name="android:focusable" />
</declare-styleable>
<!-- 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>
<declare-styleable name="AppCompatTextView">
<!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
<attr name="textAllCaps" format="reference|boolean" />
<attr name="android:textAppearance" />
</declare-styleable>
<declare-styleable name="LinearLayoutCompat">
<!-- Should the layout be a column or a row? Use "horizontal"
for a row, "vertical" for a column. The default is
horizontal. -->
<attr name="android:orientation" />
<attr name="android:gravity" />
<!-- When set to false, prevents the layout from aligning its children's
baselines. This attribute is particularly useful when the children
use different values for gravity. The default value is true. -->
<attr name="android:baselineAligned" />
<!-- When a linear layout is part of another layout that is baseline
aligned, it can specify which of its children to baseline align to
(that is, which child TextView).-->
<attr name="android:baselineAlignedChildIndex" />
<!-- Defines the maximum weight sum. If unspecified, the sum is computed
by adding the layout_weight of all of the children. This can be
used for instance to give a single child 50% of the total available
space by giving it a layout_weight of 0.5 and setting the weightSum
to 1.0. -->
<attr name="android:weightSum" />
<!-- When set to true, all children with a weight will be considered having
the minimum size of the largest child. If false, all children are
measured normally. -->
<attr name="measureWithLargestChild" format="boolean" />
<!-- 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>
<declare-styleable name="LinearLayoutCompat_Layout">
<attr name="android:layout_width" />
<attr name="android:layout_height" />
<attr name="android:layout_weight" />
<attr name="android:layout_gravity" />
</declare-styleable>
<declare-styleable name="Toolbar">
<attr name="titleTextAppearance" format="reference" />
<attr name="subtitleTextAppearance" format="reference" />
<attr name="title" />
<attr name="subtitle" />
<attr name="android:gravity" />
<attr name="titleMargins" format="dimension" />
<attr name="titleMarginStart" format="dimension" />
<attr name="titleMarginEnd" format="dimension" />
<attr name="titleMarginTop" format="dimension" />
<attr name="titleMarginBottom" format="dimension" />
<attr name="contentInsetStart" />
<attr name="contentInsetEnd" />
<attr name="contentInsetLeft" />
<attr name="contentInsetRight" />
<attr name="maxButtonHeight" format="dimension" />
<attr name="collapseIcon" format="reference" />
<!-- Text to set as the content description for the collapse button. -->
<attr name="collapseContentDescription" format="string" />
<!-- Reference to a theme that should be used to inflate popups
shown by widgets in the toolbar. -->
<attr name="popupTheme" />
<!-- Icon drawable to use for the navigation button located at
the start of the toolbar. -->
<attr name="navigationIcon" format="reference" />
<!-- Text to set as the content description for the navigation button
located at the start of the toolbar. -->
<attr name="navigationContentDescription" format="string" />
<!-- Allows us to read in the minHeight attr pre-v16 -->
<attr name="android:minHeight" />
<!-- Drawable to set as the logo that appears at the starting side of
the Toolbar, just after the navigation button. -->
<attr name="logo" />
<!-- A content description string to describe the appearance of the
associated logo image. -->
<attr name="logoDescription" format="string" />
<!-- A color to apply to the title string. -->
<attr name="titleTextColor" format="color" />
<!-- A color to apply to the subtitle string. -->
<attr name="subtitleTextColor" format="color" />
</declare-styleable>
<declare-styleable name="PopupWindowBackgroundState">
<!-- State identifier indicating the popup will be above the anchor. -->
<attr name="state_above_anchor" format="boolean" />
</declare-styleable>
<declare-styleable name="ListPopupWindow">
<!-- Amount of pixels by which the drop down should be offset vertically. -->
<attr name="android:dropDownVerticalOffset" />
<!-- Amount of pixels by which the drop down should be offset horizontally. -->
<attr name="android:dropDownHorizontalOffset" />
</declare-styleable>
<declare-styleable name="PopupWindow">
<!-- Whether the popup window should overlap its anchor view. -->
<attr name="overlapAnchor" format="boolean" />
<attr name="android:popupBackground" />
</declare-styleable>
<declare-styleable name="DrawerArrowToggle">
<!-- The drawing color for the bars -->
<attr name="color" format="color"/>
<!-- Whether bars should rotate or not during transition -->
<attr name="spinBars" format="boolean"/>
<!-- The total size of the drawable -->
<attr name="drawableSize" format="dimension"/>
<!-- The max gap between the bars when they are parallel to each other -->
<attr name="gapBetweenBars" format="dimension"/>
<!-- The length of the arrow head when formed to make an arrow -->
<attr name="arrowHeadLength" format="dimension"/>
<!-- The length of the shaft when formed to make an arrow -->
<attr name="arrowShaftLength" format="dimension"/>
<!-- The length of the bars when they are parallel to each other -->
<attr name="barLength" format="dimension"/>
<!-- The thickness (stroke size) for the bar paint -->
<attr name="thickness" format="dimension"/>
</declare-styleable>
<attr name="drawerArrowStyle" format="reference" />
<declare-styleable name="ViewStubCompat">
<!-- Supply an identifier for the layout resource to inflate when the ViewStub
becomes visible or when forced to do so. The layout resource must be a
valid reference to a layout. -->
<attr name="android:layout" />
<!-- Overrides the id of the inflated View with this value. -->
<attr name="android:inflatedId" />
<attr name="android:id" />
</declare-styleable>
<declare-styleable name="CompoundButton">
<attr name="android:button"/>
<!-- Tint to apply to the button drawable. -->
<attr name="buttonTint" format="color" />
<!-- Blending mode used to apply the button tint. -->
<attr name="buttonTintMode">
<!-- The tint is drawn on top of the drawable.
[Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
<enum name="src_over" value="3" />
<!-- The tint is masked by the alpha channel of the drawable. The drawables
color channels are thrown out. [Sa * Da, Sc * Da] -->
<enum name="src_in" value="5" />
<!-- The tint is drawn above the drawable, but with the drawables alpha
channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
<enum name="src_atop" value="9" />
<!-- Multiplies the color and alpha channels of the drawable with those of
the tint. [Sa * Da, Sc * Dc] -->
<enum name="multiply" value="14" />
<!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
<enum name="screen" value="15" />
</attr>
</declare-styleable>
<declare-styleable name="SwitchCompat">
<!-- Drawable to use as the "thumb" that switches back and forth. -->
<attr name="android:thumb" />
<!-- Drawable to use as the "track" that the switch thumb slides within. -->
<attr name="track" format="reference" />
<!-- Text to use when the switch is in the checked/"on" state. -->
<attr name="android:textOn" />
<!-- Text to use when the switch is in the unchecked/"off" state. -->
<attr name="android:textOff" />
<!-- Amount of padding on either side of text within the switch thumb. -->
<attr name="thumbTextPadding" format="dimension" />
<!-- TextAppearance style for text displayed on the switch thumb. -->
<attr name="switchTextAppearance" format="reference" />
<!-- Minimum width for the switch component -->
<attr name="switchMinWidth" format="dimension" />
<!-- Minimum space between the switch and caption text -->
<attr name="switchPadding" format="dimension" />
<!-- Whether to split the track and leave a gap for the thumb drawable. -->
<attr name="splitTrack" format="boolean" />
<!-- Whether to draw on/off text. -->
<attr name="showText" format="boolean" />
</declare-styleable>
<declare-styleable name="TextAppearance">
<attr name="android:textSize" />
<attr name="android:textColor" />
<attr name="android:textStyle" />
<attr name="android:typeface" />
<attr name="textAllCaps" />
<attr name="android:shadowColor"/>
<attr name="android:shadowDy"/>
<attr name="android:shadowDx"/>
<attr name="android:shadowRadius"/>
</declare-styleable>
<!-- The set of attributes that describe a AlertDialog's theme. -->
<declare-styleable name="AlertDialog">
<attr name="android:layout" />
<attr name="buttonPanelSideLayout" format="reference" />
<attr name="listLayout" format="reference" />
<attr name="multiChoiceItemLayout" format="reference" />
<attr name="singleChoiceItemLayout" format="reference" />
<attr name="listItemLayout" format="reference" />
</declare-styleable>
<!-- @hide -->
<declare-styleable name="ButtonBarLayout">
<!-- Whether to automatically stack the buttons when there is not
enough space to lay them out side-by-side. -->
<attr name="allowStacking" format="boolean" />
</declare-styleable>
</resources>