Skip to content

Most visited

Recently visited

navigation

R.styleable

public static final class R.styleable
extends Object

java.lang.Object
   ↳ android.support.v7.appcompat.R.styleable


Summary

Fields

public static final int[] ActionBar

Attributes used to style the Action Bar.

public static final int[] ActionBarLayout

Valid LayoutParams for views placed in the action bar as custom views.

public static int ActionBarLayout_android_layout_gravity

This symbol is the offset where the layout_gravity attribute's value can be found in the ActionBarLayout array.

public static int ActionBar_background

Specifies a background drawable for the action bar.

public static int ActionBar_backgroundSplit

Specifies a background drawable for the bottom component of a split action bar.

public static int ActionBar_backgroundStacked

Specifies a background drawable for a second stacked row of the action bar.

public static int ActionBar_contentInsetEnd

Minimum inset for content views within a bar.

public static int ActionBar_contentInsetEndWithActions

Minimum inset for content views within a bar when actions from a menu are present.

public static int ActionBar_contentInsetLeft

Minimum inset for content views within a bar.

public static int ActionBar_contentInsetRight

Minimum inset for content views within a bar.

public static int ActionBar_contentInsetStart

Minimum inset for content views within a bar.

public static int ActionBar_contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button.

public static int ActionBar_customNavigationLayout

Specifies a layout for custom navigation.

public static int ActionBar_displayOptions

Options affecting how the action bar is displayed.

public static int ActionBar_divider

Specifies the drawable used for item dividers.

public static int ActionBar_elevation

Elevation for the action bar itself

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int ActionBar_height

Specifies a fixed height.

public static int ActionBar_hideOnContentScroll

Set true to hide the action bar on a vertical nested scroll of content.

public static int ActionBar_homeAsUpIndicator

Up navigation glyph

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int ActionBar_homeLayout

Specifies a layout to use for the "home" section of the action bar.

public static int ActionBar_icon

Specifies the drawable used for the application icon.

public static int ActionBar_indeterminateProgressStyle

Specifies a style resource to use for an indeterminate progress spinner.

public static int ActionBar_itemPadding

Specifies padding that should be applied to the left and right sides of system-provided items in the bar.

public static int ActionBar_logo

Specifies the drawable used for the application logo.

public static int ActionBar_navigationMode

The type of navigation to use.

public static int ActionBar_popupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the action bar.

public static int ActionBar_progressBarPadding

Specifies the horizontal padding on either end for an embedded progress bar.

public static int ActionBar_progressBarStyle

Specifies a style resource to use for an embedded progress bar.

public static int ActionBar_subtitle

Specifies subtitle text used for navigationMode="normal"

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

public static int ActionBar_subtitleTextStyle

Specifies a style to use for subtitle text.

public static int ActionBar_title

Specifies title text used for navigationMode="normal"

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

public static int ActionBar_titleTextStyle

Specifies a style to use for title text.

public static final int[] ActionMenuItemView

Attributes that can be used with a ActionMenuItemView.

public static int ActionMenuItemView_android_minWidth

This symbol is the offset where the minWidth attribute's value can be found in the ActionMenuItemView array.

public static final int[] ActionMenuView

public static final int[] ActionMode

Attributes that can be used with a ActionMode.

public static int ActionMode_background

Specifies a background for the action mode bar.

public static int ActionMode_backgroundSplit

Specifies a background for the split action mode bar.

public static int ActionMode_closeItemLayout

Specifies a layout to use for the "close" item at the starting edge.

public static int ActionMode_height

Specifies a fixed height for the action mode bar.

public static int ActionMode_subtitleTextStyle

Specifies a style to use for subtitle text.

public static int ActionMode_titleTextStyle

Specifies a style to use for title text.

public static final int[] ActivityChooserView

Attrbitutes for a ActivityChooserView.

public static int ActivityChooserView_expandActivityOverflowButtonDrawable

The drawable to show in the button for expanding the activities overflow popup.

public static int ActivityChooserView_initialActivityCount

The maximal number of items initially shown in the activity list.

public static final int[] AlertDialog

The set of attributes that describe a AlertDialog's theme.

public static int AlertDialog_android_layout

This symbol is the offset where the layout attribute's value can be found in the AlertDialog array.

public static int AlertDialog_buttonPanelSideLayout

This symbol is the offset where the buttonPanelSideLayout attribute's value can be found in the AlertDialog array.

public static int AlertDialog_listItemLayout

This symbol is the offset where the listItemLayout attribute's value can be found in the AlertDialog array.

public static int AlertDialog_listLayout

This symbol is the offset where the listLayout attribute's value can be found in the AlertDialog array.

public static int AlertDialog_multiChoiceItemLayout

This symbol is the offset where the multiChoiceItemLayout attribute's value can be found in the AlertDialog array.

public static int AlertDialog_showTitle

This symbol is the offset where the showTitle attribute's value can be found in the AlertDialog array.

public static int AlertDialog_singleChoiceItemLayout

This symbol is the offset where the singleChoiceItemLayout attribute's value can be found in the AlertDialog array.

public static final int[] AppCompatImageView

Attributes that can be used with a AppCompatImageView.

public static int AppCompatImageView_android_src

This symbol is the offset where the src attribute's value can be found in the AppCompatImageView array.

public static int AppCompatImageView_srcCompat

Sets a drawable as the content of this ImageView.

public static int AppCompatImageView_tint

Tint to apply to the image source.

public static int AppCompatImageView_tintMode

Blending mode used to apply the image source tint.

public static final int[] AppCompatSeekBar

Attributes that can be used with a AppCompatSeekBar.

public static int AppCompatSeekBar_android_thumb

This symbol is the offset where the thumb attribute's value can be found in the AppCompatSeekBar array.

public static int AppCompatSeekBar_tickMark

Drawable displayed at each progress position on a seekbar.

public static int AppCompatSeekBar_tickMarkTint

Tint to apply to the tick mark drawable.

public static int AppCompatSeekBar_tickMarkTintMode

Blending mode used to apply the tick mark tint.

public static final int[] AppCompatTextHelper

Attributes that can be used with a AppCompatTextHelper.

public static int AppCompatTextHelper_android_drawableBottom

This symbol is the offset where the drawableBottom attribute's value can be found in the AppCompatTextHelper array.

public static int AppCompatTextHelper_android_drawableEnd

This symbol is the offset where the drawableEnd attribute's value can be found in the AppCompatTextHelper array.

public static int AppCompatTextHelper_android_drawableLeft

This symbol is the offset where the drawableLeft attribute's value can be found in the AppCompatTextHelper array.

public static int AppCompatTextHelper_android_drawableRight

This symbol is the offset where the drawableRight attribute's value can be found in the AppCompatTextHelper array.

public static int AppCompatTextHelper_android_drawableStart

This symbol is the offset where the drawableStart attribute's value can be found in the AppCompatTextHelper array.

public static int AppCompatTextHelper_android_drawableTop

This symbol is the offset where the drawableTop attribute's value can be found in the AppCompatTextHelper array.

public static int AppCompatTextHelper_android_textAppearance

This symbol is the offset where the textAppearance attribute's value can be found in the AppCompatTextHelper array.

public static final int[] AppCompatTextView

Attributes that can be used with a AppCompatTextView.

public static int AppCompatTextView_android_textAppearance

This symbol is the offset where the textAppearance attribute's value can be found in the AppCompatTextView array.

public static int AppCompatTextView_autoSizeMaxTextSize

The maximum text size constraint to be used when auto-sizing text.

public static int AppCompatTextView_autoSizeMinTextSize

The minimum text size constraint to be used when auto-sizing text.

public static int AppCompatTextView_autoSizePresetSizes

Resource array of dimensions to be used in conjunction with autoSizeTextType set to uniform.

public static int AppCompatTextView_autoSizeStepGranularity

Specify the auto-size step size if autoSizeTextType is set to uniform.

public static int AppCompatTextView_autoSizeTextType

Specify the type of auto-size.

public static int AppCompatTextView_fontFamily

The attribute for the font family.

public static int AppCompatTextView_textAllCaps

Present the text in ALL CAPS.

public static final int[] AppCompatTheme

These are the standard attributes that make up a complete theme.

public static int AppCompatTheme_actionBarDivider

Custom divider drawable to use for elements in the action bar.

public static int AppCompatTheme_actionBarItemBackground

Custom item state list drawable background for action bar items.

public static int AppCompatTheme_actionBarPopupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the action bar.

public static int AppCompatTheme_actionBarSize

Size of the Action Bar, including the contextual bar used to present Action Modes.

public static int AppCompatTheme_actionBarSplitStyle

Reference to a style for the split Action Bar.

public static int AppCompatTheme_actionBarStyle

Reference to a style for the Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionBarTabBarStyle

This symbol is the offset where the actionBarTabBarStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_actionBarTabStyle

Default style for tabs within an action bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionBarTabTextStyle

This symbol is the offset where the actionBarTabTextStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_actionBarTheme

Reference to a theme that should be used to inflate the action bar.

public static int AppCompatTheme_actionBarWidgetTheme

Reference to a theme that should be used to inflate widgets and layouts destined for the action bar.

public static int AppCompatTheme_actionButtonStyle

Default action button style.

public static int AppCompatTheme_actionDropDownStyle

Default ActionBar dropdown style.

public static int AppCompatTheme_actionMenuTextAppearance

TextAppearance style that will be applied to text that appears within action menu items.

public static int AppCompatTheme_actionMenuTextColor

Color for text that appears within action menu items.

public static int AppCompatTheme_actionModeBackground

Background drawable to use for action mode UI

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModeCloseButtonStyle

This symbol is the offset where the actionModeCloseButtonStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_actionModeCloseDrawable

Drawable to use for the close action mode button

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModeCopyDrawable

Drawable to use for the Copy action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModeCutDrawable

Drawable to use for the Cut action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModeFindDrawable

Drawable to use for the Find action button in WebView selection action modes

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModePasteDrawable

Drawable to use for the Paste action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModePopupWindowStyle

PopupWindow style to use for action modes when showing as a window overlay.

public static int AppCompatTheme_actionModeSelectAllDrawable

Drawable to use for the Select all action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModeShareDrawable

Drawable to use for the Share action button in WebView selection action modes

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModeSplitBackground

Background drawable to use for action mode UI in the lower split bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionModeStyle

This symbol is the offset where the actionModeStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_actionModeWebSearchDrawable

Drawable to use for the Web Search action button in WebView selection action modes

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_actionOverflowButtonStyle

This symbol is the offset where the actionOverflowButtonStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_actionOverflowMenuStyle

This symbol is the offset where the actionOverflowMenuStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_activityChooserViewStyle

Default ActivityChooserView style.

public static int AppCompatTheme_alertDialogButtonGroupStyle

This symbol is the offset where the alertDialogButtonGroupStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_alertDialogCenterButtons

This symbol is the offset where the alertDialogCenterButtons attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_alertDialogStyle

This symbol is the offset where the alertDialogStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_alertDialogTheme

Theme to use for alert dialogs spawned from this theme.

public static int AppCompatTheme_android_windowAnimationStyle

This symbol is the offset where the windowAnimationStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_android_windowIsFloating

This symbol is the offset where the windowIsFloating attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_autoCompleteTextViewStyle

Default AutoCompleteTextView style.

public static int AppCompatTheme_borderlessButtonStyle

Style for buttons without an explicit border, often used in groups.

public static int AppCompatTheme_buttonBarButtonStyle

Style for buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_buttonBarNegativeButtonStyle

Style for the "negative" buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_buttonBarNeutralButtonStyle

Style for the "neutral" buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_buttonBarPositiveButtonStyle

Style for the "positive" buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_buttonBarStyle

Style for button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_buttonStyle

Normal Button style.

public static int AppCompatTheme_buttonStyleSmall

Small Button style.

public static int AppCompatTheme_checkboxStyle

Default Checkbox style.

public static int AppCompatTheme_checkedTextViewStyle

Default CheckedTextView style.

public static int AppCompatTheme_colorAccent

Bright complement to the primary branding color.

public static int AppCompatTheme_colorBackgroundFloating

Default color of background imagery for floating components, ex.

public static int AppCompatTheme_colorButtonNormal

The color applied to framework buttons in their normal state.

public static int AppCompatTheme_colorControlActivated

