Most visited

Recently visited

R.attr

public static final class R.attr
extends Object

java.lang.Object
   ↳ android.support.v7.appcompat.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

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

public static int actionBarTabBarStyle

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

public static int actionBarTabStyle

Default style for tabs within an action bar

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

public static int actionBarTabTextStyle

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

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

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

public static int actionModeCloseButtonStyle

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

public static int actionModeCloseDrawable

Drawable to use for the close action mode button

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

public static int actionModeCopyDrawable

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

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

public static int actionModeCutDrawable

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

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

public static int actionModeFindDrawable

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

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

public static int actionModePasteDrawable

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

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

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

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

public static int actionModeShareDrawable

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

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

public static int actionModeSplitBackground

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

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

public static int actionModeStyle

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

public static int actionModeWebSearchDrawable

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

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

public static int actionOverflowButtonStyle

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

public static int actionOverflowMenuStyle

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

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

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

public static int alertDialogCenterButtons

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

public static int alertDialogStyle

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

public static int alertDialogTheme

Theme to use for alert dialogs spawned from this theme.

public static int allowStacking

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

public static int alpha

Alpha multiplier applied to the base color.

public static int arrowHeadLength

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

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

public static int arrowShaftLength

The length of the shaft when formed to make an arrow

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

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

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

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

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

public static int buttonBarNegativeButtonStyle

Style for the "negative" buttons within button bars

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

public static int buttonBarNeutralButtonStyle

Style for the "neutral" buttons within button bars

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

public static int buttonBarPositiveButtonStyle

Style for the "positive" buttons within button bars

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

public static int buttonBarStyle

Style for button bars

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

public static int buttonGravity

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

public static int buttonPanelSideLayout

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

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

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

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

Icon drawable to use for the collapse button.

public static int color

The drawing color for the bars

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

public static int colorAccent

Bright complement to the primary branding color.

public static int colorBackgroundFloating

Default color of background imagery for floating components, ex.

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

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

public static int contentInsetEnd

Minimum inset for content views within a bar.

public static int contentInsetEndWithActions

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

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 contentInsetStartWithNavigation

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

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

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

public static int drawerArrowStyle

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

public static int dropDownListViewStyle

ListPopupWindow compatibility

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

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

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

public static int expandActivityOverflowButtonDrawable

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

public static int gapBetweenBars

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

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

public static int goIcon

Go button icon

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

public static int height

May 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 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 imageButtonStyle

ImageButton background drawable.

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 isLightTheme

Specifies whether the theme is light, otherwise it is dark.

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 layout

The layout to use for the search 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

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

public static int listLayout

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

public static int listMenuViewStyle

Default menu-style ListView style.

public static int listPopupWindowStyle

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

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

May 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 multiChoiceItemLayout

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

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

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

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

Indicator RatingBar style.

public static int ratingBarStyleSmall

Small indicator RatingBar style.

public static int searchHintIcon

Search icon displayed as a text field hint

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

public static int searchIcon

Search icon

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

public static int searchViewStyle

Style for the search query widget.

public static int seekBarStyle

Default SeekBar style.

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

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

public static int spinBars

Whether bars should rotate or not during transition

May be a boolean value, such as "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 srcCompat

TODO

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

public static int state_above_anchor

State identifier indicating the popup will be above the anchor.

public static int subMenuArrow

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

public static int submitBackground

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

public static int subtitle

Specifies subtitle text used for navigationMode="normal"

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

public static int subtitleTextAppearance

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

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

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

public static int switchMinWidth

Minimum width for the switch component

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

public static int switchPadding

Minimum space between the switch and caption text

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

public static int switchStyle

Default style for the Switch widget.

public static int switchTextAppearance

TextAppearance style for text displayed on the switch thumb.

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 textAppearancePopupMenuHeader

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

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

May 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 thumbTint

Tint to apply to the thumb drawable.

public static int thumbTintMode

Blending mode used to apply the thumb tint.

public static int tickMark

Drawable displayed at each progress position on a seekbar.

public static int tickMarkTint

Tint to apply to the tick mark drawable.

public static int tickMarkTintMode

Blending mode used to apply the tick mark tint.

public static int title

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

public static int titleMargin

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

public static int titleMarginBottom

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

public static int titleMarginEnd

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

