Android APIs
public static final class

R.attr

extends Object
java.lang.Object
   ↳ android.support.design.R.attr

Summary

Fields
public static int actionBarDivider Custom divider drawable to use for elements in the action bar.
public static int actionBarItemBackground Custom item state list drawable background for action bar items.
public static int actionBarPopupTheme Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
public static int actionBarSize Size of the Action Bar, including the contextual bar used to present Action Modes.
public static int actionBarSplitStyle Reference to a style for the split Action Bar.
public static int actionBarStyle 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".

public static int actionBarTabBarStyle

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

public static int actionBarTabStyle 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".

public static int actionBarTabTextStyle

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

public static int actionBarTheme Reference to a theme that should be used to inflate the action bar.
public static int actionBarWidgetTheme Reference to a theme that should be used to inflate widgets and layouts destined for the action bar.
public static int actionButtonStyle Default action button style.
public static int actionDropDownStyle Default ActionBar dropdown style.
public static int actionLayout An optional layout to be used as an action view.
public static int actionMenuTextAppearance TextAppearance style that will be applied to text that appears within action menu items.
public static int actionMenuTextColor Color for text that appears within action menu items.
public static int actionModeBackground 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".

public static int actionModeCloseButtonStyle

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

public static int actionModeCloseDrawable 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".

public static int actionModeCopyDrawable 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".

public static int actionModeCutDrawable 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".

public static int actionModeFindDrawable 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".

public static int actionModePasteDrawable 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".

public static int actionModePopupWindowStyle PopupWindow style to use for action modes when showing as a window overlay.
public static int actionModeSelectAllDrawable 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".

public static int actionModeShareDrawable 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".

public static int actionModeSplitBackground 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".

public static int actionModeStyle

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

public static int 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 "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int actionOverflowButtonStyle

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

public static int actionOverflowMenuStyle

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

public static int actionProviderClass The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item.
public static int actionViewClass The name of an optional View class to instantiate and use as an action view.
public static int activityChooserViewStyle Default ActivityChooserView style.
public static int alertDialogButtonGroupStyle

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

public static int alertDialogCenterButtons

Must be a boolean value, either "true" or "false".

public static int alertDialogStyle

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

public static int alertDialogTheme Theme to use for alert dialogs spawned from this theme.
public static int 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 "14.5sp".

public static int 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 "14.5sp".

public static int autoCompleteTextViewStyle Default AutoCompleteTextView style.
public static int background Specifies a background drawable for the action bar.
public static int backgroundSplit Specifies a background drawable for the bottom component of a split action bar.
public static int backgroundStacked Specifies a background drawable for a second stacked row of the action bar.
public static int backgroundTint Tint to apply to the background.
public static int backgroundTintMode Blending mode used to apply the background tint.
public static int 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 "14.5sp".

public static int 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 "14.5sp".

public static int borderWidth The width of the border around the FAB.
public static int borderlessButtonStyle Style for buttons without an explicit border, often used in groups.
public static int buttonBarButtonStyle 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".

public static int buttonBarNegativeButtonStyle 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".

public static int buttonBarNeutralButtonStyle 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".

public static int buttonBarPositiveButtonStyle 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".

public static int buttonBarStyle 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".

public static int buttonPanelSideLayout

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

public static int buttonStyle Normal Button style.
public static int buttonStyleSmall Small Button style.
public static int buttonTint Tint to apply to the button drawable.
public static int buttonTintMode Blending mode used to apply the button tint.
public static int checkboxStyle Default Checkbox style.
public static int checkedTextViewStyle Default CheckedTextView style.
public static int closeIcon 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".

public static int closeItemLayout Specifies a layout to use for the "close" item at the starting edge.
public static int collapseContentDescription Text to set as the content description for the collapse button.
public static int collapseIcon

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

public static int collapsedTitleGravity Specifies how the title should be positioned when collapsed.
public static int collapsedTitleTextAppearance 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".

public static int color The drawing color for the bars

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