The color applied to framework controls in their activated (ex.

public static int AppCompatTheme_colorControlHighlight

The color applied to framework control highlights (ex.

public static int AppCompatTheme_colorControlNormal

The color applied to framework controls in their normal state.

public static int AppCompatTheme_colorError

Color used for error states and things that need to be drawn to the user's attention.

public static int AppCompatTheme_colorPrimary

The primary branding color for the app.

public static int AppCompatTheme_colorPrimaryDark

Dark variant of the primary branding color.

public static int AppCompatTheme_colorSwitchThumbNormal

The color applied to framework switch thumbs in their normal state.

public static int AppCompatTheme_controlBackground

The background used by framework controls.

public static int AppCompatTheme_dialogPreferredPadding

Preferred padding for dialog content.

public static int AppCompatTheme_dialogTheme

Theme to use for dialogs spawned from this theme.

public static int AppCompatTheme_dividerHorizontal

A drawable that may be used as a horizontal divider between visual elements.

public static int AppCompatTheme_dividerVertical

A drawable that may be used as a vertical divider between visual elements.

public static int AppCompatTheme_dropDownListViewStyle

ListPopupWindow compatibility

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_dropdownListPreferredItemHeight

The preferred item height for dropdown lists.

public static int AppCompatTheme_editTextBackground

EditText background drawable.

public static int AppCompatTheme_editTextColor

EditText text foreground color.

public static int AppCompatTheme_editTextStyle

Default EditText style.

public static int AppCompatTheme_homeAsUpIndicator

Specifies a drawable to use for the 'home as up' indicator.

public static int AppCompatTheme_imageButtonStyle

ImageButton background drawable.

public static int AppCompatTheme_listChoiceBackgroundIndicator

Drawable used as a background for selected list items.

public static int AppCompatTheme_listDividerAlertDialog

The list divider used in alert dialogs.

public static int AppCompatTheme_listMenuViewStyle

Default menu-style ListView style.

public static int AppCompatTheme_listPopupWindowStyle

This symbol is the offset where the listPopupWindowStyle attribute's value can be found in the AppCompatTheme array.

public static int AppCompatTheme_listPreferredItemHeight

The preferred list item height.

public static int AppCompatTheme_listPreferredItemHeightLarge

A larger, more robust list item height.

public static int AppCompatTheme_listPreferredItemHeightSmall

A smaller, sleeker list item height.

public static int AppCompatTheme_listPreferredItemPaddingLeft

The preferred padding along the left edge of list items.

public static int AppCompatTheme_listPreferredItemPaddingRight

The preferred padding along the right edge of list items.

public static int AppCompatTheme_panelBackground

The background of a panel when it is inset from the left and right edges of the screen.

public static int AppCompatTheme_panelMenuListTheme

Default Panel Menu style.

public static int AppCompatTheme_panelMenuListWidth

Default Panel Menu width.

public static int AppCompatTheme_popupMenuStyle

Default PopupMenu style.

public static int AppCompatTheme_popupWindowStyle

Default PopupWindow style.

public static int AppCompatTheme_radioButtonStyle

Default RadioButton style.

public static int AppCompatTheme_ratingBarStyle

Default RatingBar style.

public static int AppCompatTheme_ratingBarStyleIndicator

Indicator RatingBar style.

public static int AppCompatTheme_ratingBarStyleSmall

Small indicator RatingBar style.

public static int AppCompatTheme_searchViewStyle

Style for the search query widget.

public static int AppCompatTheme_seekBarStyle

Default SeekBar style.

public static int AppCompatTheme_selectableItemBackground

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.

public static int AppCompatTheme_selectableItemBackgroundBorderless

Background drawable for borderless standalone items that need focus/pressed states.

public static int AppCompatTheme_spinnerDropDownItemStyle

Default Spinner style.

public static int AppCompatTheme_spinnerStyle

Default Spinner style.

public static int AppCompatTheme_switchStyle

Default style for the Switch widget.

public static int AppCompatTheme_textAppearanceLargePopupMenu

Text color, typeface, size, and style for the text inside of a popup menu.

public static int AppCompatTheme_textAppearanceListItem

The preferred TextAppearance for the primary text of list items.

public static int AppCompatTheme_textAppearanceListItemSecondary

The preferred TextAppearance for the secondary text of list items.

public static int AppCompatTheme_textAppearanceListItemSmall

The preferred TextAppearance for the primary text of small list items.

public static int AppCompatTheme_textAppearancePopupMenuHeader

Text color, typeface, size, and style for header text inside of a popup menu.

public static int AppCompatTheme_textAppearanceSearchResultSubtitle

Text color, typeface, size, and style for system search result subtitle.

public static int AppCompatTheme_textAppearanceSearchResultTitle

Text color, typeface, size, and style for system search result title.

public static int AppCompatTheme_textAppearanceSmallPopupMenu

Text color, typeface, size, and style for small text inside of a popup menu.

public static int AppCompatTheme_textColorAlertDialogListItem

Color of list item text in alert dialogs.

public static int AppCompatTheme_textColorSearchUrl

Text color for urls in search suggestions, used by things like global search

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_toolbarNavigationButtonStyle

Default Toolar NavigationButtonStyle

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_toolbarStyle

Default Toolbar style.

public static int AppCompatTheme_tooltipForegroundColor

Foreground color to use for tooltips

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_tooltipFrameBackground

Background to use for tooltips

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int AppCompatTheme_windowActionBar

Flag indicating whether this window should have an Action Bar in place of the usual title bar.

public static int AppCompatTheme_windowActionBarOverlay

Flag indicating whether this window's Action Bar should overlay application content.

public static int AppCompatTheme_windowActionModeOverlay

Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).

public static int AppCompatTheme_windowFixedHeightMajor

A fixed height for the window along the major axis of the screen, that is, when in portrait.

public static int AppCompatTheme_windowFixedHeightMinor

A fixed height for the window along the minor axis of the screen, that is, when in landscape.

public static int AppCompatTheme_windowFixedWidthMajor

A fixed width for the window along the major axis of the screen, that is, when in landscape.

public static int AppCompatTheme_windowFixedWidthMinor

A fixed width for the window along the minor axis of the screen, that is, when in portrait.

public static int AppCompatTheme_windowMinWidthMajor

The minimum width the window is allowed to be, along the major axis of the screen.

public static int AppCompatTheme_windowMinWidthMinor

The minimum width the window is allowed to be, along the minor axis of the screen.

public static int AppCompatTheme_windowNoTitle

Flag indicating whether there should be no title on this window.

public static int ButtonBarLayout_allowStacking

Whether to automatically stack the buttons when there is not enough space to lay them out side-by-side.

public static final int[] ColorStateListItem

Attributes that can be assigned to a ColorStateList item.

public static int ColorStateListItem_alpha

Alpha multiplier applied to the base color.

public static int ColorStateListItem_android_alpha

This symbol is the offset where the alpha attribute's value can be found in the ColorStateListItem array.

public static int ColorStateListItem_android_color

Base color for this state.

public static final int[] CompoundButton

Attributes that can be used with a CompoundButton.

public static int CompoundButton_android_button

This symbol is the offset where the button attribute's value can be found in the CompoundButton array.

public static int CompoundButton_buttonTint

Tint to apply to the button drawable.

public static int CompoundButton_buttonTintMode

Blending mode used to apply the button tint.

public static final int[] DrawerArrowToggle

Attributes that can be used with a DrawerArrowToggle.

public static int DrawerArrowToggle_arrowHeadLength

The length of the arrow head when formed to make an arrow

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int DrawerArrowToggle_arrowShaftLength

The length of the shaft when formed to make an arrow

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int DrawerArrowToggle_barLength

The length of the bars when they are parallel to each other

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int DrawerArrowToggle_color

The drawing color for the bars

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int DrawerArrowToggle_drawableSize

The total size of the drawable

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int DrawerArrowToggle_gapBetweenBars

The max gap between the bars when they are parallel to each other

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int DrawerArrowToggle_spinBars

Whether bars should rotate or not during transition

May be a boolean value, such as "true" or "false".

public static int DrawerArrowToggle_thickness

The thickness (stroke size) for the bar paint

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static final int[] LinearLayoutCompat

Attributes that can be used with a LinearLayoutCompat.

public static final int[] LinearLayoutCompat_Layout

Attributes that can be used with a LinearLayoutCompat_Layout.

public static int LinearLayoutCompat_Layout_android_layout_gravity

This symbol is the offset where the layout_gravity attribute's value can be found in the LinearLayoutCompat_Layout array.

public static int LinearLayoutCompat_Layout_android_layout_height

This symbol is the offset where the layout_height attribute's value can be found in the LinearLayoutCompat_Layout array.

public static int LinearLayoutCompat_Layout_android_layout_weight

This symbol is the offset where the layout_weight attribute's value can be found in the LinearLayoutCompat_Layout array.

public static int LinearLayoutCompat_Layout_android_layout_width

This symbol is the offset where the layout_width attribute's value can be found in the LinearLayoutCompat_Layout array.

public static int LinearLayoutCompat_android_baselineAligned

When set to false, prevents the layout from aligning its children's baselines.

public static int LinearLayoutCompat_android_baselineAlignedChildIndex

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).

public static int LinearLayoutCompat_android_gravity

This symbol is the offset where the gravity attribute's value can be found in the LinearLayoutCompat array.

public static int LinearLayoutCompat_android_orientation

Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column.

public static int LinearLayoutCompat_android_weightSum

Defines the maximum weight sum.

public static int LinearLayoutCompat_divider

Drawable to use as a vertical divider between buttons.

public static int LinearLayoutCompat_dividerPadding

Size of padding on either end of a divider.

public static int LinearLayoutCompat_measureWithLargestChild

When set to true, all children with a weight will be considered having the minimum size of the largest child.

public static int LinearLayoutCompat_showDividers

Setting for which dividers to show.

public static final int[] ListPopupWindow

Attributes that can be used with a ListPopupWindow.

public static int ListPopupWindow_android_dropDownHorizontalOffset

Amount of pixels by which the drop down should be offset horizontally.

public static int ListPopupWindow_android_dropDownVerticalOffset

Amount of pixels by which the drop down should be offset vertically.

public static final int[] MenuGroup

Base attributes that are available to all groups.

public static int MenuGroup_android_checkableBehavior

Whether the items are capable of displaying a check mark.

public static int MenuGroup_android_enabled

Whether the items are enabled.

public static int MenuGroup_android_id

The ID of the group.

public static int MenuGroup_android_menuCategory

The category applied to all items within this group.

public static int MenuGroup_android_orderInCategory

The order within the category applied to all items within this group.

public static int MenuGroup_android_visible

Whether the items are shown/visible.

public static final int[] MenuItem

Base attributes that are available to all Item objects.

public static int MenuItem_actionLayout

An optional layout to be used as an action view.

public static 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.

public static int MenuItem_actionViewClass

The name of an optional View class to instantiate and use as an action view.

public static int MenuItem_alphabeticModifiers

The alphabetic modifier key.

public static int MenuItem_android_alphabeticShortcut

The alphabetic shortcut key.

public static int MenuItem_android_checkable

Whether the item is capable of displaying a check mark.

public static int MenuItem_android_checked

Whether the item is checked.

public static int MenuItem_android_enabled

Whether the item is enabled.

public static int MenuItem_android_icon

The icon associated with this item.

public static int MenuItem_android_id

The ID of the item.

public static int MenuItem_android_menuCategory

The category applied to the item.

public static int MenuItem_android_numericShortcut

The numeric shortcut key.

public static 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.

public static int MenuItem_android_orderInCategory

The order within the category applied to the item.

public static int MenuItem_android_title

The title associated with the item.

public static int MenuItem_android_titleCondensed

The condensed title associated with the item.

public static int MenuItem_android_visible

Whether the item is shown/visible.

public static int MenuItem_contentDescription

The content description associated with the item.

public static int MenuItem_iconTint

Tint to apply to the icon.

public static int MenuItem_iconTintMode

Blending mode used to apply the icon tint.

public static int MenuItem_numericModifiers

The numeric modifier key.

public static int MenuItem_showAsAction

How this item should display in the Action Bar, if present.

public static int MenuItem_tooltipText

The tooltip text associated with the item.

public static final int[] MenuView

Attributes that can be used with a MenuView.

public static int MenuView_android_headerBackground

Default background for the menu header.

public static int MenuView_android_horizontalDivider

Default horizontal divider between rows of menu items.

public static int MenuView_android_itemBackground

Default background for each menu item.

public static int MenuView_android_itemIconDisabledAlpha

Default disabled icon alpha for each menu item that shows an icon.

public static int MenuView_android_itemTextAppearance

Default appearance of menu item text.

public static int MenuView_android_verticalDivider

Default vertical divider between menu items.

public static int MenuView_android_windowAnimationStyle

Default animations for the menu.

public static int MenuView_preserveIconSpacing

Whether space should be reserved in layout when an icon is missing.

public static int MenuView_subMenuArrow

Drawable for the arrow icon indicating a particular item is a submenu.

public static final int[] PopupWindow

Attributes that can be used with a PopupWindow.

public static final int[] PopupWindowBackgroundState

Attributes that can be used with a PopupWindowBackgroundState.

public static int PopupWindowBackgroundState_state_above_anchor

State identifier indicating the popup will be above the anchor.

public static int PopupWindow_android_popupAnimationStyle

This symbol is the offset where the popupAnimationStyle attribute's value can be found in the PopupWindow array.

public static int PopupWindow_android_popupBackground

This symbol is the offset where the popupBackground attribute's value can be found in the PopupWindow array.

public static int PopupWindow_overlapAnchor

Whether the popup window should overlap its anchor view.

public static final int[] RecycleListView

Attributes that can be used with a RecycleListView.

public static int RecycleListView_paddingBottomNoButtons

Bottom padding to use when no buttons are present.

public static int RecycleListView_paddingTopNoTitle

Top padding to use when no title is present.

public static final int[] SearchView

Attributes that can be used with a SearchView.

public static int SearchView_android_focusable

This symbol is the offset where the focusable attribute's value can be found in the SearchView array.

public static int SearchView_android_imeOptions

The IME options to set on the query text field.

public static int SearchView_android_inputType

The input type to set on the query text field.

public static int SearchView_android_maxWidth

An optional maximum width of the SearchView.

public static int SearchView_closeIcon

Close button icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int SearchView_commitIcon

Commit icon shown in the query suggestion row

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int SearchView_defaultQueryHint

Default query hint used when queryHint is undefined and the search view's SearchableInfo does not provide a hint.

public static int SearchView_goIcon

Go button icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int SearchView_iconifiedByDefault

The default state of the SearchView.

public static int SearchView_layout

The layout to use for the search view.

public static int SearchView_queryBackground

Background for the section containing the search query

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int SearchView_queryHint

An optional user-defined query hint string to be displayed in the empty query field.

public static int SearchView_searchHintIcon

Search icon displayed as a text field hint

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int SearchView_searchIcon

Search icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int SearchView_submitBackground