public static int titleMarginStart

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

public static int titleMarginTop

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

public static int titleMargins

This field is deprecated. Use titleMargin

public static int titleTextAppearance

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

public static int titleTextColor

A color to apply to the title string.

public static int titleTextStyle

Specifies a style to use for title text.

public static int toolbarNavigationButtonStyle

Default Toolar NavigationButtonStyle

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

public static int toolbarStyle

Default Toolbar style.

public static int track

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

public static int trackTint

Tint to apply to the track.

public static int trackTintMode

Blending mode used to apply the track tint.

public static int voiceIcon

Voice button icon

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

public static 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()

Inherited methods

From class java.lang.Object

Fields

actionBarDivider

int actionBarDivider

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

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

actionBarItemBackground

int actionBarItemBackground

Custom item state list drawable background for action bar items.

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

actionBarPopupTheme

int actionBarPopupTheme

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

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

actionBarSize

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

Must be one of the following constant values.

ConstantValueDescription
wrap_content0

actionBarSplitStyle

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.

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

actionBarStyle

int actionBarStyle

Reference to a style for the Action Bar

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

actionBarTabBarStyle

int actionBarTabBarStyle

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

actionBarTabStyle

int actionBarTabStyle

Default style for tabs within an action bar

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

actionBarTabTextStyle

int actionBarTabTextStyle

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

actionBarTheme

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.

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

actionBarWidgetTheme

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.

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

actionButtonStyle

int actionButtonStyle

Default action button style.

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

actionDropDownStyle

int actionDropDownStyle

Default ActionBar dropdown style.

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

actionLayout

int actionLayout

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

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

actionMenuTextAppearance

int actionMenuTextAppearance

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

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

actionMenuTextColor

int actionMenuTextColor

Color for text that appears within action menu items.

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

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

actionModeBackground

int actionModeBackground

Background drawable to use for action mode UI

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

actionModeCloseButtonStyle

int actionModeCloseButtonStyle

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

actionModeCloseDrawable

int actionModeCloseDrawable

Drawable to use for the close action mode button

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

actionModeCopyDrawable

int actionModeCopyDrawable

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

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

actionModeCutDrawable

int actionModeCutDrawable

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

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

actionModeFindDrawable

int actionModeFindDrawable

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

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

actionModePasteDrawable

int actionModePasteDrawable

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

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

actionModePopupWindowStyle

int actionModePopupWindowStyle

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

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

actionModeSelectAllDrawable

int actionModeSelectAllDrawable

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

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

actionModeShareDrawable

int actionModeShareDrawable

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

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

actionModeSplitBackground

int actionModeSplitBackground

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

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

actionModeStyle

int actionModeStyle

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

actionModeWebSearchDrawable

int actionModeWebSearchDrawable

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

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

actionOverflowButtonStyle

int actionOverflowButtonStyle

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

actionOverflowMenuStyle

int actionOverflowMenuStyle

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

actionProviderClass

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.

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

actionViewClass

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.

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

activityChooserViewStyle

int activityChooserViewStyle

Default ActivityChooserView style.

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

alertDialogButtonGroupStyle

int alertDialogButtonGroupStyle

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

alertDialogCenterButtons

int alertDialogCenterButtons

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

alertDialogStyle

int alertDialogStyle

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

alertDialogTheme

int alertDialogTheme

Theme to use for alert dialogs spawned from this theme.

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

allowStacking

int allowStacking

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

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

alpha

int alpha

Alpha multiplier applied to the base color.

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

arrowHeadLength

int arrowHeadLength

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

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

arrowShaftLength

int arrowShaftLength

The length of the shaft when formed to make an arrow

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

autoCompleteTextViewStyle

int autoCompleteTextViewStyle

Default AutoCompleteTextView style.

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

background

int background

Specifies a background drawable for the action bar.

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

backgroundSplit

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

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

backgroundStacked

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

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

backgroundTint

int backgroundTint

Tint to apply to the background.

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

backgroundTintMode

int backgroundTintMode

Blending mode used to apply the background tint.

Must be one of the following constant values.

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

barLength

int barLength

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

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

borderlessButtonStyle

int borderlessButtonStyle

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

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

buttonBarButtonStyle

int buttonBarButtonStyle

Style for buttons within button bars

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

