public static final class R.attr
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
actionBarDivider
Custom divider drawable to use for elements in the action bar.
|
static int |
actionBarItemBackground
Custom item state list drawable background for action bar items.
|
static int |
actionBarSize
Size of the Action Bar, including the contextual
bar used to present Action Modes.
|
static int |
actionBarSplitStyle
Reference to a theme that should be used to inflate widgets
and layouts destined for the action bar.
|
static int |
actionBarStyle
Reference to a style for the Action Bar
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionBarTabBarStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionBarTabStyle
Default style for tabs within an action bar
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionBarTabTextStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets
and layouts destined for the action bar.
|
static int |
actionButtonStyle
Default action button style.
|
static int |
actionDropDownStyle
Default ActionBar dropdown style.
|
static int |
actionLayout
An optional layout to be used as an action view.
|
static int |
actionMenuTextAppearance
TextAppearance style that will be applied to text that
appears within action menu items.
|
static int |
actionMenuTextColor
Color for text that appears within action menu items.
|
static int |
actionModeBackground
Background drawable to use for action mode UI
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeCloseButtonStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeCloseDrawable
Drawable to use for the close action mode button
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModePopupWindowStyle
PopupWindow style to use for action modes when showing as a window overlay.
|
static int |
actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
actionOverflowButtonStyle
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
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
Default ActivityChooserView style.
|
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
A style that may be applied to Buttons placed within a
LinearLayout with the style buttonBarStyle to form a button bar.
|
static int |
buttonBarStyle
A style that may be applied to horizontal LinearLayouts
to form a button bar.
|
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
A drawable that may be used as a horizontal divider between visual elements.
|
static int |
dividerPadding
Size of padding on either end of a divider.
|
static int |
dividerVertical
A drawable that may be used as a vertical divider between visual elements.
|
static int |
dropdownListPreferredItemHeight
The preferred item height for dropdown lists.
|
static int |
dropDownListViewStyle
ListPopupWindow comaptibility
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
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
Specifies a drawable to use for the 'home as up' indicator.
|
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
Specifies whether the theme is light, otherwise it is dark.
|
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 "? |
static int |
listPreferredItemHeight
The preferred list item height.
|
static int |
listPreferredItemHeightLarge
A larger, more robust list item height.
|
static int |
listPreferredItemHeightSmall
A smaller, sleeker list item height.
|
static int |
listPreferredItemPaddingLeft
The preferred padding along the left edge of list items.
|
static int |
listPreferredItemPaddingRight
The preferred padding along the right edge of list items.
|
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
R.attr.padding . |
static int |
paddingStart
Sets the padding, in pixels, of the start edge; see
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
SearchView dropdown background
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchResultListItemHeight
The list item height for search results.
|
static int |
searchViewAutoCompleteTextView
SearchView AutoCompleteTextView style
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewCloseIcon
SearchView close button icon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewEditQuery
SearchView query refinement icon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewEditQueryBackground
SearchView query refinement icon background
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewGoIcon
SearchView Go button icon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewSearchIcon
SearchView Search icon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewTextField
SearchView text field background for the left section
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewTextFieldRight
SearchView text field background for the right section
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
static int |
searchViewVoiceIcon
SearchView Voice button icon
Must be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
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.
|
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
Default Spinner style.
|
static int |
spinnerMode
Display mode for spinner options.
|
static int |
spinnerStyle
Default Spinner style.
|
static int |
subtitle
Specifies subtitle text used for navigationMode="normal"
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
subtitleTextStyle
Specifies a style to use for subtitle text.
|
static int |
textAllCaps
Present the text in ALL CAPS.
|
static int |
textAppearanceLargePopupMenu
Text color, typeface, size, and style for the text inside of a popup menu.
|
static int |
textAppearanceListItem
The preferred TextAppearance for the primary text of list items.
|
static int |
textAppearanceListItemSmall
The preferred TextAppearance for the primary text of small list items.
|
static int |
textAppearanceSearchResultSubtitle
Text color, typeface, size, and style for system search result subtitle.
|
static int |
textAppearanceSearchResultTitle
Text color, typeface, size, and style for system search result title.
|
static int |
textAppearanceSmallPopupMenu
Text color, typeface, size, and style for small text inside of a popup menu.
|
static int |
textColorSearchUrl
Text color for urls in search suggestions, used by things like global search
May be a reference to another resource, in the form "
@[+][package:]type:name "
or to a theme attribute in the form "? |
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 |
windowSplitActionBar
Must be a boolean value, either "
true " or "false ". |
Constructor and Description |
---|
R.attr() |
public static final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final int actionLayout
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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final int actionProviderClass
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 final int actionViewClass
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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final int paddingEnd
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 final int paddingStart
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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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.