Background for the section containing the action (e.g.

public static int SearchView_suggestionRowLayout

Layout for query suggestion rows

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static int SearchView_voiceIcon

Voice button icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

public static final int[] Spinner

Attributes that can be used with a Spinner.

public static int Spinner_android_dropDownWidth

Width of the dropdown in spinnerMode="dropdown".

public static int Spinner_android_entries

Reference to an array resource that will populate the Spinner.

public static int Spinner_android_popupBackground

Background drawable to use for the dropdown in spinnerMode="dropdown".

public static int Spinner_android_prompt

The prompt to display when the spinner's dialog is shown.

public static int Spinner_popupTheme

Theme to use for the drop-down or dialog popup window.

public static final int[] SwitchCompat

Attributes that can be used with a SwitchCompat.

public static int SwitchCompat_android_textOff

Text to use when the switch is in the unchecked/"off" state.

public static int SwitchCompat_android_textOn

Text to use when the switch is in the checked/"on" state.

public static int SwitchCompat_android_thumb

Drawable to use as the "thumb" that switches back and forth.

public static int SwitchCompat_showText

Whether to draw on/off text.

public static int SwitchCompat_splitTrack

Whether to split the track and leave a gap for the thumb drawable.

public static int SwitchCompat_switchMinWidth

Minimum width for the switch component

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int SwitchCompat_switchPadding

Minimum space between the switch and caption text

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int SwitchCompat_switchTextAppearance

TextAppearance style for text displayed on the switch thumb.

public static int SwitchCompat_thumbTextPadding

Amount of padding on either side of text within the switch thumb.

public static int SwitchCompat_thumbTint

Tint to apply to the thumb drawable.

public static int SwitchCompat_thumbTintMode

Blending mode used to apply the thumb tint.

public static int SwitchCompat_track

Drawable to use as the "track" that the switch thumb slides within.

public static int SwitchCompat_trackTint

Tint to apply to the track.

public static int SwitchCompat_trackTintMode

Blending mode used to apply the track tint.

public static final int[] TextAppearance

Attributes that can be used with a TextAppearance.

public static int TextAppearance_android_fontFamily

This symbol is the offset where the fontFamily attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_shadowColor

This symbol is the offset where the shadowColor attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_shadowDx

This symbol is the offset where the shadowDx attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_shadowDy

This symbol is the offset where the shadowDy attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_shadowRadius

This symbol is the offset where the shadowRadius attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_textColor

This symbol is the offset where the textColor attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_textColorHint

This symbol is the offset where the textColorHint attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_textColorLink

This symbol is the offset where the textColorLink attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_textSize

This symbol is the offset where the textSize attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_textStyle

This symbol is the offset where the textStyle attribute's value can be found in the TextAppearance array.

public static int TextAppearance_android_typeface

This symbol is the offset where the typeface attribute's value can be found in the TextAppearance array.

public static int TextAppearance_fontFamily

The attribute for the font family.

public static int TextAppearance_textAllCaps

Present the text in ALL CAPS.

public static final int[] Toolbar

This field was deprecated in API level 24.0.0. Use titleMargin

public static int Toolbar_android_gravity

This symbol is the offset where the gravity attribute's value can be found in the Toolbar array.

public static int Toolbar_android_minHeight

This symbol is the offset where the minHeight attribute's value can be found in the Toolbar array.

public static int Toolbar_buttonGravity

This symbol is the offset where the buttonGravity attribute's value can be found in the Toolbar array.

public static int Toolbar_collapseContentDescription

Text to set as the content description for the collapse button.

public static int Toolbar_collapseIcon

Icon drawable to use for the collapse button.

public static int Toolbar_contentInsetEnd

Minimum inset for content views within a bar.

public static int Toolbar_contentInsetEndWithActions

Minimum inset for content views within a bar when actions from a menu are present.

public static int Toolbar_contentInsetLeft

Minimum inset for content views within a bar.

public static int Toolbar_contentInsetRight

Minimum inset for content views within a bar.

public static int Toolbar_contentInsetStart

Minimum inset for content views within a bar.

public static int Toolbar_contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button.

public static int Toolbar_logo

Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button.

public static int Toolbar_logoDescription

A content description string to describe the appearance of the associated logo image.

public static int Toolbar_maxButtonHeight

This symbol is the offset where the maxButtonHeight attribute's value can be found in the Toolbar array.

public static int Toolbar_navigationContentDescription

Text to set as the content description for the navigation button located at the start of the toolbar.

public static int Toolbar_navigationIcon

Icon drawable to use for the navigation button located at the start of the toolbar.

public static int Toolbar_popupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the toolbar.

public static int Toolbar_subtitle

Specifies subtitle text used for navigationMode="normal"

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

public static int Toolbar_subtitleTextAppearance

This symbol is the offset where the subtitleTextAppearance attribute's value can be found in the Toolbar array.

public static int Toolbar_subtitleTextColor

A color to apply to the subtitle string.

public static int Toolbar_title

This symbol is the offset where the title attribute's value can be found in the Toolbar array.

public static int Toolbar_titleMargin

Specifies extra space on the left, start, right and end sides of the toolbar's title.

public static int Toolbar_titleMarginBottom

Specifies extra space on the bottom side of the toolbar's title.

public static int Toolbar_titleMarginEnd

Specifies extra space on the end side of the toolbar's title.

public static int Toolbar_titleMarginStart

Specifies extra space on the start side of the toolbar's title.

public static int Toolbar_titleMarginTop

Specifies extra space on the top side of the toolbar's title.

public static int Toolbar_titleMargins

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int Toolbar_titleTextAppearance

This symbol is the offset where the titleTextAppearance attribute's value can be found in the Toolbar array.

public static int Toolbar_titleTextColor

A color to apply to the title string.

public static final int[] View

Attributes that can be used with a View.

public static final int[] ViewBackgroundHelper

Attributes that can be used with a ViewBackgroundHelper.

public static int ViewBackgroundHelper_android_background

This symbol is the offset where the background attribute's value can be found in the ViewBackgroundHelper array.

public static int ViewBackgroundHelper_backgroundTint

Tint to apply to the background.

public static int ViewBackgroundHelper_backgroundTintMode

Blending mode used to apply the background tint.

public static final int[] ViewStubCompat

Attributes that can be used with a ViewStubCompat.

public static int ViewStubCompat_android_id

This symbol is the offset where the id attribute's value can be found in the ViewStubCompat array.

public static int ViewStubCompat_android_inflatedId

Overrides the id of the inflated View with this value.

public static int ViewStubCompat_android_layout

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.

public static int View_android_focusable

Boolean that controls whether a view can take focus.

public static int View_android_theme

Specifies a theme override for a view.

public static int View_paddingEnd

Sets the padding, in pixels, of the end edge; see padding.

public static int View_paddingStart

Sets the padding, in pixels, of the start edge; see padding.

public static int View_theme

Deprecated.

Public constructors

R.styleable()

Inherited methods

From class java.lang.Object

Fields

ActionBar

added in version 22.2.0
int[] ActionBar

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:

AttributeDescription
android.support.v7.appcompat:backgroundSpecifies a background drawable for the action bar.
android.support.v7.appcompat:backgroundSplitSpecifies a background drawable for the bottom component of a split action bar.
android.support.v7.appcompat:backgroundStackedSpecifies a background drawable for a second stacked row of the action bar.
android.support.v7.appcompat:contentInsetEndMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetEndWithActionsMinimum inset for content views within a bar when actions from a menu are present.
android.support.v7.appcompat:contentInsetLeftMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetRightMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetStartMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetStartWithNavigationMinimum inset for content views within a bar when a navigation button is present, such as the Up button.
android.support.v7.appcompat:customNavigationLayoutSpecifies a layout for custom navigation.
android.support.v7.appcompat:displayOptionsOptions affecting how the action bar is displayed.
android.support.v7.appcompat:dividerSpecifies the drawable used for item dividers.
android.support.v7.appcompat:elevationElevation for the action bar itself
android.support.v7.appcompat:height
android.support.v7.appcompat:hideOnContentScrollSet true to hide the action bar on a vertical nested scroll of content.
android.support.v7.appcompat:homeAsUpIndicatorSpecifies a drawable to use for the 'home as up' indicator.
android.support.v7.appcompat:homeLayoutSpecifies a layout to use for the "home" section of the action bar.
android.support.v7.appcompat:iconSpecifies the drawable used for the application icon.
android.support.v7.appcompat:indeterminateProgressStyleSpecifies a style resource to use for an indeterminate progress spinner.
android.support.v7.appcompat:itemPaddingSpecifies padding that should be applied to the left and right sides of system-provided items in the bar.
android.support.v7.appcompat:logoSpecifies the drawable used for the application logo.
android.support.v7.appcompat:navigationModeThe type of navigation to use.
android.support.v7.appcompat:popupThemeReference to a theme that should be used to inflate popups shown by widgets in the action bar.
android.support.v7.appcompat:progressBarPaddingSpecifies the horizontal padding on either end for an embedded progress bar.
android.support.v7.appcompat:progressBarStyleSpecifies a style resource to use for an embedded progress bar.
android.support.v7.appcompat:subtitleSpecifies subtitle text used for navigationMode="normal"
android.support.v7.appcompat:subtitleTextStyleSpecifies a style to use for subtitle text.
android.support.v7.appcompat:title
android.support.v7.appcompat:titleTextStyleSpecifies a style to use for title text.

See also:

ActionBarLayout

added in version 22.2.0
int[] ActionBarLayout

Valid LayoutParams for views placed in the action bar as custom views.

Includes the following attributes:

AttributeDescription
android:layout_gravity

See also:

ActionBarLayout_android_layout_gravity

added in version 22.2.0
int ActionBarLayout_android_layout_gravity

This symbol is the offset where the layout_gravity attribute's value can be found in the ActionBarLayout array.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30

ActionBar_background

added in version 22.2.0
int ActionBar_background

Specifies a background drawable for the action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_backgroundSplit

added in version 22.2.0
int ActionBar_backgroundSplit

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 a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

ActionBar_backgroundStacked

added in version 22.2.0
int ActionBar_backgroundStacked

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 a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

ActionBar_contentInsetEnd

added in version 22.2.0
int ActionBar_contentInsetEnd

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

ActionBar_contentInsetEndWithActions

added in version 24.0.0
int ActionBar_contentInsetEndWithActions

Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.

May 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), and mm (millimeters).

ActionBar_contentInsetLeft

added in version 22.2.0
int ActionBar_contentInsetLeft

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

ActionBar_contentInsetRight

added in version 22.2.0
int ActionBar_contentInsetRight

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

ActionBar_contentInsetStart

added in version 22.2.0
int ActionBar_contentInsetStart

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

ActionBar_contentInsetStartWithNavigation

added in version 24.0.0
int ActionBar_contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.

May 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), and mm (millimeters).

ActionBar_customNavigationLayout

added in version 22.2.0
int ActionBar_customNavigationLayout

Specifies a layout for custom navigation. Overrides navigationMode.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_displayOptions

added in version 22.2.0
int ActionBar_displayOptions

Options affecting how the action bar is displayed.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
disableHome20
homeAsUp4
none0
showCustom10
showHome2
showTitle8
useLogo1

ActionBar_divider

added in version 22.2.0
int ActionBar_divider

Specifies the drawable used for item dividers.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_elevation

added in version 22.2.0
int ActionBar_elevation

Elevation for the action bar itself

May 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), and mm (millimeters).

ActionBar_height

added in version 22.2.0
int ActionBar_height

Specifies a fixed height.

May 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), and mm (millimeters).

ActionBar_hideOnContentScroll

added in version 22.2.0
int ActionBar_hideOnContentScroll

Set true to hide the action bar on a vertical nested scroll of content.

May be a boolean value, such as "true" or "false".

ActionBar_homeAsUpIndicator

added in version 22.2.0
int ActionBar_homeAsUpIndicator

Up navigation glyph

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_homeLayout

added in version 22.2.0
int ActionBar_homeLayout

Specifies a layout to use for the "home" section of the action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_icon

added in version 22.2.0
int ActionBar_icon

Specifies the drawable used for the application icon.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_indeterminateProgressStyle

added in version 22.2.0
int ActionBar_indeterminateProgressStyle

Specifies a style resource to use for an indeterminate progress spinner.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_itemPadding

added in version 22.2.0
int ActionBar_itemPadding

Specifies padding that should be applied to the left and right sides of system-provided items in the bar.

May 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), and mm (millimeters).

ActionBar_logo

added in version 22.2.0
int ActionBar_logo

Specifies the drawable used for the application logo.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_navigationMode

added in version 22.2.0
int ActionBar_navigationMode

The type of navigation to use.

Must be one of the following constant values.

ConstantValueDescription
listMode1The action bar will use a selection list for navigation.
normal0Normal static title text
tabMode2The action bar will use a series of horizontal tabs for navigation.

ActionBar_popupTheme

added in version 22.2.0
int ActionBar_popupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_progressBarPadding

added in version 22.2.0
int ActionBar_progressBarPadding

Specifies the horizontal padding on either end for an embedded progress bar.

May 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), and mm (millimeters).

ActionBar_progressBarStyle

added in version 22.2.0
int ActionBar_progressBarStyle

Specifies a style resource to use for an embedded progress bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_subtitle

added in version 22.2.0
int ActionBar_subtitle

Specifies subtitle text used for navigationMode="normal"

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

ActionBar_subtitleTextStyle

added in version 22.2.0
int ActionBar_subtitleTextStyle

Specifies a style to use for subtitle text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionBar_title

added in version 22.2.0
int ActionBar_title

Specifies title text used for navigationMode="normal"

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

ActionBar_titleTextStyle

added in version 22.2.0
int ActionBar_titleTextStyle

Specifies a style to use for title text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionMenuItemView

added in version 22.2.0
int[] ActionMenuItemView

Attributes that can be used with a ActionMenuItemView.

Includes the following attributes:

AttributeDescription
android:minWidth

See also:

ActionMenuItemView_android_minWidth

added in version 22.2.0
int ActionMenuItemView_android_minWidth

This symbol is the offset where the minWidth attribute's value can be found in the ActionMenuItemView array.

May 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), and mm (millimeters).

ActionMenuView

added in version 22.2.0
int[] ActionMenuView

ActionMode

added in version 22.2.0
int[] ActionMode

Attributes that can be used with a ActionMode.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:backgroundSpecifies a background drawable for the action bar.
android.support.v7.appcompat:backgroundSplitSpecifies a background drawable for the bottom component of a split action bar.
android.support.v7.appcompat:closeItemLayoutSpecifies a layout to use for the "close" item at the starting edge.
android.support.v7.appcompat:height
android.support.v7.appcompat:subtitleTextStyleSpecifies a style to use for subtitle text.
android.support.v7.appcompat:titleTextStyleSpecifies a style to use for title text.

See also:

ActionMode_background

added in version 22.2.0
int ActionMode_background

Specifies a background for the action mode bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionMode_backgroundSplit

added in version 22.2.0
int ActionMode_backgroundSplit

Specifies a background for the split action mode bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

ActionMode_closeItemLayout

added in version 22.2.0
int ActionMode_closeItemLayout

Specifies a layout to use for the "close" item at the starting edge.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionMode_height

added in version 22.2.0
int ActionMode_height

Specifies a fixed height for the action mode bar.

May 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), and mm (millimeters).

ActionMode_subtitleTextStyle

added in version 22.2.0
int ActionMode_subtitleTextStyle

Specifies a style to use for subtitle text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActionMode_titleTextStyle

added in version 22.2.0
int ActionMode_titleTextStyle

Specifies a style to use for title text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActivityChooserView

added in version 22.2.0
int[] ActivityChooserView

Attrbitutes for a ActivityChooserView.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:expandActivityOverflowButtonDrawableThe drawable to show in the button for expanding the activities overflow popup.
android.support.v7.appcompat:initialActivityCountThe maximal number of items initially shown in the activity list.

See also:

ActivityChooserView_expandActivityOverflowButtonDrawable

added in version 22.2.0
int ActivityChooserView_expandActivityOverflowButtonDrawable

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ActivityChooserView_initialActivityCount

added in version 22.2.0
int ActivityChooserView_initialActivityCount

The maximal number of items initially shown in the activity list.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

AlertDialog_android_layout

added in version 22.2.0
int AlertDialog_android_layout

This symbol is the offset where the layout attribute's value can be found in the AlertDialog array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AlertDialog_buttonPanelSideLayout

added in version 22.2.0
int AlertDialog_buttonPanelSideLayout

This symbol is the offset where the buttonPanelSideLayout attribute's value can be found in the AlertDialog array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AlertDialog_listItemLayout

added in version 22.2.0
int AlertDialog_listItemLayout

This symbol is the offset where the listItemLayout attribute's value can be found in the AlertDialog array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AlertDialog_listLayout

added in version 22.2.0
int AlertDialog_listLayout

This symbol is the offset where the listLayout attribute's value can be found in the AlertDialog array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AlertDialog_multiChoiceItemLayout