buttonBarNegativeButtonStyle

int buttonBarNegativeButtonStyle

Style for the "negative" buttons within button bars

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

buttonBarNeutralButtonStyle

int buttonBarNeutralButtonStyle

Style for the "neutral" buttons within button bars

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

buttonBarPositiveButtonStyle

int buttonBarPositiveButtonStyle

Style for the "positive" buttons within button bars

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

buttonBarStyle

int buttonBarStyle

Style for button bars

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

buttonGravity

int buttonGravity

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

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

buttonPanelSideLayout

int buttonPanelSideLayout

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

buttonStyle

int buttonStyle

Normal Button style.

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

buttonStyleSmall

int buttonStyleSmall

Small Button style.

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

buttonTint

int buttonTint

Tint to apply to the button drawable.

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

buttonTintMode

int buttonTintMode

Blending mode used to apply the button tint.

Must be one of the following constant values.

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

checkboxStyle

int checkboxStyle

Default Checkbox style.

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

checkedTextViewStyle

int checkedTextViewStyle

Default CheckedTextView style.

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

closeIcon

int closeIcon

Close button icon

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

closeItemLayout

int closeItemLayout

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

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

collapseContentDescription

int collapseContentDescription

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

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

collapseIcon

int collapseIcon

Icon drawable to use for the collapse button.

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

color

int color

The drawing color for the bars

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

colorAccent

int colorAccent

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

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

colorBackgroundFloating

int colorBackgroundFloating

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

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

colorButtonNormal

int colorButtonNormal

The color applied to framework buttons in their normal state.

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

colorControlActivated

int colorControlActivated

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

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

colorControlHighlight

int colorControlHighlight

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

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

colorControlNormal

int colorControlNormal

The color applied to framework controls in their normal state.

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

colorPrimary

int colorPrimary

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

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

colorPrimaryDark

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

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

colorSwitchThumbNormal

int colorSwitchThumbNormal

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

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

commitIcon

int commitIcon

Commit icon shown in the query suggestion row

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

contentInsetEnd

int contentInsetEnd

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

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

contentInsetEndWithActions

int contentInsetEndWithActions

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

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

contentInsetLeft

int contentInsetLeft

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

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

contentInsetRight

int contentInsetRight

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

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

contentInsetStart

int contentInsetStart

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

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

contentInsetStartWithNavigation

int contentInsetStartWithNavigation

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

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

controlBackground

int controlBackground

The background used by framework controls.

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

customNavigationLayout

int customNavigationLayout

Specifies a layout for custom navigation. Overrides navigationMode.

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

defaultQueryHint

int defaultQueryHint

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

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

dialogPreferredPadding

int dialogPreferredPadding

Preferred padding for dialog content.

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

dialogTheme

int dialogTheme

Theme to use for dialogs spawned from this theme.

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

displayOptions

int displayOptions

Options affecting how the action bar is displayed.

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

ConstantValueDescription
disableHome20
homeAsUp4
none0
showCustom10
showHome2
showTitle8
useLogo1

divider

int divider

Specifies the drawable used for item dividers.

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

dividerHorizontal

int dividerHorizontal

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

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

dividerPadding

int dividerPadding

Size of padding on either end of a divider.

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

dividerVertical

int dividerVertical

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

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

drawableSize

int drawableSize

The total size of the drawable

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

drawerArrowStyle

int drawerArrowStyle

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

dropDownListViewStyle

int dropDownListViewStyle

ListPopupWindow compatibility

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

dropdownListPreferredItemHeight

int dropdownListPreferredItemHeight

The preferred item height for dropdown lists.

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

editTextBackground

int editTextBackground

EditText background drawable.

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

editTextColor

int editTextColor

EditText text foreground color.

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

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

editTextStyle

int editTextStyle

Default EditText style.

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

elevation

int elevation

Elevation for the action bar itself

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

expandActivityOverflowButtonDrawable

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.

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

gapBetweenBars

int gapBetweenBars

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

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

goIcon

int goIcon

Go button icon

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

height

int height

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

hideOnContentScroll

int hideOnContentScroll

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

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

homeAsUpIndicator

int homeAsUpIndicator

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

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

homeLayout

int homeLayout

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

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

icon

int icon

Specifies the drawable used for the application icon.

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