public static int colorAccent Bright complement to the primary branding color.
public static int colorButtonNormal The color applied to framework buttons in their normal state.
public static int colorControlActivated The color applied to framework controls in their activated (ex.
public static int colorControlHighlight The color applied to framework control highlights (ex.
public static int colorControlNormal The color applied to framework controls in their normal state.
public static int colorPrimary The primary branding color for the app.
public static int colorPrimaryDark Dark variant of the primary branding color.
public static int colorSwitchThumbNormal The color applied to framework switch thumbs in their normal state.
public static int commitIcon 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".

public static int contentInsetEnd Minimum inset for content views within a bar.
public static int contentInsetLeft Minimum inset for content views within a bar.
public static int contentInsetRight Minimum inset for content views within a bar.
public static int contentInsetStart Minimum inset for content views within a bar.
public static int contentScrim The drawable to use as a scrim on top of the CollapsingToolbarLayouts content when it has been scrolled sufficiently off screen.
public static int controlBackground The background used by framework controls.
public static int customNavigationLayout Specifies a layout for custom navigation.
public static int defaultQueryHint Default query hint used when queryHint is undefined and the search view's SearchableInfo does not provide a hint.
public static int dialogPreferredPadding Preferred padding for dialog content.
public static int dialogTheme Theme to use for dialogs spawned from this theme.
public static int displayOptions Options affecting how the action bar is displayed.
public static int divider Specifies the drawable used for item dividers.
public static int dividerHorizontal A drawable that may be used as a horizontal divider between visual elements.
public static int dividerPadding Size of padding on either end of a divider.
public static int dividerVertical A drawable that may be used as a vertical divider between visual elements.
public static int drawableSize 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".

public static int drawerArrowStyle

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

public static int dropDownListViewStyle 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".

public static int dropdownListPreferredItemHeight The preferred item height for dropdown lists.
public static int editTextBackground EditText background drawable.
public static int editTextColor EditText text foreground color.
public static int editTextStyle Default EditText style.
public static int elevation 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".

public static int errorEnabled Whether the layout is laid out as if an error will be displayed

Must be a boolean value, either "true" or "false".

public static int errorTextAppearance 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".

public static int expandActivityOverflowButtonDrawable The drawable to show in the button for expanding the activities overflow popup.
public static int expanded The initial expanded state for the AppBarLayout.
public static int expandedTitleGravity Specifies how the title should be positioned when expanded.
public static int expandedTitleMargin Specifies extra space on the start, top, end and bottom sides of the the expanded title text.
public static int expandedTitleMarginBottom Specifies extra space on the bottom side of the the expanded title text.
public static int expandedTitleMarginEnd Specifies extra space on the end side of the the expanded title text.
public static int expandedTitleMarginStart Specifies extra space on the start side of the the expanded title text.
public static int expandedTitleMarginTop Specifies extra space on the top side of the the expanded title text.
public static int expandedTitleTextAppearance 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".

public static int fabSize Size for the FAB.
public static int 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 "14.5sp".

public static int goIcon 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".

public static int headerLayout 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".

public static int height

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

public static int hideOnContentScroll Set true to hide the action bar on a vertical nested scroll of content.
public static int hintAnimationEnabled Whether to animate hint state changes.
public static int hintTextAppearance

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

public static int homeAsUpIndicator Specifies a drawable to use for the 'home as up' indicator.
public static int homeLayout Specifies a layout to use for the "home" section of the action bar.
public static int icon Specifies the drawable used for the application icon.
public static int iconifiedByDefault The default state of the SearchView.
public static int indeterminateProgressStyle Specifies a style resource to use for an indeterminate progress spinner.
public static int initialActivityCount The maximal number of items initially shown in the activity list.
public static int insetForeground

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

public static int isLightTheme Specifies whether the theme is light, otherwise it is dark.
public static int itemBackground

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

public static int itemIconTint

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

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

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

public static int itemTextColor

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

public static int keylines A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge.
public static int layout The layout to use for the search view.
public static int layout_anchor The id of an anchor view that this view should position relative to.
public static int layout_anchorGravity Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds.
public static int layout_behavior The class name of a Behavior class defining special runtime behavior for this child view.
public static int layout_collapseMode

Must be one of the following constant values.

public static int layout_collapseParallaxMultiplier The multiplier used when layout_collapseMode is set to 'parallax'.
public static int layout_keyline The index of a keyline this view should position relative to.
public static int layout_scrollFlags

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

public static int layout_scrollInterpolator An interpolator to use when scrolling this View.
public static int listChoiceBackgroundIndicator Drawable used as a background for selected list items.
public static int listDividerAlertDialog The list divider used in alert dialogs.
public static int listItemLayout

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

public static int listLayout

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

public static int listPopupWindowStyle

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

public static int listPreferredItemHeight The preferred list item height.
public static int listPreferredItemHeightLarge A larger, more robust list item height.
public static int listPreferredItemHeightSmall A smaller, sleeker list item height.
public static int listPreferredItemPaddingLeft The preferred padding along the left edge of list items.
public static int listPreferredItemPaddingRight The preferred padding along the right edge of list items.
public static int logo Specifies the drawable used for the application logo.
public static int logoDescription A content description string to describe the appearance of the associated logo image.
public static int maxActionInlineWidth

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

public static int maxButtonHeight

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

public static int measureWithLargestChild When set to true, all children with a weight will be considered having the minimum size of the largest child.
public static int menu The menu resource to inflate and populate items from.
public static int multiChoiceItemLayout

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

public static int navigationContentDescription Text to set as the content description for the navigation button located at the start of the toolbar.
public static int navigationIcon Icon drawable to use for the navigation button located at the start of the toolbar.
public static int navigationMode The type of navigation to use.
public static int overlapAnchor Whether the popup window should overlap its anchor view.
public static int paddingEnd Sets the padding, in pixels, of the end edge; see padding.
public static int paddingStart Sets the padding, in pixels, of the start edge; see padding.
public static int panelBackground The background of a panel when it is inset from the left and right edges of the screen.
public static int panelMenuListTheme Default Panel Menu style.
public static int panelMenuListWidth Default Panel Menu width.
public static int popupMenuStyle Default PopupMenu style.
public static int popupTheme Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
public static int popupWindowStyle Default PopupWindow style.
public static int preserveIconSpacing Whether space should be reserved in layout when an icon is missing.
public static int 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 "14.5sp".

public static int progressBarPadding Specifies the horizontal padding on either end for an embedded progress bar.
public static int progressBarStyle Specifies a style resource to use for an embedded progress bar.
public static int queryBackground 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".

public static int queryHint An optional user-defined query hint string to be displayed in the empty query field.
public static int radioButtonStyle Default RadioButton style.
public static int ratingBarStyle Default RatingBar style.
public static int rippleColor Ripple color for the FAB.
public static int searchHintIcon 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".

public static int searchIcon 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".

public static int searchViewStyle Style for the search query widget.
public static int selectableItemBackground A style that may be applied to buttons or other selectable items that should react to pressed and focus states, but that do not have a clear visual border along the edges.
public static int selectableItemBackgroundBorderless Background drawable for borderless standalone items that need focus/pressed states.
public static int showAsAction How this item should display in the Action Bar, if present.
public static int showDividers Setting for which dividers to show.
public static int showText Whether to draw on/off text.
public static int singleChoiceItemLayout

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

public static int spinBars Whether bars should rotate or not during transition

Must be a boolean value, either "true" or "false".

public static int spinnerDropDownItemStyle Default Spinner style.
public static int spinnerStyle Default Spinner style.
public static int splitTrack Whether to split the track and leave a gap for the thumb drawable.
public static int state_above_anchor State identifier indicating the popup will be above the anchor.
public static int statusBarBackground Drawable to display behind the status bar when the view is set to draw behind it.
public static int statusBarScrim The drawable to use as a scrim for the status bar content when the CollapsingToolbarLayout has been scrolled sufficiently off screen.
public static int submitBackground Background for the section containing the action (e.g.
public static int 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.

public static int subtitleTextAppearance

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

public static int subtitleTextColor A color to apply to the subtitle string.
public static int subtitleTextStyle Specifies a style to use for subtitle text.
public static int suggestionRowLayout 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".

public static int switchMinWidth 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".

public static int 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 "14.5sp".

public static int switchStyle Default style for the Switch widget.
public static int switchTextAppearance TextAppearance style for text displayed on the switch thumb.
public static int tabBackground

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

public static int tabContentStart

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

public static int tabGravity Standard gravity constant that a child supplies to its parent.
public static int tabIndicatorColor

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

public static int tabIndicatorHeight

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

public static int tabMaxWidth

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

public static int tabMinWidth

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

public static int tabMode

Must be one of the following constant values.

public static int tabPadding

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

public static int tabPaddingBottom

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

public static int tabPaddingEnd

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

public static int tabPaddingStart

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

public static int tabPaddingTop

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

public static int tabSelectedTextColor

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

public static int tabTextAppearance

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

public static int tabTextColor

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

public static int textAllCaps Present the text in ALL CAPS.
public static int textAppearanceLargePopupMenu Text color, typeface, size, and style for the text inside of a popup menu.
public static int textAppearanceListItem The preferred TextAppearance for the primary text of list items.
public static int textAppearanceListItemSmall The preferred TextAppearance for the primary text of small list items.
public static int textAppearanceSearchResultSubtitle Text color, typeface, size, and style for system search result subtitle.
public static int textAppearanceSearchResultTitle Text color, typeface, size, and style for system search result title.
public static int textAppearanceSmallPopupMenu Text color, typeface, size, and style for small text inside of a popup menu.
public static int textColorAlertDialogListItem Color of list item text in alert dialogs.
public static int textColorSearchUrl Text color for urls in search suggestions, used by things like global search

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

public static int theme Deprecated.
public static int 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 "14.5sp".

public static int thumbTextPadding Amount of padding on either side of text within the switch thumb.
public static int title

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

public static int titleEnabled Whether the CollapsingToolbarLayout should draw its own shrinking/growing title.
public static int titleMarginBottom

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

public static int titleMarginEnd

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

public static int titleMarginStart

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

public static int titleMarginTop

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

public static int titleMargins

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

public static int titleTextAppearance

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

public static int titleTextColor A color to apply to the title string.
public static int titleTextStyle Specifies a style to use for title text.
public static int toolbarId The id of the primary Toolbar child that you wish to use for the purpose of collapsing.
public static int toolbarNavigationButtonStyle 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".

public static int toolbarStyle Default Toolbar style.
public static int track Drawable to use as the "track" that the switch thumb slides within.
public static int voiceIcon 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".

public static int windowActionBar Flag indicating whether this window should have an Action Bar in place of the usual title bar.
public static int windowActionBarOverlay Flag indicating whether this window's Action Bar should overlay application content.
public static int windowActionModeOverlay Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
public static int windowFixedHeightMajor A fixed height for the window along the major axis of the screen, that is, when in portrait.
public static int windowFixedHeightMinor A fixed height for the window along the minor axis of the screen, that is, when in landscape.
public static int windowFixedWidthMajor A fixed width for the window along the major axis of the screen, that is, when in landscape.
public static int windowFixedWidthMinor A fixed width for the window along the minor axis of the screen, that is, when in portrait.
public static int windowMinWidthMajor The minimum width the window is allowed to be, along the major axis of the screen.
public static int windowMinWidthMinor The minimum width the window is allowed to be, along the minor axis of the screen.
public static int windowNoTitle Flag indicating whether there should be no title on this window.
Public Constructors
R.attr()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int actionBarDivider

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

public static int actionBarItemBackground

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

public static int actionBarPopupTheme

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

public static int actionBarSize

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

ConstantValueDescription
wrap_content0

public static int actionBarSplitStyle

Reference to a style for the split Action Bar. This style controls the split component that holds the menu/action buttons. actionBarStyle is still used for the primary bar.

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

public static int actionBarStyle

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

public static int actionBarTabBarStyle

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

public static int actionBarTabStyle

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

public static int actionBarTabTextStyle

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

public static int actionBarTheme

Reference to a theme that should be used to inflate the action bar. This will be inherited by any widget inflated into the action bar.

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

public static int actionBarWidgetTheme

Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. Most of the time this will be a reference to the current theme, but when the action bar has a significantly different contrast profile than the rest of the activity the difference can become important. If this is set to @null the current theme will be used.

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

public static int actionButtonStyle

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

public static int actionDropDownStyle

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

public static int actionLayout

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

public static int actionMenuTextAppearance

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

public static int actionMenuTextColor

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

public static int actionModeBackground

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

public static int actionModeCloseButtonStyle

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

public static int actionModeCloseDrawable

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

public static int actionModeCopyDrawable

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

public static int actionModeCutDrawable

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

public static int actionModeFindDrawable

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

public static int actionModePasteDrawable

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

public static int actionModePopupWindowStyle

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

public static int actionModeSelectAllDrawable

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

public static int actionModeShareDrawable

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

public static int actionModeSplitBackground

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

public static int actionModeStyle

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

public static int 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 "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int actionOverflowButtonStyle

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

public static int actionOverflowMenuStyle

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

public static int actionProviderClass

The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. See setActionProvider(android.view.ActionProvider) for more info.

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.

public static int actionViewClass

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.

public static int activityChooserViewStyle

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

public static int alertDialogButtonGroupStyle

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

public static int alertDialogCenterButtons

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.

public static int alertDialogStyle

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

public static int alertDialogTheme

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

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

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

public static int autoCompleteTextViewStyle

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

public static int background

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

public static int backgroundSplit

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

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

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

public static int backgroundStacked

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

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

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

public static int backgroundTint

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.

public static int backgroundTintMode

Blending mode used to apply the background tint.

Must be one of the following constant values.

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

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

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

public static int borderWidth

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.

public static int borderlessButtonStyle

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

public static int buttonBarButtonStyle

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

public static int buttonBarNegativeButtonStyle

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

public static int buttonBarNeutralButtonStyle

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

public static int buttonBarPositiveButtonStyle

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

public static int buttonBarStyle

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

public static int buttonPanelSideLayout

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

public static int buttonStyle

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

public static int buttonStyleSmall

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

public static int buttonTint

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.

public static int buttonTintMode

Blending mode used to apply the button tint.

Must be one of the following constant values.

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

public static int checkboxStyle

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

public static int checkedTextViewStyle

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

public static int closeIcon

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

public static int closeItemLayout

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

public static int collapseContentDescription

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.

public static int collapseIcon

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

public static int collapsedTitleGravity

Specifies how the title should be positioned when collapsed.

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

ConstantValueDescription
top0x30 Push title to the top of its container, not changing its size.
bottom0x50 Push title to the bottom of its container, not changing its size.
left0x03 Push title to the left of its container, not changing its size.
right0x05 Push title to the right of its container, not changing its size.
center_vertical0x10 Place title in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the title if needed so it completely fills its container.
center_horizontal0x01 Place title in the horizontal center of its container, not changing its size.
center0x11 Place the title in the center of its container in both the vertical and horizontal axis, not changing its size.
start0x00800003 Push title to the beginning of its container, not changing its size.
end0x00800005 Push title to the end of its container, not changing its size.

public static int collapsedTitleTextAppearance

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

public static int color

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.

public static int colorAccent

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.

public static int colorButtonNormal

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.

public static int colorControlActivated

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.

public static int colorControlHighlight

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.

public static int colorControlNormal

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.

public static int colorPrimary

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.

public static int colorPrimaryDark

Dark variant of the primary branding color. By default, this is the color applied to the status bar (via statusBarColor) and navigation bar (via navigationBarColor).

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.

public static int colorSwitchThumbNormal

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.

public static int commitIcon

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

public static int contentInsetEnd

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.

public static int contentInsetLeft

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.

public static int contentInsetRight

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.

public static int contentInsetStart

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.

public static int contentScrim

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.

public static int controlBackground

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

public static int customNavigationLayout

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

public static int defaultQueryHint

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.

public static int dialogPreferredPadding

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.

public static int dialogTheme

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

public static int displayOptions

Options affecting how the action bar is displayed.

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

ConstantValueDescription
none0
useLogo0x1
showHome0x2
homeAsUp0x4
showTitle0x8
showCustom0x10
disableHome0x20

public static int divider

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

public static int dividerHorizontal

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

public static int dividerPadding

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.

public static int dividerVertical

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

public static int drawableSize

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.

public static int drawerArrowStyle

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

public static int dropDownListViewStyle

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

public static int dropdownListPreferredItemHeight

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.

public static int editTextBackground

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

public static int editTextColor

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

public static int editTextStyle

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

public static int elevation

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.

public static int errorEnabled

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.

public static int errorTextAppearance

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

public static int expandActivityOverflowButtonDrawable

The drawable to show in the button for expanding the activities overflow popup. Note: Clients would like to set this drawable as a clue about the action the chosen activity will perform. For example, if share activity is to be chosen the drawable should give a clue that sharing is to be performed.

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

public static int expanded

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.

public static int expandedTitleGravity

Specifies how the title should be positioned when expanded.

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

ConstantValueDescription
top0x30 Push title to the top of its container, not changing its size.
bottom0x50 Push title to the bottom of its container, not changing its size.
left0x03 Push title to the left of its container, not changing its size.
right0x05 Push title to the right of its container, not changing its size.
center_vertical0x10 Place title in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the title if needed so it completely fills its container.
center_horizontal0x01 Place title in the horizontal center of its container, not changing its size.
center0x11 Place the title in the center of its container in both the vertical and horizontal axis, not changing its size.
start0x00800003 Push title to the beginning of its container, not changing its size.
end0x00800005 Push title to the end of its container, not changing its size.

public static int expandedTitleMargin

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.

public static int expandedTitleMarginBottom

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.

public static int expandedTitleMarginEnd

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.

public static int expandedTitleMarginStart

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.

public static int expandedTitleMarginTop

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.

public static int expandedTitleTextAppearance

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

public static int fabSize

Size for the FAB.

Must be one of the following constant values.

ConstantValueDescription
normal0
mini1

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

public static int goIcon

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

public static int headerLayout

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

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

public static int hideOnContentScroll

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.

public static int hintAnimationEnabled

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.

public static int hintTextAppearance

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

public static int homeAsUpIndicator

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

public static int homeLayout

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

public static int icon

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

public static int iconifiedByDefault

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.

public static int indeterminateProgressStyle

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

public static int initialActivityCount

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.

public static int insetForeground

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

public static int isLightTheme

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.

public static int itemBackground

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

public static int itemIconTint

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.

public static int itemPadding

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.

public static int itemTextAppearance

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

public static int itemTextColor

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.

public static int keylines

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

public static int layout

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

public static int layout_anchor

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

public static int layout_anchorGravity

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.

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
clip_vertical0x80 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_horizontal0x08 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.
start0x00800003 Push object to the beginning of its container, not changing its size.
end0x00800005 Push object to the end of its container, not changing its size.

public static int layout_behavior

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.

public static int layout_collapseMode

Must be one of the following constant values.

ConstantValueDescription
none0 The view will act as normal with no collapsing behavior.
pin1 The view will pin in place.
parallax2 The view will scroll in a parallax fashion. See the layout_collapseParallaxMultiplier attribute to change the multiplier.

public static int layout_collapseParallaxMultiplier

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.

public static int layout_keyline

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.

public static int layout_scrollFlags

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

ConstantValueDescription
scroll0x1 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.
exitUntilCollapsed0x2 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.
enterAlways0x4 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.
enterAlwaysCollapsed0x8 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.

public static int layout_scrollInterpolator

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

public static int listChoiceBackgroundIndicator

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

public static int listDividerAlertDialog

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

public static int listItemLayout

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

public static int listLayout

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

public static int listPopupWindowStyle

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

public static int listPreferredItemHeight

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.

public static int listPreferredItemHeightLarge

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.

public static int listPreferredItemHeightSmall

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.

public static int listPreferredItemPaddingLeft

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.

public static int listPreferredItemPaddingRight

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.

public static int logo

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

public static int logoDescription

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.

public static int maxActionInlineWidth

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.

public static int maxButtonHeight

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.

public static int measureWithLargestChild

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

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.

public static int menu

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

public static int multiChoiceItemLayout

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

public static int navigationContentDescription

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.

public static int navigationIcon

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

public static int navigationMode

The type of navigation to use.

Must be one of the following constant values.

ConstantValueDescription
normal0 Normal static title text
listMode1 The action bar will use a selection list for navigation.
tabMode2 The action bar will use a series of horizontal tabs for navigation.

public static int overlapAnchor

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.

public static int paddingEnd

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.

public static int paddingStart

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.

public static int panelBackground

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

public static int panelMenuListTheme

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

public static int panelMenuListWidth

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.

public static int popupMenuStyle

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

public static int popupTheme

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

public static int popupWindowStyle

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

public static int preserveIconSpacing

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.

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

public static int progressBarPadding

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.

public static int progressBarStyle

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

public static int queryBackground

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

public static int queryHint

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.

public static int radioButtonStyle

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

public static int ratingBarStyle

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

public static int rippleColor

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.

public static int searchHintIcon

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

public static int searchIcon

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

public static int searchViewStyle

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

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

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

public static int selectableItemBackgroundBorderless

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

public static int showAsAction

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

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

ConstantValueDescription
never0 Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always".
ifRoom1 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".
always2 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".
withText4 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.
collapseActionView8 This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container.

public static int showDividers

Setting for which dividers to show.

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

ConstantValueDescription
none0
beginning1
middle2
end4

public static int showText

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.

public static int singleChoiceItemLayout

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

public static int spinBars

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.

public static int spinnerDropDownItemStyle

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

public static int spinnerStyle

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

public static int splitTrack

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.

public static int state_above_anchor

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.

public static int statusBarBackground

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

public static int statusBarScrim

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.

public static int submitBackground

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

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

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.

public static int subtitleTextAppearance

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

public static int subtitleTextColor

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.

public static int subtitleTextStyle

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

public static int suggestionRowLayout

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

public static int switchMinWidth

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.

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

public static int switchStyle

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

public static int switchTextAppearance

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

public static int tabBackground

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

public static int tabContentStart

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.

public static int tabGravity

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.

ConstantValueDescription
fill0
center1

public static int tabIndicatorColor

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.

public static int tabIndicatorHeight

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.

public static int tabMaxWidth

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.

public static int tabMinWidth

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.

public static int tabMode

Must be one of the following constant values.

ConstantValueDescription
scrollable0
fixed1

public static int tabPadding

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.

public static int tabPaddingBottom

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.

public static int tabPaddingEnd

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.

public static int tabPaddingStart

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.

public static int tabPaddingTop

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.

public static int tabSelectedTextColor

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.

public static int tabTextAppearance

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

public static int tabTextColor

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.

public static int textAllCaps

Present the text in ALL CAPS. This may use a small-caps form when available.

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

May be a boolean value, either "true" or "false".

public static int textAppearanceLargePopupMenu

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

public static int textAppearanceListItem

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

public static int textAppearanceListItemSmall

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

public static int textAppearanceSearchResultSubtitle

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

public static int textAppearanceSearchResultTitle

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

public static int textAppearanceSmallPopupMenu

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

public static int textColorAlertDialogListItem

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

public static int textColorSearchUrl

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

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

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

public static int theme

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

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

public static int thumbTextPadding

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.

public static int title

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.

public static int titleEnabled

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.

public static int titleMarginBottom

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.

public static int titleMarginEnd

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.

public static int titleMarginStart

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.

public static int titleMarginTop

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.

public static int titleMargins

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.

public static int titleTextAppearance

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

public static int titleTextColor

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.

public static int titleTextStyle

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

public static int toolbarId

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

public static int toolbarNavigationButtonStyle

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

public static int toolbarStyle

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

public static int track

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

public static int voiceIcon

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

public static int windowActionBar

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.

public static int windowActionBarOverlay

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.

public static int windowActionModeOverlay

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.

public static int windowFixedHeightMajor

A fixed height for the window along the major axis of the screen, that is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

public static int windowFixedHeightMinor

A fixed height for the window along the minor axis of the screen, that is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

public static int windowFixedWidthMajor

A fixed width for the window along the major axis of the screen, that is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

public static int windowFixedWidthMinor

A fixed width for the window along the minor axis of the screen, that is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

public static int windowMinWidthMajor

The minimum width the window is allowed to be, along the major axis of the screen. That is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

public static int windowMinWidthMinor

The minimum width the window is allowed to be, along the minor axis of the screen. That is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

public static int windowNoTitle

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.

Public Constructors

public R.attr ()