java.lang.Object | |
↳ | android.support.v7.appcompat.R.styleable |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ActionBarLayout_android_layout_gravity | This symbol is the offset where the |
|||||||||
int | ActionBarWindow_windowActionBar | This symbol is the offset where the |
|||||||||
int | ActionBarWindow_windowActionBarOverlay | This symbol is the offset where the |
|||||||||
int | ActionBarWindow_windowSplitActionBar | This symbol is the offset where the |
|||||||||
int | ActionBar_background | Specifies a background drawable for the action bar. |
|||||||||
int | ActionBar_backgroundSplit | Specifies a background drawable for the bottom component of a split action bar. |
|||||||||
int | ActionBar_backgroundStacked | Specifies a background drawable for a second stacked row of the action bar. |
|||||||||
int | ActionBar_customNavigationLayout | Specifies a layout for custom navigation. |
|||||||||
int | ActionBar_displayOptions | Options affecting how the action bar is displayed. |
|||||||||
int | ActionBar_divider | Specifies the drawable used for item dividers. |
|||||||||
int | ActionBar_height | Specifies a fixed height. |
|||||||||
int | ActionBar_homeLayout | Specifies a layout to use for the "home" section of the action bar. |
|||||||||
int | ActionBar_icon | Specifies the drawable used for the application icon. |
|||||||||
int | ActionBar_indeterminateProgressStyle | Specifies a style resource to use for an indeterminate progress spinner. |
|||||||||
int | ActionBar_itemPadding | Specifies padding that should be applied to the left and right sides of system-provided items in the bar. |
|||||||||
int | ActionBar_logo | Specifies the drawable used for the application logo. |
|||||||||
int | ActionBar_navigationMode | The type of navigation to use. |
|||||||||
int | ActionBar_progressBarPadding | Specifies the horizontal padding on either end for an embedded progress bar. |
|||||||||
int | ActionBar_progressBarStyle | Specifies a style resource to use for an embedded progress bar. |
|||||||||
int | ActionBar_subtitle | Specifies subtitle text used for navigationMode="normal" Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
|||||||||
int | ActionBar_subtitleTextStyle | Specifies a style to use for subtitle text. |
|||||||||
int | ActionBar_title | Specifies title text used for navigationMode="normal" Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
|||||||||
int | ActionBar_titleTextStyle | Specifies a style to use for title text. |
|||||||||
int | ActionMenuItemView_android_minWidth | This symbol is the offset where the |
|||||||||
int | ActionMode_background | Specifies a background for the action mode bar. |
|||||||||
int | ActionMode_backgroundSplit | Specifies a background for the split action mode bar. |
|||||||||
int | ActionMode_height | Specifies a fixed height for the action mode bar. |
|||||||||
int | ActionMode_subtitleTextStyle | Specifies a style to use for subtitle text. |
|||||||||
int | ActionMode_titleTextStyle | Specifies a style to use for title text. |
|||||||||
int | ActivityChooserView_expandActivityOverflowButtonDrawable | The drawable to show in the button for expanding the activities overflow popup. |
|||||||||
int | ActivityChooserView_initialActivityCount | The maximal number of items initially shown in the activity list. |
|||||||||
int | CompatTextView_textAllCaps | Present the text in ALL CAPS. |
|||||||||
int | LinearLayoutICS_divider | Drawable to use as a vertical divider between buttons. |
|||||||||
int | LinearLayoutICS_dividerPadding | Size of padding on either end of a divider. |
|||||||||
int | LinearLayoutICS_showDividers | Setting for which dividers to show. |
|||||||||
int | MenuGroup_android_checkableBehavior | Whether the items are capable of displaying a check mark. |
|||||||||
int | MenuGroup_android_enabled | Whether the items are enabled. |
|||||||||
int | MenuGroup_android_id | The ID of the group. |
|||||||||
int | MenuGroup_android_menuCategory | The category applied to all items within this group. |
|||||||||
int | MenuGroup_android_orderInCategory | The order within the category applied to all items within this group. |
|||||||||
int | MenuGroup_android_visible | Whether the items are shown/visible. |
|||||||||
int | MenuItem_actionLayout | An optional layout to be used as an action view. |
|||||||||
int | MenuItem_actionProviderClass | The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. |
|||||||||
int | MenuItem_actionViewClass | The name of an optional View class to instantiate and use as an action view. |
|||||||||
int | MenuItem_android_alphabeticShortcut | The alphabetic shortcut key. |
|||||||||
int | MenuItem_android_checkable | Whether the item is capable of displaying a check mark. |
|||||||||
int | MenuItem_android_checked | Whether the item is checked. |
|||||||||
int | MenuItem_android_enabled | Whether the item is enabled. |
|||||||||
int | MenuItem_android_icon | The icon associated with this item. |
|||||||||
int | MenuItem_android_id | The ID of the item. |
|||||||||
int | MenuItem_android_menuCategory | The category applied to the item. |
|||||||||
int | MenuItem_android_numericShortcut | The numeric shortcut key. |
|||||||||
int | MenuItem_android_onClick | Name of a method on the Context used to inflate the menu that will be called when the item is clicked. |
|||||||||
int | MenuItem_android_orderInCategory | The order within the category applied to the item. |
|||||||||
int | MenuItem_android_title | The title associated with the item. |
|||||||||
int | MenuItem_android_titleCondensed | The condensed title associated with the item. |
|||||||||
int | MenuItem_android_visible | Whether the item is shown/visible. |
|||||||||
int | MenuItem_showAsAction | How this item should display in the Action Bar, if present. |
|||||||||
int | MenuView_android_headerBackground | Default background for the menu header. |
|||||||||
int | MenuView_android_horizontalDivider | Default horizontal divider between rows of menu items. |
|||||||||
int | MenuView_android_itemBackground | Default background for each menu item. |
|||||||||
int | MenuView_android_itemIconDisabledAlpha | Default disabled icon alpha for each menu item that shows an icon. |
|||||||||
int | MenuView_android_itemTextAppearance | Default appearance of menu item text. |
|||||||||
int | MenuView_android_preserveIconSpacing | Whether space should be reserved in layout when an icon is missing. |
|||||||||
int | MenuView_android_verticalDivider | Default vertical divider between menu items. |
|||||||||
int | MenuView_android_windowAnimationStyle | Default animations for the menu. |
|||||||||
int | SearchView_android_imeOptions | The IME options to set on the query text field. |
|||||||||
int | SearchView_android_inputType | The input type to set on the query text field. |
|||||||||
int | SearchView_android_maxWidth | An optional maximum width of the SearchView. |
|||||||||
int | SearchView_iconifiedByDefault | The default state of the SearchView. |
|||||||||
int | SearchView_queryHint | An optional query hint string to be displayed in the empty query field. |
|||||||||
int | Spinner_android_dropDownHorizontalOffset | Horizontal offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown". |
|||||||||
int | Spinner_android_dropDownSelector | List selector to use for spinnerMode="dropdown" display. |
|||||||||
int | Spinner_android_dropDownVerticalOffset | Vertical offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown". |
|||||||||
int | Spinner_android_dropDownWidth | Width of the dropdown in spinnerMode="dropdown". |
|||||||||
int | Spinner_android_gravity | Gravity setting for positioning the currently selected item. |
|||||||||
int | Spinner_android_popupBackground | Background drawable to use for the dropdown in spinnerMode="dropdown". |
|||||||||
int | Spinner_disableChildrenWhenDisabled | Whether this spinner should mark child views as enabled/disabled when the spinner itself is enabled/disabled. |
|||||||||
int | Spinner_popupPromptView | Reference to a layout to use for displaying a prompt in the dropdown for spinnerMode="dropdown". |
|||||||||
int | Spinner_prompt | The prompt to display when the spinner's dialog is shown. |
|||||||||
int | Spinner_spinnerMode | Display mode for spinner options. |
|||||||||
int | Theme_actionDropDownStyle | Default ActionBar dropdown style. |
|||||||||
int | Theme_dropdownListPreferredItemHeight | The preferred item height for dropdown lists. |
|||||||||
int | Theme_listChoiceBackgroundIndicator | Drawable used as a background for selected list items. |
|||||||||
int | Theme_panelMenuListTheme | Default Panel Menu style. |
|||||||||
int | Theme_panelMenuListWidth | Default Panel Menu width. |
|||||||||
int | Theme_popupMenuStyle | Default PopupMenu style. |
|||||||||
int | View_android_focusable | Boolean that controls whether a view can take focus. |
|||||||||
int | View_paddingEnd | Sets the padding, in pixels, of the end edge; see |
|||||||||
int | View_paddingStart | Sets the padding, in pixels, of the start edge; see |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ActionBar | ============================================ Attributes used to style the Action Bar. | ||||||||||
ActionBarLayout | Valid LayoutParams for views placed in the action bar as custom views. | ||||||||||
ActionBarWindow | These attributes are meant to be specified and customized by the app. | ||||||||||
ActionMenuItemView | Attributes that can be used with a ActionMenuItemView. | ||||||||||
ActionMenuView | Size of padding on either end of a divider. | ||||||||||
ActionMode | Attributes that can be used with a ActionMode. | ||||||||||
ActivityChooserView | Attrbitutes for a ActivityChooserView. | ||||||||||
CompatTextView | Attributes that can be used with a CompatTextView. | ||||||||||
LinearLayoutICS | Attributes that can be used with a LinearLayoutICS. | ||||||||||
MenuGroup | Base attributes that are available to all groups. | ||||||||||
MenuItem | Base attributes that are available to all Item objects. | ||||||||||
MenuView | Attributes that can be used with a MenuView. | ||||||||||
SearchView | Attributes that can be used with a SearchView. | ||||||||||
Spinner | Attributes that can be used with a Spinner. | ||||||||||
Theme | These are the standard attributes that make up a complete theme. | ||||||||||
View | Attributes that can be used with a View. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This symbol is the offset where the layout_gravity
attribute's value can be found in the ActionBarLayout
array.
This symbol is the offset where the windowActionBar
attribute's value can be found in the ActionBarWindow
array.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This symbol is the offset where the windowActionBarOverlay
attribute's value can be found in the ActionBarWindow
array.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This symbol is the offset where the windowSplitActionBar
attribute's value can be found in the ActionBarWindow
array.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies a background drawable for the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies a background drawable for the bottom component of a split action bar.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Specifies a background drawable for a second stacked row of the action bar.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Specifies a layout for custom navigation. Overrides navigationMode.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Options affecting how the action bar is displayed.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
useLogo | 0x1 | |
showHome | 0x2 | |
homeAsUp | 0x4 | |
showTitle | 0x8 | |
showCustom | 0x10 | |
disableHome | 0x20 |
This is a private symbol.
Specifies the drawable used for item dividers.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies a fixed height.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Specifies a layout to use for the "home" section of the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies the drawable used for the application icon.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies a style resource to use for an indeterminate progress spinner.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies padding that should be applied to the left and right sides of system-provided items in the bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Specifies the drawable used for the application logo.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
The type of navigation to use.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
normal | 0 | Normal static title text |
listMode | 1 | The action bar will use a selection list for navigation. |
tabMode | 2 | The action bar will use a series of horizontal tabs for navigation. |
This is a private symbol.
Specifies the horizontal padding on either end for an embedded progress bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Specifies a style resource to use for an embedded progress bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies subtitle text used for navigationMode="normal"
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Specifies a style to use for subtitle text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies title text used for navigationMode="normal"
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Specifies a style to use for title text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
This symbol is the offset where the minWidth
attribute's value can be found in the ActionMenuItemView
array.
Specifies a background for the action mode bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies a background for the split action mode bar.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Specifies a fixed height for the action mode bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Specifies a style to use for subtitle text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Specifies a style to use for title text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
The drawable to show in the button for expanding the activities overflow popup. Note: 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.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
The maximal number of items initially shown in the activity list.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Present the text in ALL CAPS. This may use a small-caps form when available.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a boolean value, either "true
" or "false
".
This is a private symbol.
Drawable to use as a vertical divider between buttons.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Size of padding on either end of a divider.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Setting for which dividers to show.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | |
beginning | 1 | |
middle | 2 | |
end | 4 |
This is a private symbol.
Whether the items are capable of displaying a check mark.
This corresponds to the global attribute
resource symbol checkableBehavior
.
Whether the items are enabled.
This corresponds to the global attribute
resource symbol enabled
.
The ID of the group.
This corresponds to the global attribute
resource symbol id
.
The category applied to all items within this group. (This will be or'ed with the orderInCategory attribute.)
This corresponds to the global attribute
resource symbol menuCategory
.
The order within the category applied to all items within this group. (This will be or'ed with the category attribute.)
This corresponds to the global attribute
resource symbol orderInCategory
.
Whether the items are shown/visible.
This corresponds to the global attribute
resource symbol visible
.
An optional layout to be used as an action view.
See setActionView(android.view.View)
for more info.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
The name of an optional ActionProvider class to instantiate an action view
and perform operations such as default action for that menu item.
See setActionProvider(android.view.ActionProvider)
for more info.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
The name of an optional View class to instantiate and use as an
action view. See setActionView(android.view.View)
for more info.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
The alphabetic shortcut key. This is the shortcut when using a keyboard with alphabetic keys.
This corresponds to the global attribute
resource symbol alphabeticShortcut
.
Whether the item is capable of displaying a check mark.
This corresponds to the global attribute
resource symbol 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.
This corresponds to the global attribute
resource symbol checked
.
Whether the item is enabled.
This corresponds to the global attribute
resource symbol enabled
.
The icon associated with this item. This icon will not always be shown, so the title should be sufficient in describing this item.
This corresponds to the global attribute
resource symbol icon
.
The ID of the item.
This corresponds to the global attribute
resource symbol id
.
The category applied to the item. (This will be or'ed with the orderInCategory attribute.)
This corresponds to the global attribute
resource symbol menuCategory
.
The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) keyboard.
This corresponds to the global attribute
resource symbol numericShortcut
.
Name of a method on the Context used to inflate the menu that will be called when the item is clicked.
This corresponds to the global attribute
resource symbol onClick
.
The order within the category applied to the item. (This will be or'ed with the category attribute.)
This corresponds to the global attribute
resource symbol orderInCategory
.
The title associated with the item.
This corresponds to the global attribute
resource symbol title
.
The condensed title associated with the item. This is used in situations where the normal title may be too long to be displayed.
This corresponds to the global attribute
resource symbol titleCondensed
.
Whether the item is shown/visible.
This corresponds to the global attribute
resource symbol visible
.
How this item should display in the Action Bar, if present.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
never | 0 | Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always". |
ifRoom | 1 | 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". |
always | 2 | 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". |
withText | 4 | 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. |
collapseActionView | 8 | This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container. |
This is a private symbol.
Default background for the menu header.
This corresponds to the global attribute
resource symbol headerBackground
.
Default horizontal divider between rows of menu items.
This corresponds to the global attribute
resource symbol horizontalDivider
.
Default background for each menu item.
This corresponds to the global attribute
resource symbol itemBackground
.
Default disabled icon alpha for each menu item that shows an icon.
This corresponds to the global attribute
resource symbol itemIconDisabledAlpha
.
Default appearance of menu item text.
This corresponds to the global attribute
resource symbol itemTextAppearance
.
Whether space should be reserved in layout when an icon is missing.
This is a private symbol.
Default vertical divider between menu items.
This corresponds to the global attribute
resource symbol verticalDivider
.
Default animations for the menu.
This corresponds to the global attribute
resource symbol windowAnimationStyle
.
The IME options to set on the query text field.
This corresponds to the global attribute
resource symbol imeOptions
.
The input type to set on the query text field.
This corresponds to the global attribute
resource symbol inputType
.
An optional maximum width of the SearchView.
This corresponds to the global attribute
resource symbol maxWidth
.
The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
An optional query hint string to be displayed in the empty query field.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Horizontal offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown".
This corresponds to the global attribute
resource symbol dropDownHorizontalOffset
.
List selector to use for spinnerMode="dropdown" display.
This corresponds to the global attribute
resource symbol dropDownSelector
.
Vertical offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown".
This corresponds to the global attribute
resource symbol dropDownVerticalOffset
.
Width of the dropdown in spinnerMode="dropdown".
This corresponds to the global attribute
resource symbol dropDownWidth
.
Gravity setting for positioning the currently selected item.
This corresponds to the global attribute
resource symbol gravity
.
Background drawable to use for the dropdown in spinnerMode="dropdown".
This corresponds to the global attribute
resource symbol popupBackground
.
Whether this spinner should mark child views as enabled/disabled when the spinner itself is enabled/disabled.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
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
@android:id/text1
to be populated with the prompt text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
The prompt to display when the spinner's dialog is shown.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Display mode for spinner options.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
dialog | 0 | Spinner options will be presented to the user as a dialog window. |
dropdown | 1 | Spinner options will be presented to the user as an inline dropdown anchored to the spinner widget itself. |
This is a private symbol.
Default ActionBar dropdown style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
The preferred item height for dropdown lists.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Drawable used as a background for selected list items.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Default Panel Menu style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Default Panel Menu width.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Default PopupMenu style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
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 requestFocus()
, which will
always request focus regardless of this view. It only impacts where
focus navigation will try to move focus.
This corresponds to the global attribute
resource symbol focusable
.
Sets the padding, in pixels, of the end edge; see padding
.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Sets the padding, in pixels, of the start edge; see padding
.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
============================================ 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.
Includes the following attributes:
Attribute | Description |
---|---|
| Specifies a background drawable for the action bar. |
| Specifies a background drawable for the bottom component of a split action bar. |
| Specifies a background drawable for a second stacked row of the action bar. |
| Specifies a layout for custom navigation. |
| Options affecting how the action bar is displayed. |
| Specifies the drawable used for item dividers. |
| Specifies a fixed height. |
| Specifies a layout to use for the "home" section of the action bar. |
| Specifies the drawable used for the application icon. |
| Specifies a style resource to use for an indeterminate progress spinner. |
| Specifies padding that should be applied to the left and right sides of system-provided items in the bar. |
| Specifies the drawable used for the application logo. |
| The type of navigation to use. |
| Specifies the horizontal padding on either end for an embedded progress bar. |
| Specifies a style resource to use for an embedded progress bar. |
| Specifies subtitle text used for navigationMode="normal" |
| Specifies a style to use for subtitle text. |
| Specifies title text used for navigationMode="normal" |
| Specifies a style to use for title text. |
ActionBar_background
ActionBar_backgroundSplit
ActionBar_backgroundStacked
ActionBar_customNavigationLayout
ActionBar_displayOptions
ActionBar_divider
ActionBar_height
ActionBar_homeLayout
ActionBar_icon
ActionBar_indeterminateProgressStyle
ActionBar_itemPadding
ActionBar_logo
ActionBar_navigationMode
ActionBar_progressBarPadding
ActionBar_progressBarStyle
ActionBar_subtitle
ActionBar_subtitleTextStyle
ActionBar_title
ActionBar_titleTextStyle
Valid LayoutParams for views placed in the action bar as custom views.
Includes the following attributes:
Attribute | Description |
---|---|
|
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.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
Attributes that can be used with a ActionMenuItemView.
Includes the following attributes:
Attribute | Description |
---|---|
|
Size of padding on either end of a divider.
Attributes that can be used with a ActionMode.
Includes the following attributes:
Attribute | Description |
---|---|
| Specifies a background for the action mode bar. |
| Specifies a background for the split action mode bar. |
| Specifies a fixed height for the action mode bar. |
| Specifies a style to use for subtitle text. |
| Specifies a style to use for title text. |
Attrbitutes for a ActivityChooserView.
Includes the following attributes:
Attribute | Description |
---|---|
| The drawable to show in the button for expanding the activities overflow popup. |
| The maximal number of items initially shown in the activity list. |
Attributes that can be used with a CompatTextView.
Includes the following attributes:
Attribute | Description |
---|---|
| Present the text in ALL CAPS. |
Attributes that can be used with a LinearLayoutICS.
Includes the following attributes:
Attribute | Description |
---|---|
| Drawable to use as a vertical divider between buttons. |
| Size of padding on either end of a divider. |
| Setting for which dividers to show. |
Base attributes that are available to all groups.
Includes the following attributes:
Attribute | Description |
---|---|
| Whether the items are capable of displaying a check mark. |
| Whether the items are enabled. |
| The ID of the group. |
| The category applied to all items within this group. |
| The order within the category applied to all items within this group. |
| Whether the items are shown/visible. |
Base attributes that are available to all Item objects.
Includes the following attributes:
Attribute | Description |
---|---|
| An optional layout to be used as an action view. |
| The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. |
| The name of an optional View class to instantiate and use as an action view. |
| The alphabetic shortcut key. |
| Whether the item is capable of displaying a check mark. |
| Whether the item is checked. |
| Whether the item is enabled. |
| The icon associated with this item. |
| The ID of the item. |
| The category applied to the item. |
| The numeric shortcut key. |
| Name of a method on the Context used to inflate the menu that will be called when the item is clicked. |
| The order within the category applied to the item. |
| The title associated with the item. |
| The condensed title associated with the item. |
| Whether the item is shown/visible. |
| How this item should display in the Action Bar, if present. |
MenuItem_actionLayout
MenuItem_actionProviderClass
MenuItem_actionViewClass
MenuItem_android_alphabeticShortcut
MenuItem_android_checkable
MenuItem_android_checked
MenuItem_android_enabled
MenuItem_android_icon
MenuItem_android_id
MenuItem_android_menuCategory
MenuItem_android_numericShortcut
MenuItem_android_onClick
MenuItem_android_orderInCategory
MenuItem_android_title
MenuItem_android_titleCondensed
MenuItem_android_visible
MenuItem_showAsAction
Attributes that can be used with a MenuView.
Includes the following attributes:
Attribute | Description |
---|---|
| Default background for the menu header. |
| Default horizontal divider between rows of menu items. |
| Default background for each menu item. |
| Default disabled icon alpha for each menu item that shows an icon. |
| Default appearance of menu item text. |
| Whether space should be reserved in layout when an icon is missing. |
| Default vertical divider between menu items. |
| Default animations for the menu. |
Attributes that can be used with a SearchView.
Includes the following attributes:
Attribute | Description |
---|---|
| The IME options to set on the query text field. |
| The input type to set on the query text field. |
| An optional maximum width of the SearchView. |
| The default state of the SearchView. |
| An optional query hint string to be displayed in the empty query field. |
Attributes that can be used with a Spinner.
Includes the following attributes:
Attribute | Description |
---|---|
| Horizontal offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown". |
| List selector to use for spinnerMode="dropdown" display. |
| Vertical offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown". |
| Width of the dropdown in spinnerMode="dropdown". |
| Gravity setting for positioning the currently selected item. |
| Background drawable to use for the dropdown in spinnerMode="dropdown". |
| Whether this spinner should mark child views as enabled/disabled when the spinner itself is enabled/disabled. |
| Reference to a layout to use for displaying a prompt in the dropdown for spinnerMode="dropdown". |
| The prompt to display when the spinner's dialog is shown. |
| Display mode for spinner options. |
These are the standard attributes that make up a complete theme.
Includes the following attributes:
Attribute | Description |
---|---|
| Default ActionBar dropdown style. |
| The preferred item height for dropdown lists. |
| Drawable used as a background for selected list items. |
| Default Panel Menu style. |
| Default Panel Menu width. |
| Default PopupMenu style. |
Attributes that can be used with a View.
Includes the following attributes:
Attribute | Description |
---|---|
| Boolean that controls whether a view can take focus. |
| Sets the padding, in pixels, of the end edge; see padding . |
| Sets the padding, in pixels, of the start edge; see padding . |