iconifiedByDefault

int iconifiedByDefault

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

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

imageButtonStyle

int imageButtonStyle

ImageButton background drawable.

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

indeterminateProgressStyle

int indeterminateProgressStyle

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

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

initialActivityCount

int initialActivityCount

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

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

isLightTheme

int isLightTheme

Specifies whether the theme is light, otherwise it is dark.

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

itemPadding

int itemPadding

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

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

layout

int layout

The layout to use for the search view.

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

listChoiceBackgroundIndicator

int listChoiceBackgroundIndicator

Drawable used as a background for selected list items.

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

listDividerAlertDialog

int listDividerAlertDialog

The list divider used in alert dialogs.

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

listItemLayout

int listItemLayout

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

listLayout

int listLayout

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

listMenuViewStyle

int listMenuViewStyle

Default menu-style ListView style.

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

listPopupWindowStyle

int listPopupWindowStyle

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

listPreferredItemHeight

int listPreferredItemHeight

The preferred list item height.

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

listPreferredItemHeightLarge

int listPreferredItemHeightLarge

A larger, more robust list item height.

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

listPreferredItemHeightSmall

int listPreferredItemHeightSmall

A smaller, sleeker list item height.

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

listPreferredItemPaddingLeft

int listPreferredItemPaddingLeft

The preferred padding along the left edge of list items.

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

listPreferredItemPaddingRight

int listPreferredItemPaddingRight

The preferred padding along the right edge of list items.

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

logo

int logo

Specifies the drawable used for the application logo.

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

logoDescription

int logoDescription

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

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

maxButtonHeight

int maxButtonHeight

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

measureWithLargestChild

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.

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

multiChoiceItemLayout

int multiChoiceItemLayout

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

navigationContentDescription

int navigationContentDescription

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

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

navigationIcon

int navigationIcon

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

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

navigationMode

int navigationMode

The type of navigation to use.

Must be one of the following constant values.

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

overlapAnchor

int overlapAnchor

Whether the popup window should overlap its anchor view.

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

paddingEnd

int paddingEnd

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

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

paddingStart

int paddingStart

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

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

panelBackground

int panelBackground

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

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

panelMenuListTheme

int panelMenuListTheme

Default Panel Menu style.

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

panelMenuListWidth

int panelMenuListWidth

Default Panel Menu width.

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

popupMenuStyle

int popupMenuStyle

Default PopupMenu style.

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

popupTheme

int popupTheme

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

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

popupWindowStyle

int popupWindowStyle

Default PopupWindow style.

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

preserveIconSpacing

int preserveIconSpacing

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

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

progressBarPadding

int progressBarPadding

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

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

progressBarStyle

int progressBarStyle

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

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

queryBackground

int queryBackground

Background for the section containing the search query

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

queryHint

int queryHint

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

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

radioButtonStyle

int radioButtonStyle

Default RadioButton style.

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

ratingBarStyle

int ratingBarStyle

Default RatingBar style.

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

ratingBarStyleIndicator

int ratingBarStyleIndicator

Indicator RatingBar style.

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

ratingBarStyleSmall

int ratingBarStyleSmall

Small indicator RatingBar style.

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

searchHintIcon

int searchHintIcon

Search icon displayed as a text field hint

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

searchIcon

int searchIcon

Search icon

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

searchViewStyle

int searchViewStyle

Style for the search query widget.

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

seekBarStyle

int seekBarStyle

Default SeekBar style.

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

selectableItemBackground

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.

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

selectableItemBackgroundBorderless

int selectableItemBackgroundBorderless

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

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

showAsAction

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
always2Always show this item in an actionbar, even if it would override the system's limits of how much stuff to put there. This may make your action bar look bad on some screens. In most cases you should use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never".
collapseActionView8This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container.
ifRoom1Show this item in an action bar if there is room for it as determined by the system. Favor this option over "always" where possible. Mutually exclusive with "never" and "always".
never0Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always".
withText4When this item is shown as an action in the action bar, show a text label with it even if it has an icon representation.

showDividers

int showDividers

Setting for which dividers to show.

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

ConstantValueDescription
beginning1
end4
middle2
none0

showText

int showText

Whether to draw on/off text.

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

singleChoiceItemLayout

int singleChoiceItemLayout

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