added in version 22.2.0
int AlertDialog_multiChoiceItemLayout

This symbol is the offset where the multiChoiceItemLayout attribute's value can be found in the AlertDialog array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AlertDialog_showTitle

int AlertDialog_showTitle

This symbol is the offset where the showTitle attribute's value can be found in the AlertDialog array.

May be a boolean value, such as "true" or "false".

AlertDialog_singleChoiceItemLayout

added in version 22.2.0
int AlertDialog_singleChoiceItemLayout

This symbol is the offset where the singleChoiceItemLayout attribute's value can be found in the AlertDialog array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatImageView

added in version 23.2.0
int[] AppCompatImageView

Attributes that can be used with a AppCompatImageView.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:srcCompatSets a drawable as the content of this ImageView.
android.support.v7.appcompat:tintTint to apply to the image source.
android.support.v7.appcompat:tintModeBlending mode used to apply the image source tint.
android:src

See also:

AppCompatImageView_android_src

added in version 23.2.0
int AppCompatImageView_android_src

This symbol is the offset where the src attribute's value can be found in the AppCompatImageView array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatImageView_srcCompat

added in version 23.2.0
int AppCompatImageView_srcCompat

Sets a drawable as the content of this ImageView. Allows the use of vector drawable when running on older versions of the platform.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatImageView_tint

int AppCompatImageView_tint

Tint to apply to the image source.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatImageView_tintMode

int AppCompatImageView_tintMode

Blending mode used to apply the image source tint.

Must be one of the following constant values.

ConstantValueDescription
multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

AppCompatSeekBar

added in version 24.0.0
int[] AppCompatSeekBar

Attributes that can be used with a AppCompatSeekBar.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:tickMarkDrawable displayed at each progress position on a seekbar.
android.support.v7.appcompat:tickMarkTintTint to apply to the tick mark drawable.
android.support.v7.appcompat:tickMarkTintModeBlending mode used to apply the tick mark tint.
android:thumb

See also:

AppCompatSeekBar_android_thumb

added in version 24.0.0
int AppCompatSeekBar_android_thumb

This symbol is the offset where the thumb attribute's value can be found in the AppCompatSeekBar array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatSeekBar_tickMark

added in version 24.0.0
int AppCompatSeekBar_tickMark

Drawable displayed at each progress position on a seekbar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatSeekBar_tickMarkTint

added in version 24.0.0
int AppCompatSeekBar_tickMarkTint

Tint to apply to the tick mark drawable.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatSeekBar_tickMarkTintMode

added in version 24.0.0
int AppCompatSeekBar_tickMarkTintMode

Blending mode used to apply the tick mark tint.

Must be one of the following constant values.

ConstantValueDescription
add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

AppCompatTextHelper_android_drawableBottom

added in version 24.1.0
int AppCompatTextHelper_android_drawableBottom

This symbol is the offset where the drawableBottom attribute's value can be found in the AppCompatTextHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTextHelper_android_drawableEnd

added in version 24.1.0
int AppCompatTextHelper_android_drawableEnd

This symbol is the offset where the drawableEnd attribute's value can be found in the AppCompatTextHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTextHelper_android_drawableLeft

added in version 24.1.0
int AppCompatTextHelper_android_drawableLeft

This symbol is the offset where the drawableLeft attribute's value can be found in the AppCompatTextHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTextHelper_android_drawableRight

added in version 24.1.0
int AppCompatTextHelper_android_drawableRight

This symbol is the offset where the drawableRight attribute's value can be found in the AppCompatTextHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTextHelper_android_drawableStart

added in version 24.1.0
int AppCompatTextHelper_android_drawableStart

This symbol is the offset where the drawableStart attribute's value can be found in the AppCompatTextHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTextHelper_android_drawableTop

added in version 24.1.0
int AppCompatTextHelper_android_drawableTop

This symbol is the offset where the drawableTop attribute's value can be found in the AppCompatTextHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTextHelper_android_textAppearance

added in version 24.1.0
int AppCompatTextHelper_android_textAppearance

This symbol is the offset where the textAppearance attribute's value can be found in the AppCompatTextHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTextView

added in version 22.2.0
int[] AppCompatTextView

Attributes that can be used with a AppCompatTextView.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:autoSizeMaxTextSizeThe maximum text size constraint to be used when auto-sizing text.
android.support.v7.appcompat:autoSizeMinTextSizeThe minimum text size constraint to be used when auto-sizing text.
android.support.v7.appcompat:autoSizePresetSizesResource array of dimensions to be used in conjunction with autoSizeTextType set to uniform.
android.support.v7.appcompat:autoSizeStepGranularitySpecify the auto-size step size if autoSizeTextType is set to uniform.
android.support.v7.appcompat:autoSizeTextTypeSpecify the type of auto-size.
android.support.v7.appcompat:fontFamilyThe attribute for the font family.
android.support.v7.appcompat:textAllCapsPresent the text in ALL CAPS.
android:textAppearance

See also:

AppCompatTextView_android_textAppearance

added in version 22.2.0
int AppCompatTextView_android_textAppearance

This symbol is the offset where the textAppearance attribute's value can be found in the AppCompatTextView array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTextView_autoSizeMaxTextSize

int AppCompatTextView_autoSizeMaxTextSize

The maximum text size constraint to be used when auto-sizing text.

May 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), and mm (millimeters).

AppCompatTextView_autoSizeMinTextSize

int AppCompatTextView_autoSizeMinTextSize

The minimum text size constraint to be used when auto-sizing text.

May 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), and mm (millimeters).

AppCompatTextView_autoSizePresetSizes

int AppCompatTextView_autoSizePresetSizes

Resource array of dimensions to be used in conjunction with autoSizeTextType set to uniform. Overrides autoSizeStepGranularity if set.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTextView_autoSizeStepGranularity

int AppCompatTextView_autoSizeStepGranularity

Specify the auto-size step size if autoSizeTextType is set to uniform. The default is 1px. Overwrites autoSizePresetSizes if set.

May 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), and mm (millimeters).

AppCompatTextView_autoSizeTextType

int AppCompatTextView_autoSizeTextType

Specify the type of auto-size. Note that this feature is not supported by EditText, works only for TextView.

Must be one of the following constant values.

ConstantValueDescription
none0No auto-sizing (default).
uniform1Uniform horizontal and vertical text size scaling to fit within the container.

AppCompatTextView_fontFamily

int AppCompatTextView_fontFamily

The attribute for the font family.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

AppCompatTextView_textAllCaps

added in version 22.2.0
int AppCompatTextView_textAllCaps

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 a theme attribute in the form "?[package:]type/name".

May be a boolean value, such as "true" or "false".

AppCompatTheme

added in version 23.2.0
int[] AppCompatTheme

