java.lang.Object | |
↳ | android.support.design.R.attr |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
actionBarDivider | Custom divider drawable to use for elements in the action bar. | ||||||||||
actionBarItemBackground | Custom item state list drawable background for action bar items. | ||||||||||
actionBarPopupTheme | Reference to a theme that should be used to inflate popups shown by widgets in the action bar. | ||||||||||
actionBarSize | Size of the Action Bar, including the contextual bar used to present Action Modes. | ||||||||||
actionBarSplitStyle | Reference to a style for the split Action Bar. | ||||||||||
actionBarStyle |
Reference to a style for the Action Bar
Must be a reference to another resource, in the form " |
||||||||||
actionBarTabBarStyle |
Must be a reference to another resource, in the form " |
||||||||||
actionBarTabStyle |
Default style for tabs within an action bar
Must be a reference to another resource, in the form " |
||||||||||
actionBarTabTextStyle |
Must be a reference to another resource, in the form " |
||||||||||
actionBarTheme | Reference to a theme that should be used to inflate the action bar. | ||||||||||
actionBarWidgetTheme | Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. | ||||||||||
actionButtonStyle | Default action button style. | ||||||||||
actionDropDownStyle | Default ActionBar dropdown style. | ||||||||||
actionLayout | An optional layout to be used as an action view. | ||||||||||
actionMenuTextAppearance | TextAppearance style that will be applied to text that appears within action menu items. | ||||||||||
actionMenuTextColor | Color for text that appears within action menu items. | ||||||||||
actionModeBackground |
Background drawable to use for action mode UI
Must be a reference to another resource, in the form " |
||||||||||
actionModeCloseButtonStyle |
Must be a reference to another resource, in the form " |
||||||||||
actionModeCloseDrawable |
Drawable to use for the close action mode button
Must be a reference to another resource, in the form " |
||||||||||
actionModeCopyDrawable |
Drawable to use for the Copy action button in Contextual Action Bar
Must be a reference to another resource, in the form " |
||||||||||
actionModeCutDrawable |
Drawable to use for the Cut action button in Contextual Action Bar
Must be a reference to another resource, in the form " |
||||||||||
actionModeFindDrawable |
Drawable to use for the Find action button in WebView selection action modes
Must be a reference to another resource, in the form " |
||||||||||
actionModePasteDrawable |
Drawable to use for the Paste action button in Contextual Action Bar
Must be a reference to another resource, in the form " |
||||||||||
actionModePopupWindowStyle | PopupWindow style to use for action modes when showing as a window overlay. | ||||||||||
actionModeSelectAllDrawable |
Drawable to use for the Select all action button in Contextual Action Bar
Must be a reference to another resource, in the form " |
||||||||||
actionModeShareDrawable |
Drawable to use for the Share action button in WebView selection action modes
Must be a reference to another resource, in the form " |
||||||||||
actionModeSplitBackground |
Background drawable to use for action mode UI in the lower split bar
Must be a reference to another resource, in the form " |
||||||||||
actionModeStyle |
Must be a reference to another resource, in the form " |
||||||||||
actionModeWebSearchDrawable |
Drawable to use for the Web Search action button in WebView selection action modes
Must be a reference to another resource, in the form " |
||||||||||
actionOverflowButtonStyle |
Must be a reference to another resource, in the form " |
||||||||||
actionOverflowMenuStyle |
Must be a reference to another resource, in the form " |
||||||||||
actionProviderClass | The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. | ||||||||||
actionViewClass | The name of an optional View class to instantiate and use as an action view. | ||||||||||
activityChooserViewStyle | Default ActivityChooserView style. | ||||||||||
alertDialogButtonGroupStyle |
Must be a reference to another resource, in the form " |
||||||||||
alertDialogCenterButtons |
Must be a boolean value, either " |
||||||||||
alertDialogStyle |
Must be a reference to another resource, in the form " |
||||||||||
alertDialogTheme | Theme to use for alert dialogs spawned from this theme. | ||||||||||
arrowHeadLength |
The length of the arrow head when formed to make an arrow
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
arrowShaftLength |
The length of the shaft when formed to make an arrow
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
autoCompleteTextViewStyle | Default AutoCompleteTextView style. | ||||||||||
background | Specifies a background drawable for the action bar. | ||||||||||
backgroundSplit | Specifies a background drawable for the bottom component of a split action bar. | ||||||||||
backgroundStacked | Specifies a background drawable for a second stacked row of the action bar. | ||||||||||
backgroundTint | Tint to apply to the background. | ||||||||||
backgroundTintMode | Blending mode used to apply the background tint. | ||||||||||
barLength |
The length of the bars when they are parallel to each other
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
behavior_overlapTop |
The amount that the scrolling view should overlap the bottom of any AppBarLayout
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
borderWidth | The width of the border around the FAB. | ||||||||||
borderlessButtonStyle | Style for buttons without an explicit border, often used in groups. | ||||||||||
buttonBarButtonStyle |
Style for buttons within button bars
Must be a reference to another resource, in the form " |
||||||||||
buttonBarNegativeButtonStyle |
Style for the "negative" buttons within button bars
Must be a reference to another resource, in the form " |
||||||||||
buttonBarNeutralButtonStyle |
Style for the "neutral" buttons within button bars
Must be a reference to another resource, in the form " |
||||||||||
buttonBarPositiveButtonStyle |
Style for the "positive" buttons within button bars
Must be a reference to another resource, in the form " |
||||||||||
buttonBarStyle |
Style for button bars
Must be a reference to another resource, in the form " |
||||||||||
buttonPanelSideLayout |
Must be a reference to another resource, in the form " |
||||||||||
buttonStyle | Normal Button style. | ||||||||||
buttonStyleSmall | Small Button style. | ||||||||||
buttonTint | Tint to apply to the button drawable. | ||||||||||
buttonTintMode | Blending mode used to apply the button tint. | ||||||||||
checkboxStyle | Default Checkbox style. | ||||||||||
checkedTextViewStyle | Default CheckedTextView style. | ||||||||||
closeIcon |
Close button icon
Must be a reference to another resource, in the form " |
||||||||||
closeItemLayout | Specifies a layout to use for the "close" item at the starting edge. | ||||||||||
collapseContentDescription | Text to set as the content description for the collapse button. | ||||||||||
collapseIcon |
Must be a reference to another resource, in the form " |
||||||||||
collapsedTitleGravity | Specifies how the title should be positioned when collapsed. | ||||||||||
collapsedTitleTextAppearance |
The text appearance of the CollapsingToolbarLayouts title when it is fully
'collapsed'
Must be a reference to another resource, in the form " |
||||||||||
color |
The drawing color for the bars
Must be a color value, in the form of " |
||||||||||
colorAccent | Bright complement to the primary branding color. | ||||||||||
colorButtonNormal | The color applied to framework buttons in their normal state. | ||||||||||
colorControlActivated | The color applied to framework controls in their activated (ex. | ||||||||||
colorControlHighlight | The color applied to framework control highlights (ex. | ||||||||||
colorControlNormal | The color applied to framework controls in their normal state. | ||||||||||
colorPrimary | The primary branding color for the app. | ||||||||||
colorPrimaryDark | Dark variant of the primary branding color. | ||||||||||
colorSwitchThumbNormal | The color applied to framework switch thumbs in their normal state. | ||||||||||
commitIcon |
Commit icon shown in the query suggestion row
Must be a reference to another resource, in the form " |
||||||||||
contentInsetEnd | Minimum inset for content views within a bar. | ||||||||||
contentInsetLeft | Minimum inset for content views within a bar. | ||||||||||
contentInsetRight | Minimum inset for content views within a bar. | ||||||||||
contentInsetStart | Minimum inset for content views within a bar. | ||||||||||
contentScrim | The drawable to use as a scrim on top of the CollapsingToolbarLayouts content when it has been scrolled sufficiently off screen. | ||||||||||
controlBackground | The background used by framework controls. | ||||||||||
customNavigationLayout | Specifies a layout for custom navigation. | ||||||||||
defaultQueryHint |
Default query hint used when queryHint is undefined and
the search view's SearchableInfo does not provide a hint.
|
||||||||||
dialogPreferredPadding | Preferred padding for dialog content. | ||||||||||
dialogTheme | Theme to use for dialogs spawned from this theme. | ||||||||||
displayOptions | Options affecting how the action bar is displayed. | ||||||||||
divider | Specifies the drawable used for item dividers. | ||||||||||
dividerHorizontal | A drawable that may be used as a horizontal divider between visual elements. | ||||||||||
dividerPadding | Size of padding on either end of a divider. | ||||||||||
dividerVertical | A drawable that may be used as a vertical divider between visual elements. | ||||||||||
drawableSize |
The total size of the drawable
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
drawerArrowStyle |
Must be a reference to another resource, in the form " |
||||||||||
dropDownListViewStyle |
ListPopupWindow compatibility
Must be a reference to another resource, in the form " |
||||||||||
dropdownListPreferredItemHeight | The preferred item height for dropdown lists. | ||||||||||
editTextBackground | EditText background drawable. | ||||||||||
editTextColor | EditText text foreground color. | ||||||||||
editTextStyle | Default EditText style. | ||||||||||
elevation |
Elevation for the action bar itself
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
errorEnabled |
Whether the layout is laid out as if an error will be displayed
Must be a boolean value, either " |
||||||||||
errorTextAppearance |
TextAppearance of any error message displayed
Must be a reference to another resource, in the form " |
||||||||||
expandActivityOverflowButtonDrawable | The drawable to show in the button for expanding the activities overflow popup. | ||||||||||
expanded | The initial expanded state for the AppBarLayout. | ||||||||||
expandedTitleGravity | Specifies how the title should be positioned when expanded. | ||||||||||
expandedTitleMargin | Specifies extra space on the start, top, end and bottom sides of the the expanded title text. | ||||||||||
expandedTitleMarginBottom | Specifies extra space on the bottom side of the the expanded title text. | ||||||||||
expandedTitleMarginEnd | Specifies extra space on the end side of the the expanded title text. | ||||||||||
expandedTitleMarginStart | Specifies extra space on the start side of the the expanded title text. | ||||||||||
expandedTitleMarginTop | Specifies extra space on the top side of the the expanded title text. | ||||||||||
expandedTitleTextAppearance |
The text appearance of the CollapsingToolbarLayout's title when it is fully
'expanded'
Must be a reference to another resource, in the form " |
||||||||||
fabSize | Size for the FAB. | ||||||||||
gapBetweenBars |
The max gap between the bars when they are parallel to each other
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
goIcon |
Go button icon
Must be a reference to another resource, in the form " |
||||||||||
headerLayout |
Layout resource to inflate as the header
Must be a reference to another resource, in the form " |
||||||||||
height |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
hideOnContentScroll | Set true to hide the action bar on a vertical nested scroll of content. | ||||||||||
hintAnimationEnabled | Whether to animate hint state changes. | ||||||||||
hintTextAppearance |
Must be a reference to another resource, in the form " |
||||||||||
homeAsUpIndicator | Specifies a drawable to use for the 'home as up' indicator. | ||||||||||
homeLayout | Specifies a layout to use for the "home" section of the action bar. | ||||||||||
icon | Specifies the drawable used for the application icon. | ||||||||||
iconifiedByDefault | The default state of the SearchView. | ||||||||||
indeterminateProgressStyle | Specifies a style resource to use for an indeterminate progress spinner. | ||||||||||
initialActivityCount | The maximal number of items initially shown in the activity list. | ||||||||||
insetForeground |
May be a reference to another resource, in the form " |
||||||||||
isLightTheme | Specifies whether the theme is light, otherwise it is dark. | ||||||||||
itemBackground |
Must be a reference to another resource, in the form " |
||||||||||
itemIconTint |
Must be a color value, in the form of " |
||||||||||
itemPadding | Specifies padding that should be applied to the left and right sides of system-provided items in the bar. | ||||||||||
itemTextAppearance |
Must be a reference to another resource, in the form " |
||||||||||
itemTextColor |
Must be a color value, in the form of " |
||||||||||
keylines | A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. | ||||||||||
layout | The layout to use for the search view. | ||||||||||
layout_anchor | The id of an anchor view that this view should position relative to. | ||||||||||
layout_anchorGravity | Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds. | ||||||||||
layout_behavior | The class name of a Behavior class defining special runtime behavior for this child view. | ||||||||||
layout_collapseMode |
Must be one of the following constant values. |
||||||||||
layout_collapseParallaxMultiplier | The multiplier used when layout_collapseMode is set to 'parallax'. | ||||||||||
layout_keyline | The index of a keyline this view should position relative to. | ||||||||||
layout_scrollFlags |
Must be one or more (separated by '|') of the following constant values. |
||||||||||
layout_scrollInterpolator | An interpolator to use when scrolling this View. | ||||||||||
listChoiceBackgroundIndicator | Drawable used as a background for selected list items. | ||||||||||
listDividerAlertDialog | The list divider used in alert dialogs. | ||||||||||
listItemLayout |
Must be a reference to another resource, in the form " |
||||||||||
listLayout |
Must be a reference to another resource, in the form " |
||||||||||
listPopupWindowStyle |
Must be a reference to another resource, in the form " |
||||||||||
listPreferredItemHeight | The preferred list item height. | ||||||||||
listPreferredItemHeightLarge | A larger, more robust list item height. | ||||||||||
listPreferredItemHeightSmall | A smaller, sleeker list item height. | ||||||||||
listPreferredItemPaddingLeft | The preferred padding along the left edge of list items. | ||||||||||
listPreferredItemPaddingRight | The preferred padding along the right edge of list items. | ||||||||||
logo | Specifies the drawable used for the application logo. | ||||||||||
logoDescription | A content description string to describe the appearance of the associated logo image. | ||||||||||
maxActionInlineWidth |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
maxButtonHeight |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
measureWithLargestChild | When set to true, all children with a weight will be considered having the minimum size of the largest child. | ||||||||||
menu | The menu resource to inflate and populate items from. | ||||||||||
multiChoiceItemLayout |
Must be a reference to another resource, in the form " |
||||||||||
navigationContentDescription | Text to set as the content description for the navigation button located at the start of the toolbar. | ||||||||||
navigationIcon | Icon drawable to use for the navigation button located at the start of the toolbar. | ||||||||||
navigationMode | The type of navigation to use. | ||||||||||
overlapAnchor | Whether the popup window should overlap its anchor view. | ||||||||||
paddingEnd |
Sets the padding, in pixels, of the end edge; see padding .
|
||||||||||
paddingStart |
Sets the padding, in pixels, of the start edge; see padding .
|
||||||||||
panelBackground | The background of a panel when it is inset from the left and right edges of the screen. | ||||||||||
panelMenuListTheme | Default Panel Menu style. | ||||||||||
panelMenuListWidth | Default Panel Menu width. | ||||||||||
popupMenuStyle | Default PopupMenu style. | ||||||||||
popupTheme | Reference to a theme that should be used to inflate popups shown by widgets in the action bar. | ||||||||||
popupWindowStyle | Default PopupWindow style. | ||||||||||
preserveIconSpacing | Whether space should be reserved in layout when an icon is missing. | ||||||||||
pressedTranslationZ |
TranslationZ value for the FAB when pressed
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
progressBarPadding | Specifies the horizontal padding on either end for an embedded progress bar. | ||||||||||
progressBarStyle | Specifies a style resource to use for an embedded progress bar. | ||||||||||
queryBackground |
Background for the section containing the search query
Must be a reference to another resource, in the form " |
||||||||||
queryHint | An optional user-defined query hint string to be displayed in the empty query field. | ||||||||||
radioButtonStyle | Default RadioButton style. | ||||||||||
ratingBarStyle | Default RatingBar style. | ||||||||||
rippleColor | Ripple color for the FAB. | ||||||||||
searchHintIcon |
Search icon displayed as a text field hint
Must be a reference to another resource, in the form " |
||||||||||
searchIcon |
Search icon
Must be a reference to another resource, in the form " |
||||||||||
searchViewStyle | Style for the search query widget. | ||||||||||
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. | ||||||||||
selectableItemBackgroundBorderless | Background drawable for borderless standalone items that need focus/pressed states. | ||||||||||
showAsAction | How this item should display in the Action Bar, if present. | ||||||||||
showDividers | Setting for which dividers to show. | ||||||||||
showText | Whether to draw on/off text. | ||||||||||
singleChoiceItemLayout |
Must be a reference to another resource, in the form " |
||||||||||
spinBars |
Whether bars should rotate or not during transition
Must be a boolean value, either " |
||||||||||
spinnerDropDownItemStyle | Default Spinner style. | ||||||||||
spinnerStyle | Default Spinner style. | ||||||||||
splitTrack | Whether to split the track and leave a gap for the thumb drawable. | ||||||||||
state_above_anchor | State identifier indicating the popup will be above the anchor. | ||||||||||
statusBarBackground | Drawable to display behind the status bar when the view is set to draw behind it. | ||||||||||
statusBarScrim | The drawable to use as a scrim for the status bar content when the CollapsingToolbarLayout has been scrolled sufficiently off screen. | ||||||||||
submitBackground | Background for the section containing the action (e.g. | ||||||||||
subtitle |
Specifies subtitle text used for navigationMode="normal"
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
||||||||||
subtitleTextAppearance |
Must be a reference to another resource, in the form " |
||||||||||
subtitleTextColor | A color to apply to the subtitle string. | ||||||||||
subtitleTextStyle | Specifies a style to use for subtitle text. | ||||||||||
suggestionRowLayout |
Layout for query suggestion rows
Must be a reference to another resource, in the form " |
||||||||||
switchMinWidth |
Minimum width for the switch component
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
switchPadding |
Minimum space between the switch and caption text
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
switchStyle | Default style for the Switch widget. | ||||||||||
switchTextAppearance | TextAppearance style for text displayed on the switch thumb. | ||||||||||
tabBackground |
Must be a reference to another resource, in the form " |
||||||||||
tabContentStart |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabGravity | Standard gravity constant that a child supplies to its parent. | ||||||||||
tabIndicatorColor |
Must be a color value, in the form of " |
||||||||||
tabIndicatorHeight |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabMaxWidth |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabMinWidth |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabMode |
Must be one of the following constant values. |
||||||||||
tabPadding |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabPaddingBottom |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabPaddingEnd |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabPaddingStart |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabPaddingTop |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
tabSelectedTextColor |
Must be a color value, in the form of " |
||||||||||
tabTextAppearance |
Must be a reference to another resource, in the form " |
||||||||||
tabTextColor |
Must be a color value, in the form of " |
||||||||||
textAllCaps | Present the text in ALL CAPS. | ||||||||||
textAppearanceLargePopupMenu | Text color, typeface, size, and style for the text inside of a popup menu. | ||||||||||
textAppearanceListItem | The preferred TextAppearance for the primary text of list items. | ||||||||||
textAppearanceListItemSmall | The preferred TextAppearance for the primary text of small list items. | ||||||||||
textAppearanceSearchResultSubtitle | Text color, typeface, size, and style for system search result subtitle. | ||||||||||
textAppearanceSearchResultTitle | Text color, typeface, size, and style for system search result title. | ||||||||||
textAppearanceSmallPopupMenu | Text color, typeface, size, and style for small text inside of a popup menu. | ||||||||||
textColorAlertDialogListItem | Color of list item text in alert dialogs. | ||||||||||
textColorSearchUrl |
Text color for urls in search suggestions, used by things like global search
May be a reference to another resource, in the form " |
||||||||||
theme | Deprecated. | ||||||||||
thickness |
The thickness (stroke size) for the bar paint
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
thumbTextPadding | Amount of padding on either side of text within the switch thumb. | ||||||||||
title |
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. |
||||||||||
titleEnabled | Whether the CollapsingToolbarLayout should draw its own shrinking/growing title. | ||||||||||
titleMarginBottom |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
titleMarginEnd |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
titleMarginStart |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
titleMarginTop |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
titleMargins |
Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
titleTextAppearance |
Must be a reference to another resource, in the form " |
||||||||||
titleTextColor | A color to apply to the title string. | ||||||||||
titleTextStyle | Specifies a style to use for title text. | ||||||||||
toolbarId | The id of the primary Toolbar child that you wish to use for the purpose of collapsing. | ||||||||||
toolbarNavigationButtonStyle |
Default Toolar NavigationButtonStyle
Must be a reference to another resource, in the form " |
||||||||||
toolbarStyle | Default Toolbar style. | ||||||||||
track | Drawable to use as the "track" that the switch thumb slides within. | ||||||||||
voiceIcon |
Voice button icon
Must be a reference to another resource, in the form " |
||||||||||
windowActionBar | Flag indicating whether this window should have an Action Bar in place of the usual title bar. | ||||||||||
windowActionBarOverlay | Flag indicating whether this window's Action Bar should overlay application content. | ||||||||||
windowActionModeOverlay | Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). | ||||||||||
windowFixedHeightMajor | A fixed height for the window along the major axis of the screen, that is, when in portrait. | ||||||||||
windowFixedHeightMinor | A fixed height for the window along the minor axis of the screen, that is, when in landscape. | ||||||||||
windowFixedWidthMajor | A fixed width for the window along the major axis of the screen, that is, when in landscape. | ||||||||||
windowFixedWidthMinor | A fixed width for the window along the minor axis of the screen, that is, when in portrait. | ||||||||||
windowMinWidthMajor | The minimum width the window is allowed to be, along the major axis of the screen. | ||||||||||
windowMinWidthMinor | The minimum width the window is allowed to be, along the minor axis of the screen. | ||||||||||
windowNoTitle | Flag indicating whether there should be no title on this window. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Custom divider drawable to use for elements in the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Custom item state list drawable background for action bar items.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
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), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
wrap_content | 0 |
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Reference to a style for the Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default style for tabs within an action bar
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default action button style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default ActionBar dropdown style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
An optional layout to be used as an action view.
See setActionView(android.view.View)
for more info.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
TextAppearance style that will be applied to text that appears within action menu items.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Color for text that appears within action menu items. Color for text that appears within action menu items.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Background drawable to use for action mode UI
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the close action mode button
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the Copy action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the Cut action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the Find action button in WebView selection action modes
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the Paste action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
PopupWindow style to use for action modes when showing as a window overlay.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the Select all action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the Share action button in WebView selection action modes
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Background drawable to use for action mode UI in the lower split bar
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use for the Web Search action button in WebView selection action modes
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The name of an optional ActionProvider class to instantiate an action view
and perform operations such as default action for that menu item.
See setActionProvider(android.view.ActionProvider)
for more info.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The name of an optional View class to instantiate and use as an
action view. See setActionView(android.view.View)
for more info.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Default ActivityChooserView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Theme to use for alert dialogs spawned from this theme.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The length of the arrow head when formed to make an arrow
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The length of the shaft when formed to make an arrow
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Default AutoCompleteTextView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies a background drawable for the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies a background drawable for the bottom component of a split action bar.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Specifies a background drawable for a second stacked row of the action bar.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Tint to apply to the background.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Blending mode used to apply the background tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
The length of the bars when they are parallel to each other
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The amount that the scrolling view should overlap the bottom of any AppBarLayout
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The width of the border around the FAB.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Style for buttons without an explicit border, often used in groups.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Style for buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Style for the "negative" buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Style for the "neutral" buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Style for the "positive" buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Style for button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Normal Button style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Small Button style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Tint to apply to the button drawable.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Blending mode used to apply the button tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
Default Checkbox style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default CheckedTextView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Close button icon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies a layout to use for the "close" item at the starting edge.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Text to set as the content description for the collapse button.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies how the title should be positioned when collapsed.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
top | 0x30 | Push title to the top of its container, not changing its size. |
bottom | 0x50 | Push title to the bottom of its container, not changing its size. |
left | 0x03 | Push title to the left of its container, not changing its size. |
right | 0x05 | Push title to the right of its container, not changing its size. |
center_vertical | 0x10 | Place title in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the title if needed so it completely fills its container. |
center_horizontal | 0x01 | Place title in the horizontal center of its container, not changing its size. |
center | 0x11 | Place the title in the center of its container in both the vertical and horizontal axis, not changing its size. |
start | 0x00800003 | Push title to the beginning of its container, not changing its size. |
end | 0x00800005 | Push title to the end of its container, not changing its size. |
The text appearance of the CollapsingToolbarLayouts title when it is fully 'collapsed'
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The drawing color for the bars
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Bright complement to the primary branding color. By default, this is the color applied to framework controls (via colorControlActivated).
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The color applied to framework buttons in their normal state.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The color applied to framework controls in their activated (ex. checked) state.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The color applied to framework control highlights (ex. ripples, list selectors).
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The color applied to framework controls in their normal state.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The primary branding color for the app. By default, this is the color applied to the action bar background.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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).
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The color applied to framework switch thumbs in their normal state.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Commit icon shown in the query suggestion row
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The drawable to use as a scrim on top of the CollapsingToolbarLayouts content when it has been scrolled sufficiently off screen.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The background used by framework controls.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies a layout for custom navigation. Overrides navigationMode.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default query hint used when queryHint
is undefined and
the search view's SearchableInfo
does not provide a hint.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Preferred padding for dialog content.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Theme to use for dialogs spawned from this theme.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Options affecting how the action bar is displayed.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | |
useLogo | 0x1 | |
showHome | 0x2 | |
homeAsUp | 0x4 | |
showTitle | 0x8 | |
showCustom | 0x10 | |
disableHome | 0x20 |
Specifies the drawable used for item dividers.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
A drawable that may be used as a horizontal divider between visual elements.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Size of padding on either end of a divider.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
A drawable that may be used as a vertical divider between visual elements.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The total size of the drawable
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
ListPopupWindow compatibility
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The preferred item height for dropdown lists.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
EditText background drawable.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
EditText text foreground color.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Default EditText style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Elevation for the action bar itself
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Whether the layout is laid out as if an error will be displayed
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
TextAppearance of any error message displayed
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The drawable to show in the button for expanding the activities overflow popup. Note: Clients would like to set this drawable as a clue about the action the chosen activity will perform. For example, if share activity is to be chosen the drawable should give a clue that sharing is to be performed.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The initial expanded state for the AppBarLayout. This only takes effect when this view is a direct child of a CoordinatorLayout.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies how the title should be positioned when expanded.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
top | 0x30 | Push title to the top of its container, not changing its size. |
bottom | 0x50 | Push title to the bottom of its container, not changing its size. |
left | 0x03 | Push title to the left of its container, not changing its size. |
right | 0x05 | Push title to the right of its container, not changing its size. |
center_vertical | 0x10 | Place title in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the title if needed so it completely fills its container. |
center_horizontal | 0x01 | Place title in the horizontal center of its container, not changing its size. |
center | 0x11 | Place the title in the center of its container in both the vertical and horizontal axis, not changing its size. |
start | 0x00800003 | Push title to the beginning of its container, not changing its size. |
end | 0x00800005 | Push title to the end of its container, not changing its size. |
Specifies extra space on the start, top, end and bottom sides of the the expanded title text. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies extra space on the bottom side of the the expanded title text. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies extra space on the end side of the the expanded title text. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies extra space on the start side of the the expanded title text. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies extra space on the top side of the the expanded title text. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The text appearance of the CollapsingToolbarLayout's title when it is fully 'expanded'
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Size for the FAB.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
normal | 0 | |
mini | 1 |
The max gap between the bars when they are parallel to each other
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Go button icon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Layout resource to inflate as the header
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Set true to hide the action bar on a vertical nested scroll of content.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Whether to animate hint state changes.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies a drawable to use for the 'home as up' indicator.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies a layout to use for the "home" section of the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies the drawable used for the application icon.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies a style resource to use for an indeterminate progress spinner.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The maximal number of items initially shown in the activity list.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Specifies whether the theme is light, otherwise it is dark.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies padding that should be applied to the left and right sides of system-provided items in the bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. Child views can refer to these keylines for alignment using layout_keyline="index" where index is a 0-based index into this array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The layout to use for the search view.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The id of an anchor view that this view should position relative to.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
The class name of a Behavior class defining special runtime behavior for this child view.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | The view will act as normal with no collapsing behavior. |
pin | 1 | The view will pin in place. |
parallax | 2 | The view will scroll in a parallax fashion. See the layout_collapseParallaxMultiplier attribute to change the multiplier. |
The multiplier used when layout_collapseMode is set to 'parallax'. The value should be between 0.0 and 1.0.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The index of a keyline this view should position relative to. android:layout_gravity will affect how the view aligns to the specified keyline.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
scroll | 0x1 | The view will be scroll in direct relation to scroll events. This flag needs to be set for any of the other flags to take effect. If any sibling views before this one do not have this flag, then this value has no effect. |
exitUntilCollapsed | 0x2 | When exiting (scrolling off screen) the view will be scrolled until it is 'collapsed'. The collapsed height is defined by the view's minimum height. |
enterAlways | 0x4 | When entering (scrolling on screen) the view will scroll on any downwards scroll event, regardless of whether the scrolling view is also scrolling. This is commonly referred to as the 'quick return' pattern. |
enterAlwaysCollapsed | 0x8 | An additional flag for 'enterAlways' which modifies the returning view to only initially scroll back to it's collapsed height. Once the scrolling view has reached the end of it's scroll range, the remainder of this view will be scrolled into view. |
An interpolator to use when scrolling this View. Only takes effect when View is scrollable.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable used as a background for selected list items.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The list divider used in alert dialogs.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The preferred list item height.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
A larger, more robust list item height.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
A smaller, sleeker list item height.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The preferred padding along the left edge of list items.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The preferred padding along the right edge of list items.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies the drawable used for the application logo.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
A content description string to describe the appearance of the associated logo image.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The menu resource to inflate and populate items from.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Text to set as the content description for the navigation button located at the start of the toolbar.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Icon drawable to use for the navigation button located at the start of the toolbar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The type of navigation to use.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
normal | 0 | Normal static title text |
listMode | 1 | The action bar will use a selection list for navigation. |
tabMode | 2 | The action bar will use a series of horizontal tabs for navigation. |
Whether the popup window should overlap its anchor view.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Sets the padding, in pixels, of the end edge; see padding
.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Sets the padding, in pixels, of the start edge; see padding
.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
The background of a panel when it is inset from the left and right edges of the screen.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default Panel Menu style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default Panel Menu width.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Default PopupMenu style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default PopupWindow style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Whether space should be reserved in layout when an icon is missing.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
TranslationZ value for the FAB when pressed
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies the horizontal padding on either end for an embedded progress bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies a style resource to use for an embedded progress bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Background for the section containing the search query
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
An optional user-defined query hint string to be displayed in the empty query field.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Default RadioButton style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default RatingBar style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Ripple color for the FAB.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Search icon displayed as a text field hint
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Search icon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Style for the search query widget.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Background drawable for borderless standalone items that need focus/pressed states.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
How this item should display in the Action Bar, if present.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
never | 0 | Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always". |
ifRoom | 1 | Show this item in an action bar if there is room for it as determined by the system. Favor this option over "always" where possible. Mutually exclusive with "never" and "always". |
always | 2 | Always show this item in an actionbar, even if it would override the system's limits of how much stuff to put there. This may make your action bar look bad on some screens. In most cases you should use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". |
withText | 4 | When this item is shown as an action in the action bar, show a text label with it even if it has an icon representation. |
collapseActionView | 8 | This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container. |
Setting for which dividers to show.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | |
beginning | 1 | |
middle | 2 | |
end | 4 |
Whether to draw on/off text.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Whether bars should rotate or not during transition
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Default Spinner style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default Spinner style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Whether to split the track and leave a gap for the thumb drawable.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
State identifier indicating the popup will be above the anchor.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Drawable to display behind the status bar when the view is set to draw behind it.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The drawable to use as a scrim for the status bar content when the CollapsingToolbarLayout has been scrolled sufficiently off screen. Only works on Lollipop with the correct setup.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Background for the section containing the action (e.g. voice search)
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Specifies subtitle text used for navigationMode="normal"
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
A color to apply to the subtitle string.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies a style to use for subtitle text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Layout for query suggestion rows
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Minimum width for the switch component
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Minimum space between the switch and caption text
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Default style for the Switch widget.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
TextAppearance style for text displayed on the switch thumb.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill | 0 | |
center | 1 |
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
scrollable | 0 | |
fixed | 1 |
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Present the text in ALL CAPS. This may use a small-caps form when available.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a boolean value, either "true
" or "false
".
Text color, typeface, size, and style for the text inside of a popup menu.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The preferred TextAppearance for the primary text of list items.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The preferred TextAppearance for the primary text of small list items.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Text color, typeface, size, and style for small text inside of a popup menu.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Color of list item text in alert dialogs.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
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 to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Deprecated.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The thickness (stroke size) for the bar paint
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Amount of padding on either side of text within the switch thumb.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Whether the CollapsingToolbarLayout should draw its own shrinking/growing title.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
A color to apply to the title string.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Specifies a style to use for title text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
The id of the primary Toolbar child that you wish to use for the purpose of collapsing. If you do not set this then the first Toolbar child found will be used.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default Toolar NavigationButtonStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Default Toolbar style.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Drawable to use as the "track" that the switch thumb slides within.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Voice button icon
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Flag indicating whether this window should have an Action Bar in place of the usual title bar.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Flag indicating whether this window's Action Bar should overlay application content. Does nothing if the window would not have an Action Bar.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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), 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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), 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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), 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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), 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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), 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
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), 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.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
Flag indicating whether there should be no title on this window.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.