spinBars

int spinBars

Whether bars should rotate or not during transition

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

spinnerDropDownItemStyle

int spinnerDropDownItemStyle

Default Spinner style.

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

spinnerStyle

int spinnerStyle

Default Spinner style.

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

splitTrack

int splitTrack

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

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

srcCompat

int srcCompat

TODO

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

state_above_anchor

int state_above_anchor

State identifier indicating the popup will be above the anchor.

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

subMenuArrow

int subMenuArrow

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

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

submitBackground

int submitBackground

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

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

subtitle

int subtitle

Specifies subtitle text used for navigationMode="normal"

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

subtitleTextAppearance

int subtitleTextAppearance

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

subtitleTextColor

int subtitleTextColor

A color to apply to the subtitle string.

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

subtitleTextStyle

int subtitleTextStyle

Specifies a style to use for subtitle text.

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

suggestionRowLayout

int suggestionRowLayout

Layout for query suggestion rows

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

switchMinWidth

int switchMinWidth

Minimum width for the switch component

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

switchPadding

int switchPadding

Minimum space between the switch and caption text

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

switchStyle

int switchStyle

Default style for the Switch widget.

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

switchTextAppearance

int switchTextAppearance

TextAppearance style for text displayed on the switch thumb.

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

textAllCaps

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

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

textAppearanceLargePopupMenu

int textAppearanceLargePopupMenu

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

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

textAppearanceListItem

int textAppearanceListItem

The preferred TextAppearance for the primary text of list items.

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

textAppearanceListItemSmall

int textAppearanceListItemSmall

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

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

textAppearancePopupMenuHeader

int textAppearancePopupMenuHeader

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

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

textAppearanceSearchResultSubtitle

int textAppearanceSearchResultSubtitle

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

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

textAppearanceSearchResultTitle

int textAppearanceSearchResultTitle

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

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

textAppearanceSmallPopupMenu

int textAppearanceSmallPopupMenu

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

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

textColorAlertDialogListItem

int textColorAlertDialogListItem

Color of list item text in alert dialogs.

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

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

textColorSearchUrl

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

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

theme

int theme

Deprecated.

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

thickness

int thickness

The thickness (stroke size) for the bar paint

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

thumbTextPadding

int thumbTextPadding

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

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

thumbTint

int thumbTint

Tint to apply to the thumb drawable.

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

thumbTintMode

int thumbTintMode

Blending mode used to apply the thumb tint.

Must be one of the following constant values.

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

tickMark

int tickMark

Drawable displayed at each progress position on a seekbar.

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

tickMarkTint

int tickMarkTint

Tint to apply to the tick mark drawable.

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

tickMarkTintMode

int tickMarkTintMode

Blending mode used to apply the tick mark tint.

Must be one of the following constant values.

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

title

int title

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

titleMargin

int titleMargin

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

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

titleMarginBottom

int titleMarginBottom

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

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

titleMarginEnd

int titleMarginEnd

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

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

titleMarginStart

int titleMarginStart

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

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

titleMarginTop

int titleMarginTop

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

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

titleMargins

int titleMargins

This field is deprecated.
Use titleMargin

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

titleTextAppearance

int titleTextAppearance

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

titleTextColor

int titleTextColor

A color to apply to the title string.

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

titleTextStyle

int titleTextStyle

Specifies a style to use for title text.

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

toolbarNavigationButtonStyle

int toolbarNavigationButtonStyle

Default Toolar NavigationButtonStyle

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

toolbarStyle

int toolbarStyle

Default Toolbar style.

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

track

int track

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

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

trackTint

int trackTint

Tint to apply to the track.

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

trackTintMode

int trackTintMode

Blending mode used to apply the track tint.

Must be one of the following constant values.

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

voiceIcon

int voiceIcon

Voice button icon

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

windowActionBar

int windowActionBar

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

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

windowActionBarOverlay

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.

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

windowActionModeOverlay

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

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

windowFixedHeightMajor

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

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

windowFixedHeightMinor

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

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

windowFixedWidthMajor

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

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

windowFixedWidthMinor

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

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

windowMinWidthMajor

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

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

windowMinWidthMinor

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

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

windowNoTitle

int windowNoTitle

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

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

Public constructors

R.attr

R.attr ()

Hooray!