These are the standard attributes that make up a complete theme.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:actionBarDividerCustom divider drawable to use for elements in the action bar.
android.support.v7.appcompat:actionBarItemBackgroundCustom item state list drawable background for action bar items.
android.support.v7.appcompat:actionBarPopupThemeReference to a theme that should be used to inflate popups shown by widgets in the action bar.
android.support.v7.appcompat:actionBarSizeSize of the Action Bar, including the contextual bar used to present Action Modes.
android.support.v7.appcompat:actionBarSplitStyleReference to a style for the split Action Bar.
android.support.v7.appcompat:actionBarStyleReference to a style for the Action Bar
android.support.v7.appcompat:actionBarTabBarStyle
android.support.v7.appcompat:actionBarTabStyleDefault style for tabs within an action bar
android.support.v7.appcompat:actionBarTabTextStyle
android.support.v7.appcompat:actionBarThemeReference to a theme that should be used to inflate the action bar.
android.support.v7.appcompat:actionBarWidgetThemeReference to a theme that should be used to inflate widgets and layouts destined for the action bar.
android.support.v7.appcompat:actionButtonStyleDefault action button style.
android.support.v7.appcompat:actionDropDownStyleDefault ActionBar dropdown style.
android.support.v7.appcompat:actionMenuTextAppearanceTextAppearance style that will be applied to text that appears within action menu items.
android.support.v7.appcompat:actionMenuTextColorColor for text that appears within action menu items.
android.support.v7.appcompat:actionModeBackgroundBackground drawable to use for action mode UI
android.support.v7.appcompat:actionModeCloseButtonStyle
android.support.v7.appcompat:actionModeCloseDrawableDrawable to use for the close action mode button
android.support.v7.appcompat:actionModeCopyDrawableDrawable to use for the Copy action button in Contextual Action Bar
android.support.v7.appcompat:actionModeCutDrawableDrawable to use for the Cut action button in Contextual Action Bar
android.support.v7.appcompat:actionModeFindDrawableDrawable to use for the Find action button in WebView selection action modes
android.support.v7.appcompat:actionModePasteDrawableDrawable to use for the Paste action button in Contextual Action Bar
android.support.v7.appcompat:actionModePopupWindowStylePopupWindow style to use for action modes when showing as a window overlay.
android.support.v7.appcompat:actionModeSelectAllDrawableDrawable to use for the Select all action button in Contextual Action Bar
android.support.v7.appcompat:actionModeShareDrawableDrawable to use for the Share action button in WebView selection action modes
android.support.v7.appcompat:actionModeSplitBackgroundBackground drawable to use for action mode UI in the lower split bar
android.support.v7.appcompat:actionModeStyle
android.support.v7.appcompat:actionModeWebSearchDrawableDrawable to use for the Web Search action button in WebView selection action modes
android.support.v7.appcompat:actionOverflowButtonStyle
android.support.v7.appcompat:actionOverflowMenuStyle
android.support.v7.appcompat:activityChooserViewStyleDefault ActivityChooserView style.
android.support.v7.appcompat:alertDialogButtonGroupStyle
android.support.v7.appcompat:alertDialogCenterButtons
android.support.v7.appcompat:alertDialogStyle
android.support.v7.appcompat:alertDialogThemeTheme to use for alert dialogs spawned from this theme.
android.support.v7.appcompat:autoCompleteTextViewStyleDefault AutoCompleteTextView style.
android.support.v7.appcompat:borderlessButtonStyleStyle for buttons without an explicit border, often used in groups.
android.support.v7.appcompat:buttonBarButtonStyleStyle for buttons within button bars
android.support.v7.appcompat:buttonBarNegativeButtonStyleStyle for the "negative" buttons within button bars
android.support.v7.appcompat:buttonBarNeutralButtonStyleStyle for the "neutral" buttons within button bars
android.support.v7.appcompat:buttonBarPositiveButtonStyleStyle for the "positive" buttons within button bars
android.support.v7.appcompat:buttonBarStyleStyle for button bars
android.support.v7.appcompat:buttonStyleNormal Button style.
android.support.v7.appcompat:buttonStyleSmallSmall Button style.
android.support.v7.appcompat:checkboxStyleDefault Checkbox style.
android.support.v7.appcompat:checkedTextViewStyleDefault CheckedTextView style.
android.support.v7.appcompat:colorAccentBright complement to the primary branding color.
android.support.v7.appcompat:colorBackgroundFloatingDefault color of background imagery for floating components, ex.
android.support.v7.appcompat:colorButtonNormalThe color applied to framework buttons in their normal state.
android.support.v7.appcompat:colorControlActivatedThe color applied to framework controls in their activated (ex.
android.support.v7.appcompat:colorControlHighlightThe color applied to framework control highlights (ex.
android.support.v7.appcompat:colorControlNormalThe color applied to framework controls in their normal state.
android.support.v7.appcompat:colorErrorColor used for error states and things that need to be drawn to the user's attention.
android.support.v7.appcompat:colorPrimaryThe primary branding color for the app.
android.support.v7.appcompat:colorPrimaryDarkDark variant of the primary branding color.
android.support.v7.appcompat:colorSwitchThumbNormalThe color applied to framework switch thumbs in their normal state.
android.support.v7.appcompat:controlBackgroundThe background used by framework controls.
android.support.v7.appcompat:dialogPreferredPaddingPreferred padding for dialog content.
android.support.v7.appcompat:dialogThemeTheme to use for dialogs spawned from this theme.
android.support.v7.appcompat:dividerHorizontalA drawable that may be used as a horizontal divider between visual elements.
android.support.v7.appcompat:dividerVerticalA drawable that may be used as a vertical divider between visual elements.
android.support.v7.appcompat:dropDownListViewStyleListPopupWindow compatibility
android.support.v7.appcompat:dropdownListPreferredItemHeightThe preferred item height for dropdown lists.
android.support.v7.appcompat:editTextBackgroundEditText background drawable.
android.support.v7.appcompat:editTextColorEditText text foreground color.
android.support.v7.appcompat:editTextStyleDefault EditText style.
android.support.v7.appcompat:homeAsUpIndicatorSpecifies a drawable to use for the 'home as up' indicator.
android.support.v7.appcompat:imageButtonStyleImageButton background drawable.
android.support.v7.appcompat:listChoiceBackgroundIndicatorDrawable used as a background for selected list items.
android.support.v7.appcompat:listDividerAlertDialogThe list divider used in alert dialogs.
android.support.v7.appcompat:listMenuViewStyleDefault menu-style ListView style.
android.support.v7.appcompat:listPopupWindowStyle
android.support.v7.appcompat:listPreferredItemHeightThe preferred list item height.
android.support.v7.appcompat:listPreferredItemHeightLargeA larger, more robust list item height.
android.support.v7.appcompat:listPreferredItemHeightSmallA smaller, sleeker list item height.
android.support.v7.appcompat:listPreferredItemPaddingLeftThe preferred padding along the left edge of list items.
android.support.v7.appcompat:listPreferredItemPaddingRightThe preferred padding along the right edge of list items.
android.support.v7.appcompat:panelBackgroundThe background of a panel when it is inset from the left and right edges of the screen.
android.support.v7.appcompat:panelMenuListThemeDefault Panel Menu style.
android.support.v7.appcompat:panelMenuListWidthDefault Panel Menu width.
android.support.v7.appcompat:popupMenuStyleDefault PopupMenu style.
android.support.v7.appcompat:popupWindowStyleDefault PopupWindow style.
android.support.v7.appcompat:radioButtonStyleDefault RadioButton style.
android.support.v7.appcompat:ratingBarStyleDefault RatingBar style.
android.support.v7.appcompat:ratingBarStyleIndicatorIndicator RatingBar style.
android.support.v7.appcompat:ratingBarStyleSmallSmall indicator RatingBar style.
android.support.v7.appcompat:searchViewStyleStyle for the search query widget.
android.support.v7.appcompat:seekBarStyleDefault SeekBar style.
android.support.v7.appcompat:selectableItemBackgroundA 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.
android.support.v7.appcompat:selectableItemBackgroundBorderlessBackground drawable for borderless standalone items that need focus/pressed states.
android.support.v7.appcompat:spinnerDropDownItemStyleDefault Spinner style.
android.support.v7.appcompat:spinnerStyleDefault Spinner style.
android.support.v7.appcompat:switchStyleDefault style for the Switch widget.
android.support.v7.appcompat:textAppearanceLargePopupMenuText color, typeface, size, and style for the text inside of a popup menu.
android.support.v7.appcompat:textAppearanceListItemThe preferred TextAppearance for the primary text of list items.
android.support.v7.appcompat:textAppearanceListItemSecondaryThe preferred TextAppearance for the secondary text of list items.
android.support.v7.appcompat:textAppearanceListItemSmallThe preferred TextAppearance for the primary text of small list items.
android.support.v7.appcompat:textAppearancePopupMenuHeaderText color, typeface, size, and style for header text inside of a popup menu.
android.support.v7.appcompat:textAppearanceSearchResultSubtitleText color, typeface, size, and style for system search result subtitle.
android.support.v7.appcompat:textAppearanceSearchResultTitleText color, typeface, size, and style for system search result title.
android.support.v7.appcompat:textAppearanceSmallPopupMenuText color, typeface, size, and style for small text inside of a popup menu.
android.support.v7.appcompat:textColorAlertDialogListItemColor of list item text in alert dialogs.
android.support.v7.appcompat:textColorSearchUrlText color for urls in search suggestions, used by things like global search
android.support.v7.appcompat:toolbarNavigationButtonStyleDefault Toolar NavigationButtonStyle
android.support.v7.appcompat:toolbarStyleDefault Toolbar style.
android.support.v7.appcompat:tooltipForegroundColorForeground color to use for tooltips
android.support.v7.appcompat:tooltipFrameBackgroundBackground to use for tooltips
android.support.v7.appcompat:windowActionBarFlag indicating whether this window should have an Action Bar in place of the usual title bar.
android.support.v7.appcompat:windowActionBarOverlayFlag indicating whether this window's Action Bar should overlay application content.
android.support.v7.appcompat:windowActionModeOverlayFlag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
android.support.v7.appcompat:windowFixedHeightMajorA fixed height for the window along the major axis of the screen, that is, when in portrait.
android.support.v7.appcompat:windowFixedHeightMinorA fixed height for the window along the minor axis of the screen, that is, when in landscape.
android.support.v7.appcompat:windowFixedWidthMajorA fixed width for the window along the major axis of the screen, that is, when in landscape.
android.support.v7.appcompat:windowFixedWidthMinorA fixed width for the window along the minor axis of the screen, that is, when in portrait.
android.support.v7.appcompat:windowMinWidthMajorThe minimum width the window is allowed to be, along the major axis of the screen.
android.support.v7.appcompat:windowMinWidthMinorThe minimum width the window is allowed to be, along the minor axis of the screen.
android.support.v7.appcompat:windowNoTitleFlag indicating whether there should be no title on this window.
android:windowIsFloating
android:windowAnimationStyle

See also:

AppCompatTheme_actionBarDivider

added in version 23.2.0
int AppCompatTheme_actionBarDivider

Custom divider drawable to use for elements in the action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarItemBackground

added in version 23.2.0
int AppCompatTheme_actionBarItemBackground

Custom item state list drawable background for action bar items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarPopupTheme

added in version 23.2.0
int AppCompatTheme_actionBarPopupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarSize

added in version 23.2.0
int AppCompatTheme_actionBarSize

Size of the Action Bar, including the contextual bar used to present Action Modes.

May 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), and mm (millimeters).

Must be one of the following constant values.

ConstantValueDescription
wrap_content0

AppCompatTheme_actionBarSplitStyle

added in version 23.2.0
int AppCompatTheme_actionBarSplitStyle

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarStyle

added in version 23.2.0
int AppCompatTheme_actionBarStyle

Reference to a style for the Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarTabBarStyle

added in version 23.2.0
int AppCompatTheme_actionBarTabBarStyle

This symbol is the offset where the actionBarTabBarStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarTabStyle

added in version 23.2.0
int AppCompatTheme_actionBarTabStyle

Default style for tabs within an action bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarTabTextStyle

added in version 23.2.0
int AppCompatTheme_actionBarTabTextStyle

This symbol is the offset where the actionBarTabTextStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarTheme

added in version 23.2.0
int AppCompatTheme_actionBarTheme

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionBarWidgetTheme

added in version 23.2.0
int AppCompatTheme_actionBarWidgetTheme

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionButtonStyle

added in version 23.2.0
int AppCompatTheme_actionButtonStyle

Default action button style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionDropDownStyle

added in version 23.2.0
int AppCompatTheme_actionDropDownStyle

Default ActionBar dropdown style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionMenuTextAppearance

added in version 23.2.0
int AppCompatTheme_actionMenuTextAppearance

TextAppearance style that will be applied to text that appears within action menu items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionMenuTextColor

added in version 23.2.0
int AppCompatTheme_actionMenuTextColor

Color for text that appears within action menu items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_actionModeBackground

added in version 23.2.0
int AppCompatTheme_actionModeBackground

Background drawable to use for action mode UI

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeCloseButtonStyle

added in version 23.2.0
int AppCompatTheme_actionModeCloseButtonStyle

This symbol is the offset where the actionModeCloseButtonStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeCloseDrawable

added in version 23.2.0
int AppCompatTheme_actionModeCloseDrawable

Drawable to use for the close action mode button

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeCopyDrawable

added in version 23.2.0
int AppCompatTheme_actionModeCopyDrawable

Drawable to use for the Copy action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeCutDrawable

added in version 23.2.0
int AppCompatTheme_actionModeCutDrawable

Drawable to use for the Cut action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeFindDrawable

added in version 23.2.0
int AppCompatTheme_actionModeFindDrawable

Drawable to use for the Find action button in WebView selection action modes

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModePasteDrawable

added in version 23.2.0
int AppCompatTheme_actionModePasteDrawable

Drawable to use for the Paste action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModePopupWindowStyle

added in version 23.2.0
int AppCompatTheme_actionModePopupWindowStyle

PopupWindow style to use for action modes when showing as a window overlay.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeSelectAllDrawable

added in version 23.2.0
int AppCompatTheme_actionModeSelectAllDrawable

Drawable to use for the Select all action button in Contextual Action Bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeShareDrawable

added in version 23.2.0
int AppCompatTheme_actionModeShareDrawable

Drawable to use for the Share action button in WebView selection action modes

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeSplitBackground

added in version 23.2.0
int AppCompatTheme_actionModeSplitBackground

Background drawable to use for action mode UI in the lower split bar

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeStyle

added in version 23.2.0
int AppCompatTheme_actionModeStyle

This symbol is the offset where the actionModeStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionModeWebSearchDrawable

added in version 23.2.0
int AppCompatTheme_actionModeWebSearchDrawable

Drawable to use for the Web Search action button in WebView selection action modes

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionOverflowButtonStyle

added in version 23.2.0
int AppCompatTheme_actionOverflowButtonStyle

This symbol is the offset where the actionOverflowButtonStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_actionOverflowMenuStyle

added in version 23.2.0
int AppCompatTheme_actionOverflowMenuStyle

This symbol is the offset where the actionOverflowMenuStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_activityChooserViewStyle

added in version 23.2.0
int AppCompatTheme_activityChooserViewStyle

Default ActivityChooserView style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_alertDialogButtonGroupStyle

added in version 23.2.0
int AppCompatTheme_alertDialogButtonGroupStyle

This symbol is the offset where the alertDialogButtonGroupStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_alertDialogCenterButtons

added in version 23.2.0
int AppCompatTheme_alertDialogCenterButtons

This symbol is the offset where the alertDialogCenterButtons attribute's value can be found in the AppCompatTheme array.

May be a boolean value, such as "true" or "false".

AppCompatTheme_alertDialogStyle

added in version 23.2.0
int AppCompatTheme_alertDialogStyle

This symbol is the offset where the alertDialogStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_alertDialogTheme

added in version 23.2.0
int AppCompatTheme_alertDialogTheme

Theme to use for alert dialogs spawned from this theme.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_android_windowAnimationStyle

added in version 23.2.0
int AppCompatTheme_android_windowAnimationStyle

This symbol is the offset where the windowAnimationStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_android_windowIsFloating

added in version 23.2.0
int AppCompatTheme_android_windowIsFloating

This symbol is the offset where the windowIsFloating attribute's value can be found in the AppCompatTheme array.

May be a boolean value, such as "true" or "false".

AppCompatTheme_autoCompleteTextViewStyle

added in version 23.2.0
int AppCompatTheme_autoCompleteTextViewStyle

Default AutoCompleteTextView style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_borderlessButtonStyle

added in version 23.2.0
int AppCompatTheme_borderlessButtonStyle

Style for buttons without an explicit border, often used in groups.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_buttonBarButtonStyle

added in version 23.2.0
int AppCompatTheme_buttonBarButtonStyle

Style for buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_buttonBarNegativeButtonStyle

added in version 23.2.0
int AppCompatTheme_buttonBarNegativeButtonStyle

Style for the "negative" buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_buttonBarNeutralButtonStyle

added in version 23.2.0
int AppCompatTheme_buttonBarNeutralButtonStyle

Style for the "neutral" buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_buttonBarPositiveButtonStyle

added in version 23.2.0
int AppCompatTheme_buttonBarPositiveButtonStyle

Style for the "positive" buttons within button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_buttonBarStyle

added in version 23.2.0
int AppCompatTheme_buttonBarStyle

Style for button bars

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_buttonStyle

added in version 23.2.0
int AppCompatTheme_buttonStyle

Normal Button style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_buttonStyleSmall

added in version 23.2.0
int AppCompatTheme_buttonStyleSmall

Small Button style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_checkboxStyle

added in version 23.2.0
int AppCompatTheme_checkboxStyle

Default Checkbox style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_checkedTextViewStyle

added in version 23.2.0
int AppCompatTheme_checkedTextViewStyle

Default CheckedTextView style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_colorAccent

added in version 23.2.0
int AppCompatTheme_colorAccent

Bright complement to the primary branding color. By default, this is the color applied to framework controls (via colorControlActivated).

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorBackgroundFloating

added in version 24.0.0
int AppCompatTheme_colorBackgroundFloating

Default color of background imagery for floating components, ex. dialogs, popups, and cards.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorButtonNormal

added in version 23.2.0
int AppCompatTheme_colorButtonNormal

The color applied to framework buttons in their normal state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorControlActivated

added in version 23.2.0
int AppCompatTheme_colorControlActivated

The color applied to framework controls in their activated (ex. checked) state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorControlHighlight

added in version 23.2.0
int AppCompatTheme_colorControlHighlight

The color applied to framework control highlights (ex. ripples, list selectors).

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorControlNormal

added in version 23.2.0
int AppCompatTheme_colorControlNormal

The color applied to framework controls in their normal state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorError

int AppCompatTheme_colorError

Color used for error states and things that need to be drawn to the user's attention.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorPrimary

added in version 23.2.0
int AppCompatTheme_colorPrimary

The primary branding color for the app. By default, this is the color applied to the action bar background.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorPrimaryDark

added in version 23.2.0
int AppCompatTheme_colorPrimaryDark

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).

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_colorSwitchThumbNormal

added in version 23.2.0
int AppCompatTheme_colorSwitchThumbNormal

The color applied to framework switch thumbs in their normal state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_controlBackground

added in version 23.2.0
int AppCompatTheme_controlBackground

The background used by framework controls.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_dialogPreferredPadding

added in version 23.2.0
int AppCompatTheme_dialogPreferredPadding

Preferred padding for dialog content.

May 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), and mm (millimeters).

AppCompatTheme_dialogTheme

added in version 23.2.0
int AppCompatTheme_dialogTheme

Theme to use for dialogs spawned from this theme.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_dividerHorizontal

added in version 23.2.0
int AppCompatTheme_dividerHorizontal

A drawable that may be used as a horizontal divider between visual elements.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_dividerVertical

added in version 23.2.0
int AppCompatTheme_dividerVertical

A drawable that may be used as a vertical divider between visual elements.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_dropDownListViewStyle

added in version 23.2.0
int AppCompatTheme_dropDownListViewStyle

ListPopupWindow compatibility

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_dropdownListPreferredItemHeight

added in version 23.2.0
int AppCompatTheme_dropdownListPreferredItemHeight

The preferred item height for dropdown lists.

May 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), and mm (millimeters).

AppCompatTheme_editTextBackground

added in version 23.2.0
int AppCompatTheme_editTextBackground

EditText background drawable.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_editTextColor

added in version 23.2.0
int AppCompatTheme_editTextColor

EditText text foreground color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_editTextStyle

added in version 23.2.0
int AppCompatTheme_editTextStyle

Default EditText style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_homeAsUpIndicator

added in version 23.2.0
int AppCompatTheme_homeAsUpIndicator

Specifies a drawable to use for the 'home as up' indicator.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_imageButtonStyle

added in version 23.2.0
int AppCompatTheme_imageButtonStyle

ImageButton background drawable.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_listChoiceBackgroundIndicator

added in version 23.2.0
int AppCompatTheme_listChoiceBackgroundIndicator

Drawable used as a background for selected list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_listDividerAlertDialog

added in version 23.2.0
int AppCompatTheme_listDividerAlertDialog

The list divider used in alert dialogs.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_listMenuViewStyle

added in version 24.0.0
int AppCompatTheme_listMenuViewStyle

Default menu-style ListView style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_listPopupWindowStyle

added in version 23.2.0
int AppCompatTheme_listPopupWindowStyle

This symbol is the offset where the listPopupWindowStyle attribute's value can be found in the AppCompatTheme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_listPreferredItemHeight

added in version 23.2.0
int AppCompatTheme_listPreferredItemHeight

The preferred list item height.

May 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), and mm (millimeters).

AppCompatTheme_listPreferredItemHeightLarge

added in version 23.2.0
int AppCompatTheme_listPreferredItemHeightLarge

A larger, more robust list item height.

May 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), and mm (millimeters).

AppCompatTheme_listPreferredItemHeightSmall

added in version 23.2.0
int AppCompatTheme_listPreferredItemHeightSmall

A smaller, sleeker list item height.

May 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), and mm (millimeters).

AppCompatTheme_listPreferredItemPaddingLeft

added in version 23.2.0
int AppCompatTheme_listPreferredItemPaddingLeft

The preferred padding along the left edge of list items.

May 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), and mm (millimeters).

AppCompatTheme_listPreferredItemPaddingRight

added in version 23.2.0
int AppCompatTheme_listPreferredItemPaddingRight

The preferred padding along the right edge of list items.

May 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), and mm (millimeters).

AppCompatTheme_panelBackground

added in version 23.2.0
int AppCompatTheme_panelBackground

The background of a panel when it is inset from the left and right edges of the screen.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_panelMenuListTheme

