Constructor and Description |
---|
R.styleable() |
public static final int[] ActionBar
Includes the following attributes:
Attribute | Description |
---|---|
| Specifies a background drawable for the action bar. |
| Specifies a background drawable for the bottom component of a split action bar. |
| Specifies a background drawable for a second stacked row of the action bar. |
| Specifies a layout for custom navigation. |
| Options affecting how the action bar is displayed. |
| Specifies the drawable used for item dividers. |
| Specifies a fixed height. |
| Specifies a layout to use for the "home" section of the action bar. |
| Specifies the drawable used for the application icon. |
| Specifies a style resource to use for an indeterminate progress spinner. |
| Specifies padding that should be applied to the left and right sides of system-provided items in the bar. |
| Specifies the drawable used for the application logo. |
| The type of navigation to use. |
| Specifies the horizontal padding on either end for an embedded progress bar. |
| Specifies a style resource to use for an embedded progress bar. |
| Specifies subtitle text used for navigationMode="normal" |
| Specifies a style to use for subtitle text. |
| Specifies title text used for navigationMode="normal" |
| Specifies a style to use for title text. |
ActionBar_background
,
ActionBar_backgroundSplit
,
ActionBar_backgroundStacked
,
ActionBar_customNavigationLayout
,
ActionBar_displayOptions
,
ActionBar_divider
,
ActionBar_height
,
ActionBar_homeLayout
,
ActionBar_icon
,
ActionBar_indeterminateProgressStyle
,
ActionBar_itemPadding
,
ActionBar_logo
,
ActionBar_navigationMode
,
ActionBar_progressBarPadding
,
ActionBar_progressBarStyle
,
ActionBar_subtitle
,
ActionBar_subtitleTextStyle
,
ActionBar_title
,
ActionBar_titleTextStyle
public static final int ActionBar_background
public static final int ActionBar_backgroundSplit
public static final int ActionBar_backgroundStacked
public static final int ActionBar_customNavigationLayout
public static final int ActionBar_displayOptions
public static final int ActionBar_divider
public static final int ActionBar_height
public static final int ActionBar_homeLayout
public static final int ActionBar_icon
public static final int ActionBar_indeterminateProgressStyle
public static final int ActionBar_itemPadding
public static final int ActionBar_logo
public static final int ActionBar_navigationMode
public static final int ActionBar_progressBarPadding
public static final int ActionBar_progressBarStyle
public static final int ActionBar_subtitle
public static final int ActionBar_subtitleTextStyle
public static final int ActionBar_title
public static final int ActionBar_titleTextStyle
public static final int[] ActionBarLayout
Includes the following attributes:
Attribute | Description |
---|---|
|
public static final int ActionBarLayout_android_layout_gravity
This symbol is the offset where the R.attr.layout_gravity
attribute's value can be found in the ActionBarLayout
array.
public static final int[] ActionBarWindow
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| A fixed height for the window along the major axis of the screen, that is, when in portrait. |
| A fixed height for the window along the minor axis of the screen, that is, when in landscape. |
| A fixed width for the window along the major axis of the screen, that is, when in landscape. |
| A fixed width for the window along the minor axis of the screen, that is, when in portrait. |
|
public static final int ActionBarWindow_windowActionBar
This symbol is the offset where the R.attr.windowActionBar
attribute's value can be found in the ActionBarWindow
array.
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 ActionBarWindow_windowActionBarOverlay
This symbol is the offset where the R.attr.windowActionBarOverlay
attribute's value can be found in the ActionBarWindow
array.
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 ActionBarWindow_windowFixedHeightMajor
public static final int ActionBarWindow_windowFixedHeightMinor
public static final int ActionBarWindow_windowFixedWidthMajor
public static final int ActionBarWindow_windowFixedWidthMinor
public static final int ActionBarWindow_windowSplitActionBar
This symbol is the offset where the R.attr.windowSplitActionBar
attribute's value can be found in the ActionBarWindow
array.
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[] ActionMenuItemView
Includes the following attributes:
Attribute | Description |
---|---|
|
ActionMenuItemView_android_minWidth
public static final int ActionMenuItemView_android_minWidth
This symbol is the offset where the R.attr.minWidth
attribute's value can be found in the ActionMenuItemView
array.
public static final int[] ActionMenuView
public static final int[] ActionMode
Includes the following attributes:
Attribute | Description |
---|---|
| Specifies a background for the action mode bar. |
| Specifies a background for the split action mode bar. |
| Specifies a fixed height for the action mode bar. |
| Specifies a style to use for subtitle text. |
| Specifies a style to use for title text. |
public static final int ActionMode_background
public static final int ActionMode_backgroundSplit
public static final int ActionMode_height
public static final int ActionMode_subtitleTextStyle
public static final int ActionMode_titleTextStyle
public static final int[] ActivityChooserView
Includes the following attributes:
Attribute | Description |
---|---|
| The drawable to show in the button for expanding the activities overflow popup. |
| The maximal number of items initially shown in the activity list. |
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable
public static final int ActivityChooserView_initialActivityCount
public static final int[] CompatTextView
Includes the following attributes:
Attribute | Description |
---|---|
| Present the text in ALL CAPS. |
CompatTextView_textAllCaps
public static final int CompatTextView_textAllCaps
public static final int[] LinearLayoutICS
Includes the following attributes:
Attribute | Description |
---|---|
| Drawable to use as a vertical divider between buttons. |
| Size of padding on either end of a divider. |
| Setting for which dividers to show. |
public static final int LinearLayoutICS_divider
public static final int LinearLayoutICS_dividerPadding
public static final int LinearLayoutICS_showDividers
public static final int[] MenuGroup
Includes the following attributes:
Attribute | Description |
---|---|
| Whether the items are capable of displaying a check mark. |
| Whether the items are enabled. |
| The ID of the group. |
| The category applied to all items within this group. |
| The order within the category applied to all items within this group. |
| Whether the items are shown/visible. |
public static final int MenuGroup_android_checkableBehavior
public static final int MenuGroup_android_enabled
public static final int MenuGroup_android_id
public static final int MenuGroup_android_menuCategory
public static final int MenuGroup_android_orderInCategory
public static final int MenuGroup_android_visible
public static final int[] MenuItem
Includes the following attributes:
Attribute | Description |
---|---|
| An optional layout to be used as an action view. |
| The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. |
| The name of an optional View class to instantiate and use as an action view. |
| The alphabetic shortcut key. |
| Whether the item is capable of displaying a check mark. |
| Whether the item is checked. |
| Whether the item is enabled. |
| The icon associated with this item. |
| The ID of the item. |
| The category applied to the item. |
| The numeric shortcut key. |
| Name of a method on the Context used to inflate the menu that will be called when the item is clicked. |
| The order within the category applied to the item. |
| The title associated with the item. |
| The condensed title associated with the item. |
| Whether the item is shown/visible. |
| How this item should display in the Action Bar, if present. |
MenuItem_actionLayout
,
MenuItem_actionProviderClass
,
MenuItem_actionViewClass
,
MenuItem_android_alphabeticShortcut
,
MenuItem_android_checkable
,
MenuItem_android_checked
,
MenuItem_android_enabled
,
MenuItem_android_icon
,
MenuItem_android_id
,
MenuItem_android_menuCategory
,
MenuItem_android_numericShortcut
,
MenuItem_android_onClick
,
MenuItem_android_orderInCategory
,
MenuItem_android_title
,
MenuItem_android_titleCondensed
,
MenuItem_android_visible
,
MenuItem_showAsAction
public static final int MenuItem_actionLayout
public static final int MenuItem_actionProviderClass
public static final int MenuItem_actionViewClass
public static final int MenuItem_android_alphabeticShortcut
public static final int MenuItem_android_checkable
public static final int MenuItem_android_checked
public static final int MenuItem_android_enabled
public static final int MenuItem_android_icon
public static final int MenuItem_android_id
public static final int MenuItem_android_menuCategory
public static final int MenuItem_android_numericShortcut
public static final int MenuItem_android_onClick
public static final int MenuItem_android_orderInCategory
public static final int MenuItem_android_title
public static final int MenuItem_android_titleCondensed
public static final int MenuItem_android_visible
public static final int MenuItem_showAsAction
public static final int[] MenuView
Includes the following attributes:
Attribute | Description |
---|---|
| Default background for the menu header. |
| Default horizontal divider between rows of menu items. |
| Default background for each menu item. |
| Default disabled icon alpha for each menu item that shows an icon. |
| Default appearance of menu item text. |
| Whether space should be reserved in layout when an icon is missing. |
| Default vertical divider between menu items. |
| Default animations for the menu. |
public static final int MenuView_android_headerBackground
public static final int MenuView_android_horizontalDivider
public static final int MenuView_android_itemBackground
public static final int MenuView_android_itemIconDisabledAlpha
public static final int MenuView_android_itemTextAppearance
public static final int MenuView_android_preserveIconSpacing
public static final int MenuView_android_verticalDivider
public static final int MenuView_android_windowAnimationStyle
public static final int[] SearchView
Includes the following attributes:
Attribute | Description |
---|---|
| The IME options to set on the query text field. |
| The input type to set on the query text field. |
| An optional maximum width of the SearchView. |
| The default state of the SearchView. |
| An optional query hint string to be displayed in the empty query field. |
public static final int SearchView_android_imeOptions
public static final int SearchView_android_inputType
public static final int SearchView_android_maxWidth
public static final int SearchView_iconifiedByDefault
public static final int SearchView_queryHint
public static final int[] SeekBarDialogPreference
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
public static final int SeekBarDialogPreference_android_max
This symbol is the offset where the R.attr.max
attribute's value can be found in the SeekBarDialogPreference
array.
public static final int SeekBarDialogPreference_min
This symbol is the offset where the R.attr.min
attribute's value can be found in the SeekBarDialogPreference
array.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int SeekBarDialogPreference_progressTextSuffix
This symbol is the offset where the R.attr.progressTextSuffix
attribute's value can be found in the SeekBarDialogPreference
array.
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[] Spinner
Includes the following attributes:
Attribute | Description |
---|---|
| Horizontal offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown". |
| List selector to use for spinnerMode="dropdown" display. |
| Vertical offset from the spinner widget for positioning the dropdown in spinnerMode="dropdown". |
| Width of the dropdown in spinnerMode="dropdown". |
| Gravity setting for positioning the currently selected item. |
| Background drawable to use for the dropdown in spinnerMode="dropdown". |
| Whether this spinner should mark child views as enabled/disabled when the spinner itself is enabled/disabled. |
| Reference to a layout to use for displaying a prompt in the dropdown for spinnerMode="dropdown". |
| The prompt to display when the spinner's dialog is shown. |
| Display mode for spinner options. |
Spinner_android_dropDownHorizontalOffset
,
Spinner_android_dropDownSelector
,
Spinner_android_dropDownVerticalOffset
,
Spinner_android_dropDownWidth
,
Spinner_android_gravity
,
Spinner_android_popupBackground
,
Spinner_disableChildrenWhenDisabled
,
Spinner_popupPromptView
,
Spinner_prompt
,
Spinner_spinnerMode
public static final int Spinner_android_dropDownHorizontalOffset
public static final int Spinner_android_dropDownSelector
public static final int Spinner_android_dropDownVerticalOffset
public static final int Spinner_android_dropDownWidth
public static final int Spinner_android_gravity
public static final int Spinner_android_popupBackground
public static final int Spinner_disableChildrenWhenDisabled
public static final int Spinner_popupPromptView
public static final int Spinner_prompt
public static final int Spinner_spinnerMode
public static final int[] Theme
Includes the following attributes:
Attribute | Description |
---|---|
| Default ActionBar dropdown style. |
| The preferred item height for dropdown lists. |
| Drawable used as a background for selected list items. |
| Default Panel Menu style. |
| Default Panel Menu width. |
| Default PopupMenu style. |
public static final int Theme_actionDropDownStyle
public static final int Theme_dropdownListPreferredItemHeight
public static final int Theme_listChoiceBackgroundIndicator
public static final int Theme_panelMenuListTheme
public static final int Theme_panelMenuListWidth
public static final int Theme_popupMenuStyle
public static final int[] View
Includes the following attributes:
Attribute | Description |
---|---|
| Boolean that controls whether a view can take focus. |
| Sets the padding, in pixels, of the end edge; see R.attr.padding . |
| Sets the padding, in pixels, of the start edge; see R.attr.padding . |
public static final int View_android_focusable
public static final int View_paddingEnd
public static final int View_paddingStart