public static final class R.attr
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
actionBarDivider
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionBarItemBackground
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionBarSize
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
actionBarSplitStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionBarStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
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 ". |
static int |
actionBarTabStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
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 ". |
static int |
actionBarWidgetTheme
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionButtonStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionDropDownStyle
Default ActionBar dropdown style.
|
static int |
actionLayout
An optional layout to be used as an action view.
|
static int |
actionMenuTextAppearance
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionMenuTextColor
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModeBackground
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
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 ". |
static int |
actionModeCloseDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModeCopyDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModeCutDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModeFindDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModePasteDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModePopupWindowStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModeSelectAllDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModeShareDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
actionModeSplitBackground
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
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 ". |
static int |
actionModeWebSearchDrawable
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
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 ". |
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.
|
static int |
actionViewClass
The name of an optional View class to instantiate and use as an
action view.
|
static int |
activityChooserViewStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
background
Specifies a background drawable for the action bar.
|
static int |
backgroundSplit
Specifies a background drawable for the bottom component of a split action bar.
|
static int |
backgroundStacked
Specifies a background drawable for a second stacked row of the action bar.
|
static int |
buttonBarButtonStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
buttonBarStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
customNavigationLayout
Specifies a layout for custom navigation.
|
static int |
disableChildrenWhenDisabled
Whether this spinner should mark child views as enabled/disabled when
the spinner itself is enabled/disabled.
|
static int |
displayOptions
Options affecting how the action bar is displayed.
|
static int |
divider
Specifies the drawable used for item dividers.
|
static int |
dividerHorizontal
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
dividerPadding
Size of padding on either end of a divider.
|
static int |
dividerVertical
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
dropdownListPreferredItemHeight
The preferred item height for dropdown lists.
|
static int |
dropDownListViewStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
expandActivityOverflowButtonDrawable
The drawable to show in the button for expanding the activities overflow popup.
|
static int |
height
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
homeAsUpIndicator
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
homeLayout
Specifies a layout to use for the "home" section of the action bar.
|
static int |
icon
Specifies the drawable used for the application icon.
|
static int |
iconifiedByDefault
The default state of the SearchView.
|
static int |
indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner.
|
static int |
initialActivityCount
The maximal number of items initially shown in the activity list.
|
static int |
isLightTheme
Must be a boolean value, either "
true " or "false ". |
static int |
itemPadding
Specifies padding that should be applied to the left and right sides of
system-provided items in the bar.
|
static int |
listChoiceBackgroundIndicator
Drawable used as a background for selected list items.
|
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 ". |
static int |
listPreferredItemHeight
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
listPreferredItemHeightLarge
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
listPreferredItemHeightSmall
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
listPreferredItemPaddingLeft
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
listPreferredItemPaddingRight
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
logo
Specifies the drawable used for the application logo.
|
static int |
navigationMode
The type of navigation to use.
|
static int |
paddingEnd
Sets the padding, in pixels, of the end edge; see
android.R.attr#padding . |
static int |
paddingStart
Sets the padding, in pixels, of the start edge; see
android.R.attr#padding . |
static int |
panelMenuListTheme
Default Panel Menu style.
|
static int |
panelMenuListWidth
Default Panel Menu width.
|
static int |
popupMenuStyle
Default PopupMenu style.
|
static int |
popupPromptView
Reference to a layout to use for displaying a prompt in the dropdown for
spinnerMode="dropdown".
|
static int |
progressBarPadding
Specifies the horizontal padding on either end for an embedded progress bar.
|
static int |
progressBarStyle
Specifies a style resource to use for an embedded progress bar.
|
static int |
prompt
The prompt to display when the spinner's dialog is shown.
|
static int |
queryHint
An optional query hint string to be displayed in the empty query field.
|
static int |
searchDropdownBackground
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchResultListItemHeight
Must be a dimension value, which is a floating point number appended with a unit such as "
14.5sp ". |
static int |
searchViewAutoCompleteTextView
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewCloseIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewEditQuery
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewEditQueryBackground
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewGoIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewSearchIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewTextField
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewTextFieldRight
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
searchViewVoiceIcon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
selectableItemBackground
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
showAsAction
How this item should display in the Action Bar, if present.
|
static int |
showDividers
Setting for which dividers to show.
|
static int |
spinnerDropDownItemStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
spinnerMode
Display mode for spinner options.
|
static int |
spinnerStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
subtitle
Specifies subtitle text used for navigationMode="normal"
|
static int |
subtitleTextStyle
Specifies a style to use for subtitle text.
|
static int |
textAllCaps
Present the text in ALL CAPS.
|
static int |
textAppearanceLargePopupMenu
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
textAppearanceListItem
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
textAppearanceListItemSmall
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
textAppearanceSearchResultSubtitle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
textAppearanceSearchResultTitle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
textAppearanceSmallPopupMenu
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
textColorSearchUrl
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "?[package:][type:]name ". |
static int |
title
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
titleTextStyle
Specifies a style to use for title text.
|
static int |
windowActionBar
Must be a boolean value, either "
true " or "false ". |
static int |
windowActionBarOverlay
Must be a boolean value, either "
true " or "false ". |
static int |
windowFixedHeightMajor
A fixed height for the window along the major axis of the screen,
that is, when in portrait.
|
static int |
windowFixedHeightMinor
A fixed height for the window along the minor axis of the screen,
that is, when in landscape.
|
static int |
windowFixedWidthMajor
A fixed width for the window along the major axis of the screen,
that is, when in landscape.
|
static int |
windowFixedWidthMinor
A fixed width for the window along the minor axis of the screen,
that is, when in portrait.
|
static int |
windowSplitActionBar
Must be a boolean value, either "
true " or "false ". |
Constructor and Description |
---|
R.attr() |
public static int actionBarDivider
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
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
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 actionBarSplitStyle
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
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
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 actionBarWidgetTheme
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
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
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
android.view.MenuItem#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
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
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
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
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
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
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
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
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
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
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
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
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
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 actionProviderClass
android.view.MenuItem#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
android.view.MenuItem#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
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
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
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
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 buttonBarButtonStyle
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
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
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 disableChildrenWhenDisabled
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 displayOptions
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
useLogo | 0x1 | |
showHome | 0x2 | |
homeAsUp | 0x4 | |
showTitle | 0x8 | |
showCustom | 0x10 | |
disableHome | 0x20 |
public static int divider
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
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
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
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
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
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 expandActivityOverflowButtonDrawable
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 homeAsUpIndicator
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
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
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
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
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
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 isLightTheme
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 itemPadding
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 listChoiceBackgroundIndicator
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
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
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
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
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
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
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
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
normal | 0 | Normal static title text |
listMode | 1 | The action bar will use a selection list for navigation. |
tabMode | 2 | The action bar will use a series of horizontal tabs for navigation. |
public static int paddingEnd
android.R.attr#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
android.R.attr#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 panelMenuListTheme
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
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
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 popupPromptView
@android:id/text1
to be populated with the prompt text.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
public static int progressBarPadding
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
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 prompt
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
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 searchDropdownBackground
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 searchResultListItemHeight
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 searchViewAutoCompleteTextView
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 searchViewCloseIcon
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 searchViewEditQuery
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 searchViewEditQueryBackground
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 searchViewGoIcon
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 searchViewSearchIcon
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 searchViewTextField
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 searchViewTextFieldRight
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 searchViewVoiceIcon
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
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
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
never | 0 | Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always". |
ifRoom | 1 | Show this item in an action bar if there is room for it as determined by the system. Favor this option over "always" where possible. Mutually exclusive with "never" and "always". |
always | 2 | Always show this item in an actionbar, even if it would override the system's limits of how much stuff to put there. This may make your action bar look bad on some screens. In most cases you should use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". |
withText | 4 | When this item is shown as an action in the action bar, show a text label with it even if it has an icon representation. |
collapseActionView | 8 | This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container. |
public static int showDividers
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | |
beginning | 1 | |
middle | 2 | |
end | 4 |
public static int spinnerDropDownItemStyle
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 spinnerMode
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
dialog | 0 | Spinner options will be presented to the user as a dialog window. |
dropdown | 1 | Spinner options will be presented to the user as an inline dropdown anchored to the spinner widget itself. |
public static int spinnerStyle
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
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 subtitleTextStyle
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 textAllCaps
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
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
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
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
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
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
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 textColorSearchUrl
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 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 titleTextStyle
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
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
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
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
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
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
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 windowSplitActionBar
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.