added in version 23.2.0
int AppCompatTheme_panelMenuListTheme

Default Panel Menu style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_panelMenuListWidth

added in version 23.2.0
int AppCompatTheme_panelMenuListWidth

Default Panel Menu width.

May 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), and mm (millimeters).

AppCompatTheme_popupMenuStyle

added in version 23.2.0
int AppCompatTheme_popupMenuStyle

Default PopupMenu style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_popupWindowStyle

added in version 23.2.0
int AppCompatTheme_popupWindowStyle

Default PopupWindow style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_radioButtonStyle

added in version 23.2.0
int AppCompatTheme_radioButtonStyle

Default RadioButton style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_ratingBarStyle

added in version 23.2.0
int AppCompatTheme_ratingBarStyle

Default RatingBar style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_ratingBarStyleIndicator

added in version 23.2.0
int AppCompatTheme_ratingBarStyleIndicator

Indicator RatingBar style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_ratingBarStyleSmall

added in version 23.2.0
int AppCompatTheme_ratingBarStyleSmall

Small indicator RatingBar style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_searchViewStyle

added in version 23.2.0
int AppCompatTheme_searchViewStyle

Style for the search query widget.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_seekBarStyle

added in version 23.2.0
int AppCompatTheme_seekBarStyle

Default SeekBar style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_selectableItemBackground

added in version 23.2.0
int AppCompatTheme_selectableItemBackground

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_selectableItemBackgroundBorderless

added in version 23.2.0
int AppCompatTheme_selectableItemBackgroundBorderless

Background drawable for borderless standalone items that need focus/pressed states.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_spinnerDropDownItemStyle

added in version 23.2.0
int AppCompatTheme_spinnerDropDownItemStyle

Default Spinner style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_spinnerStyle

added in version 23.2.0
int AppCompatTheme_spinnerStyle

Default Spinner style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_switchStyle

added in version 23.2.0
int AppCompatTheme_switchStyle

Default style for the Switch widget.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearanceLargePopupMenu

added in version 23.2.0
int AppCompatTheme_textAppearanceLargePopupMenu

Text color, typeface, size, and style for the text inside of a popup menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearanceListItem

added in version 23.2.0
int AppCompatTheme_textAppearanceListItem

The preferred TextAppearance for the primary text of list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearanceListItemSecondary

int AppCompatTheme_textAppearanceListItemSecondary

The preferred TextAppearance for the secondary text of list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearanceListItemSmall

added in version 23.2.0
int AppCompatTheme_textAppearanceListItemSmall

The preferred TextAppearance for the primary text of small list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearancePopupMenuHeader

added in version 24.0.0
int AppCompatTheme_textAppearancePopupMenuHeader

Text color, typeface, size, and style for header text inside of a popup menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearanceSearchResultSubtitle

added in version 23.2.0
int AppCompatTheme_textAppearanceSearchResultSubtitle

Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearanceSearchResultTitle

added in version 23.2.0
int AppCompatTheme_textAppearanceSearchResultTitle

Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textAppearanceSmallPopupMenu

added in version 23.2.0
int AppCompatTheme_textAppearanceSmallPopupMenu

Text color, typeface, size, and style for small text inside of a popup menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_textColorAlertDialogListItem

added in version 23.2.0
int AppCompatTheme_textColorAlertDialogListItem

Color of list item text in alert dialogs.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_textColorSearchUrl

added in version 23.2.0
int AppCompatTheme_textColorSearchUrl

Text color for urls in search suggestions, used by things like global search

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_toolbarNavigationButtonStyle

added in version 23.2.0
int AppCompatTheme_toolbarNavigationButtonStyle

Default Toolar NavigationButtonStyle

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_toolbarStyle

added in version 23.2.0
int AppCompatTheme_toolbarStyle

Default Toolbar style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_tooltipForegroundColor

int AppCompatTheme_tooltipForegroundColor

Foreground color to use for tooltips

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

AppCompatTheme_tooltipFrameBackground

int AppCompatTheme_tooltipFrameBackground

Background to use for tooltips

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

AppCompatTheme_windowActionBar

added in version 23.2.0
int AppCompatTheme_windowActionBar

Flag indicating whether this window should have an Action Bar in place of the usual title bar.

May be a boolean value, such as "true" or "false".

AppCompatTheme_windowActionBarOverlay

added in version 23.2.0
int AppCompatTheme_windowActionBarOverlay

Flag indicating whether this window's Action Bar should overlay application content. Does nothing if the window would not have an Action Bar.

May be a boolean value, such as "true" or "false".

AppCompatTheme_windowActionModeOverlay

added in version 23.2.0
int AppCompatTheme_windowActionModeOverlay

Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).

May be a boolean value, such as "true" or "false".

AppCompatTheme_windowFixedHeightMajor

added in version 23.2.0
int AppCompatTheme_windowFixedHeightMajor

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.

May 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), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

AppCompatTheme_windowFixedHeightMinor

added in version 23.2.0
int AppCompatTheme_windowFixedHeightMinor

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.

May 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), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

AppCompatTheme_windowFixedWidthMajor

added in version 23.2.0
int AppCompatTheme_windowFixedWidthMajor

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.

May 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), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

AppCompatTheme_windowFixedWidthMinor

added in version 23.2.0
int AppCompatTheme_windowFixedWidthMinor

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.

May 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), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

AppCompatTheme_windowMinWidthMajor

added in version 23.2.0
int AppCompatTheme_windowMinWidthMajor

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.

May 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), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

AppCompatTheme_windowMinWidthMinor

added in version 23.2.0
int AppCompatTheme_windowMinWidthMinor

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.

May 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), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

AppCompatTheme_windowNoTitle

added in version 23.2.0
int AppCompatTheme_windowNoTitle

Flag indicating whether there should be no title on this window.

May be a boolean value, such as "true" or "false".

ButtonBarLayout_allowStacking

added in version 23.1.0
int ButtonBarLayout_allowStacking

Whether to automatically stack the buttons when there is not enough space to lay them out side-by-side.

May be a boolean value, such as "true" or "false".

ColorStateListItem

added in version 24.0.0
int[] ColorStateListItem

Attributes that can be assigned to a ColorStateList item.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:alphaAlpha multiplier applied to the base color.
android:color
android:alpha

See also:

ColorStateListItem_alpha

added in version 24.0.0
int ColorStateListItem_alpha

Alpha multiplier applied to the base color.

May be a floating point value, such as "1.2".

ColorStateListItem_android_alpha

added in version 24.0.0
int ColorStateListItem_android_alpha

This symbol is the offset where the alpha attribute's value can be found in the ColorStateListItem array.

May be a floating point value, such as "1.2".

ColorStateListItem_android_color

added in version 24.0.0
int ColorStateListItem_android_color

Base color for this state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

CompoundButton

added in version 23.0.0
int[] CompoundButton

Attributes that can be used with a CompoundButton.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:buttonTintTint to apply to the button drawable.
android.support.v7.appcompat:buttonTintModeBlending mode used to apply the button tint.
android:button

See also:

CompoundButton_android_button

added in version 23.0.0
int CompoundButton_android_button

This symbol is the offset where the button attribute's value can be found in the CompoundButton array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

CompoundButton_buttonTint

added in version 23.0.0
int CompoundButton_buttonTint

Tint to apply to the button drawable.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

CompoundButton_buttonTintMode

added in version 23.0.0
int CompoundButton_buttonTintMode

Blending mode used to apply the button tint.

Must be one of the following constant values.

ConstantValueDescription
multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

DrawerArrowToggle

added in version 22.2.0
int[] DrawerArrowToggle

Attributes that can be used with a DrawerArrowToggle.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:arrowHeadLengthThe length of the arrow head when formed to make an arrow
android.support.v7.appcompat:arrowShaftLengthThe length of the shaft when formed to make an arrow
android.support.v7.appcompat:barLengthThe length of the bars when they are parallel to each other
android.support.v7.appcompat:colorThe drawing color for the bars
android.support.v7.appcompat:drawableSizeThe total size of the drawable
android.support.v7.appcompat:gapBetweenBarsThe max gap between the bars when they are parallel to each other
android.support.v7.appcompat:spinBarsWhether bars should rotate or not during transition
android.support.v7.appcompat:thicknessThe thickness (stroke size) for the bar paint

See also:

DrawerArrowToggle_arrowHeadLength

added in version 23.0.0
int DrawerArrowToggle_arrowHeadLength

The length of the arrow head when formed to make an arrow

May 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), and mm (millimeters).

DrawerArrowToggle_arrowShaftLength

added in version 23.0.0
int DrawerArrowToggle_arrowShaftLength

The length of the shaft when formed to make an arrow

May 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), and mm (millimeters).

DrawerArrowToggle_barLength

added in version 23.0.0
int DrawerArrowToggle_barLength

The length of the bars when they are parallel to each other

May 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), and mm (millimeters).

DrawerArrowToggle_color

added in version 22.2.0
int DrawerArrowToggle_color

The drawing color for the bars

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

DrawerArrowToggle_drawableSize

added in version 22.2.0
int DrawerArrowToggle_drawableSize

The total size of the drawable

May 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), and mm (millimeters).

DrawerArrowToggle_gapBetweenBars

added in version 22.2.0
int DrawerArrowToggle_gapBetweenBars

The max gap between the bars when they are parallel to each other

May 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), and mm (millimeters).

DrawerArrowToggle_spinBars

added in version 22.2.0
int DrawerArrowToggle_spinBars

Whether bars should rotate or not during transition

May be a boolean value, such as "true" or "false".

DrawerArrowToggle_thickness

added in version 22.2.0
int DrawerArrowToggle_thickness

The thickness (stroke size) for the bar paint

May 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), and mm (millimeters).

LinearLayoutCompat

added in version 22.2.0
int[] LinearLayoutCompat

Attributes that can be used with a LinearLayoutCompat.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:dividerSpecifies the drawable used for item dividers.
android.support.v7.appcompat:dividerPaddingSize of padding on either end of a divider.
android.support.v7.appcompat:measureWithLargestChildWhen set to true, all children with a weight will be considered having the minimum size of the largest child.
android.support.v7.appcompat:showDividersSetting for which dividers to show.
android:gravity
android:orientation
android:baselineAligned
android:baselineAlignedChildIndex
android:weightSum

See also:

LinearLayoutCompat_Layout

added in version 22.2.0
int[] LinearLayoutCompat_Layout

Attributes that can be used with a LinearLayoutCompat_Layout.

Includes the following attributes:

AttributeDescription
android:layout_gravity
android:layout_width
android:layout_height
android:layout_weight

See also:

LinearLayoutCompat_Layout_android_layout_gravity

added in version 22.2.0
int LinearLayoutCompat_Layout_android_layout_gravity

This symbol is the offset where the layout_gravity attribute's value can be found in the LinearLayoutCompat_Layout array.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30

LinearLayoutCompat_Layout_android_layout_height

added in version 22.2.0
int LinearLayoutCompat_Layout_android_layout_height

This symbol is the offset where the layout_height attribute's value can be found in the LinearLayoutCompat_Layout array.

May 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), and mm (millimeters).

Must be one of the following constant values.

ConstantValueDescription
fill_parentffffffff
match_parentffffffff
wrap_contentfffffffe

LinearLayoutCompat_Layout_android_layout_weight

added in version 22.2.0
int LinearLayoutCompat_Layout_android_layout_weight

This symbol is the offset where the layout_weight attribute's value can be found in the LinearLayoutCompat_Layout array.

May be a floating point value, such as "1.2".

LinearLayoutCompat_Layout_android_layout_width

added in version 22.2.0
int LinearLayoutCompat_Layout_android_layout_width

This symbol is the offset where the layout_width attribute's value can be found in the LinearLayoutCompat_Layout array.

May 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), and mm (millimeters).

Must be one of the following constant values.

ConstantValueDescription
fill_parentffffffff
match_parentffffffff
wrap_contentfffffffe

LinearLayoutCompat_android_baselineAligned

added in version 22.2.0
int LinearLayoutCompat_android_baselineAligned

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.

May be a boolean value, such as "true" or "false".

LinearLayoutCompat_android_baselineAlignedChildIndex

added in version 22.2.0
int LinearLayoutCompat_android_baselineAlignedChildIndex

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).

May be an integer value, such as "100".

LinearLayoutCompat_android_gravity

added in version 22.2.0
int LinearLayoutCompat_android_gravity

This symbol is the offset where the gravity attribute's value can be found in the LinearLayoutCompat array.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30

LinearLayoutCompat_android_orientation

added in version 22.2.0
int LinearLayoutCompat_android_orientation

Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column. The default is horizontal.

Must be one of the following constant values.

ConstantValueDescription
horizontal0
vertical1

LinearLayoutCompat_android_weightSum

added in version 22.2.0
int LinearLayoutCompat_android_weightSum

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.

May be a floating point value, such as "1.2".

LinearLayoutCompat_divider

added in version 22.2.0
int LinearLayoutCompat_divider

Drawable to use as a vertical divider between buttons.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

LinearLayoutCompat_dividerPadding

added in version 22.2.0
int LinearLayoutCompat_dividerPadding

Size of padding on either end of a divider.

May 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), and mm (millimeters).

LinearLayoutCompat_measureWithLargestChild

added in version 22.2.0
int LinearLayoutCompat_measureWithLargestChild

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.

May be a boolean value, such as "true" or "false".

LinearLayoutCompat_showDividers

added in version 22.2.0
int LinearLayoutCompat_showDividers

Setting for which dividers to show.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
beginning1
end4
middle2
none0

ListPopupWindow

added in version 22.2.0
int[] ListPopupWindow

Attributes that can be used with a ListPopupWindow.

Includes the following attributes:

AttributeDescription
android:dropDownHorizontalOffset
android:dropDownVerticalOffset

See also:

ListPopupWindow_android_dropDownHorizontalOffset

added in version 22.2.0
int ListPopupWindow_android_dropDownHorizontalOffset

Amount of pixels by which the drop down should be offset horizontally.

May 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), and mm (millimeters).

ListPopupWindow_android_dropDownVerticalOffset

added in version 22.2.0
int ListPopupWindow_android_dropDownVerticalOffset

Amount of pixels by which the drop down should be offset vertically.

May 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), and mm (millimeters).

MenuGroup_android_checkableBehavior

added in version 22.2.0
int MenuGroup_android_checkableBehavior

Whether the items are capable of displaying a check mark.

Must be one of the following constant values.

ConstantValueDescription
all1
none0
single2

MenuGroup_android_enabled

added in version 22.2.0
int MenuGroup_android_enabled

Whether the items are enabled.

May be a boolean value, such as "true" or "false".

MenuGroup_android_id

added in version 22.2.0
int MenuGroup_android_id

The ID of the group.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuGroup_android_menuCategory

added in version 22.2.0
int MenuGroup_android_menuCategory

The category applied to all items within this group. (This will be or'ed with the orderInCategory attribute.)

Must be one of the following constant values.

ConstantValueDescription
alternative40000
container10000
secondary30000
system20000

MenuGroup_android_orderInCategory

added in version 22.2.0
int MenuGroup_android_orderInCategory

The order within the category applied to all items within this group. (This will be or'ed with the category attribute.)

May be an integer value, such as "100".

MenuGroup_android_visible

added in version 22.2.0
int MenuGroup_android_visible

Whether the items are shown/visible.

May be a boolean value, such as "true" or "false".

MenuItem

added in version 22.2.0
int[] MenuItem

Base attributes that are available to all Item objects.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:actionLayoutAn optional layout to be used as an action view.
android.support.v7.appcompat:actionProviderClassThe name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item.
android.support.v7.appcompat:actionViewClassThe name of an optional View class to instantiate and use as an action view.
android.support.v7.appcompat:alphabeticModifiersThe alphabetic modifier key.
android.support.v7.appcompat:contentDescriptionThe content description associated with the item.
android.support.v7.appcompat:iconTintTint to apply to the icon.
android.support.v7.appcompat:iconTintModeBlending mode used to apply the icon tint.
android.support.v7.appcompat:numericModifiersThe numeric modifier key.
android.support.v7.appcompat:showAsActionHow this item should display in the Action Bar, if present.
android.support.v7.appcompat:tooltipTextThe tooltip text associated with the item.
android:icon
android:enabled
android:id
android:checked
android:visible
android:menuCategory
android:orderInCategory
android:title
android:titleCondensed
android:alphabeticShortcut
android:numericShortcut
android:checkable
android:onClick

See also:

MenuItem_actionLayout

added in version 22.2.0
int MenuItem_actionLayout

An optional layout to be used as an action view. See setActionView(android.view.View) for more info.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuItem_actionProviderClass

added in version 22.2.0
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. See setActionProvider(android.view.ActionProvider) for more info.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_actionViewClass

added in version 22.2.0
int MenuItem_actionViewClass

The name of an optional View class to instantiate and use as an action view. See setActionView(android.view.View) for more info.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_alphabeticModifiers

int MenuItem_alphabeticModifiers

The alphabetic modifier key. This is the modifier when using a keyboard with alphabetic keys. The values should be kept in sync with KeyEvent

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
ALT2
CTRL1000
FUNCTION8
META10000
SHIFT1
SYM4

MenuItem_android_alphabeticShortcut

added in version 22.2.0
int MenuItem_android_alphabeticShortcut

The alphabetic shortcut key. This is the shortcut when using a keyboard with alphabetic keys.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_android_checkable

added in version 22.2.0
int MenuItem_android_checkable

Whether the item is capable of displaying a check mark.

May be a boolean value, such as "true" or "false".

MenuItem_android_checked

added in version 22.2.0
int MenuItem_android_checked

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.

May be a boolean value, such as "true" or "false".

MenuItem_android_enabled

added in version 22.2.0
int MenuItem_android_enabled

Whether the item is enabled.

May be a boolean value, such as "true" or "false".

MenuItem_android_icon

added in version 22.2.0
int MenuItem_android_icon

The icon associated with this item. This icon will not always be shown, so the title should be sufficient in describing this item.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuItem_android_id

added in version 22.2.0
int MenuItem_android_id

The ID of the item.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuItem_android_menuCategory

added in version 22.2.0
int MenuItem_android_menuCategory

The category applied to the item. (This will be or'ed with the orderInCategory attribute.)

Must be one of the following constant values.

ConstantValueDescription
alternative40000
container10000
secondary30000
system20000

MenuItem_android_numericShortcut

added in version 22.2.0
int MenuItem_android_numericShortcut

The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) keyboard.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_android_onClick

added in version 22.2.0
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.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_android_orderInCategory

added in version 22.2.0
int MenuItem_android_orderInCategory

The order within the category applied to the item. (This will be or'ed with the category attribute.)

May be an integer value, such as "100".

MenuItem_android_title

added in version 22.2.0
int MenuItem_android_title

The title associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_android_titleCondensed

added in version 22.2.0
int MenuItem_android_titleCondensed

The condensed title associated with the item. This is used in situations where the normal title may be too long to be displayed.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_android_visible

added in version 22.2.0
int MenuItem_android_visible

Whether the item is shown/visible.

May be a boolean value, such as "true" or "false".

MenuItem_contentDescription

int MenuItem_contentDescription

The content description associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuItem_iconTint

int MenuItem_iconTint

Tint to apply to the icon.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

MenuItem_iconTintMode

int MenuItem_iconTintMode

Blending mode used to apply the icon tint.

Must be one of the following constant values.

ConstantValueDescription
add10Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiplyeMultiplies the color and alpha channels of the icon with those of the tint. [Sa * Da, Sc * Dc]
screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop9The tint is drawn above the icon, but with the icon’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in5The tint is masked by the alpha channel of the icon. The icon’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over3The tint is drawn on top of the icon. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

MenuItem_numericModifiers

int MenuItem_numericModifiers

The numeric modifier key. This is the modifier when using a numeric (e.g., 12-key) keyboard. The values should be kept in sync with KeyEvent

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
ALT2
CTRL1000
FUNCTION8
META10000
SHIFT1
SYM4

MenuItem_showAsAction

added in version 22.2.0
int MenuItem_showAsAction

How this item should display in the Action Bar, if present.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
always2Always 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".
collapseActionView8This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container.
ifRoom1Show 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".
never0Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always".
withText4When this item is shown as an action in the action bar, show a text label with it even if it has an icon representation.

MenuItem_tooltipText

int MenuItem_tooltipText

The tooltip text associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

MenuView_android_headerBackground

added in version 22.2.0
int MenuView_android_headerBackground

Default background for the menu header.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

MenuView_android_horizontalDivider

added in version 22.2.0
int MenuView_android_horizontalDivider

Default horizontal divider between rows of menu items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuView_android_itemBackground

added in version 22.2.0
int MenuView_android_itemBackground

Default background for each menu item.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

MenuView_android_itemIconDisabledAlpha

added in version 22.2.0
int MenuView_android_itemIconDisabledAlpha

Default disabled icon alpha for each menu item that shows an icon.

May be a floating point value, such as "1.2".

MenuView_android_itemTextAppearance

added in version 22.2.0
int MenuView_android_itemTextAppearance

Default appearance of menu item text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuView_android_verticalDivider

added in version 22.2.0
int MenuView_android_verticalDivider

Default vertical divider between menu items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuView_android_windowAnimationStyle

added in version 22.2.0
int MenuView_android_windowAnimationStyle

Default animations for the menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

MenuView_preserveIconSpacing

added in version 22.2.0
int MenuView_preserveIconSpacing

Whether space should be reserved in layout when an icon is missing.

May be a boolean value, such as "true" or "false".

MenuView_subMenuArrow

added in version 24.0.0
int MenuView_subMenuArrow

Drawable for the arrow icon indicating a particular item is a submenu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PopupWindow

added in version 22.2.0
int[] PopupWindow

Attributes that can be used with a PopupWindow.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:overlapAnchorWhether the popup window should overlap its anchor view.
android:popupBackground
android:popupAnimationStyle

See also:

PopupWindowBackgroundState

added in version 22.2.0
int[] PopupWindowBackgroundState

Attributes that can be used with a PopupWindowBackgroundState.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:state_above_anchorState identifier indicating the popup will be above the anchor.

See also:

PopupWindowBackgroundState_state_above_anchor

added in version 22.2.0
int PopupWindowBackgroundState_state_above_anchor

State identifier indicating the popup will be above the anchor.

May be a boolean value, such as "true" or "false".

PopupWindow_android_popupAnimationStyle

added in version 24.0.0
int PopupWindow_android_popupAnimationStyle

This symbol is the offset where the popupAnimationStyle attribute's value can be found in the PopupWindow array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

PopupWindow_android_popupBackground

added in version 22.2.0
int PopupWindow_android_popupBackground

This symbol is the offset where the popupBackground attribute's value can be found in the PopupWindow array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

PopupWindow_overlapAnchor

added in version 22.2.0
int PopupWindow_overlapAnchor

Whether the popup window should overlap its anchor view.

May be a boolean value, such as "true" or "false".

RecycleListView

int[] RecycleListView

Attributes that can be used with a RecycleListView.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:paddingBottomNoButtonsBottom padding to use when no buttons are present.
android.support.v7.appcompat:paddingTopNoTitleTop padding to use when no title is present.

See also:

RecycleListView_paddingBottomNoButtons

int RecycleListView_paddingBottomNoButtons

Bottom padding to use when no buttons are present.

May 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), and mm (millimeters).

RecycleListView_paddingTopNoTitle

int RecycleListView_paddingTopNoTitle

Top padding to use when no title is present.

May 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), and mm (millimeters).

SearchView

added in version 22.2.0
int[] SearchView

Attributes that can be used with a SearchView.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:closeIconClose button icon
android.support.v7.appcompat:commitIconCommit icon shown in the query suggestion row
android.support.v7.appcompat:defaultQueryHintDefault query hint used when queryHint is undefined and the search view's SearchableInfo does not provide a hint.
android.support.v7.appcompat:goIconGo button icon
android.support.v7.appcompat:iconifiedByDefaultThe default state of the SearchView.
android.support.v7.appcompat:layoutThe layout to use for the search view.
android.support.v7.appcompat:queryBackgroundBackground for the section containing the search query
android.support.v7.appcompat:queryHintAn optional user-defined query hint string to be displayed in the empty query field.
android.support.v7.appcompat:searchHintIconSearch icon displayed as a text field hint
android.support.v7.appcompat:searchIconSearch icon
android.support.v7.appcompat:submitBackgroundBackground for the section containing the action (e.
android.support.v7.appcompat:suggestionRowLayoutLayout for query suggestion rows
android.support.v7.appcompat:voiceIconVoice button icon
android:focusable
android:maxWidth
android:inputType
android:imeOptions

See also:

SearchView_android_focusable

added in version 22.2.0
int SearchView_android_focusable

This symbol is the offset where the focusable attribute's value can be found in the SearchView array.

May be a boolean value, such as "true" or "false".

Must be one of the following constant values.

ConstantValueDescription
auto10

SearchView_android_imeOptions

added in version 22.2.0
int SearchView_android_imeOptions

The IME options to set on the query text field.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
actionDone6
actionGo2
actionNext5
actionNone1
actionPrevious7
actionSearch3
actionSend4
actionUnspecified0
flagForceAscii80000000
flagNavigateNext8000000
flagNavigatePrevious4000000
flagNoAccessoryAction20000000
flagNoEnterAction40000000
flagNoExtractUi10000000
flagNoFullscreen2000000
flagNoPersonalizedLearning1000000
normal0

SearchView_android_inputType

added in version 22.2.0
int SearchView_android_inputType

The input type to set on the query text field.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
date14
datetime4
none0
number2
numberDecimal2002
numberPassword12
numberSigned1002
phone3
text1
textAutoComplete10001
textAutoCorrect8001
textCapCharacters1001
textCapSentences4001
textCapWords2001
textEmailAddress21
textEmailSubject31
textFilterb1
textImeMultiLine40001
textLongMessage51
textMultiLine20001
textNoSuggestions80001
textPassword81
textPersonName61
textPhoneticc1
textPostalAddress71
textShortMessage41
textUri11
textVisiblePassword91
textWebEditTexta1
textWebEmailAddressd1
textWebPassworde1
time24

SearchView_android_maxWidth

added in version 22.2.0
int SearchView_android_maxWidth

An optional maximum width of the SearchView.

May 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), and mm (millimeters).

SearchView_closeIcon

added in version 22.2.0
int SearchView_closeIcon

Close button icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_commitIcon

added in version 22.2.0
int SearchView_commitIcon

Commit icon shown in the query suggestion row

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_defaultQueryHint

added in version 22.2.0
int SearchView_defaultQueryHint

Default query hint used when queryHint is undefined and the search view's SearchableInfo does not provide a hint.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SearchView_goIcon

added in version 22.2.0
int SearchView_goIcon

Go button icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_iconifiedByDefault

added in version 22.2.0
int SearchView_iconifiedByDefault

The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.

May be a boolean value, such as "true" or "false".

SearchView_layout

added in version 22.2.0
int SearchView_layout

The layout to use for the search view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_queryBackground

added in version 22.2.0
int SearchView_queryBackground

Background for the section containing the search query

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_queryHint

added in version 22.2.0
int SearchView_queryHint

An optional user-defined query hint string to be displayed in the empty query field.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SearchView_searchHintIcon

added in version 22.2.0
int SearchView_searchHintIcon

Search icon displayed as a text field hint

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_searchIcon

added in version 22.2.0
int SearchView_searchIcon

Search icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_submitBackground

added in version 22.2.0
int SearchView_submitBackground

Background for the section containing the action (e.g. voice search)

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_suggestionRowLayout

added in version 22.2.0
int SearchView_suggestionRowLayout

Layout for query suggestion rows

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SearchView_voiceIcon

added in version 22.2.0
int SearchView_voiceIcon

Voice button icon

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Spinner

added in version 22.2.0
int[] Spinner

Attributes that can be used with a Spinner.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:popupThemeReference to a theme that should be used to inflate popups shown by widgets in the action bar.
android:entries
android:popupBackground
android:prompt
android:dropDownWidth

See also:

Spinner_android_dropDownWidth

added in version 22.2.0
int Spinner_android_dropDownWidth

Width of the dropdown in spinnerMode="dropdown".

May 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), and mm (millimeters).

Must be one of the following constant values.

ConstantValueDescription
fill_parentffffffff
match_parentffffffff
wrap_contentfffffffe

Spinner_android_entries

added in version 23.2.0
int Spinner_android_entries

Reference to an array resource that will populate the Spinner.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Spinner_android_popupBackground

added in version 22.2.0
int Spinner_android_popupBackground

Background drawable to use for the dropdown in spinnerMode="dropdown".

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Spinner_android_prompt

added in version 23.0.0
int Spinner_android_prompt

The prompt to display when the spinner's dialog is shown.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Spinner_popupTheme

added in version 23.0.0
int Spinner_popupTheme

Theme to use for the drop-down or dialog popup window.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SwitchCompat

added in version 22.2.0
int[] SwitchCompat

Attributes that can be used with a SwitchCompat.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:showTextWhether to draw on/off text.
android.support.v7.appcompat:splitTrackWhether to split the track and leave a gap for the thumb drawable.
android.support.v7.appcompat:switchMinWidthMinimum width for the switch component
android.support.v7.appcompat:switchPaddingMinimum space between the switch and caption text
android.support.v7.appcompat:switchTextAppearanceTextAppearance style for text displayed on the switch thumb.
android.support.v7.appcompat:thumbTextPaddingAmount of padding on either side of text within the switch thumb.
android.support.v7.appcompat:thumbTintTint to apply to the thumb drawable.
android.support.v7.appcompat:thumbTintModeBlending mode used to apply the thumb tint.
android.support.v7.appcompat:trackDrawable to use as the "track" that the switch thumb slides within.
android.support.v7.appcompat:trackTintTint to apply to the track.
android.support.v7.appcompat:trackTintModeBlending mode used to apply the track tint.
android:textOn
android:textOff
android:thumb

See also:

SwitchCompat_android_textOff

added in version 22.2.0
int SwitchCompat_android_textOff

Text to use when the switch is in the unchecked/"off" state.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchCompat_android_textOn

added in version 22.2.0
int SwitchCompat_android_textOn

Text to use when the switch is in the checked/"on" state.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

SwitchCompat_android_thumb

added in version 22.2.0
int SwitchCompat_android_thumb

Drawable to use as the "thumb" that switches back and forth.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SwitchCompat_showText

added in version 22.2.0
int SwitchCompat_showText

Whether to draw on/off text.

May be a boolean value, such as "true" or "false".

SwitchCompat_splitTrack

added in version 22.2.0
int SwitchCompat_splitTrack

Whether to split the track and leave a gap for the thumb drawable.

May be a boolean value, such as "true" or "false".

SwitchCompat_switchMinWidth

added in version 22.2.0
int SwitchCompat_switchMinWidth

Minimum width for the switch component

May 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), and mm (millimeters).

SwitchCompat_switchPadding

added in version 22.2.0
int SwitchCompat_switchPadding

Minimum space between the switch and caption text

May 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), and mm (millimeters).

SwitchCompat_switchTextAppearance

added in version 22.2.0
int SwitchCompat_switchTextAppearance

TextAppearance style for text displayed on the switch thumb.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SwitchCompat_thumbTextPadding

added in version 22.2.0
int SwitchCompat_thumbTextPadding

Amount of padding on either side of text within the switch thumb.

May 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), and mm (millimeters).

SwitchCompat_thumbTint

added in version 24.0.0
int SwitchCompat_thumbTint

Tint to apply to the thumb drawable.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

SwitchCompat_thumbTintMode

added in version 24.0.0
int SwitchCompat_thumbTintMode

Blending mode used to apply the thumb tint.

Must be one of the following constant values.

ConstantValueDescription
add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

SwitchCompat_track

added in version 22.2.0
int SwitchCompat_track

Drawable to use as the "track" that the switch thumb slides within.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

SwitchCompat_trackTint

added in version 24.0.0
int SwitchCompat_trackTint

Tint to apply to the track.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

SwitchCompat_trackTintMode

added in version 24.0.0
int SwitchCompat_trackTintMode

Blending mode used to apply the track tint.

Must be one of the following constant values.

ConstantValueDescription
add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

TextAppearance_android_fontFamily

int TextAppearance_android_fontFamily

This symbol is the offset where the fontFamily attribute's value can be found in the TextAppearance array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

TextAppearance_android_shadowColor

added in version 23.1.0
int TextAppearance_android_shadowColor

This symbol is the offset where the shadowColor attribute's value can be found in the TextAppearance array.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

TextAppearance_android_shadowDx

added in version 23.1.0
int TextAppearance_android_shadowDx

This symbol is the offset where the shadowDx attribute's value can be found in the TextAppearance array.

May be a floating point value, such as "1.2".

TextAppearance_android_shadowDy

added in version 23.1.0
int TextAppearance_android_shadowDy

This symbol is the offset where the shadowDy attribute's value can be found in the TextAppearance array.

May be a floating point value, such as "1.2".

TextAppearance_android_shadowRadius

added in version 23.1.0
int TextAppearance_android_shadowRadius

This symbol is the offset where the shadowRadius attribute's value can be found in the TextAppearance array.

May be a floating point value, such as "1.2".

TextAppearance_android_textColor

added in version 22.2.0
int TextAppearance_android_textColor

This symbol is the offset where the textColor attribute's value can be found in the TextAppearance array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

TextAppearance_android_textColorHint

int TextAppearance_android_textColorHint

This symbol is the offset where the textColorHint attribute's value can be found in the TextAppearance array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

TextAppearance_android_textColorLink

int TextAppearance_android_textColorLink

This symbol is the offset where the textColorLink attribute's value can be found in the TextAppearance array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

TextAppearance_android_textSize

added in version 22.2.0
int TextAppearance_android_textSize

This symbol is the offset where the textSize attribute's value can be found in the TextAppearance array.

May 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), and mm (millimeters).

TextAppearance_android_textStyle

added in version 22.2.0
int TextAppearance_android_textStyle

This symbol is the offset where the textStyle attribute's value can be found in the TextAppearance array.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bold1
italic2
normal0

TextAppearance_android_typeface

added in version 22.2.0
int TextAppearance_android_typeface

This symbol is the offset where the typeface attribute's value can be found in the TextAppearance array.

Must be one of the following constant values.

ConstantValueDescription
monospace3
normal0
sans1
serif2

TextAppearance_fontFamily

int TextAppearance_fontFamily

The attribute for the font family.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

TextAppearance_textAllCaps

added in version 22.2.0
int TextAppearance_textAllCaps

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 a theme attribute in the form "?[package:]type/name".

May be a boolean value, such as "true" or "false".

Toolbar

added in version 22.2.0
int[] Toolbar

This field was deprecated in API level 24.0.0.
Use titleMargin

Attributes that can be used with a Toolbar.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:buttonGravity
android.support.v7.appcompat:collapseContentDescriptionText to set as the content description for the collapse button.
android.support.v7.appcompat:collapseIconIcon drawable to use for the collapse button.
android.support.v7.appcompat:contentInsetEndMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetEndWithActionsMinimum inset for content views within a bar when actions from a menu are present.
android.support.v7.appcompat:contentInsetLeftMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetRightMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetStartMinimum inset for content views within a bar.
android.support.v7.appcompat:contentInsetStartWithNavigationMinimum inset for content views within a bar when a navigation button is present, such as the Up button.
android.support.v7.appcompat:logoSpecifies the drawable used for the application logo.
android.support.v7.appcompat:logoDescriptionA content description string to describe the appearance of the associated logo image.
android.support.v7.appcompat:maxButtonHeight
android.support.v7.appcompat:navigationContentDescriptionText to set as the content description for the navigation button located at the start of the toolbar.
android.support.v7.appcompat:navigationIconIcon drawable to use for the navigation button located at the start of the toolbar.
android.support.v7.appcompat:popupThemeReference to a theme that should be used to inflate popups shown by widgets in the action bar.
android.support.v7.appcompat:subtitleSpecifies subtitle text used for navigationMode="normal"
android.support.v7.appcompat:subtitleTextAppearance
android.support.v7.appcompat:subtitleTextColorA color to apply to the subtitle string.
android.support.v7.appcompat:title
android.support.v7.appcompat:titleMarginSpecifies extra space on the left, start, right and end sides of the toolbar's title.
android.support.v7.appcompat:titleMarginBottomSpecifies extra space on the bottom side of the toolbar's title.
android.support.v7.appcompat:titleMarginEndSpecifies extra space on the end side of the toolbar's title.
android.support.v7.appcompat:titleMarginStartSpecifies extra space on the start side of the toolbar's title.
android.support.v7.appcompat:titleMarginTopSpecifies extra space on the top side of the toolbar's title.
android.support.v7.appcompat:titleMargins
android.support.v7.appcompat:titleTextAppearance
android.support.v7.appcompat:titleTextColorA color to apply to the title string.
android:gravity
android:minHeight

See also:

Toolbar_android_gravity

added in version 22.2.0
int Toolbar_android_gravity

This symbol is the offset where the gravity attribute's value can be found in the Toolbar array.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30

Toolbar_android_minHeight

added in version 22.2.0
int Toolbar_android_minHeight

This symbol is the offset where the minHeight attribute's value can be found in the Toolbar array.

May 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), and mm (millimeters).

Toolbar_buttonGravity

added in version 24.0.0
int Toolbar_buttonGravity

This symbol is the offset where the buttonGravity attribute's value can be found in the Toolbar array.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
top30Push object to the top of its container, not changing its size.

Toolbar_collapseContentDescription

added in version 22.2.0
int Toolbar_collapseContentDescription

Text to set as the content description for the collapse button.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Toolbar_collapseIcon

added in version 22.2.0
int Toolbar_collapseIcon

Icon drawable to use for the collapse button.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Toolbar_contentInsetEnd

added in version 22.2.0
int Toolbar_contentInsetEnd

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

Toolbar_contentInsetEndWithActions

added in version 24.0.0
int Toolbar_contentInsetEndWithActions

Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.

May 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), and mm (millimeters).

Toolbar_contentInsetLeft

added in version 22.2.0
int Toolbar_contentInsetLeft

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

Toolbar_contentInsetRight

added in version 22.2.0
int Toolbar_contentInsetRight

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

Toolbar_contentInsetStart

added in version 22.2.0
int Toolbar_contentInsetStart

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May 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), and mm (millimeters).

Toolbar_contentInsetStartWithNavigation

added in version 24.0.0
int Toolbar_contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.

May 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), and mm (millimeters).

Toolbar_logo

added in version 23.0.0
int Toolbar_logo

Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Toolbar_logoDescription

added in version 23.0.0
int Toolbar_logoDescription

A content description string to describe the appearance of the associated logo image.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Toolbar_maxButtonHeight

added in version 22.2.0
int Toolbar_maxButtonHeight

This symbol is the offset where the maxButtonHeight attribute's value can be found in the Toolbar array.

May 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), and mm (millimeters).

Toolbar_navigationContentDescription

added in version 22.2.0
int Toolbar_navigationContentDescription

Text to set as the content description for the navigation button located at the start of the toolbar.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Toolbar_navigationIcon

added in version 22.2.0
int Toolbar_navigationIcon

Icon drawable to use for the navigation button located at the start of the toolbar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Toolbar_popupTheme

added in version 22.2.0
int Toolbar_popupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the toolbar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Toolbar_subtitle

added in version 22.2.0
int Toolbar_subtitle

Specifies subtitle text used for navigationMode="normal"

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Toolbar_subtitleTextAppearance

added in version 22.2.0
int Toolbar_subtitleTextAppearance

This symbol is the offset where the subtitleTextAppearance attribute's value can be found in the Toolbar array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Toolbar_subtitleTextColor

added in version 23.0.0
int Toolbar_subtitleTextColor

A color to apply to the subtitle string.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Toolbar_title

added in version 22.2.0
int Toolbar_title

This symbol is the offset where the title attribute's value can be found in the Toolbar array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Toolbar_titleMargin

added in version 24.0.0
int Toolbar_titleMargin

Specifies extra space on the left, start, right and end sides of the toolbar's title. Margin values should be positive.

May 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), and mm (millimeters).

Toolbar_titleMarginBottom

added in version 22.2.0
int Toolbar_titleMarginBottom

Specifies extra space on the bottom side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May 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), and mm (millimeters).

Toolbar_titleMarginEnd

added in version 22.2.0
int Toolbar_titleMarginEnd

Specifies extra space on the end side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May 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), and mm (millimeters).

Toolbar_titleMarginStart

added in version 22.2.0
int Toolbar_titleMarginStart

Specifies extra space on the start side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May 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), and mm (millimeters).

Toolbar_titleMarginTop

added in version 22.2.0
int Toolbar_titleMarginTop

Specifies extra space on the top side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May 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), and mm (millimeters).

Toolbar_titleMargins

added in version 22.2.0
int Toolbar_titleMargins

May 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), and mm (millimeters).

Toolbar_titleTextAppearance

added in version 22.2.0
int Toolbar_titleTextAppearance

This symbol is the offset where the titleTextAppearance attribute's value can be found in the Toolbar array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Toolbar_titleTextColor

added in version 23.0.0
int Toolbar_titleTextColor

A color to apply to the title string.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

View

added in version 22.2.0
int[] View

Attributes that can be used with a View.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:paddingEndSets the padding, in pixels, of the end edge; see {@link android.
{@link #View_paddingStart android.support.v7.appcompat:paddingStart}Sets the padding, in pixels, of the start edge; see {@link android.
{@link #View_theme android.support.v7.appcompat:theme}Deprecated.
{@link #View_android_theme android:theme}
{@link #View_android_focusable android:focusable}

See also:

ViewBackgroundHelper

added in version 23.0.0
int[] ViewBackgroundHelper

Attributes that can be used with a ViewBackgroundHelper.

Includes the following attributes:

AttributeDescription
android.support.v7.appcompat:backgroundTintTint to apply to the background.
android.support.v7.appcompat:backgroundTintModeBlending mode used to apply the background tint.
android:background

See also:

ViewBackgroundHelper_android_background

added in version 23.0.0
int ViewBackgroundHelper_android_background

This symbol is the offset where the background attribute's value can be found in the ViewBackgroundHelper array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

ViewBackgroundHelper_backgroundTint

added in version 23.0.0
int ViewBackgroundHelper_backgroundTint

Tint to apply to the background.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

ViewBackgroundHelper_backgroundTintMode

added in version 23.0.0
int ViewBackgroundHelper_backgroundTintMode

Blending mode used to apply the background tint.

Must be one of the following constant values.

ConstantValueDescription
multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

ViewStubCompat

added in version 22.2.0
int[] ViewStubCompat

Attributes that can be used with a ViewStubCompat.

Includes the following attributes:

AttributeDescription
android:id
android:layout
android:inflatedId

See also:

ViewStubCompat_android_id

added in version 22.2.0
int ViewStubCompat_android_id

This symbol is the offset where the id attribute's value can be found in the ViewStubCompat array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ViewStubCompat_android_inflatedId

added in version 22.2.0
int ViewStubCompat_android_inflatedId

Overrides the id of the inflated View with this value.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

ViewStubCompat_android_layout

added in version 22.2.0
int ViewStubCompat_android_layout

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

View_android_focusable

added in version 22.2.0
int View_android_focusable

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.

May be a boolean value, such as "true" or "false".

Must be one of the following constant values.

ConstantValueDescription
auto10

View_android_theme

added in version 22.2.0
int View_android_theme

Specifies a theme override for a view. When a theme override is set, the view will be inflated using a Context themed with the specified resource.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

View_paddingEnd

added in version 22.2.0
int View_paddingEnd

Sets the padding, in pixels, of the end edge; see padding.

May 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), and mm (millimeters).

View_paddingStart

added in version 22.2.0
int View_paddingStart

Sets the padding, in pixels, of the start edge; see padding.

May 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), and mm (millimeters).

View_theme

added in version 22.2.0
int View_theme

Deprecated.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Public constructors

R.styleable

added in version 22.2.0
R.styleable ()

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)