R.styleable
public
static
final
class
R.styleable
extends Object
java.lang.Object | |
↳ | android.support.wearable.R.styleable |
Summary
Fields | |
---|---|
public
static
final
int[] |
AcceptDenyDialogPreference
Base attributes available to AcceptDenyDialogPreference. |
public
static
int |
AcceptDenyDialogPreference_dialogIcon
The icon for the dialog. |
public
static
int |
AcceptDenyDialogPreference_dialogMessage
The message in the dialog. |
public
static
int |
AcceptDenyDialogPreference_dialogTitle
The title in the dialog. |
public
static
int |
AcceptDenyDialogPreference_showNegativeDialogButton
Specifies if the negative button should be shown for the dialog. |
public
static
int |
AcceptDenyDialogPreference_showPositiveDialogButton
Specifies if the positive button should be shown for the dialog. |
public
static
final
int[] |
AcceptDenySwitchPreference
Base attributes available to AcceptDenySwitchPreference. |
public
static
int |
AcceptDenySwitchPreference_dialogIcon
The icon for the dialog. |
public
static
int |
AcceptDenySwitchPreference_dialogMessage
The message in the dialog. |
public
static
int |
AcceptDenySwitchPreference_dialogTitle
The title in the dialog. |
public
static
int |
AcceptDenySwitchPreference_showDialogWhenTurningOff
Specifies if the dialog should be shown when the switch is turning off. |
public
static
int |
AcceptDenySwitchPreference_showDialogWhenTurningOn
Specifies if the dialog should be shown when the switch is turning on. |
public
static
int |
AcceptDenySwitchPreference_showNegativeDialogButton
Specifies if the negative button should be shown for the dialog. |
public
static
int |
AcceptDenySwitchPreference_showPositiveDialogButton
Specifies if the positive button should be shown for the dialog. |
public
static
final
int[] |
ActionBar
Attributes that can be used with a ActionBar. |
public
static
final
int[] |
ActionBarLayout
Attributes that can be used with a ActionBarLayout. |
public
static
int |
ActionBarLayout_android_layout_gravity
This symbol is the offset where the |
public
static
int |
ActionBar_background
Specifies a background drawable for the action bar. |
public
static
int |
ActionBar_backgroundSplit
Specifies a background drawable for the bottom component of a split action bar. |
public
static
int |
ActionBar_backgroundStacked
Specifies a background drawable for a second stacked row of the action bar. |
public
static
int |
ActionBar_contentInsetEnd
Minimum inset for content views within a bar. |
public
static
int |
ActionBar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. |
public
static
int |
ActionBar_contentInsetLeft
Minimum inset for content views within a bar. |
public
static
int |
ActionBar_contentInsetRight
Minimum inset for content views within a bar. |
public
static
int |
ActionBar_contentInsetStart
Minimum inset for content views within a bar. |
public
static
int |
ActionBar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
public
static
int |
ActionBar_customNavigationLayout
Specifies a layout for custom navigation. |
public
static
int |
ActionBar_displayOptions
Options affecting how the action bar is displayed. |
public
static
int |
ActionBar_divider
Specifies the drawable used for item dividers. |
public
static
int |
ActionBar_elevation
Elevation for the action bar itself May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
ActionBar_height
Specifies a fixed height. |
public
static
int |
ActionBar_hideOnContentScroll
Set true to hide the action bar on a vertical nested scroll of content. |
public
static
int |
ActionBar_homeAsUpIndicator
Up navigation glyph May be a reference to another resource, in the form
" |
public
static
int |
ActionBar_homeLayout
Specifies a layout to use for the "home" section of the action bar. |
public
static
int |
ActionBar_icon
Specifies the drawable used for the application icon. |
public
static
int |
ActionBar_indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner. |
public
static
int |
ActionBar_itemPadding
Specifies padding that should be applied to the left and right sides of system-provided items in the bar. |
public
static
int |
ActionBar_logo
Specifies the drawable used for the application logo. |
public
static
int |
ActionBar_navigationMode
The type of navigation to use. |
public
static
int |
ActionBar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
public
static
int |
ActionBar_progressBarPadding
Specifies the horizontal padding on either end for an embedded progress bar. |
public
static
int |
ActionBar_progressBarStyle
Specifies a style resource to use for an embedded progress bar. |
public
static
int |
ActionBar_subtitle
Specifies subtitle text used for navigationMode="normal" May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
public
static
int |
ActionBar_subtitleTextStyle
Specifies a style to use for subtitle text. |
public
static
int |
ActionBar_title
Specifies title text used for navigationMode="normal" May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
public
static
int |
ActionBar_titleTextStyle
Specifies a style to use for title text. |
public
static
final
int[] |
ActionLabel
Attributes that can be used with a ActionLabel. |
public
static
int |
ActionLabel_android_fontFamily
This symbol is the offset where the |
public
static
int |
ActionLabel_android_gravity
This symbol is the offset where the |
public
static
int |
ActionLabel_android_lineSpacingExtra
This symbol is the offset where the |
public
static
int |
ActionLabel_android_lineSpacingMultiplier
This symbol is the offset where the |
public
static
int |
ActionLabel_android_maxLines
This symbol is the offset where the |
public
static
int |
ActionLabel_android_text
This symbol is the offset where the |
public
static
int |
ActionLabel_android_textColor
This symbol is the offset where the |
public
static
int |
ActionLabel_android_textStyle
This symbol is the offset where the |
public
static
int |
ActionLabel_android_typeface
This symbol is the offset where the |
public
static
int |
ActionLabel_maxTextSize
This symbol is the offset where the |
public
static
int |
ActionLabel_minTextSize
This symbol is the offset where the |
public
static
final
int[] |
ActionMenuItemView
Attributes that can be used with a ActionMenuItemView. |
public
static
int |
ActionMenuItemView_android_minWidth
This symbol is the offset where the |
public
static
final
int[] |
ActionMenuView
|
public
static
final
int[] |
ActionMode
Attributes that can be used with a ActionMode. |
public
static
int |
ActionMode_background
Specifies a background for the action mode bar. |
public
static
int |
ActionMode_backgroundSplit
Specifies a background for the split action mode bar. |
public
static
int |
ActionMode_closeItemLayout
Specifies a layout to use for the "close" item at the starting edge. |
public
static
int |
ActionMode_height
Specifies a fixed height for the action mode bar. |
public
static
int |
ActionMode_subtitleTextStyle
Specifies a style to use for subtitle text. |
public
static
int |
ActionMode_titleTextStyle
Specifies a style to use for title text. |
public
static
final
int[] |
ActionPage
Attributes that can be used with a ActionPage. |
public
static
int |
ActionPage_android_color
This symbol is the offset where the |
public
static
int |
ActionPage_android_elevation
This symbol is the offset where the |
public
static
int |
ActionPage_android_fontFamily
This symbol is the offset where the |
public
static
int |
ActionPage_android_gravity
This symbol is the offset where the |
public
static
int |
ActionPage_android_lineSpacingExtra
This symbol is the offset where the |
public
static
int |
ActionPage_android_lineSpacingMultiplier
This symbol is the offset where the |
public
static
int |
ActionPage_android_maxLines
This symbol is the offset where the |
public
static
int |
ActionPage_android_src
This symbol is the offset where the |
public
static
int |
ActionPage_android_stateListAnimator
This symbol is the offset where the |
public
static
int |
ActionPage_android_text
This symbol is the offset where the |
public
static
int |
ActionPage_android_textColor
This symbol is the offset where the |
public
static
int |
ActionPage_android_textStyle
This symbol is the offset where the |
public
static
int |
ActionPage_android_typeface
This symbol is the offset where the |
public
static
int |
ActionPage_buttonRippleColor
This symbol is the offset where the |
public
static
int |
ActionPage_imageScaleMode
This symbol is the offset where the |
public
static
int |
ActionPage_maxTextSize
This symbol is the offset where the |
public
static
int |
ActionPage_minTextSize
This symbol is the offset where the |
public
static
int |
ActionPage_pressedButtonTranslationZ
This symbol is the offset where the |
public
static
final
int[] |
ActivityChooserView
Attributes that can be used with a ActivityChooserView. |
public
static
int |
ActivityChooserView_expandActivityOverflowButtonDrawable
The drawable to show in the button for expanding the activities overflow popup. |
public
static
int |
ActivityChooserView_initialActivityCount
The maximal number of items initially shown in the activity list. |
public
static
final
int[] |
AlertDialog
Attributes that can be used with a AlertDialog. |
public
static
int |
AlertDialog_android_layout
This symbol is the offset where the |
public
static
int |
AlertDialog_buttonIconDimen
This symbol is the offset where the |
public
static
int |
AlertDialog_buttonPanelSideLayout
This symbol is the offset where the |
public
static
int |
AlertDialog_listItemLayout
This symbol is the offset where the |
public
static
int |
AlertDialog_listLayout
This symbol is the offset where the |
public
static
int |
AlertDialog_multiChoiceItemLayout
This symbol is the offset where the |
public
static
int |
AlertDialog_showTitle
This symbol is the offset where the |
public
static
int |
AlertDialog_singleChoiceItemLayout
This symbol is the offset where the |
public
static
final
int[] |
AnimatedStateListDrawableCompat
Attributes that can be used with a AnimatedStateListDrawableCompat. |
public
static
int |
AnimatedStateListDrawableCompat_android_constantSize
If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. |
public
static
int |
AnimatedStateListDrawableCompat_android_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). |
public
static
int |
AnimatedStateListDrawableCompat_android_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable. |
public
static
int |
AnimatedStateListDrawableCompat_android_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable. |
public
static
int |
AnimatedStateListDrawableCompat_android_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. |
public
static
int |
AnimatedStateListDrawableCompat_android_visible
Indicates whether the drawable should be initially visible. |
public
static
final
int[] |
AnimatedStateListDrawableItem
Attributes that can be used with a AnimatedStateListDrawableItem. |
public
static
int |
AnimatedStateListDrawableItem_android_drawable
Reference to a drawable resource to use for the frame. |
public
static
int |
AnimatedStateListDrawableItem_android_id
Keyframe identifier for use in specifying transitions. |
public
static
final
int[] |
AnimatedStateListDrawableTransition
Attributes that can be used with a AnimatedStateListDrawableTransition. |
public
static
int |
AnimatedStateListDrawableTransition_android_drawable
Reference to a animation drawable resource to use for the frame. |
public
static
int |
AnimatedStateListDrawableTransition_android_fromId
Keyframe identifier for the starting state. |
public
static
int |
AnimatedStateListDrawableTransition_android_reversible
Whether this transition is reversible. |
public
static
int |
AnimatedStateListDrawableTransition_android_toId
Keyframe identifier for the ending state. |
public
static
final
int[] |
AppCompatEmojiHelper
|
public
static
final
int[] |
AppCompatImageView
Attributes that can be used with a AppCompatImageView. |
public
static
int |
AppCompatImageView_android_src
This symbol is the offset where the |
public
static
int |
AppCompatImageView_srcCompat
Sets a drawable as the content of this ImageView. |
public
static
int |
AppCompatImageView_tint
Tint to apply to the image source. |
public
static
int |
AppCompatImageView_tintMode
Blending mode used to apply the image source tint. |
public
static
final
int[] |
AppCompatSeekBar
Attributes that can be used with a AppCompatSeekBar. |
public
static
int |
AppCompatSeekBar_android_thumb
This symbol is the offset where the |
public
static
int |
AppCompatSeekBar_tickMark
Drawable displayed at each progress position on a seekbar. |
public
static
int |
AppCompatSeekBar_tickMarkTint
Tint to apply to the tick mark drawable. |
public
static
int |
AppCompatSeekBar_tickMarkTintMode
Blending mode used to apply the tick mark tint. |
public
static
final
int[] |
AppCompatTextHelper
Attributes that can be used with a AppCompatTextHelper. |
public
static
int |
AppCompatTextHelper_android_drawableBottom
This symbol is the offset where the |
public
static
int |
AppCompatTextHelper_android_drawableEnd
This symbol is the offset where the |
public
static
int |
AppCompatTextHelper_android_drawableLeft
This symbol is the offset where the |
public
static
int |
AppCompatTextHelper_android_drawableRight
This symbol is the offset where the |
public
static
int |
AppCompatTextHelper_android_drawableStart
This symbol is the offset where the |
public
static
int |
AppCompatTextHelper_android_drawableTop
This symbol is the offset where the |
public
static
int |
AppCompatTextHelper_android_textAppearance
This symbol is the offset where the |
public
static
final
int[] |
AppCompatTextView
Attributes that can be used with a AppCompatTextView. |
public
static
int |
AppCompatTextView_android_textAppearance
This symbol is the offset where the |
public
static
int |
AppCompatTextView_autoSizeMaxTextSize
The maximum text size constraint to be used when auto-sizing text. |
public
static
int |
AppCompatTextView_autoSizeMinTextSize
The minimum text size constraint to be used when auto-sizing text. |
public
static
int |
AppCompatTextView_autoSizePresetSizes
Resource array of dimensions to be used in conjunction with
|
public
static
int |
AppCompatTextView_autoSizeStepGranularity
Specify the auto-size step size if |
public
static
int |
AppCompatTextView_autoSizeTextType
Specify the type of auto-size. |
public
static
int |
AppCompatTextView_drawableBottomCompat
This symbol is the offset where the |
public
static
int |
AppCompatTextView_drawableEndCompat
This symbol is the offset where the |
public
static
int |
AppCompatTextView_drawableLeftCompat
Compound drawables allowing the use of vector drawable when running on older versions of the platform. |
public
static
int |
AppCompatTextView_drawableRightCompat
This symbol is the offset where the |
public
static
int |
AppCompatTextView_drawableStartCompat
This symbol is the offset where the |
public
static
int |
AppCompatTextView_drawableTint
Tint to apply to the compound (left, top, etc.) drawables. |
public
static
int |
AppCompatTextView_drawableTintMode
Blending mode used to apply the compound (left, top, etc.) drawables tint. |
public
static
int |
AppCompatTextView_drawableTopCompat
This symbol is the offset where the |
public
static
int |
AppCompatTextView_emojiCompatEnabled
Display the emoji if emojicompat has this character for emoji not on the system May be a boolean value, such as " |
public
static
int |
AppCompatTextView_firstBaselineToTopHeight
Distance from the top of the TextView to the first text baseline. |
public
static
int |
AppCompatTextView_fontFamily
The attribute for the font family. |
public
static
int |
AppCompatTextView_fontVariationSettings
OpenType font variation settings, available after api 26. |
public
static
int |
AppCompatTextView_lastBaselineToBottomHeight
Distance from the bottom of the TextView to the last text baseline. |
public
static
int |
AppCompatTextView_lineHeight
Explicit height between lines of text. |
public
static
int |
AppCompatTextView_textAllCaps
Present the text in ALL CAPS. |
public
static
int |
AppCompatTextView_textLocale
Set the textLocale by a comma-separated language tag string, for example "ja-JP,zh-CN". |
public
static
final
int[] |
AppCompatTheme
Attributes that can be used with a AppCompatTheme. |
public
static
int |
AppCompatTheme_actionBarDivider
Custom divider drawable to use for elements in the action bar. |
public
static
int |
AppCompatTheme_actionBarItemBackground
Custom item state list drawable background for action bar items. |
public
static
int |
AppCompatTheme_actionBarPopupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
public
static
int |
AppCompatTheme_actionBarSize
Size of the Action Bar, including the contextual bar used to present Action Modes. |
public
static
int |
AppCompatTheme_actionBarSplitStyle
Reference to a style for the split Action Bar. |
public
static
int |
AppCompatTheme_actionBarStyle
Reference to a style for the Action Bar May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionBarTabBarStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_actionBarTabStyle
Default style for tabs within an action bar May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionBarTabTextStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_actionBarTheme
Reference to a theme that should be used to inflate the action bar. |
public
static
int |
AppCompatTheme_actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. |
public
static
int |
AppCompatTheme_actionButtonStyle
Default action button style. |
public
static
int |
AppCompatTheme_actionDropDownStyle
Default ActionBar dropdown style. |
public
static
int |
AppCompatTheme_actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action menu items. |
public
static
int |
AppCompatTheme_actionMenuTextColor
Color for text that appears within action menu items. |
public
static
int |
AppCompatTheme_actionModeBackground
Background drawable to use for action mode UI May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModeCloseButtonStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_actionModeCloseContentDescription
Content description to use for the close action mode button May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
public
static
int |
AppCompatTheme_actionModeCloseDrawable
Drawable to use for the close action mode button May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModePopupWindowStyle
PopupWindow style to use for action modes when showing as a window overlay. |
public
static
int |
AppCompatTheme_actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionModeStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_actionModeTheme
Reference to a theme that should be used to inflate the action bar in action mode. |
public
static
int |
AppCompatTheme_actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_actionOverflowButtonStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_actionOverflowMenuStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_activityChooserViewStyle
Default ActivityChooserView style. |
public
static
int |
AppCompatTheme_alertDialogButtonGroupStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_alertDialogCenterButtons
This symbol is the offset where the |
public
static
int |
AppCompatTheme_alertDialogStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_alertDialogTheme
Theme to use for alert dialogs spawned from this theme. |
public
static
int |
AppCompatTheme_android_windowAnimationStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_android_windowIsFloating
This symbol is the offset where the |
public
static
int |
AppCompatTheme_autoCompleteTextViewStyle
Default AutoCompleteTextView style. |
public
static
int |
AppCompatTheme_borderlessButtonStyle
Style for buttons without an explicit border, often used in groups. |
public
static
int |
AppCompatTheme_buttonBarButtonStyle
Style for buttons within button bars May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_buttonBarNegativeButtonStyle
Style for the "negative" buttons within button bars May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_buttonBarNeutralButtonStyle
Style for the "neutral" buttons within button bars May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_buttonBarPositiveButtonStyle
Style for the "positive" buttons within button bars May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_buttonBarStyle
Style for button bars May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_buttonStyle
Normal Button style. |
public
static
int |
AppCompatTheme_buttonStyleSmall
Small Button style. |
public
static
int |
AppCompatTheme_checkboxStyle
Default Checkbox style. |
public
static
int |
AppCompatTheme_checkedTextViewStyle
Default CheckedTextView style. |
public
static
int |
AppCompatTheme_colorAccent
Bright complement to the primary branding color. |
public
static
int |
AppCompatTheme_colorBackgroundFloating
Default color of background imagery for floating components, ex. |
public
static
int |
AppCompatTheme_colorButtonNormal
The color applied to framework buttons in their normal state. |
public
static
int |
AppCompatTheme_colorControlActivated
The color applied to framework controls in their activated (ex. |
public
static
int |
AppCompatTheme_colorControlHighlight
The color applied to framework control highlights (ex. |
public
static
int |
AppCompatTheme_colorControlNormal
The color applied to framework controls in their normal state. |
public
static
int |
AppCompatTheme_colorError
Color used for error states and things that need to be drawn to the user's attention. |
public
static
int |
AppCompatTheme_colorPrimary
The primary branding color for the app. |
public
static
int |
AppCompatTheme_colorPrimaryDark
Dark variant of the primary branding color. |
public
static
int |
AppCompatTheme_colorSwitchThumbNormal
The color applied to framework switch thumbs in their normal state. |
public
static
int |
AppCompatTheme_controlBackground
The background used by framework controls. |
public
static
int |
AppCompatTheme_dialogCornerRadius
Preferred corner radius of dialogs. |
public
static
int |
AppCompatTheme_dialogPreferredPadding
Preferred padding for dialog content. |
public
static
int |
AppCompatTheme_dialogTheme
Theme to use for dialogs spawned from this theme. |
public
static
int |
AppCompatTheme_dividerHorizontal
A drawable that may be used as a horizontal divider between visual elements. |
public
static
int |
AppCompatTheme_dividerVertical
A drawable that may be used as a vertical divider between visual elements. |
public
static
int |
AppCompatTheme_dropDownListViewStyle
ListPopupWindow compatibility May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_dropdownListPreferredItemHeight
The preferred item height for dropdown lists. |
public
static
int |
AppCompatTheme_editTextBackground
EditText background drawable. |
public
static
int |
AppCompatTheme_editTextColor
EditText text foreground color. |
public
static
int |
AppCompatTheme_editTextStyle
Default EditText style. |
public
static
int |
AppCompatTheme_homeAsUpIndicator
Specifies a drawable to use for the 'home as up' indicator. |
public
static
int |
AppCompatTheme_imageButtonStyle
ImageButton background drawable. |
public
static
int |
AppCompatTheme_listChoiceBackgroundIndicator
Drawable used as a background for selected list items. |
public
static
int |
AppCompatTheme_listChoiceIndicatorMultipleAnimated
Animated Drawable to use for multiple choice indicators. |
public
static
int |
AppCompatTheme_listChoiceIndicatorSingleAnimated
Animated Drawable to use for single choice indicators. |
public
static
int |
AppCompatTheme_listDividerAlertDialog
The list divider used in alert dialogs. |
public
static
int |
AppCompatTheme_listMenuViewStyle
Default menu-style ListView style. |
public
static
int |
AppCompatTheme_listPopupWindowStyle
This symbol is the offset where the |
public
static
int |
AppCompatTheme_listPreferredItemHeight
The preferred list item height. |
public
static
int |
AppCompatTheme_listPreferredItemHeightLarge
A larger, more robust list item height. |
public
static
int |
AppCompatTheme_listPreferredItemHeightSmall
A smaller, sleeker list item height. |
public
static
int |
AppCompatTheme_listPreferredItemPaddingEnd
The preferred padding along the end edge of list items. |
public
static
int |
AppCompatTheme_listPreferredItemPaddingLeft
The preferred padding along the left edge of list items. |
public
static
int |
AppCompatTheme_listPreferredItemPaddingRight
The preferred padding along the right edge of list items. |
public
static
int |
AppCompatTheme_listPreferredItemPaddingStart
The preferred padding along the start edge of list items. |
public
static
int |
AppCompatTheme_panelBackground
The background of a panel when it is inset from the left and right edges of the screen. |
public
static
int |
AppCompatTheme_panelMenuListTheme
Default Panel Menu style. |
public
static
int |
AppCompatTheme_panelMenuListWidth
Default Panel Menu width. |
public
static
int |
AppCompatTheme_popupMenuStyle
Default PopupMenu style. |
public
static
int |
AppCompatTheme_popupWindowStyle
Default PopupWindow style. |
public
static
int |
AppCompatTheme_radioButtonStyle
Default RadioButton style. |
public
static
int |
AppCompatTheme_ratingBarStyle
Default RatingBar style. |
public
static
int |
AppCompatTheme_ratingBarStyleIndicator
Indicator RatingBar style. |
public
static
int |
AppCompatTheme_ratingBarStyleSmall
Small indicator RatingBar style. |
public
static
int |
AppCompatTheme_searchViewStyle
Style for the search query widget. |
public
static
int |
AppCompatTheme_seekBarStyle
Default SeekBar style. |
public
static
int |
AppCompatTheme_selectableItemBackground
A style that may be applied to buttons or other selectable items that should react to pressed and focus states, but that do not have a clear visual border along the edges. |
public
static
int |
AppCompatTheme_selectableItemBackgroundBorderless
Background drawable for borderless standalone items that need focus/pressed states. |
public
static
int |
AppCompatTheme_spinnerDropDownItemStyle
Default Spinner style. |
public
static
int |
AppCompatTheme_spinnerStyle
Default Spinner style. |
public
static
int |
AppCompatTheme_switchStyle
Default style for the Switch widget. |
public
static
int |
AppCompatTheme_textAppearanceLargePopupMenu
Text color, typeface, size, and style for the text inside of a popup menu. |
public
static
int |
AppCompatTheme_textAppearanceListItem
The preferred TextAppearance for the primary text of list items. |
public
static
int |
AppCompatTheme_textAppearanceListItemSecondary
The preferred TextAppearance for the secondary text of list items. |
public
static
int |
AppCompatTheme_textAppearanceListItemSmall
The preferred TextAppearance for the primary text of small list items. |
public
static
int |
AppCompatTheme_textAppearancePopupMenuHeader
Text color, typeface, size, and style for header text inside of a popup menu. |
public
static
int |
AppCompatTheme_textAppearanceSearchResultSubtitle
Text color, typeface, size, and style for system search result subtitle. |
public
static
int |
AppCompatTheme_textAppearanceSearchResultTitle
Text color, typeface, size, and style for system search result title. |
public
static
int |
AppCompatTheme_textAppearanceSmallPopupMenu
Text color, typeface, size, and style for small text inside of a popup menu. |
public
static
int |
AppCompatTheme_textColorAlertDialogListItem
Color of list item text in alert dialogs. |
public
static
int |
AppCompatTheme_textColorSearchUrl
Text color for urls in search suggestions, used by things like global search May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_toolbarNavigationButtonStyle
Default Toolar NavigationButtonStyle May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_toolbarStyle
Default Toolbar style. |
public
static
int |
AppCompatTheme_tooltipForegroundColor
Foreground color to use for tooltips May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_tooltipFrameBackground
Background to use for tooltips May be a reference to another resource, in the form
" |
public
static
int |
AppCompatTheme_viewInflaterClass
This symbol is the offset where the |
public
static
int |
AppCompatTheme_windowActionBar
Flag indicating whether this window should have an Action Bar in place of the usual title bar. |
public
static
int |
AppCompatTheme_windowActionBarOverlay
Flag indicating whether this window's Action Bar should overlay application content. |
public
static
int |
AppCompatTheme_windowActionModeOverlay
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). |
public
static
int |
AppCompatTheme_windowFixedHeightMajor
A fixed height for the window along the major axis of the screen, that is, when in portrait. |
public
static
int |
AppCompatTheme_windowFixedHeightMinor
A fixed height for the window along the minor axis of the screen, that is, when in landscape. |
public
static
int |
AppCompatTheme_windowFixedWidthMajor
A fixed width for the window along the major axis of the screen, that is, when in landscape. |
public
static
int |
AppCompatTheme_windowFixedWidthMinor
A fixed width for the window along the minor axis of the screen, that is, when in portrait. |
public
static
int |
AppCompatTheme_windowMinWidthMajor
The minimum width the window is allowed to be, along the major axis of the screen. |
public
static
int |
AppCompatTheme_windowMinWidthMinor
The minimum width the window is allowed to be, along the minor axis of the screen. |
public
static
int |
AppCompatTheme_windowNoTitle
Flag indicating whether there should be no title on this window. |
public
static
final
int[] |
BackgroundStyle
Attributes that can be used with a BackgroundStyle. |
public
static
int |
BackgroundStyle_android_selectableItemBackground
This symbol is the offset where the |
public
static
int |
BackgroundStyle_selectableItemBackground
Need a non-android: attr here so that gradle doesn't remove it May be a reference to another resource, in the form
" |
public
static
final
int[] |
BoxInsetLayout_Layout
Attributes that can be used with a BoxInsetLayout_Layout. |
public
static
int |
BoxInsetLayout_Layout_layout_box
This symbol is the offset where the |
public
static
final
int[] |
ButtonBarLayout
Attributes that can be used with a ButtonBarLayout. |
public
static
int |
ButtonBarLayout_allowStacking
Whether to automatically stack the buttons when there is not enough space to lay them out side-by-side. |
public
static
final
int[] |
Capability
Attributes that can be used with a Capability. |
public
static
int |
Capability_queryPatterns
Resource reference to the string array of query patterns for a custom capability. |
public
static
int |
Capability_shortcutMatchRequired
Indicates whether a parameter in a capability template can only contain a matched shortcut id and not an arbitrary string. |
public
static
final
int[] |
CheckBoxPreference
Attributes that can be used with a CheckBoxPreference. |
public
static
int |
CheckBoxPreference_android_disableDependentsState
This symbol is the offset where the |
public
static
int |
CheckBoxPreference_android_summaryOff
This symbol is the offset where the |
public
static
int |
CheckBoxPreference_android_summaryOn
This symbol is the offset where the |
public
static
int |
CheckBoxPreference_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. |
public
static
int |
CheckBoxPreference_summaryOff
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. |
public
static
int |
CheckBoxPreference_summaryOn
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. |
public
static
final
int[] |
CheckedTextView
Attributes that can be used with a CheckedTextView. |
public
static
int |
CheckedTextView_android_checkMark
This symbol is the offset where the |
public
static
int |
CheckedTextView_checkMarkCompat
Compat attr to load backported drawable types May be a reference to another resource, in the form
" |
public
static
int |
CheckedTextView_checkMarkTint
Tint to apply to the check mark drawable. |
public
static
int |
CheckedTextView_checkMarkTintMode
Blending mode used to apply the check mark tint. |
public
static
final
int[] |
CircledImageView
Attributes that can be used with a CircledImageView. |
public
static
int |
CircledImageView_android_src
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_border_cap
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_border_color
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_border_width
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_color
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_padding
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_radius
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_radius_percent
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_radius_pressed
This symbol is the offset where the |
public
static
int |
CircledImageView_circle_radius_pressed_percent
This symbol is the offset where the |
public
static
int |
CircledImageView_image_circle_percentage
This symbol is the offset where the |
public
static
int |
CircledImageView_image_horizontal_offcenter_percentage
This symbol is the offset where the |
public
static
int |
CircledImageView_image_tint
This symbol is the offset where the |
public
static
int |
CircledImageView_shadow_width
This symbol is the offset where the |
public
static
int |
CircledImageView_square_dimen
This symbol is the offset where the |
public
static
final
int[] |
CircularButton
Attributes that can be used with a CircularButton. |
public
static
int |
CircularButton_android_clickable
This symbol is the offset where the |
public
static
int |
CircularButton_android_color
This symbol is the offset where the |
public
static
int |
CircularButton_android_elevation
This symbol is the offset where the |
public
static
int |
CircularButton_android_src
This symbol is the offset where the |
public
static
int |
CircularButton_android_stateListAnimator
This symbol is the offset where the |
public
static
int |
CircularButton_buttonRippleColor
This symbol is the offset where the |
public
static
int |
CircularButton_imageScaleMode
This symbol is the offset where the |
public
static
int |
CircularButton_pressedButtonTranslationZ
This symbol is the offset where the |
public
static
final
int[] |
ColorStateListItem
Attributes that can be used with a ColorStateListItem. |
public
static
int |
ColorStateListItem_alpha
Alpha multiplier applied to the base color. |
public
static
int |
ColorStateListItem_android_alpha
This symbol is the offset where the |
public
static
int |
ColorStateListItem_android_color
Base color for this state. |
public
static
int |
ColorStateListItem_android_lStar
This symbol is the offset where the |
public
static
int |
ColorStateListItem_lStar
Perceptual luminance applied to the base color. |
public
static
final
int[] |
ComplicationDrawable
Attributes that can be used with a ComplicationDrawable. |
public
static
int |
ComplicationDrawable_backgroundColor
Defines the background color. |
public
static
int |
ComplicationDrawable_backgroundDrawable
Defines the drawable to be used as a background. |
public
static
int |
ComplicationDrawable_borderColor
Defines border color. |
public
static
int |
ComplicationDrawable_borderDashGap
Defines dash gap for borders with style 'dashed'. |
public
static
int |
ComplicationDrawable_borderDashWidth
Defines dash width for borders with style 'dashed'. |
public
static
int |
ComplicationDrawable_borderRadius
Defines border radius. |
public
static
int |
ComplicationDrawable_borderStyle
Defines border style. |
public
static
int |
ComplicationDrawable_borderWidth
Defines stroke width for borders. |
public
static
int |
ComplicationDrawable_highlightColor
Defines highlight color. |
public
static
int |
ComplicationDrawable_iconColor
Defines icon tint color. |
public
static
int |
ComplicationDrawable_rangedValuePrimaryColor
Defines main color for ranged value indicator. |
public
static
int |
ComplicationDrawable_rangedValueProgressHidden
Defines visibility for ranged value indicator. |
public
static
int |
ComplicationDrawable_rangedValueRingWidth
Defines stroke width for ranged value indicator. |
public
static
int |
ComplicationDrawable_rangedValueSecondaryColor
Defines secondary color for ranged value indicator. |
public
static
int |
ComplicationDrawable_textColor
Defines text color for short text and long text fields. |
public
static
int |
ComplicationDrawable_textSize
Defines text size for short text and long text fields. |
public
static
int |
ComplicationDrawable_textTypeface
Defines typeface for short text and long text fields. |
public
static
int |
ComplicationDrawable_titleColor
Defines text color for short title and long title fields. |
public
static
int |
ComplicationDrawable_titleSize
Defines text size for short title and long title fields. |
public
static
int |
ComplicationDrawable_titleTypeface
Defines typeface for short title and long title fields. |
public
static
final
int[] |
CompoundButton
Attributes that can be used with a CompoundButton. |
public
static
int |
CompoundButton_android_button
This symbol is the offset where the |
public
static
int |
CompoundButton_buttonCompat
Compat attr to load backported drawable types May be a reference to another resource, in the form
" |
public
static
int |
CompoundButton_buttonTint
Tint to apply to the button drawable. |
public
static
int |
CompoundButton_buttonTintMode
Blending mode used to apply the button tint. |
public
static
final
int[] |
CoordinatorLayout
Attributes that can be used with a CoordinatorLayout. |
public
static
final
int[] |
CoordinatorLayout_Layout
Attributes that can be used with a CoordinatorLayout_Layout. |
public
static
int |
CoordinatorLayout_Layout_android_layout_gravity
This symbol is the offset where the |
public
static
int |
CoordinatorLayout_Layout_layout_anchor
The id of an anchor view that this view should position relative to. |
public
static
int |
CoordinatorLayout_Layout_layout_anchorGravity
Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds. |
public
static
int |
CoordinatorLayout_Layout_layout_behavior
The class name of a Behavior class defining special runtime behavior for this child view. |
public
static
int |
CoordinatorLayout_Layout_layout_dodgeInsetEdges
Specifies how this view dodges the inset edges of the CoordinatorLayout. |
public
static
int |
CoordinatorLayout_Layout_layout_insetEdge
Specifies how this view insets the CoordinatorLayout and make some other views dodge it. |
public
static
int |
CoordinatorLayout_Layout_layout_keyline
The index of a keyline this view should position relative to. |
public
static
int |
CoordinatorLayout_keylines
A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. |
public
static
int |
CoordinatorLayout_statusBarBackground
Drawable to display behind the status bar when the view is set to draw behind it. |
public
static
final
int[] |
DelayedConfirmationView
Attributes that can be used with a DelayedConfirmationView. |
public
static
int |
DelayedConfirmationView_update_interval
This symbol is the offset where the |
public
static
final
int[] |
DialogPreference
Attributes that can be used with a DialogPreference. |
public
static
int |
DialogPreference_android_dialogIcon
This symbol is the offset where the |
public
static
int |
DialogPreference_android_dialogLayout
This symbol is the offset where the |
public
static
int |
DialogPreference_android_dialogMessage
This symbol is the offset where the |
public
static
int |
DialogPreference_android_dialogTitle
This symbol is the offset where the |
public
static
int |
DialogPreference_android_negativeButtonText
This symbol is the offset where the |
public
static
int |
DialogPreference_android_positiveButtonText
This symbol is the offset where the |
public
static
int |
DialogPreference_dialogIcon
The icon for the dialog. |
public
static
int |
DialogPreference_dialogLayout
A layout to be used as the content View for the dialog. |
public
static
int |
DialogPreference_dialogMessage
The message in the dialog. |
public
static
int |
DialogPreference_dialogTitle
The title in the dialog. |
public
static
int |
DialogPreference_negativeButtonText
The negative button text for the dialog. |
public
static
int |
DialogPreference_positiveButtonText
The positive button text for the dialog. |
public
static
final
int[] |
DotsPageIndicator
Attributes that can be used with a DotsPageIndicator. |
public
static
int |
DotsPageIndicator_dotColor
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotColorSelected
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotFadeInDuration
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotFadeOutDelay
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotFadeOutDuration
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotFadeWhenIdle
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotRadius
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotRadiusSelected
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotShadowColor
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotShadowDx
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotShadowDy
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotShadowRadius
This symbol is the offset where the |
public
static
int |
DotsPageIndicator_dotSpacing
This symbol is the offset where the |
public
static
final
int[] |
DrawerArrowToggle
Attributes that can be used with a DrawerArrowToggle. |
public
static
int |
DrawerArrowToggle_arrowHeadLength
The length of the arrow head when formed to make an arrow May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
DrawerArrowToggle_arrowShaftLength
The length of the shaft when formed to make an arrow May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
DrawerArrowToggle_barLength
The length of the bars when they are parallel to each other May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
DrawerArrowToggle_color
The drawing color for the bars May be a color value, in the form of " |
public
static
int |
DrawerArrowToggle_drawableSize
The total size of the drawable May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
DrawerArrowToggle_gapBetweenBars
The max gap between the bars when they are parallel to each other May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
DrawerArrowToggle_spinBars
Whether bars should rotate or not during transition May be a boolean value, such as " |
public
static
int |
DrawerArrowToggle_thickness
The thickness (stroke size) for the bar paint May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
final
int[] |
DrawerLayout
Attributes that can be used with a DrawerLayout. |
public
static
int |
DrawerLayout_elevation
The height difference between the drawer and the base surface. |
public
static
final
int[] |
EditTextPreference
Attributes that can be used with a EditTextPreference. |
public
static
int |
EditTextPreference_useSimpleSummaryProvider
Whether the preference should automatically set its summary to the value saved for the preference, and update the summary when the value is changed. |
public
static
final
int[] |
FontFamily
Attributes that can be used with a FontFamily. |
public
static
final
int[] |
FontFamilyFont
Attributes that can be used with a FontFamilyFont. |
public
static
int |
FontFamilyFont_android_font
This symbol is the offset where the |
public
static
int |
FontFamilyFont_android_fontStyle
References to the framework attrs Must be one of the following constant values. |
public
static
int |
FontFamilyFont_android_fontVariationSettings
This symbol is the offset where the |
public
static
int |
FontFamilyFont_android_fontWeight
This symbol is the offset where the |
public
static
int |
FontFamilyFont_android_ttcIndex
This symbol is the offset where the |
public
static
int |
FontFamilyFont_font
The reference to the font file to be used. |
public
static
int |
FontFamilyFont_fontStyle
The style of the given font file. |
public
static
int |
FontFamilyFont_fontVariationSettings
The variation settings to be applied to the font. |
public
static
int |
FontFamilyFont_fontWeight
The weight of the given font file. |
public
static
int |
FontFamilyFont_ttcIndex
The index of the font in the tcc font file. |
public
static
int |
FontFamily_fontProviderAuthority
The authority of the Font Provider to be used for the request. |
public
static
int |
FontFamily_fontProviderCerts
The sets of hashes for the certificates the provider should be signed with. |
public
static
int |
FontFamily_fontProviderFetchStrategy
The strategy to be used when fetching font data from a font provider in XML layouts. |
public
static
int |
FontFamily_fontProviderFetchTimeout
The length of the timeout during fetching. |
public
static
int |
FontFamily_fontProviderPackage
The package for the Font Provider to be used for the request. |
public
static
int |
FontFamily_fontProviderQuery
The query to be sent over to the provider. |
public
static
int |
FontFamily_fontProviderSystemFontFamily
Provides the system font family name to check before downloading the font. |
public
static
final
int[] |
Fragment
Attributes that can be used with a Fragment. |
public
static
final
int[] |
FragmentContainerView
Attributes that can be used with a FragmentContainerView. |
public
static
int |
FragmentContainerView_android_name
This symbol is the offset where the |
public
static
int |
FragmentContainerView_android_tag
This symbol is the offset where the |
public
static
int |
Fragment_android_id
This symbol is the offset where the |
public
static
int |
Fragment_android_name
This symbol is the offset where the |
public
static
int |
Fragment_android_tag
This symbol is the offset where the |
public
static
final
int[] |
GradientColor
Attributes that can be used with a GradientColor. |
public
static
final
int[] |
GradientColorItem
Attributes that can be used with a GradientColorItem. |
public
static
int |
GradientColorItem_android_color
The current color for the offset inside the gradient. |
public
static
int |
GradientColorItem_android_offset
The offset (or ratio) of this current color item inside the gradient. |
public
static
int |
GradientColor_android_centerColor
Optional center color. |
public
static
int |
GradientColor_android_centerX
X coordinate of the center of the gradient within the path. |
public
static
int |
GradientColor_android_centerY
Y coordinate of the center of the gradient within the path. |
public
static
int |
GradientColor_android_endColor
End color of the gradient. |
public
static
int |
GradientColor_android_endX
X coordinate of the end point origin of the gradient. |
public
static
int |
GradientColor_android_endY
Y coordinate of the end point of the gradient within the shape. |
public
static
int |
GradientColor_android_gradientRadius
Radius of the gradient, used only with radial gradient. |
public
static
int |
GradientColor_android_startColor
Start color of the gradient. |
public
static
int |
GradientColor_android_startX
X coordinate of the start point origin of the gradient. |
public
static
int |
GradientColor_android_startY
Y coordinate of the start point of the gradient within the shape. |
public
static
int |
GradientColor_android_tileMode
Defines the tile mode of the gradient. |
public
static
int |
GradientColor_android_type
Type of gradient. |
public
static
final
int[] |
LinearLayoutCompat
Attributes that can be used with a LinearLayoutCompat. |
public
static
final
int[] |
LinearLayoutCompat_Layout
Attributes that can be used with a LinearLayoutCompat_Layout. |
public
static
int |
LinearLayoutCompat_Layout_android_layout_gravity
This symbol is the offset where the |
public
static
int |
LinearLayoutCompat_Layout_android_layout_height
This symbol is the offset where the |
public
static
int |
LinearLayoutCompat_Layout_android_layout_weight
This symbol is the offset where the |
public
static
int |
LinearLayoutCompat_Layout_android_layout_width
This symbol is the offset where the |
public
static
int |
LinearLayoutCompat_android_baselineAligned
When set to false, prevents the layout from aligning its children's baselines. |
public
static
int |
LinearLayoutCompat_android_baselineAlignedChildIndex
When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (that is, which child TextView). |
public
static
int |
LinearLayoutCompat_android_gravity
This symbol is the offset where the |
public
static
int |
LinearLayoutCompat_android_orientation
Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column. |
public
static
int |
LinearLayoutCompat_android_weightSum
Defines the maximum weight sum. |
public
static
int |
LinearLayoutCompat_divider
Drawable to use as a vertical divider between buttons. |
public
static
int |
LinearLayoutCompat_dividerPadding
Size of padding on either end of a divider. |
public
static
int |
LinearLayoutCompat_measureWithLargestChild
When set to true, all children with a weight will be considered having the minimum size of the largest child. |
public
static
int |
LinearLayoutCompat_showDividers
Setting for which dividers to show. |
public
static
final
int[] |
ListPopupWindow
Attributes that can be used with a ListPopupWindow. |
public
static
int |
ListPopupWindow_android_dropDownHorizontalOffset
Amount of pixels by which the drop down should be offset horizontally. |
public
static
int |
ListPopupWindow_android_dropDownVerticalOffset
Amount of pixels by which the drop down should be offset vertically. |
public
static
final
int[] |
ListPreference
Attributes that can be used with a ListPreference. |
public
static
int |
ListPreference_android_entries
This symbol is the offset where the |
public
static
int |
ListPreference_android_entryValues
This symbol is the offset where the |
public
static
int |
ListPreference_entries
The human-readable array to present as a list. |
public
static
int |
ListPreference_entryValues
The array to find the value to save for a preference when an entry from entries is selected. |
public
static
int |
ListPreference_useSimpleSummaryProvider
Whether the preference should automatically set its summary to the value saved for the preference, and update the summary when the value is changed. |
public
static
final
int[] |
MenuGroup
Attributes that can be used with a MenuGroup. |
public
static
int |
MenuGroup_android_checkableBehavior
Whether the items are capable of displaying a check mark. |
public
static
int |
MenuGroup_android_enabled
Whether the items are enabled. |
public
static
int |
MenuGroup_android_id
The ID of the group. |
public
static
int |
MenuGroup_android_menuCategory
The category applied to all items within this group. |
public
static
int |
MenuGroup_android_orderInCategory
The order within the category applied to all items within this group. |
public
static
int |
MenuGroup_android_visible
Whether the items are shown/visible. |
public
static
final
int[] |
MenuItem
Attributes that can be used with a MenuItem. |
public
static
int |
MenuItem_actionLayout
An optional layout to be used as an action view. |
public
static
int |
MenuItem_actionProviderClass
The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. |
public
static
int |
MenuItem_actionViewClass
The name of an optional View class to instantiate and use as an action view. |
public
static
int |
MenuItem_alphabeticModifiers
The alphabetic modifier key. |
public
static
int |
MenuItem_android_alphabeticShortcut
The alphabetic shortcut key. |
public
static
int |
MenuItem_android_checkable
Whether the item is capable of displaying a check mark. |
public
static
int |
MenuItem_android_checked
Whether the item is checked. |
public
static
int |
MenuItem_android_enabled
Whether the item is enabled. |
public
static
int |
MenuItem_android_icon
The icon associated with this item. |
public
static
int |
MenuItem_android_id
The ID of the item. |
public
static
int |
MenuItem_android_menuCategory
The category applied to the item. |
public
static
int |
MenuItem_android_numericShortcut
The numeric shortcut key. |
public
static
int |
MenuItem_android_onClick
Name of a method on the Context used to inflate the menu that will be called when the item is clicked. |
public
static
int |
MenuItem_android_orderInCategory
The order within the category applied to the item. |
public
static
int |
MenuItem_android_title
The title associated with the item. |
public
static
int |
MenuItem_android_titleCondensed
The condensed title associated with the item. |
public
static
int |
MenuItem_android_visible
Whether the item is shown/visible. |
public
static
int |
MenuItem_contentDescription
The content description associated with the item. |
public
static
int |
MenuItem_iconTint
Tint to apply to the icon. |
public
static
int |
MenuItem_iconTintMode
Blending mode used to apply the icon tint. |
public
static
int |
MenuItem_numericModifiers
The numeric modifier key. |
public
static
int |
MenuItem_showAsAction
How this item should display in the Action Bar, if present. |
public
static
int |
MenuItem_tooltipText
The tooltip text associated with the item. |
public
static
final
int[] |
MenuView
Attributes that can be used with a MenuView. |
public
static
int |
MenuView_android_headerBackground
Default background for the menu header. |
public
static
int |
MenuView_android_horizontalDivider
Default horizontal divider between rows of menu items. |
public
static
int |
MenuView_android_itemBackground
Default background for each menu item. |
public
static
int |
MenuView_android_itemIconDisabledAlpha
Default disabled icon alpha for each menu item that shows an icon. |
public
static
int |
MenuView_android_itemTextAppearance
Default appearance of menu item text. |
public
static
int |
MenuView_android_verticalDivider
Default vertical divider between menu items. |
public
static
int |
MenuView_android_windowAnimationStyle
Default animations for the menu. |
public
static
int |
MenuView_preserveIconSpacing
Whether space should be reserved in layout when an icon is missing. |
public
static
int |
MenuView_subMenuArrow
Drawable for the arrow icon indicating a particular item is a submenu. |
public
static
final
int[] |
MultiSelectListPreference
Attributes that can be used with a MultiSelectListPreference. |
public
static
int |
MultiSelectListPreference_android_entries
This symbol is the offset where the |
public
static
int |
MultiSelectListPreference_android_entryValues
This symbol is the offset where the |
public
static
int |
MultiSelectListPreference_entries
The human-readable array to present as a list. |
public
static
int |
MultiSelectListPreference_entryValues
The array to find the value to save for a preference when an entry from entries is selected. |
public
static
final
int[] |
PageIndicatorView
Attributes that can be used with a PageIndicatorView. |
public
static
int |
PageIndicatorView_pageIndicatorDotColor
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotColorSelected
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotFadeInDuration
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotFadeOutDelay
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotFadeOutDuration
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotFadeWhenIdle
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotRadius
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotRadiusSelected
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotShadowColor
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotShadowDx
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotShadowDy
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotShadowRadius
This symbol is the offset where the |
public
static
int |
PageIndicatorView_pageIndicatorDotSpacing
This symbol is the offset where the |
public
static
final
int[] |
PercentLayout_Layout
Attributes that can be used with a PercentLayout_Layout. |
public
static
int |
PercentLayout_Layout_layout_aspectRatio
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_heightPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_marginBottomPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_marginEndPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_marginLeftPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_marginPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_marginRightPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_marginStartPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_marginTopPercent
This symbol is the offset where the |
public
static
int |
PercentLayout_Layout_layout_widthPercent
This symbol is the offset where the |
public
static
final
int[] |
PopupWindow
Attributes that can be used with a PopupWindow. |
public
static
final
int[] |
PopupWindowBackgroundState
Attributes that can be used with a PopupWindowBackgroundState. |
public
static
int |
PopupWindowBackgroundState_state_above_anchor
State identifier indicating the popup will be above the anchor. |
public
static
int |
PopupWindow_android_popupAnimationStyle
This symbol is the offset where the |
public
static
int |
PopupWindow_android_popupBackground
This symbol is the offset where the |
public
static
int |
PopupWindow_overlapAnchor
Whether the popup window should overlap its anchor view. |
public
static
final
int[] |
Preference
Attributes that can be used with a Preference. |
public
static
final
int[] |
PreferenceFragment
Attributes that can be used with a PreferenceFragment. |
public
static
final
int[] |
PreferenceFragmentCompat
Attributes that can be used with a PreferenceFragmentCompat. |
public
static
int |
PreferenceFragmentCompat_allowDividerAfterLastItem
Whether a divider is allowed to draw after the last item May be a boolean value, such as " |
public
static
int |
PreferenceFragmentCompat_android_divider
List separator to draw between preference views May be a reference to another resource, in the form
" |
public
static
int |
PreferenceFragmentCompat_android_dividerHeight
List separator height May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
PreferenceFragmentCompat_android_layout
The layout for the PreferenceFragment. |
public
static
int |
PreferenceFragment_allowDividerAfterLastItem
Whether a divider is allowed to draw after the last item May be a boolean value, such as " |
public
static
int |
PreferenceFragment_android_divider
List separator to draw between preference views May be a reference to another resource, in the form
" |
public
static
int |
PreferenceFragment_android_dividerHeight
List separator height May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
PreferenceFragment_android_layout
The layout for the PreferenceFragment. |
public
static
final
int[] |
PreferenceGroup
Attributes that can be used with a PreferenceGroup. |
public
static
int |
PreferenceGroup_android_orderingFromXml
This symbol is the offset where the |
public
static
int |
PreferenceGroup_initialExpandedChildrenCount
The maximal number of children that are shown when the preference group is launched where the rest of the children will be hidden. |
public
static
int |
PreferenceGroup_orderingFromXml
Whether to order the Preference under this group as they appear in the XML file. |
public
static
final
int[] |
PreferenceImageView
Attributes that can be used with a PreferenceImageView. |
public
static
int |
PreferenceImageView_android_maxHeight
This symbol is the offset where the |
public
static
int |
PreferenceImageView_android_maxWidth
This symbol is the offset where the |
public
static
int |
PreferenceImageView_maxHeight
This symbol is the offset where the |
public
static
int |
PreferenceImageView_maxWidth
This symbol is the offset where the |
public
static
final
int[] |
PreferenceTheme
Attributes that can be used with a PreferenceTheme. |
public
static
int |
PreferenceTheme_checkBoxPreferenceStyle
Default style for CheckBoxPreference. |
public
static
int |
PreferenceTheme_dialogPreferenceStyle
Default style for DialogPreference. |
public
static
int |
PreferenceTheme_dropdownPreferenceStyle
Default style for DropDownPreference. |
public
static
int |
PreferenceTheme_editTextPreferenceStyle
Default style for EditTextPreference. |
public
static
int |
PreferenceTheme_preferenceCategoryStyle
Default style for PreferenceCategory. |
public
static
int |
PreferenceTheme_preferenceCategoryTitleTextAppearance
The preferred TextAppearance for the title displayed in a PreferenceCategory. |
public
static
int |
PreferenceTheme_preferenceCategoryTitleTextColor
The preferred color for the title displayed in a PreferenceCategory. |
public
static
int |
PreferenceTheme_preferenceFragmentCompatStyle
Default style for Headers pane in PreferenceActivity. |
public
static
int |
PreferenceTheme_preferenceFragmentListStyle
Preference fragment list style May be a reference to another resource, in the form
" |
public
static
int |
PreferenceTheme_preferenceFragmentStyle
Default style for Headers pane in PreferenceActivity. |
public
static
int |
PreferenceTheme_preferenceInformationStyle
Default style for informational Preference. |
public
static
int |
PreferenceTheme_preferenceScreenStyle
Default style for PreferenceScreen. |
public
static
int |
PreferenceTheme_preferenceStyle
Default style for Preference. |
public
static
int |
PreferenceTheme_preferenceTheme
Theme for inflating Preference objects May be a reference to another resource, in the form
" |
public
static
int |
PreferenceTheme_seekBarPreferenceStyle
Default style for seekbar preferences. |
public
static
int |
PreferenceTheme_switchPreferenceCompatStyle
Default style for switch compat preferences. |
public
static
int |
PreferenceTheme_switchPreferenceStyle
Default style for switch preferences. |
public
static
int |
Preference_allowDividerAbove
Whether the preference allows displaying divider on top May be a boolean value, such as " |
public
static
int |
Preference_allowDividerBelow
Whether the preference allows displaying divider below it May be a boolean value, such as " |
public
static
int |
Preference_android_defaultValue
This symbol is the offset where the |
public
static
int |
Preference_android_dependency
This symbol is the offset where the |
public
static
int |
Preference_android_enabled
This symbol is the offset where the |
public
static
int |
Preference_android_fragment
This symbol is the offset where the |
public
static
int |
Preference_android_icon
This symbol is the offset where the |
public
static
int |
Preference_android_iconSpaceReserved
This symbol is the offset where the |
public
static
int |
Preference_android_key
This symbol is the offset where the |
public
static
int |
Preference_android_layout
This symbol is the offset where the |
public
static
int |
Preference_android_order
This symbol is the offset where the |
public
static
int |
Preference_android_persistent
This symbol is the offset where the |
public
static
int |
Preference_android_selectable
This symbol is the offset where the |
public
static
int |
Preference_android_shouldDisableView
This symbol is the offset where the |
public
static
int |
Preference_android_singleLineTitle
This symbol is the offset where the |
public
static
int |
Preference_android_summary
This symbol is the offset where the |
public
static
int |
Preference_android_title
This symbol is the offset where the |
public
static
int |
Preference_android_widgetLayout
This symbol is the offset where the |
public
static
int |
Preference_defaultValue
The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage. |
public
static
int |
Preference_dependency
The key of another Preference that this Preference will depend on. |
public
static
int |
Preference_enableCopying
Whether the summary of this preference can be copied to the clipboard by long pressing on the preference. |
public
static
int |
Preference_enabled
Whether the Preference is enabled. |
public
static
int |
Preference_fragment
When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item. |
public
static
int |
Preference_icon
The optional icon for the preference May be a reference to another resource, in the form
" |
public
static
int |
Preference_iconSpaceReserved
Whether the space for the preference icon view will be reserved. |
public
static
int |
Preference_isPreferenceVisible
Whether the Preference is visible. |
public
static
int |
Preference_key
The key to store the Preference value. |
public
static
int |
Preference_layout
The layout for the Preference in a PreferenceActivity screen. |
public
static
int |
Preference_order
The order for the Preference (lower values are to be ordered first). |
public
static
int |
Preference_persistent
Whether the Preference stores its value to the shared preferences. |
public
static
int |
Preference_selectable
Whether the Preference is selectable. |
public
static
int |
Preference_shouldDisableView
Whether the view of this Preference should be disabled when this Preference is disabled. |
public
static
int |
Preference_singleLineTitle
Whether to use single line for the preference title text. |
public
static
int |
Preference_summary
The summary for the Preference in a PreferenceActivity screen. |
public
static
int |
Preference_title
The title for the Preference in a PreferenceActivity screen. |
public
static
int |
Preference_widgetLayout
The layout for the controllable widget portion of a Preference. |
public
static
final
int[] |
ProgressSpinner
Attributes that can be used with a ProgressSpinner. |
public
static
int |
ProgressSpinner_color_sequence
This symbol is the offset where the |
public
static
final
int[] |
RecycleListView
Attributes that can be used with a RecycleListView. |
public
static
int |
RecycleListView_paddingBottomNoButtons
Bottom padding to use when no buttons are present. |
public
static
int |
RecycleListView_paddingTopNoTitle
Top padding to use when no title is present. |
public
static
final
int[] |
RecyclerView
Attributes that can be used with a RecyclerView. |
public
static
int |
RecyclerView_android_clipToPadding
This symbol is the offset where the |
public
static
int |
RecyclerView_android_descendantFocusability
This symbol is the offset where the |
public
static
int |
RecyclerView_android_orientation
This symbol is the offset where the |
public
static
int |
RecyclerView_fastScrollEnabled
This symbol is the offset where the |
public
static
int |
RecyclerView_fastScrollHorizontalThumbDrawable
This symbol is the offset where the |
public
static
int |
RecyclerView_fastScrollHorizontalTrackDrawable
This symbol is the offset where the |
public
static
int |
RecyclerView_fastScrollVerticalThumbDrawable
This symbol is the offset where the |
public
static
int |
RecyclerView_fastScrollVerticalTrackDrawable
This symbol is the offset where the |
public
static
int |
RecyclerView_layoutManager
Class name of the Layout Manager to be used. |
public
static
int |
RecyclerView_reverseLayout
This symbol is the offset where the |
public
static
int |
RecyclerView_spanCount
This symbol is the offset where the |
public
static
int |
RecyclerView_stackFromEnd
This symbol is the offset where the |
public
static
final
int[] |
SearchView
Attributes that can be used with a SearchView. |
public
static
int |
SearchView_android_focusable
This symbol is the offset where the |
public
static
int |
SearchView_android_imeOptions
The IME options to set on the query text field. |
public
static
int |
SearchView_android_inputType
The input type to set on the query text field. |
public
static
int |
SearchView_android_maxWidth
An optional maximum width of the SearchView. |
public
static
int |
SearchView_closeIcon
Close button icon May be a reference to another resource, in the form
" |
public
static
int |
SearchView_commitIcon
Commit icon shown in the query suggestion row May be a reference to another resource, in the form
" |
public
static
int |
SearchView_defaultQueryHint
Default query hint used when |
public
static
int |
SearchView_goIcon
Go button icon May be a reference to another resource, in the form
" |
public
static
int |
SearchView_iconifiedByDefault
The default state of the SearchView. |
public
static
int |
SearchView_layout
The layout to use for the search view. |
public
static
int |
SearchView_queryBackground
Background for the section containing the search query May be a reference to another resource, in the form
" |
public
static
int |
SearchView_queryHint
An optional user-defined query hint string to be displayed in the empty query field. |
public
static
int |
SearchView_searchHintIcon
Search icon displayed as a text field hint May be a reference to another resource, in the form
" |
public
static
int |
SearchView_searchIcon
Search icon May be a reference to another resource, in the form
" |
public
static
int |
SearchView_submitBackground
Background for the section containing the action (e.g. |
public
static
int |
SearchView_suggestionRowLayout
Layout for query suggestion rows May be a reference to another resource, in the form
" |
public
static
int |
SearchView_voiceIcon
Voice button icon May be a reference to another resource, in the form
" |
public
static
final
int[] |
SeekBarPreference
Attributes that can be used with a SeekBarPreference. |
public
static
int |
SeekBarPreference_adjustable
Attribute indicating whether the slider within this preference can be adjusted, that is pressing left/right keys when this preference is focused will move the slider accordingly (e.g. |
public
static
int |
SeekBarPreference_android_layout
This symbol is the offset where the |
public
static
int |
SeekBarPreference_android_max
This symbol is the offset where the |
public
static
int |
SeekBarPreference_min
This symbol is the offset where the |
public
static
int |
SeekBarPreference_seekBarIncrement
Attribute controlling the amount to increment or decrement the seekbar when the user presses the arrow keys May be an integer value, such as " |
public
static
int |
SeekBarPreference_showSeekBarValue
Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be displayed. |
public
static
int |
SeekBarPreference_updatesContinuously
Flag indicating whether the SeekBarPreference should continuously save the Seekbar value while the Seekbar is being dragged. |
public
static
final
int[] |
Spinner
Attributes that can be used with a Spinner. |
public
static
int |
Spinner_android_dropDownWidth
Width of the dropdown in spinnerMode="dropdown". |
public
static
int |
Spinner_android_entries
Reference to an array resource that will populate the Spinner. |
public
static
int |
Spinner_android_popupBackground
Background drawable to use for the dropdown in spinnerMode="dropdown". |
public
static
int |
Spinner_android_prompt
The prompt to display when the spinner's dialog is shown. |
public
static
int |
Spinner_popupTheme
Theme to use for the drop-down or dialog popup window. |
public
static
final
int[] |
StateListDrawable
Attributes that can be used with a StateListDrawable. |
public
static
final
int[] |
StateListDrawableItem
Attributes that can be used with a StateListDrawableItem. |
public
static
int |
StateListDrawableItem_android_drawable
Reference to a drawable resource to use for the state. |
public
static
int |
StateListDrawable_android_constantSize
If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. |
public
static
int |
StateListDrawable_android_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). |
public
static
int |
StateListDrawable_android_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable. |
public
static
int |
StateListDrawable_android_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable. |
public
static
int |
StateListDrawable_android_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. |
public
static
int |
StateListDrawable_android_visible
Indicates whether the drawable should be initially visible. |
public
static
final
int[] |
SwipeRefreshLayout
Attributes that can be used with a SwipeRefreshLayout. |
public
static
int |
SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor
Background color for SwipeRefreshLayout progress spinner. |
public
static
final
int[] |
SwitchCompat
Attributes that can be used with a SwitchCompat. |
public
static
int |
SwitchCompat_android_textOff
Text to use when the switch is in the unchecked/"off" state. |
public
static
int |
SwitchCompat_android_textOn
Text to use when the switch is in the checked/"on" state. |
public
static
int |
SwitchCompat_android_thumb
Drawable to use as the "thumb" that switches back and forth. |
public
static
int |
SwitchCompat_showText
Whether to draw on/off text. |
public
static
int |
SwitchCompat_splitTrack
Whether to split the track and leave a gap for the thumb drawable. |
public
static
int |
SwitchCompat_switchMinWidth
Minimum width for the switch component May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
SwitchCompat_switchPadding
Minimum space between the switch and caption text May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
SwitchCompat_switchTextAppearance
TextAppearance style for text displayed on the switch thumb. |
public
static
int |
SwitchCompat_thumbTextPadding
Amount of padding on either side of text within the switch thumb. |
public
static
int |
SwitchCompat_thumbTint
Tint to apply to the thumb drawable. |
public
static
int |
SwitchCompat_thumbTintMode
Blending mode used to apply the thumb tint. |
public
static
int |
SwitchCompat_track
Drawable to use as the "track" that the switch thumb slides within. |
public
static
int |
SwitchCompat_trackTint
Tint to apply to the track. |
public
static
int |
SwitchCompat_trackTintMode
Blending mode used to apply the track tint. |
public
static
final
int[] |
SwitchPreference
Attributes that can be used with a SwitchPreference. |
public
static
final
int[] |
SwitchPreferenceCompat
Attributes that can be used with a SwitchPreferenceCompat. |
public
static
int |
SwitchPreferenceCompat_android_disableDependentsState
This symbol is the offset where the |
public
static
int |
SwitchPreferenceCompat_android_summaryOff
This symbol is the offset where the |
public
static
int |
SwitchPreferenceCompat_android_summaryOn
This symbol is the offset where the |
public
static
int |
SwitchPreferenceCompat_android_switchTextOff
This symbol is the offset where the |
public
static
int |
SwitchPreferenceCompat_android_switchTextOn
This symbol is the offset where the |
public
static
int |
SwitchPreferenceCompat_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. |
public
static
int |
SwitchPreferenceCompat_summaryOff
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. |
public
static
int |
SwitchPreferenceCompat_summaryOn
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. |
public
static
int |
SwitchPreferenceCompat_switchTextOff
The text used on the switch itself when in the "off" state. |
public
static
int |
SwitchPreferenceCompat_switchTextOn
The text used on the switch itself when in the "on" state. |
public
static
int |
SwitchPreference_android_disableDependentsState
This symbol is the offset where the |
public
static
int |
SwitchPreference_android_summaryOff
This symbol is the offset where the |
public
static
int |
SwitchPreference_android_summaryOn
This symbol is the offset where the |
public
static
int |
SwitchPreference_android_switchTextOff
This symbol is the offset where the |
public
static
int |
SwitchPreference_android_switchTextOn
This symbol is the offset where the |
public
static
int |
SwitchPreference_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. |
public
static
int |
SwitchPreference_summaryOff
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. |
public
static
int |
SwitchPreference_summaryOn
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. |
public
static
int |
SwitchPreference_switchTextOff
The text used on the switch itself when in the "off" state. |
public
static
int |
SwitchPreference_switchTextOn
The text used on the switch itself when in the "on" state. |
public
static
final
int[] |
TextAppearance
Attributes that can be used with a TextAppearance. |
public
static
int |
TextAppearance_android_fontFamily
This symbol is the offset where the |
public
static
int |
TextAppearance_android_shadowColor
This symbol is the offset where the |
public
static
int |
TextAppearance_android_shadowDx
This symbol is the offset where the |
public
static
int |
TextAppearance_android_shadowDy
This symbol is the offset where the |
public
static
int |
TextAppearance_android_shadowRadius
This symbol is the offset where the |
public
static
int |
TextAppearance_android_textColor
This symbol is the offset where the |
public
static
int |
TextAppearance_android_textColorHint
This symbol is the offset where the |
public
static
int |
TextAppearance_android_textColorLink
This symbol is the offset where the |
public
static
int |
TextAppearance_android_textFontWeight
This symbol is the offset where the |
public
static
int |
TextAppearance_android_textSize
This symbol is the offset where the |
public
static
int |
TextAppearance_android_textStyle
This symbol is the offset where the |
public
static
int |
TextAppearance_android_typeface
This symbol is the offset where the |
public
static
int |
TextAppearance_fontFamily
The attribute for the font family. |
public
static
int |
TextAppearance_fontVariationSettings
OpenType font variation settings, available aftear api 26. |
public
static
int |
TextAppearance_textAllCaps
Present the text in ALL CAPS. |
public
static
int |
TextAppearance_textLocale
Set the textLocale by a comma-separated language tag string, for example "ja-JP,zh-CN". |
public
static
final
int[] |
Toolbar
This field is deprecated. Use titleMargin |
public
static
int |
Toolbar_android_gravity
This symbol is the offset where the |
public
static
int |
Toolbar_android_minHeight
This symbol is the offset where the |
public
static
int |
Toolbar_buttonGravity
This symbol is the offset where the |
public
static
int |
Toolbar_collapseContentDescription
Text to set as the content description for the collapse button. |
public
static
int |
Toolbar_collapseIcon
Icon drawable to use for the collapse button. |
public
static
int |
Toolbar_contentInsetEnd
Minimum inset for content views within a bar. |
public
static
int |
Toolbar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. |
public
static
int |
Toolbar_contentInsetLeft
Minimum inset for content views within a bar. |
public
static
int |
Toolbar_contentInsetRight
Minimum inset for content views within a bar. |
public
static
int |
Toolbar_contentInsetStart
Minimum inset for content views within a bar. |
public
static
int |
Toolbar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
public
static
int |
Toolbar_logo
Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button. |
public
static
int |
Toolbar_logoDescription
A content description string to describe the appearance of the associated logo image. |
public
static
int |
Toolbar_maxButtonHeight
This symbol is the offset where the |
public
static
int |
Toolbar_menu
Menu resource to inflate to be shown in the toolbar May be a reference to another resource, in the form
" |
public
static
int |
Toolbar_navigationContentDescription
Text to set as the content description for the navigation button located at the start of the toolbar. |
public
static
int |
Toolbar_navigationIcon
Icon drawable to use for the navigation button located at the start of the toolbar. |
public
static
int |
Toolbar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the toolbar. |
public
static
int |
Toolbar_subtitle
Specifies subtitle text used for navigationMode="normal" May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
public
static
int |
Toolbar_subtitleTextAppearance
This symbol is the offset where the |
public
static
int |
Toolbar_subtitleTextColor
A color to apply to the subtitle string. |
public
static
int |
Toolbar_title
This symbol is the offset where the |
public
static
int |
Toolbar_titleMargin
Specifies extra space on the left, start, right and end sides of the toolbar's title. |
public
static
int |
Toolbar_titleMarginBottom
Specifies extra space on the bottom side of the toolbar's title. |
public
static
int |
Toolbar_titleMarginEnd
Specifies extra space on the end side of the toolbar's title. |
public
static
int |
Toolbar_titleMarginStart
Specifies extra space on the start side of the toolbar's title. |
public
static
int |
Toolbar_titleMarginTop
Specifies extra space on the top side of the toolbar's title. |
public
static
int |
Toolbar_titleMargins
May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
Toolbar_titleTextAppearance
This symbol is the offset where the |
public
static
int |
Toolbar_titleTextColor
A color to apply to the title string. |
public
static
final
int[] |
View
Attributes that can be used with a View. |
public
static
final
int[] |
ViewBackgroundHelper
Attributes that can be used with a ViewBackgroundHelper. |
public
static
int |
ViewBackgroundHelper_android_background
This symbol is the offset where the |
public
static
int |
ViewBackgroundHelper_backgroundTint
Tint to apply to the background. |
public
static
int |
ViewBackgroundHelper_backgroundTintMode
Blending mode used to apply the background tint. |
public
static
final
int[] |
ViewStubCompat
Attributes that can be used with a ViewStubCompat. |
public
static
int |
ViewStubCompat_android_id
This symbol is the offset where the |
public
static
int |
ViewStubCompat_android_inflatedId
Overrides the id of the inflated View with this value. |
public
static
int |
ViewStubCompat_android_layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
public
static
int |
View_android_focusable
Boolean that controls whether a view can take focus. |
public
static
int |
View_android_theme
Specifies a theme override for a view. |
public
static
int |
View_paddingEnd
Sets the padding, in pixels, of the end edge; see |
public
static
int |
View_paddingStart
Sets the padding, in pixels, of the start edge; see |
public
static
int |
View_theme
Deprecated. |
public
static
final
int[] |
WatchViewStub
Attributes that can be used with a WatchViewStub. |
public
static
int |
WatchViewStub_rectLayout
Resource id of a layout to use in rectangular containers May be a reference to another resource, in the form
" |
public
static
int |
WatchViewStub_roundLayout
Resource id of a layout to use in round containers May be a reference to another resource, in the form
" |
public
static
final
int[] |
WearableActionDrawer
Attributes that can be used with a WearableActionDrawer. |
public
static
int |
WearableActionDrawer_action_menu
This symbol is the offset where the |
public
static
int |
WearableActionDrawer_drawer_title
This symbol is the offset where the |
public
static
int |
WearableActionDrawer_show_overflow_in_peek
Shows the overflow icon in the peek view rather than the first action's icon. |
public
static
final
int[] |
WearableDialogPreference
Base attributes available to ConfirmationSwitchPreference. |
public
static
int |
WearableDialogPreference_negativeButtonIcon
The icon for the negative button for the dialog. |
public
static
int |
WearableDialogPreference_neutralButtonIcon
The icon for the neutral button for the dialog. |
public
static
int |
WearableDialogPreference_neutralButtonText
The neutral button text for the dialog. |
public
static
int |
WearableDialogPreference_positiveButtonIcon
The icon for the positive button for the dialog. |
public
static
final
int[] |
WearableDrawerView
Attributes that can be used with a WearableDrawerView. |
public
static
int |
WearableDrawerView_drawer_content
This symbol is the offset where the |
public
static
int |
WearableDrawerView_peek_view
This symbol is the offset where the |
public
static
final
int[] |
WearableFrameLayout
Attributes that can be used with a WearableFrameLayout. |
public
static
int |
WearableFrameLayout_android_foreground
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_android_foregroundGravity
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_android_foregroundTint
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_android_measureAllChildren
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_gravityRound
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_heightRound
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_marginBottomRound
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_marginLeftRound
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_marginRightRound
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_marginRound
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_marginTopRound
This symbol is the offset where the |
public
static
int |
WearableFrameLayout_layout_widthRound
This symbol is the offset where the |
public
static
final
int[] |
WearableNavigationDrawer
Attributes that can be used with a WearableNavigationDrawer. |
public
static
int |
WearableNavigationDrawer_navigation_style
This symbol is the offset where the |
public
static
final
int[] |
WearableRecyclerView
Attributes that can be used with a WearableRecyclerView. |
public
static
int |
WearableRecyclerView_bezel_width
This symbol is the offset where the |
public
static
int |
WearableRecyclerView_circular_scrolling_gesture_enabled
This symbol is the offset where the |
public
static
int |
WearableRecyclerView_scroll_degrees_per_screen
This symbol is the offset where the |
Public constructors | |
---|---|
styleable()
|
Inherited methods | |
---|---|
Fields
AcceptDenyDialogPreference
public static final int[] AcceptDenyDialogPreference
Base attributes available to AcceptDenyDialogPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| The icon for the dialog. |
| The message in the dialog. |
| The title in the dialog. |
| Specifies if the negative button should be shown for the dialog. |
| Specifies if the positive button should be shown for the dialog. |
AcceptDenyDialogPreference_dialogIcon
public static int AcceptDenyDialogPreference_dialogIcon
The icon for the dialog.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AcceptDenyDialogPreference_dialogMessage
public static int AcceptDenyDialogPreference_dialogMessage
The message in the dialog. If a dialogLayout is provided and contains a TextView with ID android:id/message, this message will be placed in there.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AcceptDenyDialogPreference_dialogTitle
public static int AcceptDenyDialogPreference_dialogTitle
The title in the dialog.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AcceptDenyDialogPreference_showNegativeDialogButton
public static int AcceptDenyDialogPreference_showNegativeDialogButton
Specifies if the negative button should be shown for the dialog. Default value is true.
May be a boolean value, such as "true
" or
"false
".
AcceptDenyDialogPreference_showPositiveDialogButton
public static int AcceptDenyDialogPreference_showPositiveDialogButton
Specifies if the positive button should be shown for the dialog. Default value is true.
May be a boolean value, such as "true
" or
"false
".
AcceptDenySwitchPreference
public static final int[] AcceptDenySwitchPreference
Base attributes available to AcceptDenySwitchPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| The icon for the dialog. |
| The message in the dialog. |
| The title in the dialog. |
| Specifies if the dialog should be shown when the switch is turning off. |
| Specifies if the dialog should be shown when the switch is turning on. |
| Specifies if the negative button should be shown for the dialog. |
| Specifies if the positive button should be shown for the dialog. |
See also:
AcceptDenySwitchPreference_dialogIcon
AcceptDenySwitchPreference_dialogMessage
AcceptDenySwitchPreference_dialogTitle
AcceptDenySwitchPreference_showDialogWhenTurningOff
AcceptDenySwitchPreference_showDialogWhenTurningOn
AcceptDenySwitchPreference_showNegativeDialogButton
AcceptDenySwitchPreference_showPositiveDialogButton
AcceptDenySwitchPreference_dialogIcon
public static int AcceptDenySwitchPreference_dialogIcon
The icon for the dialog.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AcceptDenySwitchPreference_dialogMessage
public static int AcceptDenySwitchPreference_dialogMessage
The message in the dialog. If a dialogLayout is provided and contains a TextView with ID android:id/message, this message will be placed in there.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AcceptDenySwitchPreference_dialogTitle
public static int AcceptDenySwitchPreference_dialogTitle
The title in the dialog.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AcceptDenySwitchPreference_showDialogWhenTurningOff
public static int AcceptDenySwitchPreference_showDialogWhenTurningOff
Specifies if the dialog should be shown when the switch is turning off. Default value is false.
May be a boolean value, such as "true
" or
"false
".
AcceptDenySwitchPreference_showDialogWhenTurningOn
public static int AcceptDenySwitchPreference_showDialogWhenTurningOn
Specifies if the dialog should be shown when the switch is turning on. Default value is true.
May be a boolean value, such as "true
" or
"false
".
AcceptDenySwitchPreference_showNegativeDialogButton
public static int AcceptDenySwitchPreference_showNegativeDialogButton
Specifies if the negative button should be shown for the dialog. Default value is true.
May be a boolean value, such as "true
" or
"false
".
AcceptDenySwitchPreference_showPositiveDialogButton
public static int AcceptDenySwitchPreference_showPositiveDialogButton
Specifies if the positive button should be shown for the dialog. Default value is true.
May be a boolean value, such as "true
" or
"false
".
ActionBar
public static final int[] ActionBar
Attributes that can be used with a 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. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when actions from a menu are present. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
| Specifies a layout for custom navigation. |
| Options affecting how the action bar is displayed. |
| Specifies the drawable used for item dividers. |
| |
| |
| Set true to hide the action bar on a vertical nested scroll of content. |
| Specifies a drawable to use for the 'home as up' indicator. |
| 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. |
| Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
| 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 a style to use for title text. |
See also:
ActionBar_background
ActionBar_backgroundSplit
ActionBar_backgroundStacked
ActionBar_contentInsetEnd
ActionBar_contentInsetEndWithActions
ActionBar_contentInsetLeft
ActionBar_contentInsetRight
ActionBar_contentInsetStart
ActionBar_contentInsetStartWithNavigation
ActionBar_customNavigationLayout
ActionBar_displayOptions
ActionBar_divider
ActionBar_elevation
ActionBar_height
ActionBar_hideOnContentScroll
ActionBar_homeAsUpIndicator
ActionBar_homeLayout
ActionBar_icon
ActionBar_indeterminateProgressStyle
ActionBar_itemPadding
ActionBar_logo
ActionBar_navigationMode
ActionBar_popupTheme
ActionBar_progressBarPadding
ActionBar_progressBarStyle
ActionBar_subtitle
ActionBar_subtitleTextStyle
ActionBar_title
ActionBar_titleTextStyle
ActionBarLayout
public static final int[] ActionBarLayout
Attributes that can be used with a ActionBarLayout.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
ActionBarLayout_android_layout_gravity
public static 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.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
end | 800005 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
start | 800003 | |
top | 30 |
ActionBar_background
public static int ActionBar_background
Specifies a background drawable for the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_backgroundSplit
public static int ActionBar_backgroundSplit
Specifies a background drawable for the bottom component of a split action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionBar_backgroundStacked
public static int ActionBar_backgroundStacked
Specifies a background drawable for a second stacked row of the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionBar_contentInsetEnd
public static int ActionBar_contentInsetEnd
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_contentInsetEndWithActions
public static int ActionBar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_contentInsetLeft
public static int ActionBar_contentInsetLeft
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_contentInsetRight
public static int ActionBar_contentInsetRight
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_contentInsetStart
public static int ActionBar_contentInsetStart
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_contentInsetStartWithNavigation
public static int ActionBar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_customNavigationLayout
public static int ActionBar_customNavigationLayout
Specifies a layout for custom navigation. Overrides navigationMode.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_displayOptions
public static int ActionBar_displayOptions
Options affecting how the action bar is displayed.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
disableHome | 20 | |
homeAsUp | 4 | |
none | 0 | |
showCustom | 10 | |
showHome | 2 | |
showTitle | 8 | |
useLogo | 1 |
ActionBar_divider
public static int ActionBar_divider
Specifies the drawable used for item dividers.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_elevation
public static int ActionBar_elevation
Elevation for the action bar itself
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_height
public static int ActionBar_height
Specifies a fixed height.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_hideOnContentScroll
public static int ActionBar_hideOnContentScroll
Set true to hide the action bar on a vertical nested scroll of content.
May be a boolean value, such as "true
" or
"false
".
ActionBar_homeAsUpIndicator
public static int ActionBar_homeAsUpIndicator
Up navigation glyph
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_homeLayout
public static int ActionBar_homeLayout
Specifies a layout to use for the "home" section of the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_icon
public static int ActionBar_icon
Specifies the drawable used for the application icon.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_indeterminateProgressStyle
public static int ActionBar_indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_itemPadding
public static int ActionBar_itemPadding
Specifies padding that should be applied to the left and right sides of system-provided items in the bar.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_logo
public static int ActionBar_logo
Specifies the drawable used for the application logo.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_navigationMode
public static int ActionBar_navigationMode
The type of navigation to use.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
listMode | 1 | The action bar will use a selection list for navigation. |
normal | 0 | Normal static title text |
tabMode | 2 | The action bar will use a series of horizontal tabs for navigation. |
ActionBar_popupTheme
public static int ActionBar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_progressBarPadding
public static int ActionBar_progressBarPadding
Specifies the horizontal padding on either end for an embedded progress bar.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionBar_progressBarStyle
public static int ActionBar_progressBarStyle
Specifies a style resource to use for an embedded progress bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_subtitle
public static int ActionBar_subtitle
Specifies subtitle text used for navigationMode="normal"
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
ActionBar_subtitleTextStyle
public static int ActionBar_subtitleTextStyle
Specifies a style to use for subtitle text.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionBar_title
public static int ActionBar_title
Specifies title text used for navigationMode="normal"
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
ActionBar_titleTextStyle
public static int ActionBar_titleTextStyle
Specifies a style to use for title text.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionLabel
public static final int[] ActionLabel
Attributes that can be used with a ActionLabel.
Includes the following attributes:
See also:
ActionLabel_android_typeface
ActionLabel_android_textStyle
ActionLabel_android_textColor
ActionLabel_android_gravity
ActionLabel_android_text
ActionLabel_android_maxLines
ActionLabel_android_lineSpacingExtra
ActionLabel_android_lineSpacingMultiplier
ActionLabel_android_fontFamily
ActionLabel_maxTextSize
ActionLabel_minTextSize
ActionLabel_android_fontFamily
public static int ActionLabel_android_fontFamily
This symbol is the offset where the R.attr.fontFamily
attribute's value can be found in the ActionLabel
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
ActionLabel_android_gravity
public static int ActionLabel_android_gravity
This symbol is the offset where the R.attr.gravity
attribute's value can be found in the ActionLabel
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
end | 800005 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
start | 800003 | |
top | 30 |
ActionLabel_android_lineSpacingExtra
public static int ActionLabel_android_lineSpacingExtra
This symbol is the offset where the R.attr.lineSpacingExtra
attribute's value can be found in the ActionLabel
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionLabel_android_lineSpacingMultiplier
public static int ActionLabel_android_lineSpacingMultiplier
This symbol is the offset where the R.attr.lineSpacingMultiplier
attribute's value can be found in the ActionLabel
array.
May be a floating point value, such as "1.2
".
ActionLabel_android_maxLines
public static int ActionLabel_android_maxLines
This symbol is the offset where the R.attr.maxLines
attribute's value can be found in the ActionLabel
array.
May be an integer value, such as "100
".
ActionLabel_android_text
public static int ActionLabel_android_text
This symbol is the offset where the R.attr.text
attribute's value can be found in the ActionLabel
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
ActionLabel_android_textColor
public static int ActionLabel_android_textColor
This symbol is the offset where the R.attr.textColor
attribute's value can be found in the ActionLabel
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionLabel_android_textStyle
public static int ActionLabel_android_textStyle
This symbol is the offset where the R.attr.textStyle
attribute's value can be found in the ActionLabel
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bold | 1 | |
italic | 2 | |
normal | 0 |
ActionLabel_android_typeface
public static int ActionLabel_android_typeface
This symbol is the offset where the R.attr.typeface
attribute's value can be found in the ActionLabel
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
monospace | 3 | |
normal | 0 | |
sans | 1 | |
serif | 2 |
ActionLabel_maxTextSize
public static int ActionLabel_maxTextSize
This symbol is the offset where the R.attr.maxTextSize
attribute's value can be found in the ActionLabel
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionLabel_minTextSize
public static int ActionLabel_minTextSize
This symbol is the offset where the R.attr.minTextSize
attribute's value can be found in the ActionLabel
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionMenuItemView
public static final int[] ActionMenuItemView
Attributes that can be used with a ActionMenuItemView.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
ActionMenuItemView_android_minWidth
public static int ActionMenuItemView_android_minWidth
This symbol is the offset where the R.attr.minWidth
attribute's value can be found in the ActionMenuItemView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionMenuView
public static final int[] ActionMenuView
ActionMode
public static final int[] ActionMode
Attributes that can be used with a ActionMode.
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 layout to use for the "close" item at the starting edge. |
| |
| Specifies a style to use for subtitle text. |
| Specifies a style to use for title text. |
ActionMode_background
public static int ActionMode_background
Specifies a background for the action mode bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionMode_backgroundSplit
public static int ActionMode_backgroundSplit
Specifies a background for the split action mode bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionMode_closeItemLayout
public static int ActionMode_closeItemLayout
Specifies a layout to use for the "close" item at the starting edge.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionMode_height
public static int ActionMode_height
Specifies a fixed height for the action mode bar.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionMode_subtitleTextStyle
public static int ActionMode_subtitleTextStyle
Specifies a style to use for subtitle text.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionMode_titleTextStyle
public static int ActionMode_titleTextStyle
Specifies a style to use for title text.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionPage
public static final int[] ActionPage
Attributes that can be used with a ActionPage.
Includes the following attributes:
See also:
ActionPage_android_typeface
ActionPage_android_textStyle
ActionPage_android_textColor
ActionPage_android_gravity
ActionPage_android_src
ActionPage_android_text
ActionPage_android_maxLines
ActionPage_android_color
ActionPage_android_lineSpacingExtra
ActionPage_android_lineSpacingMultiplier
ActionPage_android_fontFamily
ActionPage_android_elevation
ActionPage_android_stateListAnimator
ActionPage_buttonRippleColor
ActionPage_imageScaleMode
ActionPage_maxTextSize
ActionPage_minTextSize
ActionPage_pressedButtonTranslationZ
ActionPage_android_color
public static int ActionPage_android_color
This symbol is the offset where the R.attr.color
attribute's value can be found in the ActionPage
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionPage_android_elevation
public static int ActionPage_android_elevation
This symbol is the offset where the R.attr.elevation
attribute's value can be found in the ActionPage
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionPage_android_fontFamily
public static int ActionPage_android_fontFamily
This symbol is the offset where the R.attr.fontFamily
attribute's value can be found in the ActionPage
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
ActionPage_android_gravity
public static int ActionPage_android_gravity
This symbol is the offset where the R.attr.gravity
attribute's value can be found in the ActionPage
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
end | 800005 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
start | 800003 | |
top | 30 |
ActionPage_android_lineSpacingExtra
public static int ActionPage_android_lineSpacingExtra
This symbol is the offset where the R.attr.lineSpacingExtra
attribute's value can be found in the ActionPage
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionPage_android_lineSpacingMultiplier
public static int ActionPage_android_lineSpacingMultiplier
This symbol is the offset where the R.attr.lineSpacingMultiplier
attribute's value can be found in the ActionPage
array.
May be a floating point value, such as "1.2
".
ActionPage_android_maxLines
public static int ActionPage_android_maxLines
This symbol is the offset where the R.attr.maxLines
attribute's value can be found in the ActionPage
array.
May be an integer value, such as "100
".
ActionPage_android_src
public static int ActionPage_android_src
This symbol is the offset where the R.attr.src
attribute's value can be found in the ActionPage
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionPage_android_stateListAnimator
public static int ActionPage_android_stateListAnimator
This symbol is the offset where the R.attr.stateListAnimator
attribute's value can be found in the ActionPage
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActionPage_android_text
public static int ActionPage_android_text
This symbol is the offset where the R.attr.text
attribute's value can be found in the ActionPage
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
ActionPage_android_textColor
public static int ActionPage_android_textColor
This symbol is the offset where the R.attr.textColor
attribute's value can be found in the ActionPage
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionPage_android_textStyle
public static int ActionPage_android_textStyle
This symbol is the offset where the R.attr.textStyle
attribute's value can be found in the ActionPage
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bold | 1 | |
italic | 2 | |
normal | 0 |
ActionPage_android_typeface
public static int ActionPage_android_typeface
This symbol is the offset where the R.attr.typeface
attribute's value can be found in the ActionPage
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
monospace | 3 | |
normal | 0 | |
sans | 1 | |
serif | 2 |
ActionPage_buttonRippleColor
public static int ActionPage_buttonRippleColor
This symbol is the offset where the R.attr.buttonRippleColor
attribute's value can be found in the ActionPage
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ActionPage_imageScaleMode
public static int ActionPage_imageScaleMode
This symbol is the offset where the R.attr.imageScaleMode
attribute's value can be found in the ActionPage
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
center | 1 | |
fit | 0 |
ActionPage_maxTextSize
public static int ActionPage_maxTextSize
This symbol is the offset where the R.attr.maxTextSize
attribute's value can be found in the ActionPage
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionPage_minTextSize
public static int ActionPage_minTextSize
This symbol is the offset where the R.attr.minTextSize
attribute's value can be found in the ActionPage
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActionPage_pressedButtonTranslationZ
public static int ActionPage_pressedButtonTranslationZ
This symbol is the offset where the R.attr.pressedButtonTranslationZ
attribute's value can be found in the ActionPage
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ActivityChooserView
public static final int[] ActivityChooserView
Attributes that can be used with a 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. |
ActivityChooserView_expandActivityOverflowButtonDrawable
public static int ActivityChooserView_expandActivityOverflowButtonDrawable
The drawable to show in the button for expanding the activities overflow popup. Note: Clients would like to set this drawable as a clue about the action the chosen activity will perform. For example, if share activity is to be chosen the drawable should give a clue that sharing is to be performed.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ActivityChooserView_initialActivityCount
public static int ActivityChooserView_initialActivityCount
The maximal number of items initially shown in the activity list.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AlertDialog
public static final int[] AlertDialog
Attributes that can be used with a AlertDialog.
Includes the following attributes:
AlertDialog_android_layout
public static int AlertDialog_android_layout
This symbol is the offset where the R.attr.layout
attribute's value can be found in the AlertDialog
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AlertDialog_buttonIconDimen
public static int AlertDialog_buttonIconDimen
This symbol is the offset where the R.attr.buttonIconDimen
attribute's value can be found in the AlertDialog
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AlertDialog_buttonPanelSideLayout
public static int AlertDialog_buttonPanelSideLayout
This symbol is the offset where the R.attr.buttonPanelSideLayout
attribute's value can be found in the AlertDialog
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AlertDialog_listItemLayout
public static int AlertDialog_listItemLayout
This symbol is the offset where the R.attr.listItemLayout
attribute's value can be found in the AlertDialog
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AlertDialog_listLayout
public static int AlertDialog_listLayout
This symbol is the offset where the R.attr.listLayout
attribute's value can be found in the AlertDialog
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AlertDialog_multiChoiceItemLayout
public static int AlertDialog_multiChoiceItemLayout
This symbol is the offset where the R.attr.multiChoiceItemLayout
attribute's value can be found in the AlertDialog
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AlertDialog_showTitle
public static int AlertDialog_showTitle
This symbol is the offset where the R.attr.showTitle
attribute's value can be found in the AlertDialog
array.
May be a boolean value, such as "true
" or
"false
".
AlertDialog_singleChoiceItemLayout
public static int AlertDialog_singleChoiceItemLayout
This symbol is the offset where the R.attr.singleChoiceItemLayout
attribute's value can be found in the AlertDialog
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AnimatedStateListDrawableCompat
public static final int[] AnimatedStateListDrawableCompat
Attributes that can be used with a AnimatedStateListDrawableCompat.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
|
See also:
AnimatedStateListDrawableCompat_android_dither
AnimatedStateListDrawableCompat_android_visible
AnimatedStateListDrawableCompat_android_variablePadding
AnimatedStateListDrawableCompat_android_constantSize
AnimatedStateListDrawableCompat_android_enterFadeDuration
AnimatedStateListDrawableCompat_android_exitFadeDuration
AnimatedStateListDrawableCompat_android_constantSize
public static int AnimatedStateListDrawableCompat_android_constantSize
If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. If false, the size will vary based on the current state.
May be a boolean value, such as "true
" or
"false
".
AnimatedStateListDrawableCompat_android_dither
public static int AnimatedStateListDrawableCompat_android_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).
May be a boolean value, such as "true
" or
"false
".
AnimatedStateListDrawableCompat_android_enterFadeDuration
public static int AnimatedStateListDrawableCompat_android_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable.
May be an integer value, such as "100
".
AnimatedStateListDrawableCompat_android_exitFadeDuration
public static int AnimatedStateListDrawableCompat_android_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable.
May be an integer value, such as "100
".
AnimatedStateListDrawableCompat_android_variablePadding
public static int AnimatedStateListDrawableCompat_android_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. If false, the padding will stay the same (based on the maximum padding of all the states). Enabling this feature requires that the owner of the drawable deal with performing layout when the state changes, which is often not supported.
May be a boolean value, such as "true
" or
"false
".
AnimatedStateListDrawableCompat_android_visible
public static int AnimatedStateListDrawableCompat_android_visible
Indicates whether the drawable should be initially visible.
May be a boolean value, such as "true
" or
"false
".
AnimatedStateListDrawableItem
public static final int[] AnimatedStateListDrawableItem
Attributes that can be used with a AnimatedStateListDrawableItem.
Includes the following attributes:
Attribute | Description |
---|---|
| |
|
AnimatedStateListDrawableItem_android_drawable
public static int AnimatedStateListDrawableItem_android_drawable
Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AnimatedStateListDrawableItem_android_id
public static int AnimatedStateListDrawableItem_android_id
Keyframe identifier for use in specifying transitions.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AnimatedStateListDrawableTransition
public static final int[] AnimatedStateListDrawableTransition
Attributes that can be used with a AnimatedStateListDrawableTransition.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
|
AnimatedStateListDrawableTransition_android_drawable
public static int AnimatedStateListDrawableTransition_android_drawable
Reference to a animation drawable resource to use for the frame. If not given, the animation drawable must be defined by the first child tag.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AnimatedStateListDrawableTransition_android_fromId
public static int AnimatedStateListDrawableTransition_android_fromId
Keyframe identifier for the starting state.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AnimatedStateListDrawableTransition_android_reversible
public static int AnimatedStateListDrawableTransition_android_reversible
Whether this transition is reversible.
May be a boolean value, such as "true
" or
"false
".
AnimatedStateListDrawableTransition_android_toId
public static int AnimatedStateListDrawableTransition_android_toId
Keyframe identifier for the ending state.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatEmojiHelper
public static final int[] AppCompatEmojiHelper
AppCompatImageView
public static final int[] AppCompatImageView
Attributes that can be used with a AppCompatImageView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| Sets a drawable as the content of this ImageView. |
| Tint to apply to the image source. |
| Blending mode used to apply the image source tint. |
AppCompatImageView_android_src
public static int AppCompatImageView_android_src
This symbol is the offset where the R.attr.src
attribute's value can be found in the AppCompatImageView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatImageView_srcCompat
public static int AppCompatImageView_srcCompat
Sets a drawable as the content of this ImageView. Allows the use of vector drawable when running on older versions of the platform.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatImageView_tint
public static int AppCompatImageView_tint
Tint to apply to the image source.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatImageView_tintMode
public static int AppCompatImageView_tintMode
Blending mode used to apply the image source tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
AppCompatSeekBar
public static final int[] AppCompatSeekBar
Attributes that can be used with a AppCompatSeekBar.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| Drawable displayed at each progress position on a seekbar. |
| Tint to apply to the tick mark drawable. |
| Blending mode used to apply the tick mark tint. |
AppCompatSeekBar_android_thumb
public static int AppCompatSeekBar_android_thumb
This symbol is the offset where the R.attr.thumb
attribute's value can be found in the AppCompatSeekBar
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatSeekBar_tickMark
public static int AppCompatSeekBar_tickMark
Drawable displayed at each progress position on a seekbar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatSeekBar_tickMarkTint
public static int AppCompatSeekBar_tickMarkTint
Tint to apply to the tick mark drawable.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatSeekBar_tickMarkTintMode
public static int AppCompatSeekBar_tickMarkTintMode
Blending mode used to apply the tick mark tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
AppCompatTextHelper
public static final int[] AppCompatTextHelper
Attributes that can be used with a AppCompatTextHelper.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| |
|
AppCompatTextHelper_android_drawableBottom
public static int AppCompatTextHelper_android_drawableBottom
This symbol is the offset where the R.attr.drawableBottom
attribute's value can be found in the AppCompatTextHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTextHelper_android_drawableEnd
public static int AppCompatTextHelper_android_drawableEnd
This symbol is the offset where the R.attr.drawableEnd
attribute's value can be found in the AppCompatTextHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTextHelper_android_drawableLeft
public static int AppCompatTextHelper_android_drawableLeft
This symbol is the offset where the R.attr.drawableLeft
attribute's value can be found in the AppCompatTextHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTextHelper_android_drawableRight
public static int AppCompatTextHelper_android_drawableRight
This symbol is the offset where the R.attr.drawableRight
attribute's value can be found in the AppCompatTextHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTextHelper_android_drawableStart
public static int AppCompatTextHelper_android_drawableStart
This symbol is the offset where the R.attr.drawableStart
attribute's value can be found in the AppCompatTextHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTextHelper_android_drawableTop
public static int AppCompatTextHelper_android_drawableTop
This symbol is the offset where the R.attr.drawableTop
attribute's value can be found in the AppCompatTextHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTextHelper_android_textAppearance
public static int AppCompatTextHelper_android_textAppearance
This symbol is the offset where the R.attr.textAppearance
attribute's value can be found in the AppCompatTextHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView
public static final int[] AppCompatTextView
Attributes that can be used with a AppCompatTextView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| The maximum text size constraint to be used when auto-sizing text. |
| The minimum text size constraint to be used when auto-sizing text. |
| Resource array of dimensions to be used in conjunction with
autoSizeTextType set to uniform . |
| Specify the auto-size step size if autoSizeTextType is set to
uniform . |
| Specify the type of auto-size. |
| |
| |
| Compound drawables allowing the use of vector drawable when running on older versions of the platform. |
| |
| |
| Tint to apply to the compound (left, top, etc.) drawables. |
| Blending mode used to apply the compound (left, top, etc.) drawables tint. |
| |
| Display the emoji if emojicompat has this character for emoji not on the system |
| Distance from the top of the TextView to the first text baseline. |
| The attribute for the font family. |
| The variation settings to be applied to the font. |
| Distance from the bottom of the TextView to the last text baseline. |
| Explicit height between lines of text. |
| Present the text in ALL CAPS. |
| Set the textLocale by a comma-separated language tag string, for example "ja-JP,zh-CN". |
See also:
AppCompatTextView_android_textAppearance
AppCompatTextView_autoSizeMaxTextSize
AppCompatTextView_autoSizeMinTextSize
AppCompatTextView_autoSizePresetSizes
AppCompatTextView_autoSizeStepGranularity
AppCompatTextView_autoSizeTextType
AppCompatTextView_drawableBottomCompat
AppCompatTextView_drawableEndCompat
AppCompatTextView_drawableLeftCompat
AppCompatTextView_drawableRightCompat
AppCompatTextView_drawableStartCompat
AppCompatTextView_drawableTint
AppCompatTextView_drawableTintMode
AppCompatTextView_drawableTopCompat
AppCompatTextView_emojiCompatEnabled
AppCompatTextView_firstBaselineToTopHeight
AppCompatTextView_fontFamily
AppCompatTextView_fontVariationSettings
AppCompatTextView_lastBaselineToBottomHeight
AppCompatTextView_lineHeight
AppCompatTextView_textAllCaps
AppCompatTextView_textLocale
AppCompatTextView_android_textAppearance
public static int AppCompatTextView_android_textAppearance
This symbol is the offset where the R.attr.textAppearance
attribute's value can be found in the AppCompatTextView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_autoSizeMaxTextSize
public static int AppCompatTextView_autoSizeMaxTextSize
The maximum text size constraint to be used when auto-sizing text.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTextView_autoSizeMinTextSize
public static int AppCompatTextView_autoSizeMinTextSize
The minimum text size constraint to be used when auto-sizing text.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTextView_autoSizePresetSizes
public static int AppCompatTextView_autoSizePresetSizes
Resource array of dimensions to be used in conjunction with
autoSizeTextType
set to uniform
. Overrides
autoSizeStepGranularity
if set.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_autoSizeStepGranularity
public static int AppCompatTextView_autoSizeStepGranularity
Specify the auto-size step size if autoSizeTextType
is set to
uniform
. The default is 1px. Overwrites
autoSizePresetSizes
if set.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTextView_autoSizeTextType
public static int AppCompatTextView_autoSizeTextType
Specify the type of auto-size. Note that this feature is not supported by EditText, works only for TextView.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | No auto-sizing (default). |
uniform | 1 | Uniform horizontal and vertical text size scaling to fit within the container. |
AppCompatTextView_drawableBottomCompat
public static int AppCompatTextView_drawableBottomCompat
This symbol is the offset where the R.attr.drawableBottomCompat
attribute's value can be found in the AppCompatTextView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_drawableEndCompat
public static int AppCompatTextView_drawableEndCompat
This symbol is the offset where the R.attr.drawableEndCompat
attribute's value can be found in the AppCompatTextView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_drawableLeftCompat
public static int AppCompatTextView_drawableLeftCompat
Compound drawables allowing the use of vector drawable when running on older versions of the platform.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_drawableRightCompat
public static int AppCompatTextView_drawableRightCompat
This symbol is the offset where the R.attr.drawableRightCompat
attribute's value can be found in the AppCompatTextView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_drawableStartCompat
public static int AppCompatTextView_drawableStartCompat
This symbol is the offset where the R.attr.drawableStartCompat
attribute's value can be found in the AppCompatTextView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_drawableTint
public static int AppCompatTextView_drawableTint
Tint to apply to the compound (left, top, etc.) drawables.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTextView_drawableTintMode
public static int AppCompatTextView_drawableTintMode
Blending mode used to apply the compound (left, top, etc.) drawables tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
AppCompatTextView_drawableTopCompat
public static int AppCompatTextView_drawableTopCompat
This symbol is the offset where the R.attr.drawableTopCompat
attribute's value can be found in the AppCompatTextView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTextView_emojiCompatEnabled
public static int AppCompatTextView_emojiCompatEnabled
Display the emoji if emojicompat has this character for emoji not on the system
May be a boolean value, such as "true
" or
"false
".
AppCompatTextView_firstBaselineToTopHeight
public static int AppCompatTextView_firstBaselineToTopHeight
Distance from the top of the TextView to the first text baseline. If set, this overrides the value set for paddingTop.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTextView_fontFamily
public static int AppCompatTextView_fontFamily
The attribute for the font family.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AppCompatTextView_fontVariationSettings
public static int AppCompatTextView_fontVariationSettings
OpenType font variation settings, available after api 26.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AppCompatTextView_lastBaselineToBottomHeight
public static int AppCompatTextView_lastBaselineToBottomHeight
Distance from the bottom of the TextView to the last text baseline. If set, this overrides the value set for paddingBottom.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTextView_lineHeight
public static int AppCompatTextView_lineHeight
Explicit height between lines of text. If set, this will override the values set for lineSpacingExtra and lineSpacingMultiplier.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTextView_textAllCaps
public static int AppCompatTextView_textAllCaps
Present the text in ALL CAPS. This may use a small-caps form when available.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a boolean value, such as "true
" or
"false
".
AppCompatTextView_textLocale
public static int AppCompatTextView_textLocale
Set the textLocale by a comma-separated language tag string,
for example "ja-JP,zh-CN". This attribute only takes effect on API 21 and above.
Before API 24, only the first language tag is used. Starting from API 24,
the string will be converted into a LocaleList
and then used by
TextView
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AppCompatTheme
public static final int[] AppCompatTheme
Attributes that can be used with a AppCompatTheme.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| Custom divider drawable to use for elements in the action bar. |
| Custom item state list drawable background for action bar items. |
| Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
| Size of the Action Bar, including the contextual bar used to present Action Modes. |
| Reference to a style for the split Action Bar. |
| Reference to a style for the Action Bar |
| |
| Default style for tabs within an action bar |
| |
| Reference to a theme that should be used to inflate the action bar. |
| Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. |
| Default action button style. |
| Default ActionBar dropdown style. |
| TextAppearance style that will be applied to text that appears within action menu items. |
| Color for text that appears within action menu items. |
| Background drawable to use for action mode UI |
| |
| Content description to use for the close action mode button |
| Drawable to use for the close action mode button |
| Drawable to use for the Copy action button in Contextual Action Bar |
| Drawable to use for the Cut action button in Contextual Action Bar |
| Drawable to use for the Find action button in WebView selection action modes |
| Drawable to use for the Paste action button in Contextual Action Bar |
| PopupWindow style to use for action modes when showing as a window overlay. |
| Drawable to use for the Select all action button in Contextual Action Bar |
| Drawable to use for the Share action button in WebView selection action modes |
| Background drawable to use for action mode UI in the lower split bar |
| |
| Reference to a theme that should be used to inflate the action bar in action mode. |
| Drawable to use for the Web Search action button in WebView selection action modes |
| |
| |
| Default ActivityChooserView style. |
| |
| |
| |
| Theme to use for alert dialogs spawned from this theme. |
| Default AutoCompleteTextView style. |
| Style for buttons without an explicit border, often used in groups. |
| Style for buttons within button bars |
| Style for the "negative" buttons within button bars |
| Style for the "neutral" buttons within button bars |
| Style for the "positive" buttons within button bars |
| Style for button bars |
| Normal Button style. |
| Small Button style. |
| Default Checkbox style. |
| Default CheckedTextView style. |
| Bright complement to the primary branding color. |
| Default color of background imagery for floating components, ex. |
| The color applied to framework buttons in their normal state. |
| The color applied to framework controls in their activated (ex. |
| The color applied to framework control highlights (ex. |
| The color applied to framework controls in their normal state. |
| Color used for error states and things that need to be drawn to the user's attention. |
| The primary branding color for the app. |
| Dark variant of the primary branding color. |
| The color applied to framework switch thumbs in their normal state. |
| The background used by framework controls. |
| Preferred corner radius of dialogs. |
| Preferred padding for dialog content. |
| Theme to use for dialogs spawned from this theme. |
| A drawable that may be used as a horizontal divider between visual elements. |
| A drawable that may be used as a vertical divider between visual elements. |
| ListPopupWindow compatibility |
| The preferred item height for dropdown lists. |
| EditText background drawable. |
| EditText text foreground color. |
| Default EditText style. |
| Specifies a drawable to use for the 'home as up' indicator. |
| ImageButton background drawable. |
| Drawable used as a background for selected list items. |
| Animated Drawable to use for multiple choice indicators. |
| Animated Drawable to use for single choice indicators. |
| The list divider used in alert dialogs. |
| Default menu-style ListView style. |
| |
| The preferred list item height. |
| A larger, more robust list item height. |
| A smaller, sleeker list item height. |
| The preferred padding along the end edge of list items. |
| The preferred padding along the left edge of list items. |
| The preferred padding along the right edge of list items. |
| The preferred padding along the start edge of list items. |
| The background of a panel when it is inset from the left and right edges of the screen. |
| Default Panel Menu style. |
| Default Panel Menu width. |
| Default PopupMenu style. |
| Default PopupWindow style. |
| Default RadioButton style. |
| Default RatingBar style. |
| Indicator RatingBar style. |
| Small indicator RatingBar style. |
| Style for the search query widget. |
| Default SeekBar style. |
| 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. |
| Background drawable for borderless standalone items that need focus/pressed states. |
| Default Spinner style. |
| Default Spinner style. |
| Default style for the Switch widget. |
| Text color, typeface, size, and style for the text inside of a popup menu. |
| The preferred TextAppearance for the primary text of list items. |
| The preferred TextAppearance for the secondary text of list items. |
| The preferred TextAppearance for the primary text of small list items. |
| Text color, typeface, size, and style for header text inside of a popup menu. |
| Text color, typeface, size, and style for system search result subtitle. |
| Text color, typeface, size, and style for system search result title. |
| Text color, typeface, size, and style for small text inside of a popup menu. |
| Color of list item text in alert dialogs. |
| Text color for urls in search suggestions, used by things like global search |
| Default Toolar NavigationButtonStyle |
| Default Toolbar style. |
| Foreground color to use for tooltips |
| Background to use for tooltips |
| |
| Flag indicating whether this window should have an Action Bar in place of the usual title bar. |
| Flag indicating whether this window's Action Bar should overlay application content. |
| Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). |
| 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. |
| The minimum width the window is allowed to be, along the major axis of the screen. |
| The minimum width the window is allowed to be, along the minor axis of the screen. |
| Flag indicating whether there should be no title on this window. |
See also:
AppCompatTheme_android_windowIsFloating
AppCompatTheme_android_windowAnimationStyle
AppCompatTheme_actionBarDivider
AppCompatTheme_actionBarItemBackground
AppCompatTheme_actionBarPopupTheme
AppCompatTheme_actionBarSize
AppCompatTheme_actionBarSplitStyle
AppCompatTheme_actionBarStyle
AppCompatTheme_actionBarTabBarStyle
AppCompatTheme_actionBarTabStyle
AppCompatTheme_actionBarTabTextStyle
AppCompatTheme_actionBarTheme
AppCompatTheme_actionBarWidgetTheme
AppCompatTheme_actionButtonStyle
AppCompatTheme_actionDropDownStyle
AppCompatTheme_actionMenuTextAppearance
AppCompatTheme_actionMenuTextColor
AppCompatTheme_actionModeBackground
AppCompatTheme_actionModeCloseButtonStyle
AppCompatTheme_actionModeCloseContentDescription
AppCompatTheme_actionModeCloseDrawable
AppCompatTheme_actionModeCopyDrawable
AppCompatTheme_actionModeCutDrawable
AppCompatTheme_actionModeFindDrawable
AppCompatTheme_actionModePasteDrawable
AppCompatTheme_actionModePopupWindowStyle
AppCompatTheme_actionModeSelectAllDrawable
AppCompatTheme_actionModeShareDrawable
AppCompatTheme_actionModeSplitBackground
AppCompatTheme_actionModeStyle
AppCompatTheme_actionModeTheme
AppCompatTheme_actionModeWebSearchDrawable
AppCompatTheme_actionOverflowButtonStyle
AppCompatTheme_actionOverflowMenuStyle
AppCompatTheme_activityChooserViewStyle
AppCompatTheme_alertDialogButtonGroupStyle
AppCompatTheme_alertDialogCenterButtons
AppCompatTheme_alertDialogStyle
AppCompatTheme_alertDialogTheme
AppCompatTheme_autoCompleteTextViewStyle
AppCompatTheme_borderlessButtonStyle
AppCompatTheme_buttonBarButtonStyle
AppCompatTheme_buttonBarNegativeButtonStyle
AppCompatTheme_buttonBarNeutralButtonStyle
AppCompatTheme_buttonBarPositiveButtonStyle
AppCompatTheme_buttonBarStyle
AppCompatTheme_buttonStyle
AppCompatTheme_buttonStyleSmall
AppCompatTheme_checkboxStyle
AppCompatTheme_checkedTextViewStyle
AppCompatTheme_colorAccent
AppCompatTheme_colorBackgroundFloating
AppCompatTheme_colorButtonNormal
AppCompatTheme_colorControlActivated
AppCompatTheme_colorControlHighlight
AppCompatTheme_colorControlNormal
AppCompatTheme_colorError
AppCompatTheme_colorPrimary
AppCompatTheme_colorPrimaryDark
AppCompatTheme_colorSwitchThumbNormal
AppCompatTheme_controlBackground
AppCompatTheme_dialogCornerRadius
AppCompatTheme_dialogPreferredPadding
AppCompatTheme_dialogTheme
AppCompatTheme_dividerHorizontal
AppCompatTheme_dividerVertical
AppCompatTheme_dropDownListViewStyle
AppCompatTheme_dropdownListPreferredItemHeight
AppCompatTheme_editTextBackground
AppCompatTheme_editTextColor
AppCompatTheme_editTextStyle
AppCompatTheme_homeAsUpIndicator
AppCompatTheme_imageButtonStyle
AppCompatTheme_listChoiceBackgroundIndicator
AppCompatTheme_listChoiceIndicatorMultipleAnimated
AppCompatTheme_listChoiceIndicatorSingleAnimated
AppCompatTheme_listDividerAlertDialog
AppCompatTheme_listMenuViewStyle
AppCompatTheme_listPopupWindowStyle
AppCompatTheme_listPreferredItemHeight
AppCompatTheme_listPreferredItemHeightLarge
AppCompatTheme_listPreferredItemHeightSmall
AppCompatTheme_listPreferredItemPaddingEnd
AppCompatTheme_listPreferredItemPaddingLeft
AppCompatTheme_listPreferredItemPaddingRight
AppCompatTheme_listPreferredItemPaddingStart
AppCompatTheme_panelBackground
AppCompatTheme_panelMenuListTheme
AppCompatTheme_panelMenuListWidth
AppCompatTheme_popupMenuStyle
AppCompatTheme_popupWindowStyle
AppCompatTheme_radioButtonStyle
AppCompatTheme_ratingBarStyle
AppCompatTheme_ratingBarStyleIndicator
AppCompatTheme_ratingBarStyleSmall
AppCompatTheme_searchViewStyle
AppCompatTheme_seekBarStyle
AppCompatTheme_selectableItemBackground
AppCompatTheme_selectableItemBackgroundBorderless
AppCompatTheme_spinnerDropDownItemStyle
AppCompatTheme_spinnerStyle
AppCompatTheme_switchStyle
AppCompatTheme_textAppearanceLargePopupMenu
AppCompatTheme_textAppearanceListItem
AppCompatTheme_textAppearanceListItemSecondary
AppCompatTheme_textAppearanceListItemSmall
AppCompatTheme_textAppearancePopupMenuHeader
AppCompatTheme_textAppearanceSearchResultSubtitle
AppCompatTheme_textAppearanceSearchResultTitle
AppCompatTheme_textAppearanceSmallPopupMenu
AppCompatTheme_textColorAlertDialogListItem
AppCompatTheme_textColorSearchUrl
AppCompatTheme_toolbarNavigationButtonStyle
AppCompatTheme_toolbarStyle
AppCompatTheme_tooltipForegroundColor
AppCompatTheme_tooltipFrameBackground
AppCompatTheme_viewInflaterClass
AppCompatTheme_windowActionBar
AppCompatTheme_windowActionBarOverlay
AppCompatTheme_windowActionModeOverlay
AppCompatTheme_windowFixedHeightMajor
AppCompatTheme_windowFixedHeightMinor
AppCompatTheme_windowFixedWidthMajor
AppCompatTheme_windowFixedWidthMinor
AppCompatTheme_windowMinWidthMajor
AppCompatTheme_windowMinWidthMinor
AppCompatTheme_windowNoTitle
AppCompatTheme_actionBarDivider
public static int AppCompatTheme_actionBarDivider
Custom divider drawable to use for elements in the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarItemBackground
public static int AppCompatTheme_actionBarItemBackground
Custom item state list drawable background for action bar items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarPopupTheme
public static int AppCompatTheme_actionBarPopupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarSize
public static int AppCompatTheme_actionBarSize
Size of the Action Bar, including the contextual bar used to present Action Modes.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
wrap_content | 0 |
AppCompatTheme_actionBarSplitStyle
public static int AppCompatTheme_actionBarSplitStyle
Reference to a style for the split Action Bar. This style controls the split component that holds the menu/action buttons. actionBarStyle is still used for the primary bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarStyle
public static int AppCompatTheme_actionBarStyle
Reference to a style for the Action Bar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarTabBarStyle
public static int AppCompatTheme_actionBarTabBarStyle
This symbol is the offset where the R.attr.actionBarTabBarStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarTabStyle
public static int AppCompatTheme_actionBarTabStyle
Default style for tabs within an action bar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarTabTextStyle
public static int AppCompatTheme_actionBarTabTextStyle
This symbol is the offset where the R.attr.actionBarTabTextStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarTheme
public static int AppCompatTheme_actionBarTheme
Reference to a theme that should be used to inflate the action bar. This will be inherited by any widget inflated into the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionBarWidgetTheme
public static int AppCompatTheme_actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. Most of the time this will be a reference to the current theme, but when the action bar has a significantly different contrast profile than the rest of the activity the difference can become important. If this is set to @null the current theme will be used.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionButtonStyle
public static int AppCompatTheme_actionButtonStyle
Default action button style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionDropDownStyle
public static int AppCompatTheme_actionDropDownStyle
Default ActionBar dropdown style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionMenuTextAppearance
public static int AppCompatTheme_actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action menu items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionMenuTextColor
public static int AppCompatTheme_actionMenuTextColor
Color for text that appears within action menu items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_actionModeBackground
public static int AppCompatTheme_actionModeBackground
Background drawable to use for action mode UI
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeCloseButtonStyle
public static int AppCompatTheme_actionModeCloseButtonStyle
This symbol is the offset where the R.attr.actionModeCloseButtonStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeCloseContentDescription
public static int AppCompatTheme_actionModeCloseContentDescription
Content description to use for the close action mode button
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AppCompatTheme_actionModeCloseDrawable
public static int AppCompatTheme_actionModeCloseDrawable
Drawable to use for the close action mode button
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeCopyDrawable
public static int AppCompatTheme_actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeCutDrawable
public static int AppCompatTheme_actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeFindDrawable
public static int AppCompatTheme_actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModePasteDrawable
public static int AppCompatTheme_actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModePopupWindowStyle
public static int AppCompatTheme_actionModePopupWindowStyle
PopupWindow style to use for action modes when showing as a window overlay.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeSelectAllDrawable
public static int AppCompatTheme_actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeShareDrawable
public static int AppCompatTheme_actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeSplitBackground
public static int AppCompatTheme_actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeStyle
public static int AppCompatTheme_actionModeStyle
This symbol is the offset where the R.attr.actionModeStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeTheme
public static int AppCompatTheme_actionModeTheme
Reference to a theme that should be used to inflate the action bar in action mode. This will be inherited by any widget inflated into the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionModeWebSearchDrawable
public static int AppCompatTheme_actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionOverflowButtonStyle
public static int AppCompatTheme_actionOverflowButtonStyle
This symbol is the offset where the R.attr.actionOverflowButtonStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_actionOverflowMenuStyle
public static int AppCompatTheme_actionOverflowMenuStyle
This symbol is the offset where the R.attr.actionOverflowMenuStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_activityChooserViewStyle
public static int AppCompatTheme_activityChooserViewStyle
Default ActivityChooserView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_alertDialogButtonGroupStyle
public static int AppCompatTheme_alertDialogButtonGroupStyle
This symbol is the offset where the R.attr.alertDialogButtonGroupStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_alertDialogCenterButtons
public static int AppCompatTheme_alertDialogCenterButtons
This symbol is the offset where the R.attr.alertDialogCenterButtons
attribute's value can be found in the AppCompatTheme
array.
May be a boolean value, such as "true
" or
"false
".
AppCompatTheme_alertDialogStyle
public static int AppCompatTheme_alertDialogStyle
This symbol is the offset where the R.attr.alertDialogStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_alertDialogTheme
public static int AppCompatTheme_alertDialogTheme
Theme to use for alert dialogs spawned from this theme.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_android_windowAnimationStyle
public static int AppCompatTheme_android_windowAnimationStyle
This symbol is the offset where the R.attr.windowAnimationStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_android_windowIsFloating
public static int AppCompatTheme_android_windowIsFloating
This symbol is the offset where the R.attr.windowIsFloating
attribute's value can be found in the AppCompatTheme
array.
May be a boolean value, such as "true
" or
"false
".
AppCompatTheme_autoCompleteTextViewStyle
public static int AppCompatTheme_autoCompleteTextViewStyle
Default AutoCompleteTextView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_borderlessButtonStyle
public static int AppCompatTheme_borderlessButtonStyle
Style for buttons without an explicit border, often used in groups.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_buttonBarButtonStyle
public static int AppCompatTheme_buttonBarButtonStyle
Style for buttons within button bars
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_buttonBarNegativeButtonStyle
public static int AppCompatTheme_buttonBarNegativeButtonStyle
Style for the "negative" buttons within button bars
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_buttonBarNeutralButtonStyle
public static int AppCompatTheme_buttonBarNeutralButtonStyle
Style for the "neutral" buttons within button bars
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_buttonBarPositiveButtonStyle
public static int AppCompatTheme_buttonBarPositiveButtonStyle
Style for the "positive" buttons within button bars
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_buttonBarStyle
public static int AppCompatTheme_buttonBarStyle
Style for button bars
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_buttonStyle
public static int AppCompatTheme_buttonStyle
Normal Button style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_buttonStyleSmall
public static int AppCompatTheme_buttonStyleSmall
Small Button style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_checkboxStyle
public static int AppCompatTheme_checkboxStyle
Default Checkbox style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_checkedTextViewStyle
public static int AppCompatTheme_checkedTextViewStyle
Default CheckedTextView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_colorAccent
public static int AppCompatTheme_colorAccent
Bright complement to the primary branding color. By default, this is the color applied to framework controls (via colorControlActivated).
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorBackgroundFloating
public static int AppCompatTheme_colorBackgroundFloating
Default color of background imagery for floating components, ex. dialogs, popups, and cards.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorButtonNormal
public static int AppCompatTheme_colorButtonNormal
The color applied to framework buttons in their normal state.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorControlActivated
public static int AppCompatTheme_colorControlActivated
The color applied to framework controls in their activated (ex. checked) state.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorControlHighlight
public static int AppCompatTheme_colorControlHighlight
The color applied to framework control highlights (ex. ripples, list selectors).
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorControlNormal
public static int AppCompatTheme_colorControlNormal
The color applied to framework controls in their normal state.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorError
public static int AppCompatTheme_colorError
Color used for error states and things that need to be drawn to the user's attention.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorPrimary
public static int AppCompatTheme_colorPrimary
The primary branding color for the app. By default, this is the color applied to the action bar background.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorPrimaryDark
public static int AppCompatTheme_colorPrimaryDark
Dark variant of the primary branding color. By default, this is the color applied to the status bar (via statusBarColor) and navigation bar (via navigationBarColor).
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_colorSwitchThumbNormal
public static int AppCompatTheme_colorSwitchThumbNormal
The color applied to framework switch thumbs in their normal state.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_controlBackground
public static int AppCompatTheme_controlBackground
The background used by framework controls.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_dialogCornerRadius
public static int AppCompatTheme_dialogCornerRadius
Preferred corner radius of dialogs.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_dialogPreferredPadding
public static int AppCompatTheme_dialogPreferredPadding
Preferred padding for dialog content.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_dialogTheme
public static int AppCompatTheme_dialogTheme
Theme to use for dialogs spawned from this theme.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_dividerHorizontal
public static int AppCompatTheme_dividerHorizontal
A drawable that may be used as a horizontal divider between visual elements.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_dividerVertical
public static int AppCompatTheme_dividerVertical
A drawable that may be used as a vertical divider between visual elements.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_dropDownListViewStyle
public static int AppCompatTheme_dropDownListViewStyle
ListPopupWindow compatibility
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_dropdownListPreferredItemHeight
public static int AppCompatTheme_dropdownListPreferredItemHeight
The preferred item height for dropdown lists.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_editTextBackground
public static int AppCompatTheme_editTextBackground
EditText background drawable.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_editTextColor
public static int AppCompatTheme_editTextColor
EditText text foreground color.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_editTextStyle
public static int AppCompatTheme_editTextStyle
Default EditText style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_homeAsUpIndicator
public static int AppCompatTheme_homeAsUpIndicator
Specifies a drawable to use for the 'home as up' indicator.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_imageButtonStyle
public static int AppCompatTheme_imageButtonStyle
ImageButton background drawable.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_listChoiceBackgroundIndicator
public static int AppCompatTheme_listChoiceBackgroundIndicator
Drawable used as a background for selected list items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_listChoiceIndicatorMultipleAnimated
public static int AppCompatTheme_listChoiceIndicatorMultipleAnimated
Animated Drawable to use for multiple choice indicators.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_listChoiceIndicatorSingleAnimated
public static int AppCompatTheme_listChoiceIndicatorSingleAnimated
Animated Drawable to use for single choice indicators.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_listDividerAlertDialog
public static int AppCompatTheme_listDividerAlertDialog
The list divider used in alert dialogs.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_listMenuViewStyle
public static int AppCompatTheme_listMenuViewStyle
Default menu-style ListView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_listPopupWindowStyle
public static int AppCompatTheme_listPopupWindowStyle
This symbol is the offset where the R.attr.listPopupWindowStyle
attribute's value can be found in the AppCompatTheme
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_listPreferredItemHeight
public static int AppCompatTheme_listPreferredItemHeight
The preferred list item height.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_listPreferredItemHeightLarge
public static int AppCompatTheme_listPreferredItemHeightLarge
A larger, more robust list item height.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_listPreferredItemHeightSmall
public static int AppCompatTheme_listPreferredItemHeightSmall
A smaller, sleeker list item height.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_listPreferredItemPaddingEnd
public static int AppCompatTheme_listPreferredItemPaddingEnd
The preferred padding along the end edge of list items.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_listPreferredItemPaddingLeft
public static int AppCompatTheme_listPreferredItemPaddingLeft
The preferred padding along the left edge of list items.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_listPreferredItemPaddingRight
public static int AppCompatTheme_listPreferredItemPaddingRight
The preferred padding along the right edge of list items.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_listPreferredItemPaddingStart
public static int AppCompatTheme_listPreferredItemPaddingStart
The preferred padding along the start edge of list items.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_panelBackground
public static int AppCompatTheme_panelBackground
The background of a panel when it is inset from the left and right edges of the screen.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_panelMenuListTheme
public static int AppCompatTheme_panelMenuListTheme
Default Panel Menu style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_panelMenuListWidth
public static int AppCompatTheme_panelMenuListWidth
Default Panel Menu width.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
AppCompatTheme_popupMenuStyle
public static int AppCompatTheme_popupMenuStyle
Default PopupMenu style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_popupWindowStyle
public static int AppCompatTheme_popupWindowStyle
Default PopupWindow style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_radioButtonStyle
public static int AppCompatTheme_radioButtonStyle
Default RadioButton style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_ratingBarStyle
public static int AppCompatTheme_ratingBarStyle
Default RatingBar style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_ratingBarStyleIndicator
public static int AppCompatTheme_ratingBarStyleIndicator
Indicator RatingBar style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_ratingBarStyleSmall
public static int AppCompatTheme_ratingBarStyleSmall
Small indicator RatingBar style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_searchViewStyle
public static int AppCompatTheme_searchViewStyle
Style for the search query widget.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_seekBarStyle
public static int AppCompatTheme_seekBarStyle
Default SeekBar style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_selectableItemBackground
public static int AppCompatTheme_selectableItemBackground
A style that may be applied to buttons or other selectable items that should react to pressed and focus states, but that do not have a clear visual border along the edges.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_selectableItemBackgroundBorderless
public static int AppCompatTheme_selectableItemBackgroundBorderless
Background drawable for borderless standalone items that need focus/pressed states.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_spinnerDropDownItemStyle
public static int AppCompatTheme_spinnerDropDownItemStyle
Default Spinner style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_spinnerStyle
public static int AppCompatTheme_spinnerStyle
Default Spinner style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_switchStyle
public static int AppCompatTheme_switchStyle
Default style for the Switch widget.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearanceLargePopupMenu
public static int AppCompatTheme_textAppearanceLargePopupMenu
Text color, typeface, size, and style for the text inside of a popup menu.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearanceListItem
public static int AppCompatTheme_textAppearanceListItem
The preferred TextAppearance for the primary text of list items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearanceListItemSecondary
public static int AppCompatTheme_textAppearanceListItemSecondary
The preferred TextAppearance for the secondary text of list items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearanceListItemSmall
public static int AppCompatTheme_textAppearanceListItemSmall
The preferred TextAppearance for the primary text of small list items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearancePopupMenuHeader
public static int AppCompatTheme_textAppearancePopupMenuHeader
Text color, typeface, size, and style for header text inside of a popup menu.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearanceSearchResultSubtitle
public static int AppCompatTheme_textAppearanceSearchResultSubtitle
Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearanceSearchResultTitle
public static int AppCompatTheme_textAppearanceSearchResultTitle
Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textAppearanceSmallPopupMenu
public static int AppCompatTheme_textAppearanceSmallPopupMenu
Text color, typeface, size, and style for small text inside of a popup menu.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_textColorAlertDialogListItem
public static int AppCompatTheme_textColorAlertDialogListItem
Color of list item text in alert dialogs.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_textColorSearchUrl
public static int AppCompatTheme_textColorSearchUrl
Text color for urls in search suggestions, used by things like global search
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_toolbarNavigationButtonStyle
public static int AppCompatTheme_toolbarNavigationButtonStyle
Default Toolar NavigationButtonStyle
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_toolbarStyle
public static int AppCompatTheme_toolbarStyle
Default Toolbar style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_tooltipForegroundColor
public static int AppCompatTheme_tooltipForegroundColor
Foreground color to use for tooltips
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
AppCompatTheme_tooltipFrameBackground
public static int AppCompatTheme_tooltipFrameBackground
Background to use for tooltips
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
AppCompatTheme_viewInflaterClass
public static int AppCompatTheme_viewInflaterClass
This symbol is the offset where the R.attr.viewInflaterClass
attribute's value can be found in the AppCompatTheme
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
AppCompatTheme_windowActionBar
public static int AppCompatTheme_windowActionBar
Flag indicating whether this window should have an Action Bar in place of the usual title bar.
May be a boolean value, such as "true
" or
"false
".
AppCompatTheme_windowActionBarOverlay
public static int AppCompatTheme_windowActionBarOverlay
Flag indicating whether this window's Action Bar should overlay application content. Does nothing if the window would not have an Action Bar.
May be a boolean value, such as "true
" or
"false
".
AppCompatTheme_windowActionModeOverlay
public static int AppCompatTheme_windowActionModeOverlay
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
May be a boolean value, such as "true
" or
"false
".
AppCompatTheme_windowFixedHeightMajor
public static int AppCompatTheme_windowFixedHeightMajor
A fixed height for the window along the major axis of the screen, that is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
May be a fractional value, which is a floating point number appended with
either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size;
the optional %p suffix provides a size relative to some parent container.
AppCompatTheme_windowFixedHeightMinor
public static int AppCompatTheme_windowFixedHeightMinor
A fixed height for the window along the minor axis of the screen, that is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
May be a fractional value, which is a floating point number appended with
either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size;
the optional %p suffix provides a size relative to some parent container.
AppCompatTheme_windowFixedWidthMajor
public static int AppCompatTheme_windowFixedWidthMajor
A fixed width for the window along the major axis of the screen, that is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
May be a fractional value, which is a floating point number appended with
either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size;
the optional %p suffix provides a size relative to some parent container.
AppCompatTheme_windowFixedWidthMinor
public static int AppCompatTheme_windowFixedWidthMinor
A fixed width for the window along the minor axis of the screen, that is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
May be a fractional value, which is a floating point number appended with
either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size;
the optional %p suffix provides a size relative to some parent container.
AppCompatTheme_windowMinWidthMajor
public static int AppCompatTheme_windowMinWidthMajor
The minimum width the window is allowed to be, along the major axis of the screen. That is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
May be a fractional value, which is a floating point number appended with
either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size;
the optional %p suffix provides a size relative to some parent container.
AppCompatTheme_windowMinWidthMinor
public static int AppCompatTheme_windowMinWidthMinor
The minimum width the window is allowed to be, along the minor axis of the screen. That is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
May be a fractional value, which is a floating point number appended with
either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size;
the optional %p suffix provides a size relative to some parent container.
AppCompatTheme_windowNoTitle
public static int AppCompatTheme_windowNoTitle
Flag indicating whether there should be no title on this window.
May be a boolean value, such as "true
" or
"false
".
BackgroundStyle
public static final int[] BackgroundStyle
Attributes that can be used with a BackgroundStyle.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| 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. |
BackgroundStyle_android_selectableItemBackground
public static int BackgroundStyle_android_selectableItemBackground
This symbol is the offset where the R.attr.selectableItemBackground
attribute's value can be found in the BackgroundStyle
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
BackgroundStyle_selectableItemBackground
public static int BackgroundStyle_selectableItemBackground
Need a non-android: attr here so that gradle doesn't remove it
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
BoxInsetLayout_Layout
public static final int[] BoxInsetLayout_Layout
Attributes that can be used with a BoxInsetLayout_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
BoxInsetLayout_Layout_layout_box
public static int BoxInsetLayout_Layout_layout_box
This symbol is the offset where the R.attr.layout_box
attribute's value can be found in the BoxInsetLayout_Layout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
all | f | |
bottom | 8 | |
left | 1 | |
right | 4 | |
top | 2 |
ButtonBarLayout
public static final int[] ButtonBarLayout
Attributes that can be used with a ButtonBarLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| Whether to automatically stack the buttons when there is not enough space to lay them out side-by-side. |
See also:
ButtonBarLayout_allowStacking
public static int ButtonBarLayout_allowStacking
Whether to automatically stack the buttons when there is not enough space to lay them out side-by-side.
May be a boolean value, such as "true
" or
"false
".
Capability
public static final int[] Capability
Attributes that can be used with a Capability.
Includes the following attributes:
Attribute | Description |
---|---|
| Resource reference to the string array of query patterns for a custom capability. |
| Indicates whether a parameter in a capability template can only contain a matched shortcut id and not an arbitrary string. |
Capability_queryPatterns
public static int Capability_queryPatterns
Resource reference to the string array of query patterns for a custom capability.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Capability_shortcutMatchRequired
public static int Capability_shortcutMatchRequired
Indicates whether a parameter in a capability template can only contain a matched shortcut id and not an arbitrary string.
May be a boolean value, such as "true
" or
"false
".
CheckBoxPreference
public static final int[] CheckBoxPreference
Attributes that can be used with a CheckBoxPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| The state (true for on, or false for off) that causes dependents to be disabled. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. |
CheckBoxPreference_android_disableDependentsState
public static int CheckBoxPreference_android_disableDependentsState
This symbol is the offset where the R.attr.disableDependentsState
attribute's value can be found in the CheckBoxPreference
array.
May be a boolean value, such as "true
" or
"false
".
CheckBoxPreference_android_summaryOff
public static int CheckBoxPreference_android_summaryOff
This symbol is the offset where the R.attr.summaryOff
attribute's value can be found in the CheckBoxPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
CheckBoxPreference_android_summaryOn
public static int CheckBoxPreference_android_summaryOn
This symbol is the offset where the R.attr.summaryOn
attribute's value can be found in the CheckBoxPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
CheckBoxPreference_disableDependentsState
public static int CheckBoxPreference_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.
May be a boolean value, such as "true
" or
"false
".
CheckBoxPreference_summaryOff
public static int CheckBoxPreference_summaryOff
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
CheckBoxPreference_summaryOn
public static int CheckBoxPreference_summaryOn
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
CheckedTextView
public static final int[] CheckedTextView
Attributes that can be used with a CheckedTextView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| Compat attr to load backported drawable types |
| Tint to apply to the check mark drawable. |
| Blending mode used to apply the check mark tint. |
CheckedTextView_android_checkMark
public static int CheckedTextView_android_checkMark
This symbol is the offset where the R.attr.checkMark
attribute's value can be found in the CheckedTextView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
CheckedTextView_checkMarkCompat
public static int CheckedTextView_checkMarkCompat
Compat attr to load backported drawable types
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
CheckedTextView_checkMarkTint
public static int CheckedTextView_checkMarkTint
Tint to apply to the check mark drawable.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CheckedTextView_checkMarkTintMode
public static int CheckedTextView_checkMarkTintMode
Blending mode used to apply the check mark tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
CircledImageView
public static final int[] CircledImageView
Attributes that can be used with a CircledImageView.
Includes the following attributes:
See also:
CircledImageView_android_src
CircledImageView_circle_border_cap
CircledImageView_circle_border_color
CircledImageView_circle_border_width
CircledImageView_circle_color
CircledImageView_circle_padding
CircledImageView_circle_radius
CircledImageView_circle_radius_percent
CircledImageView_circle_radius_pressed
CircledImageView_circle_radius_pressed_percent
CircledImageView_image_circle_percentage
CircledImageView_image_horizontal_offcenter_percentage
CircledImageView_image_tint
CircledImageView_shadow_width
CircledImageView_square_dimen
CircledImageView_android_src
public static int CircledImageView_android_src
This symbol is the offset where the R.attr.src
attribute's value can be found in the CircledImageView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CircledImageView_circle_border_cap
public static int CircledImageView_circle_border_cap
This symbol is the offset where the R.attr.circle_border_cap
attribute's value can be found in the CircledImageView
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
butt | 0 | |
round | 1 | |
square | 2 |
CircledImageView_circle_border_color
public static int CircledImageView_circle_border_color
This symbol is the offset where the R.attr.circle_border_color
attribute's value can be found in the CircledImageView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CircledImageView_circle_border_width
public static int CircledImageView_circle_border_width
This symbol is the offset where the R.attr.circle_border_width
attribute's value can be found in the CircledImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircledImageView_circle_color
public static int CircledImageView_circle_color
This symbol is the offset where the R.attr.circle_color
attribute's value can be found in the CircledImageView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CircledImageView_circle_padding
public static int CircledImageView_circle_padding
This symbol is the offset where the R.attr.circle_padding
attribute's value can be found in the CircledImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircledImageView_circle_radius
public static int CircledImageView_circle_radius
This symbol is the offset where the R.attr.circle_radius
attribute's value can be found in the CircledImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircledImageView_circle_radius_percent
public static int CircledImageView_circle_radius_percent
This symbol is the offset where the R.attr.circle_radius_percent
attribute's value can be found in the CircledImageView
array.
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.
CircledImageView_circle_radius_pressed
public static int CircledImageView_circle_radius_pressed
This symbol is the offset where the R.attr.circle_radius_pressed
attribute's value can be found in the CircledImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircledImageView_circle_radius_pressed_percent
public static int CircledImageView_circle_radius_pressed_percent
This symbol is the offset where the R.attr.circle_radius_pressed_percent
attribute's value can be found in the CircledImageView
array.
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.
CircledImageView_image_circle_percentage
public static int CircledImageView_image_circle_percentage
This symbol is the offset where the R.attr.image_circle_percentage
attribute's value can be found in the CircledImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircledImageView_image_horizontal_offcenter_percentage
public static int CircledImageView_image_horizontal_offcenter_percentage
This symbol is the offset where the R.attr.image_horizontal_offcenter_percentage
attribute's value can be found in the CircledImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircledImageView_image_tint
public static int CircledImageView_image_tint
This symbol is the offset where the R.attr.image_tint
attribute's value can be found in the CircledImageView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CircledImageView_shadow_width
public static int CircledImageView_shadow_width
This symbol is the offset where the R.attr.shadow_width
attribute's value can be found in the CircledImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircledImageView_square_dimen
public static int CircledImageView_square_dimen
This symbol is the offset where the R.attr.square_dimen
attribute's value can be found in the CircledImageView
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
height | 1 | |
none | 0 | |
width | 2 |
CircularButton
public static final int[] CircularButton
Attributes that can be used with a CircularButton.
Includes the following attributes:
CircularButton_android_clickable
public static int CircularButton_android_clickable
This symbol is the offset where the R.attr.clickable
attribute's value can be found in the CircularButton
array.
May be a boolean value, such as "true
" or
"false
".
CircularButton_android_color
public static int CircularButton_android_color
This symbol is the offset where the R.attr.color
attribute's value can be found in the CircularButton
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CircularButton_android_elevation
public static int CircularButton_android_elevation
This symbol is the offset where the R.attr.elevation
attribute's value can be found in the CircularButton
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
CircularButton_android_src
public static int CircularButton_android_src
This symbol is the offset where the R.attr.src
attribute's value can be found in the CircularButton
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CircularButton_android_stateListAnimator
public static int CircularButton_android_stateListAnimator
This symbol is the offset where the R.attr.stateListAnimator
attribute's value can be found in the CircularButton
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
CircularButton_buttonRippleColor
public static int CircularButton_buttonRippleColor
This symbol is the offset where the R.attr.buttonRippleColor
attribute's value can be found in the CircularButton
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CircularButton_imageScaleMode
public static int CircularButton_imageScaleMode
This symbol is the offset where the R.attr.imageScaleMode
attribute's value can be found in the CircularButton
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
center | 1 | |
fit | 0 |
CircularButton_pressedButtonTranslationZ
public static int CircularButton_pressedButtonTranslationZ
This symbol is the offset where the R.attr.pressedButtonTranslationZ
attribute's value can be found in the CircularButton
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ColorStateListItem
public static final int[] ColorStateListItem
Attributes that can be used with a ColorStateListItem.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| Alpha multiplier applied to the base color. |
| Perceptual luminance applied to the base color. |
ColorStateListItem_alpha
public static int ColorStateListItem_alpha
Alpha multiplier applied to the base color.
May be a floating point value, such as "1.2
".
ColorStateListItem_android_alpha
public static int ColorStateListItem_android_alpha
This symbol is the offset where the R.attr.alpha
attribute's value can be found in the ColorStateListItem
array.
May be a floating point value, such as "1.2
".
ColorStateListItem_android_color
public static int ColorStateListItem_android_color
Base color for this state.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ColorStateListItem_android_lStar
public static int ColorStateListItem_android_lStar
This symbol is the offset where the R.attr.lStar
attribute's value can be found in the ColorStateListItem
array.
May be a floating point value, such as "1.2
".
ColorStateListItem_lStar
public static int ColorStateListItem_lStar
Perceptual luminance applied to the base color. From 0 to 100.
May be a floating point value, such as "1.2
".
ComplicationDrawable
public static final int[] ComplicationDrawable
Attributes that can be used with a ComplicationDrawable.
Includes the following attributes:
Attribute | Description |
---|---|
| Defines the background color. |
| Defines the drawable to be used as a background. |
| Defines border color. |
| Defines dash gap for borders with style 'dashed'. |
| Defines dash width for borders with style 'dashed'. |
| Defines border radius. |
| Defines border style. |
| Defines stroke width for borders. |
| Defines highlight color. |
| Defines icon tint color. |
| Defines main color for ranged value indicator. |
| Defines visibility for ranged value indicator. |
| Defines stroke width for ranged value indicator. |
| Defines secondary color for ranged value indicator. |
| Defines text color for short text and long text fields. |
| Defines text size for short text and long text fields. |
| Defines typeface for short text and long text fields. |
| Defines text color for short title and long title fields. |
| Defines text size for short title and long title fields. |
| Defines typeface for short title and long title fields. |
See also:
ComplicationDrawable_backgroundColor
ComplicationDrawable_backgroundDrawable
ComplicationDrawable_borderColor
ComplicationDrawable_borderDashGap
ComplicationDrawable_borderDashWidth
ComplicationDrawable_borderRadius
ComplicationDrawable_borderStyle
ComplicationDrawable_borderWidth
ComplicationDrawable_highlightColor
ComplicationDrawable_iconColor
ComplicationDrawable_rangedValuePrimaryColor
ComplicationDrawable_rangedValueProgressHidden
ComplicationDrawable_rangedValueRingWidth
ComplicationDrawable_rangedValueSecondaryColor
ComplicationDrawable_textColor
ComplicationDrawable_textSize
ComplicationDrawable_textTypeface
ComplicationDrawable_titleColor
ComplicationDrawable_titleSize
ComplicationDrawable_titleTypeface
ComplicationDrawable_backgroundColor
public static int ComplicationDrawable_backgroundColor
Defines the background color.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_backgroundDrawable
public static int ComplicationDrawable_backgroundDrawable
Defines the drawable to be used as a background. Corners of the drawable will be rounded if border radius of the complication drawable is non-zero. Even if a background drawable is set, background color will still be used to fill background of the complication before drawing the drawable.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ComplicationDrawable_borderColor
public static int ComplicationDrawable_borderColor
Defines border color.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_borderDashGap
public static int ComplicationDrawable_borderDashGap
Defines dash gap for borders with style 'dashed'.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ComplicationDrawable_borderDashWidth
public static int ComplicationDrawable_borderDashWidth
Defines dash width for borders with style 'dashed'.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ComplicationDrawable_borderRadius
public static int ComplicationDrawable_borderRadius
Defines border radius. Padding will be applied to the content to avoid overflow if border radius is not zero.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ComplicationDrawable_borderStyle
public static int ComplicationDrawable_borderStyle
Defines border style.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
dashed | 2 | Draw dashed borders. borderDashWidth and borderDashGap attributes can be used to customize dashed borders. |
none | 0 | Do not draw any borders. |
solid | 1 | Draw solid borders. |
ComplicationDrawable_borderWidth
public static int ComplicationDrawable_borderWidth
Defines stroke width for borders.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ComplicationDrawable_highlightColor
public static int ComplicationDrawable_highlightColor
Defines highlight color.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_iconColor
public static int ComplicationDrawable_iconColor
Defines icon tint color.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_rangedValuePrimaryColor
public static int ComplicationDrawable_rangedValuePrimaryColor
Defines main color for ranged value indicator.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_rangedValueProgressHidden
public static int ComplicationDrawable_rangedValueProgressHidden
Defines visibility for ranged value indicator.
May be a boolean value, such as "true
" or
"false
".
ComplicationDrawable_rangedValueRingWidth
public static int ComplicationDrawable_rangedValueRingWidth
Defines stroke width for ranged value indicator.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ComplicationDrawable_rangedValueSecondaryColor
public static int ComplicationDrawable_rangedValueSecondaryColor
Defines secondary color for ranged value indicator.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_textColor
public static int ComplicationDrawable_textColor
Defines text color for short text and long text fields.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_textSize
public static int ComplicationDrawable_textSize
Defines text size for short text and long text fields.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ComplicationDrawable_textTypeface
public static int ComplicationDrawable_textTypeface
Defines typeface for short text and long text fields.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
ComplicationDrawable_titleColor
public static int ComplicationDrawable_titleColor
Defines text color for short title and long title fields.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ComplicationDrawable_titleSize
public static int ComplicationDrawable_titleSize
Defines text size for short title and long title fields.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ComplicationDrawable_titleTypeface
public static int ComplicationDrawable_titleTypeface
Defines typeface for short title and long title fields.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
CompoundButton
public static final int[] CompoundButton
Attributes that can be used with a CompoundButton.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| Compat attr to load backported drawable types |
| Tint to apply to the button drawable. |
| Blending mode used to apply the button tint. |
CompoundButton_android_button
public static int CompoundButton_android_button
This symbol is the offset where the R.attr.button
attribute's value can be found in the CompoundButton
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
CompoundButton_buttonCompat
public static int CompoundButton_buttonCompat
Compat attr to load backported drawable types
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
CompoundButton_buttonTint
public static int CompoundButton_buttonTint
Tint to apply to the button drawable.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
CompoundButton_buttonTintMode
public static int CompoundButton_buttonTintMode
Blending mode used to apply the button tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
CoordinatorLayout
public static final int[] CoordinatorLayout
Attributes that can be used with a CoordinatorLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. |
| Drawable to display behind the status bar when the view is set to draw behind it. |
CoordinatorLayout_Layout
public static final int[] CoordinatorLayout_Layout
Attributes that can be used with a CoordinatorLayout_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| The id of an anchor view that this view should position relative to. |
| Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds. |
| The class name of a Behavior class defining special runtime behavior for this child view. |
| Specifies how this view dodges the inset edges of the CoordinatorLayout. |
| Specifies how this view insets the CoordinatorLayout and make some other views dodge it. |
| The index of a keyline this view should position relative to. |
See also:
CoordinatorLayout_Layout_android_layout_gravity
public static int CoordinatorLayout_Layout_android_layout_gravity
This symbol is the offset where the R.attr.layout_gravity
attribute's value can be found in the CoordinatorLayout_Layout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
end | 800005 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
start | 800003 | |
top | 30 |
CoordinatorLayout_Layout_layout_anchor
public static int CoordinatorLayout_Layout_layout_anchor
The id of an anchor view that this view should position relative to.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
CoordinatorLayout_Layout_layout_anchorGravity
public static int CoordinatorLayout_Layout_layout_anchorGravity
Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Push object to the bottom of its container, not changing its size. |
center | 11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
center_horizontal | 1 | Place object in the horizontal center of its container, not changing its size. |
center_vertical | 10 | Place object in the vertical center of its container, not changing its size. |
clip_horizontal | 8 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
clip_vertical | 80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
end | 800005 | Push object to the end of its container, not changing its size. |
fill | 77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
fill_horizontal | 7 | Grow the horizontal size of the object if needed so it completely fills its container. |
fill_vertical | 70 | Grow the vertical size of the object if needed so it completely fills its container. |
left | 3 | Push object to the left of its container, not changing its size. |
right | 5 | Push object to the right of its container, not changing its size. |
start | 800003 | Push object to the beginning of its container, not changing its size. |
top | 30 | Push object to the top of its container, not changing its size. |
CoordinatorLayout_Layout_layout_behavior
public static int CoordinatorLayout_Layout_layout_behavior
The class name of a Behavior class defining special runtime behavior for this child view.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
CoordinatorLayout_Layout_layout_dodgeInsetEdges
public static int CoordinatorLayout_Layout_layout_dodgeInsetEdges
Specifies how this view dodges the inset edges of the CoordinatorLayout.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
all | 77 | Dodge all the inset edges. |
bottom | 50 | Dodge the bottom inset edge. |
end | 800005 | Dodge the end inset edge. |
left | 3 | Dodge the left inset edge. |
none | 0 | Don't dodge any edges |
right | 5 | Dodge the right inset edge. |
start | 800003 | Dodge the start inset edge. |
top | 30 | Dodge the top inset edge. |
CoordinatorLayout_Layout_layout_insetEdge
public static int CoordinatorLayout_Layout_layout_insetEdge
Specifies how this view insets the CoordinatorLayout and make some other views dodge it.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Inset the bottom edge. |
end | 800005 | Inset the end edge. |
left | 3 | Inset the left edge. |
none | 0 | Don't inset. |
right | 5 | Inset the right edge. |
start | 800003 | Inset the start edge. |
top | 30 | Inset the top edge. |
CoordinatorLayout_Layout_layout_keyline
public static int CoordinatorLayout_Layout_layout_keyline
The index of a keyline this view should position relative to. android:layout_gravity will affect how the view aligns to the specified keyline.
May be an integer value, such as "100
".
CoordinatorLayout_keylines
public static int CoordinatorLayout_keylines
A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. Child views can refer to these keylines for alignment using layout_keyline="index" where index is a 0-based index into this array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
CoordinatorLayout_statusBarBackground
public static int CoordinatorLayout_statusBarBackground
Drawable to display behind the status bar when the view is set to draw behind it.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
DelayedConfirmationView
public static final int[] DelayedConfirmationView
Attributes that can be used with a DelayedConfirmationView.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
DelayedConfirmationView_update_interval
public static int DelayedConfirmationView_update_interval
This symbol is the offset where the R.attr.update_interval
attribute's value can be found in the DelayedConfirmationView
array.
May be an integer value, such as "100
".
DialogPreference
public static final int[] DialogPreference
Attributes that can be used with a DialogPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| |
| The icon for the dialog. |
| A layout to be used as the content View for the dialog. |
| The message in the dialog. |
| The title in the dialog. |
| The negative button text for the dialog. |
| The positive button text for the dialog. |
See also:
DialogPreference_android_dialogTitle
DialogPreference_android_dialogMessage
DialogPreference_android_dialogIcon
DialogPreference_android_positiveButtonText
DialogPreference_android_negativeButtonText
DialogPreference_android_dialogLayout
DialogPreference_dialogIcon
DialogPreference_dialogLayout
DialogPreference_dialogMessage
DialogPreference_dialogTitle
DialogPreference_negativeButtonText
DialogPreference_positiveButtonText
DialogPreference_android_dialogIcon
public static int DialogPreference_android_dialogIcon
This symbol is the offset where the R.attr.dialogIcon
attribute's value can be found in the DialogPreference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
DialogPreference_android_dialogLayout
public static int DialogPreference_android_dialogLayout
This symbol is the offset where the R.attr.dialogLayout
attribute's value can be found in the DialogPreference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
DialogPreference_android_dialogMessage
public static int DialogPreference_android_dialogMessage
This symbol is the offset where the R.attr.dialogMessage
attribute's value can be found in the DialogPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DialogPreference_android_dialogTitle
public static int DialogPreference_android_dialogTitle
This symbol is the offset where the R.attr.dialogTitle
attribute's value can be found in the DialogPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DialogPreference_android_negativeButtonText
public static int DialogPreference_android_negativeButtonText
This symbol is the offset where the R.attr.negativeButtonText
attribute's value can be found in the DialogPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DialogPreference_android_positiveButtonText
public static int DialogPreference_android_positiveButtonText
This symbol is the offset where the R.attr.positiveButtonText
attribute's value can be found in the DialogPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DialogPreference_dialogIcon
public static int DialogPreference_dialogIcon
The icon for the dialog.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
DialogPreference_dialogLayout
public static int DialogPreference_dialogLayout
A layout to be used as the content View for the dialog. By default, this shouldn't be needed. If a custom DialogPreference is required, this should be set. For example, the EditTextPreference uses a layout with an EditText as this attribute.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
DialogPreference_dialogMessage
public static int DialogPreference_dialogMessage
The message in the dialog. If a dialogLayout is provided and contains a TextView with ID android:id/message, this message will be placed in there.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DialogPreference_dialogTitle
public static int DialogPreference_dialogTitle
The title in the dialog.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DialogPreference_negativeButtonText
public static int DialogPreference_negativeButtonText
The negative button text for the dialog. Set to @null to hide the negative button.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DialogPreference_positiveButtonText
public static int DialogPreference_positiveButtonText
The positive button text for the dialog. Set to @null to hide the positive button.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
DotsPageIndicator
public static final int[] DotsPageIndicator
Attributes that can be used with a DotsPageIndicator.
Includes the following attributes:
See also:
DotsPageIndicator_dotColor
DotsPageIndicator_dotColorSelected
DotsPageIndicator_dotFadeInDuration
DotsPageIndicator_dotFadeOutDelay
DotsPageIndicator_dotFadeOutDuration
DotsPageIndicator_dotFadeWhenIdle
DotsPageIndicator_dotRadius
DotsPageIndicator_dotRadiusSelected
DotsPageIndicator_dotShadowColor
DotsPageIndicator_dotShadowDx
DotsPageIndicator_dotShadowDy
DotsPageIndicator_dotShadowRadius
DotsPageIndicator_dotSpacing
DotsPageIndicator_dotColor
public static int DotsPageIndicator_dotColor
This symbol is the offset where the R.attr.dotColor
attribute's value can be found in the DotsPageIndicator
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
DotsPageIndicator_dotColorSelected
public static int DotsPageIndicator_dotColorSelected
This symbol is the offset where the R.attr.dotColorSelected
attribute's value can be found in the DotsPageIndicator
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
DotsPageIndicator_dotFadeInDuration
public static int DotsPageIndicator_dotFadeInDuration
This symbol is the offset where the R.attr.dotFadeInDuration
attribute's value can be found in the DotsPageIndicator
array.
May be an integer value, such as "100
".
DotsPageIndicator_dotFadeOutDelay
public static int DotsPageIndicator_dotFadeOutDelay
This symbol is the offset where the R.attr.dotFadeOutDelay
attribute's value can be found in the DotsPageIndicator
array.
May be an integer value, such as "100
".
DotsPageIndicator_dotFadeOutDuration
public static int DotsPageIndicator_dotFadeOutDuration
This symbol is the offset where the R.attr.dotFadeOutDuration
attribute's value can be found in the DotsPageIndicator
array.
May be an integer value, such as "100
".
DotsPageIndicator_dotFadeWhenIdle
public static int DotsPageIndicator_dotFadeWhenIdle
This symbol is the offset where the R.attr.dotFadeWhenIdle
attribute's value can be found in the DotsPageIndicator
array.
May be a boolean value, such as "true
" or
"false
".
DotsPageIndicator_dotRadius
public static int DotsPageIndicator_dotRadius
This symbol is the offset where the R.attr.dotRadius
attribute's value can be found in the DotsPageIndicator
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DotsPageIndicator_dotRadiusSelected
public static int DotsPageIndicator_dotRadiusSelected
This symbol is the offset where the R.attr.dotRadiusSelected
attribute's value can be found in the DotsPageIndicator
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DotsPageIndicator_dotShadowColor
public static int DotsPageIndicator_dotShadowColor
This symbol is the offset where the R.attr.dotShadowColor
attribute's value can be found in the DotsPageIndicator
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
DotsPageIndicator_dotShadowDx
public static int DotsPageIndicator_dotShadowDx
This symbol is the offset where the R.attr.dotShadowDx
attribute's value can be found in the DotsPageIndicator
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DotsPageIndicator_dotShadowDy
public static int DotsPageIndicator_dotShadowDy
This symbol is the offset where the R.attr.dotShadowDy
attribute's value can be found in the DotsPageIndicator
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DotsPageIndicator_dotShadowRadius
public static int DotsPageIndicator_dotShadowRadius
This symbol is the offset where the R.attr.dotShadowRadius
attribute's value can be found in the DotsPageIndicator
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DotsPageIndicator_dotSpacing
public static int DotsPageIndicator_dotSpacing
This symbol is the offset where the R.attr.dotSpacing
attribute's value can be found in the DotsPageIndicator
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DrawerArrowToggle
public static final int[] DrawerArrowToggle
Attributes that can be used with a DrawerArrowToggle.
Includes the following attributes:
Attribute | Description |
---|---|
| The length of the arrow head when formed to make an arrow |
| The length of the shaft when formed to make an arrow |
| The length of the bars when they are parallel to each other |
| The drawing color for the bars |
| The total size of the drawable |
| The max gap between the bars when they are parallel to each other |
| Whether bars should rotate or not during transition |
| The thickness (stroke size) for the bar paint |
DrawerArrowToggle_arrowHeadLength
public static int DrawerArrowToggle_arrowHeadLength
The length of the arrow head when formed to make an arrow
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DrawerArrowToggle_arrowShaftLength
public static int DrawerArrowToggle_arrowShaftLength
The length of the shaft when formed to make an arrow
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DrawerArrowToggle_barLength
public static int DrawerArrowToggle_barLength
The length of the bars when they are parallel to each other
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DrawerArrowToggle_color
public static int DrawerArrowToggle_color
The drawing color for the bars
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
DrawerArrowToggle_drawableSize
public static int DrawerArrowToggle_drawableSize
The total size of the drawable
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DrawerArrowToggle_gapBetweenBars
public static int DrawerArrowToggle_gapBetweenBars
The max gap between the bars when they are parallel to each other
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DrawerArrowToggle_spinBars
public static int DrawerArrowToggle_spinBars
Whether bars should rotate or not during transition
May be a boolean value, such as "true
" or
"false
".
DrawerArrowToggle_thickness
public static int DrawerArrowToggle_thickness
The thickness (stroke size) for the bar paint
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
DrawerLayout
public static final int[] DrawerLayout
Attributes that can be used with a DrawerLayout.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
DrawerLayout_elevation
public static int DrawerLayout_elevation
The height difference between the drawer and the base surface. Only takes effect on API 21 and above
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
EditTextPreference
public static final int[] EditTextPreference
Attributes that can be used with a EditTextPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| Whether the preference should automatically set its summary to the value saved for the preference, and update the summary when the value is changed. |
EditTextPreference_useSimpleSummaryProvider
public static int EditTextPreference_useSimpleSummaryProvider
Whether the preference should automatically set its summary to the value saved for the preference, and update the summary when the value is changed. Defaults to false.
May be a boolean value, such as "true
" or
"false
".
FontFamily
public static final int[] FontFamily
Attributes that can be used with a FontFamily.
Includes the following attributes:
Attribute | Description |
---|---|
| The authority of the Font Provider to be used for the request. |
| The sets of hashes for the certificates the provider should be signed with. |
| The strategy to be used when fetching font data from a font provider in XML layouts. |
| The length of the timeout during fetching. |
| The package for the Font Provider to be used for the request. |
| The query to be sent over to the provider. |
| Provides the system font family name to check before downloading the font. |
FontFamilyFont
public static final int[] FontFamilyFont
Attributes that can be used with a FontFamilyFont.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| The reference to the font file to be used. |
| The style of the given font file. |
| The variation settings to be applied to the font. |
| The weight of the given font file. |
| The index of the font in the tcc font file. |
See also:
FontFamilyFont_android_font
public static int FontFamilyFont_android_font
This symbol is the offset where the R.attr.font
attribute's value can be found in the FontFamilyFont
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
FontFamilyFont_android_fontStyle
public static int FontFamilyFont_android_fontStyle
References to the framework attrs
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
italic | 1 | |
normal | 0 |
FontFamilyFont_android_fontVariationSettings
public static int FontFamilyFont_android_fontVariationSettings
This symbol is the offset where the R.attr.fontVariationSettings
attribute's value can be found in the FontFamilyFont
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
FontFamilyFont_android_fontWeight
public static int FontFamilyFont_android_fontWeight
This symbol is the offset where the R.attr.fontWeight
attribute's value can be found in the FontFamilyFont
array.
May be an integer value, such as "100
".
FontFamilyFont_android_ttcIndex
public static int FontFamilyFont_android_ttcIndex
This symbol is the offset where the R.attr.ttcIndex
attribute's value can be found in the FontFamilyFont
array.
May be an integer value, such as "100
".
FontFamilyFont_font
public static int FontFamilyFont_font
The reference to the font file to be used. This should be a file in the res/font folder and should therefore have an R reference value. E.g. @font/myfont
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
FontFamilyFont_fontStyle
public static int FontFamilyFont_fontStyle
The style of the given font file. This will be used when the font is being loaded into the font stack and will override any style information in the font's header tables. If unspecified, the value in the font's header tables will be used.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
italic | 1 | |
normal | 0 |
FontFamilyFont_fontVariationSettings
public static int FontFamilyFont_fontVariationSettings
The variation settings to be applied to the font. The string should be in the following format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be used, or the font used does not support variation settings, this attribute needs not be specified.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
FontFamilyFont_fontWeight
public static int FontFamilyFont_fontWeight
The weight of the given font file. This will be used when the font is being loaded into the font stack and will override any weight information in the font's header tables. Must be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most common values are 400 for regular weight and 700 for bold weight. If unspecified, the value in the font's header tables will be used.
May be an integer value, such as "100
".
FontFamilyFont_ttcIndex
public static int FontFamilyFont_ttcIndex
The index of the font in the tcc font file. If the font file referenced is not in the tcc format, this attribute needs not be specified.
May be an integer value, such as "100
".
FontFamily_fontProviderAuthority
public static int FontFamily_fontProviderAuthority
The authority of the Font Provider to be used for the request.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
FontFamily_fontProviderCerts
public static int FontFamily_fontProviderCerts
The sets of hashes for the certificates the provider should be signed with. This is used to verify the identity of the provider, and is only required if the provider is not part of the system image. This value may point to one list or a list of lists, where each individual list represents one collection of signature hashes. Refer to your font provider's documentation for these values.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
FontFamily_fontProviderFetchStrategy
public static int FontFamily_fontProviderFetchStrategy
The strategy to be used when fetching font data from a font provider in XML layouts.
This attribute is ignored when the resource is loaded from code, as it is equivalent to the
choice of API between ResourcesCompat.getFont(Context, int)
(blocking) and
ResourcesCompat.getFont(Context, int, FontCallback, Handler)
(async).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
async | 1 | The async font fetch works as follows. First, check the local cache, then if the requeted font is not cached, trigger a request the font and continue with layout inflation. Once the font fetch succeeds, the target text view will be refreshed with the downloaded font data. The fontProviderFetchTimeout will be ignored if async loading is specified. |
blocking | 0 | The blocking font fetch works as follows. First, check the local cache, then if the requested font is not cached, request the font from the provider and wait until it is finished. You can change the length of the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the default typeface will be used instead. |
FontFamily_fontProviderFetchTimeout
public static int FontFamily_fontProviderFetchTimeout
The length of the timeout during fetching.
May be an integer value, such as "100
".
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
forever | ffffffff | A special value for the timeout. In this case, the blocking font fetching will not timeout and wait until a reply is received from the font provider. |
FontFamily_fontProviderPackage
public static int FontFamily_fontProviderPackage
The package for the Font Provider to be used for the request. This is used to verify the identity of the provider.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
FontFamily_fontProviderQuery
public static int FontFamily_fontProviderQuery
The query to be sent over to the provider. Refer to your font provider's documentation on the format of this string.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
FontFamily_fontProviderSystemFontFamily
public static int FontFamily_fontProviderSystemFontFamily
Provides the system font family name to check before downloading the font. For example if the fontProviderQuery asked for "Sans Serif", it is possible to define fontProviderSystemFontFamily as "sans-serif" to tell the system to use "sans-serif" font family if it exists on the system.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Fragment
public static final int[] Fragment
Attributes that can be used with a Fragment.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
FragmentContainerView
public static final int[] FragmentContainerView
Attributes that can be used with a FragmentContainerView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
|
FragmentContainerView_android_name
public static int FragmentContainerView_android_name
This symbol is the offset where the R.attr.name
attribute's value can be found in the FragmentContainerView
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
FragmentContainerView_android_tag
public static int FragmentContainerView_android_tag
This symbol is the offset where the R.attr.tag
attribute's value can be found in the FragmentContainerView
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Fragment_android_id
public static int Fragment_android_id
This symbol is the offset where the R.attr.id
attribute's value can be found in the Fragment
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Fragment_android_name
public static int Fragment_android_name
This symbol is the offset where the R.attr.name
attribute's value can be found in the Fragment
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Fragment_android_tag
public static int Fragment_android_tag
This symbol is the offset where the R.attr.tag
attribute's value can be found in the Fragment
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
GradientColor
public static final int[] GradientColor
Attributes that can be used with a GradientColor.
Includes the following attributes:
See also:
GradientColor_android_startColor
GradientColor_android_endColor
GradientColor_android_type
GradientColor_android_centerX
GradientColor_android_centerY
GradientColor_android_gradientRadius
GradientColor_android_tileMode
GradientColor_android_centerColor
GradientColor_android_startX
GradientColor_android_startY
GradientColor_android_endX
GradientColor_android_endY
GradientColorItem
public static final int[] GradientColorItem
Attributes that can be used with a GradientColorItem.
Includes the following attributes:
Attribute | Description |
---|---|
| |
|
GradientColorItem_android_color
public static int GradientColorItem_android_color
The current color for the offset inside the gradient.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
GradientColorItem_android_offset
public static int GradientColorItem_android_offset
The offset (or ratio) of this current color item inside the gradient. The value is only meaningful when it is between 0 and 1.
May be a floating point value, such as "1.2
".
GradientColor_android_centerColor
public static int GradientColor_android_centerColor
Optional center color.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
GradientColor_android_centerX
public static int GradientColor_android_centerX
X coordinate of the center of the gradient within the path.
May be a floating point value, such as "1.2
".
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.
GradientColor_android_centerY
public static int GradientColor_android_centerY
Y coordinate of the center of the gradient within the path.
May be a floating point value, such as "1.2
".
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.
GradientColor_android_endColor
public static int GradientColor_android_endColor
End color of the gradient.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
GradientColor_android_endX
public static int GradientColor_android_endX
X coordinate of the end point origin of the gradient. Defined in same coordinates as the path itself
May be a floating point value, such as "1.2
".
GradientColor_android_endY
public static int GradientColor_android_endY
Y coordinate of the end point of the gradient within the shape. Defined in same coordinates as the path itself
May be a floating point value, such as "1.2
".
GradientColor_android_gradientRadius
public static int GradientColor_android_gradientRadius
Radius of the gradient, used only with radial gradient.
May be a floating point value, such as "1.2
".
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
May be a fractional value, which is a floating point number appended with
either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size;
the optional %p suffix provides a size relative to some parent container.
GradientColor_android_startColor
public static int GradientColor_android_startColor
Start color of the gradient.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
GradientColor_android_startX
public static int GradientColor_android_startX
X coordinate of the start point origin of the gradient. Defined in same coordinates as the path itself
May be a floating point value, such as "1.2
".
GradientColor_android_startY
public static int GradientColor_android_startY
Y coordinate of the start point of the gradient within the shape. Defined in same coordinates as the path itself
May be a floating point value, such as "1.2
".
GradientColor_android_tileMode
public static int GradientColor_android_tileMode
Defines the tile mode of the gradient. SweepGradient doesn't support tiling.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
clamp | 0 | |
disabled | ffffffff | |
mirror | 2 | |
repeat | 1 |
GradientColor_android_type
public static int GradientColor_android_type
Type of gradient. The default type is linear.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
linear | 0 | |
radial | 1 | |
sweep | 2 |
LinearLayoutCompat
public static final int[] LinearLayoutCompat
Attributes that can be used with a LinearLayoutCompat.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| Specifies the drawable used for item dividers. |
| Size of padding on either end of a divider. |
| When set to true, all children with a weight will be considered having the minimum size of the largest child. |
| Setting for which dividers to show. |
See also:
LinearLayoutCompat_android_gravity
LinearLayoutCompat_android_orientation
LinearLayoutCompat_android_baselineAligned
LinearLayoutCompat_android_baselineAlignedChildIndex
LinearLayoutCompat_android_weightSum
LinearLayoutCompat_divider
LinearLayoutCompat_dividerPadding
LinearLayoutCompat_measureWithLargestChild
LinearLayoutCompat_showDividers
LinearLayoutCompat_Layout
public static final int[] LinearLayoutCompat_Layout
Attributes that can be used with a LinearLayoutCompat_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
|
LinearLayoutCompat_Layout_android_layout_gravity
public static int LinearLayoutCompat_Layout_android_layout_gravity
This symbol is the offset where the R.attr.layout_gravity
attribute's value can be found in the LinearLayoutCompat_Layout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
end | 800005 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
start | 800003 | |
top | 30 |
LinearLayoutCompat_Layout_android_layout_height
public static int LinearLayoutCompat_Layout_android_layout_height
This symbol is the offset where the R.attr.layout_height
attribute's value can be found in the LinearLayoutCompat_Layout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill_parent | ffffffff | |
match_parent | ffffffff | |
wrap_content | fffffffe |
LinearLayoutCompat_Layout_android_layout_weight
public static int LinearLayoutCompat_Layout_android_layout_weight
This symbol is the offset where the R.attr.layout_weight
attribute's value can be found in the LinearLayoutCompat_Layout
array.
May be a floating point value, such as "1.2
".
LinearLayoutCompat_Layout_android_layout_width
public static int LinearLayoutCompat_Layout_android_layout_width
This symbol is the offset where the R.attr.layout_width
attribute's value can be found in the LinearLayoutCompat_Layout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill_parent | ffffffff | |
match_parent | ffffffff | |
wrap_content | fffffffe |
LinearLayoutCompat_android_baselineAligned
public static int LinearLayoutCompat_android_baselineAligned
When set to false, prevents the layout from aligning its children's baselines. This attribute is particularly useful when the children use different values for gravity. The default value is true.
May be a boolean value, such as "true
" or
"false
".
LinearLayoutCompat_android_baselineAlignedChildIndex
public static int LinearLayoutCompat_android_baselineAlignedChildIndex
When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (that is, which child TextView).
May be an integer value, such as "100
".
LinearLayoutCompat_android_gravity
public static int LinearLayoutCompat_android_gravity
This symbol is the offset where the R.attr.gravity
attribute's value can be found in the LinearLayoutCompat
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
end | 800005 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
start | 800003 | |
top | 30 |
LinearLayoutCompat_android_orientation
public static int LinearLayoutCompat_android_orientation
Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column. The default is horizontal.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
horizontal | 0 | |
vertical | 1 |
LinearLayoutCompat_android_weightSum
public static int LinearLayoutCompat_android_weightSum
Defines the maximum weight sum. If unspecified, the sum is computed by adding the layout_weight of all of the children. This can be used for instance to give a single child 50% of the total available space by giving it a layout_weight of 0.5 and setting the weightSum to 1.0.
May be a floating point value, such as "1.2
".
LinearLayoutCompat_divider
public static int LinearLayoutCompat_divider
Drawable to use as a vertical divider between buttons.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
LinearLayoutCompat_dividerPadding
public static int LinearLayoutCompat_dividerPadding
Size of padding on either end of a divider.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
LinearLayoutCompat_measureWithLargestChild
public static int LinearLayoutCompat_measureWithLargestChild
When set to true, all children with a weight will be considered having the minimum size of the largest child. If false, all children are measured normally.
May be a boolean value, such as "true
" or
"false
".
LinearLayoutCompat_showDividers
public static int LinearLayoutCompat_showDividers
Setting for which dividers to show.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
beginning | 1 | |
end | 4 | |
middle | 2 | |
none | 0 |
ListPopupWindow
public static final int[] ListPopupWindow
Attributes that can be used with a ListPopupWindow.
Includes the following attributes:
Attribute | Description |
---|---|
| |
|
ListPopupWindow_android_dropDownHorizontalOffset
public static int ListPopupWindow_android_dropDownHorizontalOffset
Amount of pixels by which the drop down should be offset horizontally.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ListPopupWindow_android_dropDownVerticalOffset
public static int ListPopupWindow_android_dropDownVerticalOffset
Amount of pixels by which the drop down should be offset vertically.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
ListPreference
public static final int[] ListPreference
Attributes that can be used with a ListPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| The human-readable array to present as a list. |
| The array to find the value to save for a preference when an entry from entries is selected. |
| Whether the preference should automatically set its summary to the value saved for the preference, and update the summary when the value is changed. |
ListPreference_android_entries
public static int ListPreference_android_entries
This symbol is the offset where the R.attr.entries
attribute's value can be found in the ListPreference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ListPreference_android_entryValues
public static int ListPreference_android_entryValues
This symbol is the offset where the R.attr.entryValues
attribute's value can be found in the ListPreference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ListPreference_entries
public static int ListPreference_entries
The human-readable array to present as a list. Each entry must have a corresponding index in entryValues.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ListPreference_entryValues
public static int ListPreference_entryValues
The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ListPreference_useSimpleSummaryProvider
public static int ListPreference_useSimpleSummaryProvider
Whether the preference should automatically set its summary to the value saved for the preference, and update the summary when the value is changed. Defaults to false.
May be a boolean value, such as "true
" or
"false
".
MenuGroup
public static final int[] MenuGroup
Attributes that can be used with a MenuGroup.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
|
MenuGroup_android_checkableBehavior
public static int MenuGroup_android_checkableBehavior
Whether the items are capable of displaying a check mark.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
all | 1 | |
none | 0 | |
single | 2 |
MenuGroup_android_enabled
public static int MenuGroup_android_enabled
Whether the items are enabled.
May be a boolean value, such as "true
" or
"false
".
MenuGroup_android_id
public static int MenuGroup_android_id
The ID of the group.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuGroup_android_menuCategory
public static int MenuGroup_android_menuCategory
The category applied to all items within this group. (This will be or'ed with the orderInCategory attribute.)
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
alternative | 40000 | |
container | 10000 | |
secondary | 30000 | |
system | 20000 |
MenuGroup_android_orderInCategory
public static int MenuGroup_android_orderInCategory
The order within the category applied to all items within this group. (This will be or'ed with the category attribute.)
May be an integer value, such as "100
".
MenuGroup_android_visible
public static int MenuGroup_android_visible
Whether the items are shown/visible.
May be a boolean value, such as "true
" or
"false
".
MenuItem
public static final int[] MenuItem
Attributes that can be used with a MenuItem.
Includes the following attributes:
See also:
MenuItem_android_icon
MenuItem_android_enabled
MenuItem_android_id
MenuItem_android_checked
MenuItem_android_visible
MenuItem_android_menuCategory
MenuItem_android_orderInCategory
MenuItem_android_title
MenuItem_android_titleCondensed
MenuItem_android_alphabeticShortcut
MenuItem_android_numericShortcut
MenuItem_android_checkable
MenuItem_android_onClick
MenuItem_actionLayout
MenuItem_actionProviderClass
MenuItem_actionViewClass
MenuItem_alphabeticModifiers
MenuItem_contentDescription
MenuItem_iconTint
MenuItem_iconTintMode
MenuItem_numericModifiers
MenuItem_showAsAction
MenuItem_tooltipText
MenuItem_actionLayout
public static int MenuItem_actionLayout
An optional layout to be used as an action view.
See MenuItem.setActionView(android.view.View)
for more info.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuItem_actionProviderClass
public static int MenuItem_actionProviderClass
The name of an optional ActionProvider class to instantiate an action view
and perform operations such as default action for that menu item.
See MenuItem.setActionProvider(android.view.ActionProvider)
for more info.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_actionViewClass
public static int MenuItem_actionViewClass
The name of an optional View class to instantiate and use as an
action view. See MenuItem.setActionView(android.view.View)
for more info.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_alphabeticModifiers
public static int MenuItem_alphabeticModifiers
The alphabetic modifier key. This is the modifier when using a keyboard with alphabetic keys. The values should be kept in sync with KeyEvent
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
ALT | 2 | |
CTRL | 1000 | |
FUNCTION | 8 | |
META | 10000 | |
SHIFT | 1 | |
SYM | 4 |
MenuItem_android_alphabeticShortcut
public static int MenuItem_android_alphabeticShortcut
The alphabetic shortcut key. This is the shortcut when using a keyboard with alphabetic keys.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_android_checkable
public static int MenuItem_android_checkable
Whether the item is capable of displaying a check mark.
May be a boolean value, such as "true
" or
"false
".
MenuItem_android_checked
public static int MenuItem_android_checked
Whether the item is checked. Note that you must first have enabled checking with the checkable attribute or else the check mark will not appear.
May be a boolean value, such as "true
" or
"false
".
MenuItem_android_enabled
public static int MenuItem_android_enabled
Whether the item is enabled.
May be a boolean value, such as "true
" or
"false
".
MenuItem_android_icon
public static int MenuItem_android_icon
The icon associated with this item. This icon will not always be shown, so the title should be sufficient in describing this item.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuItem_android_id
public static int MenuItem_android_id
The ID of the item.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuItem_android_menuCategory
public static int MenuItem_android_menuCategory
The category applied to the item. (This will be or'ed with the orderInCategory attribute.)
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
alternative | 40000 | |
container | 10000 | |
secondary | 30000 | |
system | 20000 |
MenuItem_android_numericShortcut
public static int MenuItem_android_numericShortcut
The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) keyboard.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_android_onClick
public static int MenuItem_android_onClick
Name of a method on the Context used to inflate the menu that will be called when the item is clicked.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_android_orderInCategory
public static int MenuItem_android_orderInCategory
The order within the category applied to the item. (This will be or'ed with the category attribute.)
May be an integer value, such as "100
".
MenuItem_android_title
public static int MenuItem_android_title
The title associated with the item.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_android_titleCondensed
public static int MenuItem_android_titleCondensed
The condensed title associated with the item. This is used in situations where the normal title may be too long to be displayed.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_android_visible
public static int MenuItem_android_visible
Whether the item is shown/visible.
May be a boolean value, such as "true
" or
"false
".
MenuItem_contentDescription
public static int MenuItem_contentDescription
The content description associated with the item.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuItem_iconTint
public static int MenuItem_iconTint
Tint to apply to the icon.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
MenuItem_iconTintMode
public static int MenuItem_iconTintMode
Blending mode used to apply the icon tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the icon with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the icon, but with the icon’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the icon. The icon’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the icon. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
MenuItem_numericModifiers
public static int MenuItem_numericModifiers
The numeric modifier key. This is the modifier when using a numeric (e.g., 12-key) keyboard. The values should be kept in sync with KeyEvent
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
ALT | 2 | |
CTRL | 1000 | |
FUNCTION | 8 | |
META | 10000 | |
SHIFT | 1 | |
SYM | 4 |
MenuItem_showAsAction
public static int MenuItem_showAsAction
How this item should display in the Action Bar, if present.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
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". |
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. |
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". |
never | 0 | Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always". |
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. |
MenuItem_tooltipText
public static int MenuItem_tooltipText
The tooltip text associated with the item.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
MenuView
public static final int[] MenuView
Attributes that can be used with a MenuView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| |
| |
| Whether space should be reserved in layout when an icon is missing. |
| Drawable for the arrow icon indicating a particular item is a submenu. |
MenuView_android_headerBackground
public static int MenuView_android_headerBackground
Default background for the menu header.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
MenuView_android_horizontalDivider
public static int MenuView_android_horizontalDivider
Default horizontal divider between rows of menu items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuView_android_itemBackground
public static int MenuView_android_itemBackground
Default background for each menu item.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
MenuView_android_itemIconDisabledAlpha
public static int MenuView_android_itemIconDisabledAlpha
Default disabled icon alpha for each menu item that shows an icon.
May be a floating point value, such as "1.2
".
MenuView_android_itemTextAppearance
public static int MenuView_android_itemTextAppearance
Default appearance of menu item text.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuView_android_verticalDivider
public static int MenuView_android_verticalDivider
Default vertical divider between menu items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuView_android_windowAnimationStyle
public static int MenuView_android_windowAnimationStyle
Default animations for the menu.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MenuView_preserveIconSpacing
public static int MenuView_preserveIconSpacing
Whether space should be reserved in layout when an icon is missing.
May be a boolean value, such as "true
" or
"false
".
MenuView_subMenuArrow
public static int MenuView_subMenuArrow
Drawable for the arrow icon indicating a particular item is a submenu.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MultiSelectListPreference
public static final int[] MultiSelectListPreference
Attributes that can be used with a MultiSelectListPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| The human-readable array to present as a list. |
| The array to find the value to save for a preference when an entry from entries is selected. |
MultiSelectListPreference_android_entries
public static int MultiSelectListPreference_android_entries
This symbol is the offset where the R.attr.entries
attribute's value can be found in the MultiSelectListPreference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MultiSelectListPreference_android_entryValues
public static int MultiSelectListPreference_android_entryValues
This symbol is the offset where the R.attr.entryValues
attribute's value can be found in the MultiSelectListPreference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MultiSelectListPreference_entries
public static int MultiSelectListPreference_entries
The human-readable array to present as a list. Each entry must have a corresponding index in entryValues.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
MultiSelectListPreference_entryValues
public static int MultiSelectListPreference_entryValues
The array to find the value to save for a preference when an entry from entries is selected. If a user clicks the second item in entries, the second item in this array will be saved to the preference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PageIndicatorView
public static final int[] PageIndicatorView
Attributes that can be used with a PageIndicatorView.
Includes the following attributes:
See also:
PageIndicatorView_pageIndicatorDotColor
PageIndicatorView_pageIndicatorDotColorSelected
PageIndicatorView_pageIndicatorDotFadeInDuration
PageIndicatorView_pageIndicatorDotFadeOutDelay
PageIndicatorView_pageIndicatorDotFadeOutDuration
PageIndicatorView_pageIndicatorDotFadeWhenIdle
PageIndicatorView_pageIndicatorDotRadius
PageIndicatorView_pageIndicatorDotRadiusSelected
PageIndicatorView_pageIndicatorDotShadowColor
PageIndicatorView_pageIndicatorDotShadowDx
PageIndicatorView_pageIndicatorDotShadowDy
PageIndicatorView_pageIndicatorDotShadowRadius
PageIndicatorView_pageIndicatorDotSpacing
PageIndicatorView_pageIndicatorDotColor
public static int PageIndicatorView_pageIndicatorDotColor
This symbol is the offset where the R.attr.pageIndicatorDotColor
attribute's value can be found in the PageIndicatorView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
PageIndicatorView_pageIndicatorDotColorSelected
public static int PageIndicatorView_pageIndicatorDotColorSelected
This symbol is the offset where the R.attr.pageIndicatorDotColorSelected
attribute's value can be found in the PageIndicatorView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
PageIndicatorView_pageIndicatorDotFadeInDuration
public static int PageIndicatorView_pageIndicatorDotFadeInDuration
This symbol is the offset where the R.attr.pageIndicatorDotFadeInDuration
attribute's value can be found in the PageIndicatorView
array.
May be an integer value, such as "100
".
PageIndicatorView_pageIndicatorDotFadeOutDelay
public static int PageIndicatorView_pageIndicatorDotFadeOutDelay
This symbol is the offset where the R.attr.pageIndicatorDotFadeOutDelay
attribute's value can be found in the PageIndicatorView
array.
May be an integer value, such as "100
".
PageIndicatorView_pageIndicatorDotFadeOutDuration
public static int PageIndicatorView_pageIndicatorDotFadeOutDuration
This symbol is the offset where the R.attr.pageIndicatorDotFadeOutDuration
attribute's value can be found in the PageIndicatorView
array.
May be an integer value, such as "100
".
PageIndicatorView_pageIndicatorDotFadeWhenIdle
public static int PageIndicatorView_pageIndicatorDotFadeWhenIdle
This symbol is the offset where the R.attr.pageIndicatorDotFadeWhenIdle
attribute's value can be found in the PageIndicatorView
array.
May be a boolean value, such as "true
" or
"false
".
PageIndicatorView_pageIndicatorDotRadius
public static int PageIndicatorView_pageIndicatorDotRadius
This symbol is the offset where the R.attr.pageIndicatorDotRadius
attribute's value can be found in the PageIndicatorView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PageIndicatorView_pageIndicatorDotRadiusSelected
public static int PageIndicatorView_pageIndicatorDotRadiusSelected
This symbol is the offset where the R.attr.pageIndicatorDotRadiusSelected
attribute's value can be found in the PageIndicatorView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PageIndicatorView_pageIndicatorDotShadowColor
public static int PageIndicatorView_pageIndicatorDotShadowColor
This symbol is the offset where the R.attr.pageIndicatorDotShadowColor
attribute's value can be found in the PageIndicatorView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
PageIndicatorView_pageIndicatorDotShadowDx
public static int PageIndicatorView_pageIndicatorDotShadowDx
This symbol is the offset where the R.attr.pageIndicatorDotShadowDx
attribute's value can be found in the PageIndicatorView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PageIndicatorView_pageIndicatorDotShadowDy
public static int PageIndicatorView_pageIndicatorDotShadowDy
This symbol is the offset where the R.attr.pageIndicatorDotShadowDy
attribute's value can be found in the PageIndicatorView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PageIndicatorView_pageIndicatorDotShadowRadius
public static int PageIndicatorView_pageIndicatorDotShadowRadius
This symbol is the offset where the R.attr.pageIndicatorDotShadowRadius
attribute's value can be found in the PageIndicatorView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PageIndicatorView_pageIndicatorDotSpacing
public static int PageIndicatorView_pageIndicatorDotSpacing
This symbol is the offset where the R.attr.pageIndicatorDotSpacing
attribute's value can be found in the PageIndicatorView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PercentLayout_Layout
public static final int[] PercentLayout_Layout
Attributes that can be used with a PercentLayout_Layout.
Includes the following attributes:
See also:
PercentLayout_Layout_layout_aspectRatio
PercentLayout_Layout_layout_heightPercent
PercentLayout_Layout_layout_marginBottomPercent
PercentLayout_Layout_layout_marginEndPercent
PercentLayout_Layout_layout_marginLeftPercent
PercentLayout_Layout_layout_marginPercent
PercentLayout_Layout_layout_marginRightPercent
PercentLayout_Layout_layout_marginStartPercent
PercentLayout_Layout_layout_marginTopPercent
PercentLayout_Layout_layout_widthPercent
PercentLayout_Layout_layout_aspectRatio
public static int PercentLayout_Layout_layout_aspectRatio
This symbol is the offset where the R.attr.layout_aspectRatio
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_heightPercent
public static int PercentLayout_Layout_layout_heightPercent
This symbol is the offset where the R.attr.layout_heightPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_marginBottomPercent
public static int PercentLayout_Layout_layout_marginBottomPercent
This symbol is the offset where the R.attr.layout_marginBottomPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_marginEndPercent
public static int PercentLayout_Layout_layout_marginEndPercent
This symbol is the offset where the R.attr.layout_marginEndPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_marginLeftPercent
public static int PercentLayout_Layout_layout_marginLeftPercent
This symbol is the offset where the R.attr.layout_marginLeftPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_marginPercent
public static int PercentLayout_Layout_layout_marginPercent
This symbol is the offset where the R.attr.layout_marginPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_marginRightPercent
public static int PercentLayout_Layout_layout_marginRightPercent
This symbol is the offset where the R.attr.layout_marginRightPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_marginStartPercent
public static int PercentLayout_Layout_layout_marginStartPercent
This symbol is the offset where the R.attr.layout_marginStartPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_marginTopPercent
public static int PercentLayout_Layout_layout_marginTopPercent
This symbol is the offset where the R.attr.layout_marginTopPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PercentLayout_Layout_layout_widthPercent
public static int PercentLayout_Layout_layout_widthPercent
This symbol is the offset where the R.attr.layout_widthPercent
attribute's value can be found in the PercentLayout_Layout
array.
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.
PopupWindow
public static final int[] PopupWindow
Attributes that can be used with a PopupWindow.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| Whether the popup window should overlap its anchor view. |
PopupWindowBackgroundState
public static final int[] PopupWindowBackgroundState
Attributes that can be used with a PopupWindowBackgroundState.
Includes the following attributes:
Attribute | Description |
---|---|
| State identifier indicating the popup will be above the anchor. |
PopupWindowBackgroundState_state_above_anchor
public static int PopupWindowBackgroundState_state_above_anchor
State identifier indicating the popup will be above the anchor.
May be a boolean value, such as "true
" or
"false
".
PopupWindow_android_popupAnimationStyle
public static int PopupWindow_android_popupAnimationStyle
This symbol is the offset where the R.attr.popupAnimationStyle
attribute's value can be found in the PopupWindow
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PopupWindow_android_popupBackground
public static int PopupWindow_android_popupBackground
This symbol is the offset where the R.attr.popupBackground
attribute's value can be found in the PopupWindow
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
PopupWindow_overlapAnchor
public static int PopupWindow_overlapAnchor
Whether the popup window should overlap its anchor view.
May be a boolean value, such as "true
" or
"false
".
Preference
public static final int[] Preference
Attributes that can be used with a Preference.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Whether the preference allows displaying divider on top |
| Whether the preference allows displaying divider below it |
| The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage. |
| The key of another Preference that this Preference will depend on. |
| Whether the summary of this preference can be copied to the clipboard by long pressing on the preference. |
| Whether the Preference is enabled. |
| When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item. |
| Specifies the drawable used for the application icon. |
| Whether the space for the preference icon view will be reserved. |
| Whether the Preference is visible. |
| The key to store the Preference value. |
| The layout to use for the search view. |
| The order for the Preference (lower values are to be ordered first). |
| Whether the Preference stores its value to the shared preferences. |
| Whether the Preference is selectable. |
| Whether the view of this Preference should be disabled when this Preference is disabled. |
| Whether to use single line for the preference title text. |
| The summary for the Preference in a PreferenceActivity screen. |
| |
| The layout for the controllable widget portion of a Preference. |
See also:
Preference_android_icon
Preference_android_persistent
Preference_android_enabled
Preference_android_layout
Preference_android_title
Preference_android_selectable
Preference_android_key
Preference_android_summary
Preference_android_order
Preference_android_widgetLayout
Preference_android_dependency
Preference_android_defaultValue
Preference_android_shouldDisableView
Preference_android_fragment
Preference_android_singleLineTitle
Preference_android_iconSpaceReserved
Preference_allowDividerAbove
Preference_allowDividerBelow
Preference_defaultValue
Preference_dependency
Preference_enableCopying
Preference_enabled
Preference_fragment
Preference_icon
Preference_iconSpaceReserved
Preference_isPreferenceVisible
Preference_key
Preference_layout
Preference_order
Preference_persistent
Preference_selectable
Preference_shouldDisableView
Preference_singleLineTitle
Preference_summary
Preference_title
Preference_widgetLayout
PreferenceFragment
public static final int[] PreferenceFragment
Attributes that can be used with a PreferenceFragment.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| Whether a divider is allowed to draw after the last item |
PreferenceFragmentCompat
public static final int[] PreferenceFragmentCompat
Attributes that can be used with a PreferenceFragmentCompat.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| Whether a divider is allowed to draw after the last item |
PreferenceFragmentCompat_allowDividerAfterLastItem
public static int PreferenceFragmentCompat_allowDividerAfterLastItem
Whether a divider is allowed to draw after the last item
May be a boolean value, such as "true
" or
"false
".
PreferenceFragmentCompat_android_divider
public static int PreferenceFragmentCompat_android_divider
List separator to draw between preference views
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
PreferenceFragmentCompat_android_dividerHeight
public static int PreferenceFragmentCompat_android_dividerHeight
List separator height
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PreferenceFragmentCompat_android_layout
public static int PreferenceFragmentCompat_android_layout
The layout for the PreferenceFragment. This should rarely need to be changed.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceFragment_allowDividerAfterLastItem
public static int PreferenceFragment_allowDividerAfterLastItem
Whether a divider is allowed to draw after the last item
May be a boolean value, such as "true
" or
"false
".
PreferenceFragment_android_divider
public static int PreferenceFragment_android_divider
List separator to draw between preference views
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
PreferenceFragment_android_dividerHeight
public static int PreferenceFragment_android_dividerHeight
List separator height
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PreferenceFragment_android_layout
public static int PreferenceFragment_android_layout
The layout for the PreferenceFragment. This should rarely need to be changed.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceGroup
public static final int[] PreferenceGroup
Attributes that can be used with a PreferenceGroup.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| The maximal number of children that are shown when the preference group is launched where the rest of the children will be hidden. |
| Whether to order the Preference under this group as they appear in the XML file. |
PreferenceGroup_android_orderingFromXml
public static int PreferenceGroup_android_orderingFromXml
This symbol is the offset where the R.attr.orderingFromXml
attribute's value can be found in the PreferenceGroup
array.
May be a boolean value, such as "true
" or
"false
".
PreferenceGroup_initialExpandedChildrenCount
public static int PreferenceGroup_initialExpandedChildrenCount
The maximal number of children that are shown when the preference group is launched where the rest of the children will be hidden. If some children are hidden an expand button will be provided to show all the hidden children. Any child in any level of the hierarchy that is also a preference group (e.g. preference category) will not be counted towards the limit. But instead the children of such group will be counted. By default, all children will be shown, so the default value of this attribute is equal to Integer.MAX_VALUE. The group should have a key defined if an expandable preference is present to correctly persist state.
May be an integer value, such as "100
".
PreferenceGroup_orderingFromXml
public static int PreferenceGroup_orderingFromXml
Whether to order the Preference under this group as they appear in the XML file. If this is false, the ordering will follow the Preference order attribute and default to alphabetic for those without the order attribute.
May be a boolean value, such as "true
" or
"false
".
PreferenceImageView
public static final int[] PreferenceImageView
Attributes that can be used with a PreferenceImageView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
|
PreferenceImageView_android_maxHeight
public static int PreferenceImageView_android_maxHeight
This symbol is the offset where the R.attr.maxHeight
attribute's value can be found in the PreferenceImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PreferenceImageView_android_maxWidth
public static int PreferenceImageView_android_maxWidth
This symbol is the offset where the R.attr.maxWidth
attribute's value can be found in the PreferenceImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PreferenceImageView_maxHeight
public static int PreferenceImageView_maxHeight
This symbol is the offset where the R.attr.maxHeight
attribute's value can be found in the PreferenceImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PreferenceImageView_maxWidth
public static int PreferenceImageView_maxWidth
This symbol is the offset where the R.attr.maxWidth
attribute's value can be found in the PreferenceImageView
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
PreferenceTheme
public static final int[] PreferenceTheme
Attributes that can be used with a PreferenceTheme.
Includes the following attributes:
See also:
PreferenceTheme_checkBoxPreferenceStyle
PreferenceTheme_dialogPreferenceStyle
PreferenceTheme_dropdownPreferenceStyle
PreferenceTheme_editTextPreferenceStyle
PreferenceTheme_preferenceCategoryStyle
PreferenceTheme_preferenceCategoryTitleTextAppearance
PreferenceTheme_preferenceCategoryTitleTextColor
PreferenceTheme_preferenceFragmentCompatStyle
PreferenceTheme_preferenceFragmentListStyle
PreferenceTheme_preferenceFragmentStyle
PreferenceTheme_preferenceInformationStyle
PreferenceTheme_preferenceScreenStyle
PreferenceTheme_preferenceStyle
PreferenceTheme_preferenceTheme
PreferenceTheme_seekBarPreferenceStyle
PreferenceTheme_switchPreferenceCompatStyle
PreferenceTheme_switchPreferenceStyle
PreferenceTheme_checkBoxPreferenceStyle
public static int PreferenceTheme_checkBoxPreferenceStyle
Default style for CheckBoxPreference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_dialogPreferenceStyle
public static int PreferenceTheme_dialogPreferenceStyle
Default style for DialogPreference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_dropdownPreferenceStyle
public static int PreferenceTheme_dropdownPreferenceStyle
Default style for DropDownPreference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_editTextPreferenceStyle
public static int PreferenceTheme_editTextPreferenceStyle
Default style for EditTextPreference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceCategoryStyle
public static int PreferenceTheme_preferenceCategoryStyle
Default style for PreferenceCategory.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceCategoryTitleTextAppearance
public static int PreferenceTheme_preferenceCategoryTitleTextAppearance
The preferred TextAppearance for the title displayed in a PreferenceCategory. This is needed as there are no relevant android: attributes we can use for this as we do with other text appearance styles.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceCategoryTitleTextColor
public static int PreferenceTheme_preferenceCategoryTitleTextColor
The preferred color for the title displayed in a PreferenceCategory. If this is not specified by a developer, we use ?android:attr/colorAccent above Lollipop, and ?attr/colorAccent below Lollipop (when using an AppCompat theme).
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
PreferenceTheme_preferenceFragmentCompatStyle
public static int PreferenceTheme_preferenceFragmentCompatStyle
Default style for Headers pane in PreferenceActivity.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceFragmentListStyle
public static int PreferenceTheme_preferenceFragmentListStyle
Preference fragment list style
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceFragmentStyle
public static int PreferenceTheme_preferenceFragmentStyle
Default style for Headers pane in PreferenceActivity.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceInformationStyle
public static int PreferenceTheme_preferenceInformationStyle
Default style for informational Preference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceScreenStyle
public static int PreferenceTheme_preferenceScreenStyle
Default style for PreferenceScreen.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceStyle
public static int PreferenceTheme_preferenceStyle
Default style for Preference.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_preferenceTheme
public static int PreferenceTheme_preferenceTheme
Theme for inflating Preference objects
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_seekBarPreferenceStyle
public static int PreferenceTheme_seekBarPreferenceStyle
Default style for seekbar preferences.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_switchPreferenceCompatStyle
public static int PreferenceTheme_switchPreferenceCompatStyle
Default style for switch compat preferences.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
PreferenceTheme_switchPreferenceStyle
public static int PreferenceTheme_switchPreferenceStyle
Default style for switch preferences.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Preference_allowDividerAbove
public static int Preference_allowDividerAbove
Whether the preference allows displaying divider on top
May be a boolean value, such as "true
" or
"false
".
Preference_allowDividerBelow
public static int Preference_allowDividerBelow
Whether the preference allows displaying divider below it
May be a boolean value, such as "true
" or
"false
".
Preference_android_defaultValue
public static int Preference_android_defaultValue
This symbol is the offset where the R.attr.defaultValue
attribute's value can be found in the Preference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a floating point value, such as "1.2
".
Preference_android_dependency
public static int Preference_android_dependency
This symbol is the offset where the R.attr.dependency
attribute's value can be found in the Preference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_android_enabled
public static int Preference_android_enabled
This symbol is the offset where the R.attr.enabled
attribute's value can be found in the Preference
array.
May be a boolean value, such as "true
" or
"false
".
Preference_android_fragment
public static int Preference_android_fragment
This symbol is the offset where the R.attr.fragment
attribute's value can be found in the Preference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_android_icon
public static int Preference_android_icon
This symbol is the offset where the R.attr.icon
attribute's value can be found in the Preference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Preference_android_iconSpaceReserved
public static int Preference_android_iconSpaceReserved
This symbol is the offset where the R.attr.iconSpaceReserved
attribute's value can be found in the Preference
array.
May be a boolean value, such as "true
" or
"false
".
Preference_android_key
public static int Preference_android_key
This symbol is the offset where the R.attr.key
attribute's value can be found in the Preference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_android_layout
public static int Preference_android_layout
This symbol is the offset where the R.attr.layout
attribute's value can be found in the Preference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Preference_android_order
public static int Preference_android_order
This symbol is the offset where the R.attr.order
attribute's value can be found in the Preference
array.
May be an integer value, such as "100
".
Preference_android_persistent
public static int Preference_android_persistent
This symbol is the offset where the R.attr.persistent
attribute's value can be found in the Preference
array.
May be a boolean value, such as "true
" or
"false
".
Preference_android_selectable
public static int Preference_android_selectable
This symbol is the offset where the R.attr.selectable
attribute's value can be found in the Preference
array.
May be a boolean value, such as "true
" or
"false
".
Preference_android_shouldDisableView
public static int Preference_android_shouldDisableView
This symbol is the offset where the R.attr.shouldDisableView
attribute's value can be found in the Preference
array.
May be a boolean value, such as "true
" or
"false
".
Preference_android_singleLineTitle
public static int Preference_android_singleLineTitle
This symbol is the offset where the R.attr.singleLineTitle
attribute's value can be found in the Preference
array.
May be a boolean value, such as "true
" or
"false
".
Preference_android_summary
public static int Preference_android_summary
This symbol is the offset where the R.attr.summary
attribute's value can be found in the Preference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_android_title
public static int Preference_android_title
This symbol is the offset where the R.attr.title
attribute's value can be found in the Preference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_android_widgetLayout
public static int Preference_android_widgetLayout
This symbol is the offset where the R.attr.widgetLayout
attribute's value can be found in the Preference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Preference_defaultValue
public static int Preference_defaultValue
The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a floating point value, such as "1.2
".
Preference_dependency
public static int Preference_dependency
The key of another Preference that this Preference will depend on. If the other Preference is not set or is off, this Preference will be disabled.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_enableCopying
public static int Preference_enableCopying
Whether the summary of this preference can be copied to the clipboard by long pressing on the preference. By default, this is set to false.
May be a boolean value, such as "true
" or
"false
".
Preference_enabled
public static int Preference_enabled
Whether the Preference is enabled.
May be a boolean value, such as "true
" or
"false
".
Preference_fragment
public static int Preference_fragment
When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_icon
public static int Preference_icon
The optional icon for the preference
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Preference_iconSpaceReserved
public static int Preference_iconSpaceReserved
Whether the space for the preference icon view will be reserved. If set to true, the preference will be offset as if it would have the icon and thus aligned with other preferences having icons. By default, preference icon view visibility will be set to GONE when there is no icon provided, so the default value of this attribute is false.
May be a boolean value, such as "true
" or
"false
".
Preference_isPreferenceVisible
public static int Preference_isPreferenceVisible
Whether the Preference is visible. By default, this is set to true.
May be a boolean value, such as "true
" or
"false
".
Preference_key
public static int Preference_key
The key to store the Preference value.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_layout
public static int Preference_layout
The layout for the Preference in a PreferenceActivity screen. This should rarely need to be changed, look at widgetLayout instead.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Preference_order
public static int Preference_order
The order for the Preference (lower values are to be ordered first). If this is not specified, the default ordering will be alphabetic.
May be an integer value, such as "100
".
Preference_persistent
public static int Preference_persistent
Whether the Preference stores its value to the shared preferences.
May be a boolean value, such as "true
" or
"false
".
Preference_selectable
public static int Preference_selectable
Whether the Preference is selectable.
May be a boolean value, such as "true
" or
"false
".
Preference_shouldDisableView
public static int Preference_shouldDisableView
Whether the view of this Preference should be disabled when this Preference is disabled.
May be a boolean value, such as "true
" or
"false
".
Preference_singleLineTitle
public static int Preference_singleLineTitle
Whether to use single line for the preference title text. By default, preference title will be constrained to one line, so the default value of this attribute is true.
May be a boolean value, such as "true
" or
"false
".
Preference_summary
public static int Preference_summary
The summary for the Preference in a PreferenceActivity screen.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_title
public static int Preference_title
The title for the Preference in a PreferenceActivity screen.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Preference_widgetLayout
public static int Preference_widgetLayout
The layout for the controllable widget portion of a Preference. This is inflated into the layout for a Preference and should be used more frequently than the layout attribute. For example, a checkbox preference would specify a custom layout (consisting of just the CheckBox) here.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ProgressSpinner
public static final int[] ProgressSpinner
Attributes that can be used with a ProgressSpinner.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
ProgressSpinner_color_sequence
public static int ProgressSpinner_color_sequence
This symbol is the offset where the R.attr.color_sequence
attribute's value can be found in the ProgressSpinner
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
RecycleListView
public static final int[] RecycleListView
Attributes that can be used with a RecycleListView.
Includes the following attributes:
Attribute | Description |
---|---|
| Bottom padding to use when no buttons are present. |
| Top padding to use when no title is present. |
RecycleListView_paddingBottomNoButtons
public static int RecycleListView_paddingBottomNoButtons
Bottom padding to use when no buttons are present.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
RecycleListView_paddingTopNoTitle
public static int RecycleListView_paddingTopNoTitle
Top padding to use when no title is present.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
RecyclerView
public static final int[] RecyclerView
Attributes that can be used with a RecyclerView.
Includes the following attributes:
See also:
RecyclerView_android_orientation
RecyclerView_android_clipToPadding
RecyclerView_android_descendantFocusability
RecyclerView_fastScrollEnabled
RecyclerView_fastScrollHorizontalThumbDrawable
RecyclerView_fastScrollHorizontalTrackDrawable
RecyclerView_fastScrollVerticalThumbDrawable
RecyclerView_fastScrollVerticalTrackDrawable
RecyclerView_layoutManager
RecyclerView_reverseLayout
RecyclerView_spanCount
RecyclerView_stackFromEnd
RecyclerView_android_clipToPadding
public static int RecyclerView_android_clipToPadding
This symbol is the offset where the R.attr.clipToPadding
attribute's value can be found in the RecyclerView
array.
May be a boolean value, such as "true
" or
"false
".
RecyclerView_android_descendantFocusability
public static int RecyclerView_android_descendantFocusability
This symbol is the offset where the R.attr.descendantFocusability
attribute's value can be found in the RecyclerView
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
afterDescendants | 1 | |
beforeDescendants | 0 | |
blocksDescendants | 2 |
RecyclerView_android_orientation
public static int RecyclerView_android_orientation
This symbol is the offset where the R.attr.orientation
attribute's value can be found in the RecyclerView
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
horizontal | 0 | |
vertical | 1 |
RecyclerView_fastScrollEnabled
public static int RecyclerView_fastScrollEnabled
This symbol is the offset where the R.attr.fastScrollEnabled
attribute's value can be found in the RecyclerView
array.
May be a boolean value, such as "true
" or
"false
".
RecyclerView_fastScrollHorizontalThumbDrawable
public static int RecyclerView_fastScrollHorizontalThumbDrawable
This symbol is the offset where the R.attr.fastScrollHorizontalThumbDrawable
attribute's value can be found in the RecyclerView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
RecyclerView_fastScrollHorizontalTrackDrawable
public static int RecyclerView_fastScrollHorizontalTrackDrawable
This symbol is the offset where the R.attr.fastScrollHorizontalTrackDrawable
attribute's value can be found in the RecyclerView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
RecyclerView_fastScrollVerticalThumbDrawable
public static int RecyclerView_fastScrollVerticalThumbDrawable
This symbol is the offset where the R.attr.fastScrollVerticalThumbDrawable
attribute's value can be found in the RecyclerView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
RecyclerView_fastScrollVerticalTrackDrawable
public static int RecyclerView_fastScrollVerticalTrackDrawable
This symbol is the offset where the R.attr.fastScrollVerticalTrackDrawable
attribute's value can be found in the RecyclerView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
RecyclerView_layoutManager
public static int RecyclerView_layoutManager
Class name of the Layout Manager to be used.
The class must ext androidx.recyclerview.widget.RecyclerViewView$LayoutManager and have either a default constructor or constructor with the signature (android.content.Context, android.util.AttributeSet, int, int). If the name starts with a '.', application package is prefixed. Else, if the name contains a '.', the classname is assumed to be a full class name. Else, the recycler view package naandroidx.appcompat.widgetdget) is prefixed.May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
RecyclerView_reverseLayout
public static int RecyclerView_reverseLayout
This symbol is the offset where the R.attr.reverseLayout
attribute's value can be found in the RecyclerView
array.
May be a boolean value, such as "true
" or
"false
".
RecyclerView_spanCount
public static int RecyclerView_spanCount
This symbol is the offset where the R.attr.spanCount
attribute's value can be found in the RecyclerView
array.
May be an integer value, such as "100
".
RecyclerView_stackFromEnd
public static int RecyclerView_stackFromEnd
This symbol is the offset where the R.attr.stackFromEnd
attribute's value can be found in the RecyclerView
array.
May be a boolean value, such as "true
" or
"false
".
SearchView
public static final int[] SearchView
Attributes that can be used with a SearchView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| Close button icon |
| Commit icon shown in the query suggestion row |
| Default query hint used when queryHint is undefined and
the search view's SearchableInfo does not provide a hint. |
| Go button icon |
| The default state of the SearchView. |
| The layout to use for the search view. |
| Background for the section containing the search query |
| An optional user-defined query hint string to be displayed in the empty query field. |
| Search icon displayed as a text field hint |
| Search icon |
| Background for the section containing the action (e.g. |
| Layout for query suggestion rows |
| Voice button icon |
See also:
SearchView_android_focusable
SearchView_android_maxWidth
SearchView_android_inputType
SearchView_android_imeOptions
SearchView_closeIcon
SearchView_commitIcon
SearchView_defaultQueryHint
SearchView_goIcon
SearchView_iconifiedByDefault
SearchView_layout
SearchView_queryBackground
SearchView_queryHint
SearchView_searchHintIcon
SearchView_searchIcon
SearchView_submitBackground
SearchView_suggestionRowLayout
SearchView_voiceIcon
SearchView_android_focusable
public static int SearchView_android_focusable
This symbol is the offset where the R.attr.focusable
attribute's value can be found in the SearchView
array.
May be a boolean value, such as "true
" or
"false
".
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | 10 |
SearchView_android_imeOptions
public static int SearchView_android_imeOptions
The IME options to set on the query text field.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
actionDone | 6 | |
actionGo | 2 | |
actionNext | 5 | |
actionNone | 1 | |
actionPrevious | 7 | |
actionSearch | 3 | |
actionSend | 4 | |
actionUnspecified | 0 | |
flagForceAscii | 80000000 | |
flagNavigateNext | 8000000 | |
flagNavigatePrevious | 4000000 | |
flagNoAccessoryAction | 20000000 | |
flagNoEnterAction | 40000000 | |
flagNoExtractUi | 10000000 | |
flagNoFullscreen | 2000000 | |
flagNoPersonalizedLearning | 1000000 | |
normal | 0 |
SearchView_android_inputType
public static int SearchView_android_inputType
The input type to set on the query text field.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
date | 14 | |
datetime | 4 | |
none | 0 | |
number | 2 | |
numberDecimal | 2002 | |
numberPassword | 12 | |
numberSigned | 1002 | |
phone | 3 | |
text | 1 | |
textAutoComplete | 10001 | |
textAutoCorrect | 8001 | |
textCapCharacters | 1001 | |
textCapSentences | 4001 | |
textCapWords | 2001 | |
textEmailAddress | 21 | |
textEmailSubject | 31 | |
textEnableTextConversionSuggestions | 100001 | |
textFilter | b1 | |
textImeMultiLine | 40001 | |
textLongMessage | 51 | |
textMultiLine | 20001 | |
textNoSuggestions | 80001 | |
textPassword | 81 | |
textPersonName | 61 | |
textPhonetic | c1 | |
textPostalAddress | 71 | |
textShortMessage | 41 | |
textUri | 11 | |
textVisiblePassword | 91 | |
textWebEditText | a1 | |
textWebEmailAddress | d1 | |
textWebPassword | e1 | |
time | 24 |
SearchView_android_maxWidth
public static int SearchView_android_maxWidth
An optional maximum width of the SearchView.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
SearchView_closeIcon
public static int SearchView_closeIcon
Close button icon
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_commitIcon
public static int SearchView_commitIcon
Commit icon shown in the query suggestion row
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_defaultQueryHint
public static int SearchView_defaultQueryHint
Default query hint used when queryHint
is undefined and
the search view's SearchableInfo
does not provide a hint.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SearchView_goIcon
public static int SearchView_goIcon
Go button icon
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_iconifiedByDefault
public static int SearchView_iconifiedByDefault
The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.
May be a boolean value, such as "true
" or
"false
".
SearchView_layout
public static int SearchView_layout
The layout to use for the search view.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_queryBackground
public static int SearchView_queryBackground
Background for the section containing the search query
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_queryHint
public static int SearchView_queryHint
An optional user-defined query hint string to be displayed in the empty query field.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SearchView_searchHintIcon
public static int SearchView_searchHintIcon
Search icon displayed as a text field hint
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_searchIcon
public static int SearchView_searchIcon
Search icon
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_submitBackground
public static int SearchView_submitBackground
Background for the section containing the action (e.g. voice search)
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_suggestionRowLayout
public static int SearchView_suggestionRowLayout
Layout for query suggestion rows
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SearchView_voiceIcon
public static int SearchView_voiceIcon
Voice button icon
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SeekBarPreference
public static final int[] SeekBarPreference
Attributes that can be used with a SeekBarPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| Attribute indicating whether the slider within this preference can be adjusted, that is pressing left/right keys when this preference is focused will move the slider accordingly (e.g. |
| |
| Attribute controlling the amount to increment or decrement the seekbar when the user presses the arrow keys |
| Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be displayed. |
| Flag indicating whether the SeekBarPreference should continuously save the Seekbar value while the Seekbar is being dragged. |
SeekBarPreference_adjustable
public static int SeekBarPreference_adjustable
Attribute indicating whether the slider within this preference can be adjusted, that is pressing left/right keys when this preference is focused will move the slider accordingly (e.g. inline adjustable preferences). False, if the slider within the preference is read-only and cannot be adjusted. By default, the seekbar is adjustable.
May be a boolean value, such as "true
" or
"false
".
SeekBarPreference_android_layout
public static int SeekBarPreference_android_layout
This symbol is the offset where the R.attr.layout
attribute's value can be found in the SeekBarPreference
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SeekBarPreference_android_max
public static int SeekBarPreference_android_max
This symbol is the offset where the R.attr.max
attribute's value can be found in the SeekBarPreference
array.
May be an integer value, such as "100
".
SeekBarPreference_min
public static int SeekBarPreference_min
This symbol is the offset where the R.attr.min
attribute's value can be found in the SeekBarPreference
array.
May be an integer value, such as "100
".
SeekBarPreference_seekBarIncrement
public static int SeekBarPreference_seekBarIncrement
Attribute controlling the amount to increment or decrement the seekbar when the user presses the arrow keys
May be an integer value, such as "100
".
SeekBarPreference_showSeekBarValue
public static int SeekBarPreference_showSeekBarValue
Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is GONE.
May be a boolean value, such as "true
" or
"false
".
SeekBarPreference_updatesContinuously
public static int SeekBarPreference_updatesContinuously
Flag indicating whether the SeekBarPreference should continuously save the Seekbar value while the Seekbar is being dragged. If true, the SeekBarPreference should continuously save the Seekbar value while it is being dragged. If false, the Seekbar value is only saved when released. By default, this boolean is false.
May be a boolean value, such as "true
" or
"false
".
Spinner
public static final int[] Spinner
Attributes that can be used with a Spinner.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
Spinner_android_dropDownWidth
public static int Spinner_android_dropDownWidth
Width of the dropdown in spinnerMode="dropdown".
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill_parent | ffffffff | |
match_parent | ffffffff | |
wrap_content | fffffffe |
Spinner_android_entries
public static int Spinner_android_entries
Reference to an array resource that will populate the Spinner.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Spinner_android_popupBackground
public static int Spinner_android_popupBackground
Background drawable to use for the dropdown in spinnerMode="dropdown".
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Spinner_android_prompt
public static int Spinner_android_prompt
The prompt to display when the spinner's dialog is shown.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Spinner_popupTheme
public static int Spinner_popupTheme
Theme to use for the drop-down or dialog popup window.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
StateListDrawable
public static final int[] StateListDrawable
Attributes that can be used with a StateListDrawable.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
|
StateListDrawableItem
public static final int[] StateListDrawableItem
Attributes that can be used with a StateListDrawableItem.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
StateListDrawableItem_android_drawable
public static int StateListDrawableItem_android_drawable
Reference to a drawable resource to use for the state. If not given, the drawable must be defined by the first child tag.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
StateListDrawable_android_constantSize
public static int StateListDrawable_android_constantSize
If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. If false, the size will vary based on the current state.
May be a boolean value, such as "true
" or
"false
".
StateListDrawable_android_dither
public static int StateListDrawable_android_dither
Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).
May be a boolean value, such as "true
" or
"false
".
StateListDrawable_android_enterFadeDuration
public static int StateListDrawable_android_enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable.
May be an integer value, such as "100
".
StateListDrawable_android_exitFadeDuration
public static int StateListDrawable_android_exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable.
May be an integer value, such as "100
".
StateListDrawable_android_variablePadding
public static int StateListDrawable_android_variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. If false, the padding will stay the same (based on the maximum padding of all the states). Enabling this feature requires that the owner of the drawable deal with performing layout when the state changes, which is often not supported.
May be a boolean value, such as "true
" or
"false
".
StateListDrawable_android_visible
public static int StateListDrawable_android_visible
Indicates whether the drawable should be initially visible.
May be a boolean value, such as "true
" or
"false
".
SwipeRefreshLayout
public static final int[] SwipeRefreshLayout
Attributes that can be used with a SwipeRefreshLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| Background color for SwipeRefreshLayout progress spinner. |
SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor
public static int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor
Background color for SwipeRefreshLayout progress spinner.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
SwitchCompat
public static final int[] SwitchCompat
Attributes that can be used with a SwitchCompat.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| Whether to draw on/off text. |
| Whether to split the track and leave a gap for the thumb drawable. |
| Minimum width for the switch component |
| Minimum space between the switch and caption text |
| TextAppearance style for text displayed on the switch thumb. |
| Amount of padding on either side of text within the switch thumb. |
| Tint to apply to the thumb drawable. |
| Blending mode used to apply the thumb tint. |
| Drawable to use as the "track" that the switch thumb slides within. |
| Tint to apply to the track. |
| Blending mode used to apply the track tint. |
See also:
SwitchCompat_android_textOn
SwitchCompat_android_textOff
SwitchCompat_android_thumb
SwitchCompat_showText
SwitchCompat_splitTrack
SwitchCompat_switchMinWidth
SwitchCompat_switchPadding
SwitchCompat_switchTextAppearance
SwitchCompat_thumbTextPadding
SwitchCompat_thumbTint
SwitchCompat_thumbTintMode
SwitchCompat_track
SwitchCompat_trackTint
SwitchCompat_trackTintMode
SwitchCompat_android_textOff
public static int SwitchCompat_android_textOff
Text to use when the switch is in the unchecked/"off" state.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchCompat_android_textOn
public static int SwitchCompat_android_textOn
Text to use when the switch is in the checked/"on" state.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchCompat_android_thumb
public static int SwitchCompat_android_thumb
Drawable to use as the "thumb" that switches back and forth.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SwitchCompat_showText
public static int SwitchCompat_showText
Whether to draw on/off text.
May be a boolean value, such as "true
" or
"false
".
SwitchCompat_splitTrack
public static int SwitchCompat_splitTrack
Whether to split the track and leave a gap for the thumb drawable.
May be a boolean value, such as "true
" or
"false
".
SwitchCompat_switchMinWidth
public static int SwitchCompat_switchMinWidth
Minimum width for the switch component
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
SwitchCompat_switchPadding
public static int SwitchCompat_switchPadding
Minimum space between the switch and caption text
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
SwitchCompat_switchTextAppearance
public static int SwitchCompat_switchTextAppearance
TextAppearance style for text displayed on the switch thumb.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SwitchCompat_thumbTextPadding
public static int SwitchCompat_thumbTextPadding
Amount of padding on either side of text within the switch thumb.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
SwitchCompat_thumbTint
public static int SwitchCompat_thumbTint
Tint to apply to the thumb drawable.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
SwitchCompat_thumbTintMode
public static int SwitchCompat_thumbTintMode
Blending mode used to apply the thumb tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
SwitchCompat_track
public static int SwitchCompat_track
Drawable to use as the "track" that the switch thumb slides within.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
SwitchCompat_trackTint
public static int SwitchCompat_trackTint
Tint to apply to the track.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
SwitchCompat_trackTintMode
public static int SwitchCompat_trackTintMode
Blending mode used to apply the track tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
SwitchPreference
public static final int[] SwitchPreference
Attributes that can be used with a SwitchPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| The state (true for on, or false for off) that causes dependents to be disabled. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. |
| The text used on the switch itself when in the "off" state. |
| The text used on the switch itself when in the "on" state. |
See also:
SwitchPreference_android_summaryOn
SwitchPreference_android_summaryOff
SwitchPreference_android_disableDependentsState
SwitchPreference_android_switchTextOn
SwitchPreference_android_switchTextOff
SwitchPreference_disableDependentsState
SwitchPreference_summaryOff
SwitchPreference_summaryOn
SwitchPreference_switchTextOff
SwitchPreference_switchTextOn
SwitchPreferenceCompat
public static final int[] SwitchPreferenceCompat
Attributes that can be used with a SwitchPreferenceCompat.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| The state (true for on, or false for off) that causes dependents to be disabled. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. |
| The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. |
| The text used on the switch itself when in the "off" state. |
| The text used on the switch itself when in the "on" state. |
See also:
SwitchPreferenceCompat_android_summaryOn
SwitchPreferenceCompat_android_summaryOff
SwitchPreferenceCompat_android_disableDependentsState
SwitchPreferenceCompat_android_switchTextOn
SwitchPreferenceCompat_android_switchTextOff
SwitchPreferenceCompat_disableDependentsState
SwitchPreferenceCompat_summaryOff
SwitchPreferenceCompat_summaryOn
SwitchPreferenceCompat_switchTextOff
SwitchPreferenceCompat_switchTextOn
SwitchPreferenceCompat_android_disableDependentsState
public static int SwitchPreferenceCompat_android_disableDependentsState
This symbol is the offset where the R.attr.disableDependentsState
attribute's value can be found in the SwitchPreferenceCompat
array.
May be a boolean value, such as "true
" or
"false
".
SwitchPreferenceCompat_android_summaryOff
public static int SwitchPreferenceCompat_android_summaryOff
This symbol is the offset where the R.attr.summaryOff
attribute's value can be found in the SwitchPreferenceCompat
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreferenceCompat_android_summaryOn
public static int SwitchPreferenceCompat_android_summaryOn
This symbol is the offset where the R.attr.summaryOn
attribute's value can be found in the SwitchPreferenceCompat
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreferenceCompat_android_switchTextOff
public static int SwitchPreferenceCompat_android_switchTextOff
This symbol is the offset where the R.attr.switchTextOff
attribute's value can be found in the SwitchPreferenceCompat
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreferenceCompat_android_switchTextOn
public static int SwitchPreferenceCompat_android_switchTextOn
This symbol is the offset where the R.attr.switchTextOn
attribute's value can be found in the SwitchPreferenceCompat
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreferenceCompat_disableDependentsState
public static int SwitchPreferenceCompat_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.
May be a boolean value, such as "true
" or
"false
".
SwitchPreferenceCompat_summaryOff
public static int SwitchPreferenceCompat_summaryOff
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreferenceCompat_summaryOn
public static int SwitchPreferenceCompat_summaryOn
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreferenceCompat_switchTextOff
public static int SwitchPreferenceCompat_switchTextOff
The text used on the switch itself when in the "off" state. This should be a very SHORT string, as it appears in a small space.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreferenceCompat_switchTextOn
public static int SwitchPreferenceCompat_switchTextOn
The text used on the switch itself when in the "on" state. This should be a very SHORT string, as it appears in a small space.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_android_disableDependentsState
public static int SwitchPreference_android_disableDependentsState
This symbol is the offset where the R.attr.disableDependentsState
attribute's value can be found in the SwitchPreference
array.
May be a boolean value, such as "true
" or
"false
".
SwitchPreference_android_summaryOff
public static int SwitchPreference_android_summaryOff
This symbol is the offset where the R.attr.summaryOff
attribute's value can be found in the SwitchPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_android_summaryOn
public static int SwitchPreference_android_summaryOn
This symbol is the offset where the R.attr.summaryOn
attribute's value can be found in the SwitchPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_android_switchTextOff
public static int SwitchPreference_android_switchTextOff
This symbol is the offset where the R.attr.switchTextOff
attribute's value can be found in the SwitchPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_android_switchTextOn
public static int SwitchPreference_android_switchTextOn
This symbol is the offset where the R.attr.switchTextOn
attribute's value can be found in the SwitchPreference
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_disableDependentsState
public static int SwitchPreference_disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.
May be a boolean value, such as "true
" or
"false
".
SwitchPreference_summaryOff
public static int SwitchPreference_summaryOff
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_summaryOn
public static int SwitchPreference_summaryOn
The summary for the Preference in a PreferenceActivity screen when the SwitchPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_switchTextOff
public static int SwitchPreference_switchTextOff
The text used on the switch itself when in the "off" state. This should be a very SHORT string, as it appears in a small space.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
SwitchPreference_switchTextOn
public static int SwitchPreference_switchTextOn
The text used on the switch itself when in the "on" state. This should be a very SHORT string, as it appears in a small space.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
TextAppearance
public static final int[] TextAppearance
Attributes that can be used with a TextAppearance.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| The attribute for the font family. |
| The variation settings to be applied to the font. |
| Present the text in ALL CAPS. |
| Set the textLocale by a comma-separated language tag string, for example "ja-JP,zh-CN". |
See also:
TextAppearance_android_textSize
TextAppearance_android_typeface
TextAppearance_android_textStyle
TextAppearance_android_textColor
TextAppearance_android_textColorHint
TextAppearance_android_textColorLink
TextAppearance_android_shadowColor
TextAppearance_android_shadowDx
TextAppearance_android_shadowDy
TextAppearance_android_shadowRadius
TextAppearance_android_fontFamily
TextAppearance_android_textFontWeight
TextAppearance_fontFamily
TextAppearance_fontVariationSettings
TextAppearance_textAllCaps
TextAppearance_textLocale
TextAppearance_android_fontFamily
public static int TextAppearance_android_fontFamily
This symbol is the offset where the R.attr.fontFamily
attribute's value can be found in the TextAppearance
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
TextAppearance_android_shadowColor
public static int TextAppearance_android_shadowColor
This symbol is the offset where the R.attr.shadowColor
attribute's value can be found in the TextAppearance
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
TextAppearance_android_shadowDx
public static int TextAppearance_android_shadowDx
This symbol is the offset where the R.attr.shadowDx
attribute's value can be found in the TextAppearance
array.
May be a floating point value, such as "1.2
".
TextAppearance_android_shadowDy
public static int TextAppearance_android_shadowDy
This symbol is the offset where the R.attr.shadowDy
attribute's value can be found in the TextAppearance
array.
May be a floating point value, such as "1.2
".
TextAppearance_android_shadowRadius
public static int TextAppearance_android_shadowRadius
This symbol is the offset where the R.attr.shadowRadius
attribute's value can be found in the TextAppearance
array.
May be a floating point value, such as "1.2
".
TextAppearance_android_textColor
public static int TextAppearance_android_textColor
This symbol is the offset where the R.attr.textColor
attribute's value can be found in the TextAppearance
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
TextAppearance_android_textColorHint
public static int TextAppearance_android_textColorHint
This symbol is the offset where the R.attr.textColorHint
attribute's value can be found in the TextAppearance
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
TextAppearance_android_textColorLink
public static int TextAppearance_android_textColorLink
This symbol is the offset where the R.attr.textColorLink
attribute's value can be found in the TextAppearance
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
TextAppearance_android_textFontWeight
public static int TextAppearance_android_textFontWeight
This symbol is the offset where the R.attr.textFontWeight
attribute's value can be found in the TextAppearance
array.
May be an integer value, such as "100
".
TextAppearance_android_textSize
public static int TextAppearance_android_textSize
This symbol is the offset where the R.attr.textSize
attribute's value can be found in the TextAppearance
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
TextAppearance_android_textStyle
public static int TextAppearance_android_textStyle
This symbol is the offset where the R.attr.textStyle
attribute's value can be found in the TextAppearance
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bold | 1 | |
italic | 2 | |
normal | 0 |
TextAppearance_android_typeface
public static int TextAppearance_android_typeface
This symbol is the offset where the R.attr.typeface
attribute's value can be found in the TextAppearance
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
monospace | 3 | |
normal | 0 | |
sans | 1 | |
serif | 2 |
TextAppearance_fontFamily
public static int TextAppearance_fontFamily
The attribute for the font family.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
TextAppearance_fontVariationSettings
public static int TextAppearance_fontVariationSettings
OpenType font variation settings, available aftear api 26.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
TextAppearance_textAllCaps
public static int TextAppearance_textAllCaps
Present the text in ALL CAPS. This may use a small-caps form when available.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a boolean value, such as "true
" or
"false
".
TextAppearance_textLocale
public static int TextAppearance_textLocale
Set the textLocale by a comma-separated language tag string,
for example "ja-JP,zh-CN". This attribute only takes effect on API 21 and above.
Before API 24, only the first language tag is used. Starting from API 24,
the string will be converted into a LocaleList
and then used by
TextView
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Toolbar
public static final int[] Toolbar
This field is deprecated.
Use titleMargin
Attributes that can be used with a Toolbar.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| Text to set as the content description for the collapse button. |
| Icon drawable to use for the collapse button. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when actions from a menu are present. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar. |
| Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
| Specifies the drawable used for the application logo. |
| A content description string to describe the appearance of the associated logo image. |
| |
| Menu resource to inflate to be shown in the toolbar |
| Text to set as the content description for the navigation button located at the start of the toolbar. |
| Icon drawable to use for the navigation button located at the start of the toolbar. |
| Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
| Specifies subtitle text used for navigationMode="normal" |
| |
| A color to apply to the subtitle string. |
| |
| Specifies extra space on the left, start, right and end sides of the toolbar's title. |
| Specifies extra space on the bottom side of the toolbar's title. |
| Specifies extra space on the end side of the toolbar's title. |
| Specifies extra space on the start side of the toolbar's title. |
| Specifies extra space on the top side of the toolbar's title. |
| |
| |
| A color to apply to the title string. |
See also:
Toolbar_android_gravity
Toolbar_android_minHeight
Toolbar_buttonGravity
Toolbar_collapseContentDescription
Toolbar_collapseIcon
Toolbar_contentInsetEnd
Toolbar_contentInsetEndWithActions
Toolbar_contentInsetLeft
Toolbar_contentInsetRight
Toolbar_contentInsetStart
Toolbar_contentInsetStartWithNavigation
Toolbar_logo
Toolbar_logoDescription
Toolbar_maxButtonHeight
Toolbar_menu
Toolbar_navigationContentDescription
Toolbar_navigationIcon
Toolbar_popupTheme
Toolbar_subtitle
Toolbar_subtitleTextAppearance
Toolbar_subtitleTextColor
Toolbar_title
Toolbar_titleMargin
Toolbar_titleMarginBottom
Toolbar_titleMarginEnd
Toolbar_titleMarginStart
Toolbar_titleMarginTop
Toolbar_titleMargins
Toolbar_titleTextAppearance
Toolbar_titleTextColor
Toolbar_android_gravity
public static int Toolbar_android_gravity
This symbol is the offset where the R.attr.gravity
attribute's value can be found in the Toolbar
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
end | 800005 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
start | 800003 | |
top | 30 |
Toolbar_android_minHeight
public static int Toolbar_android_minHeight
This symbol is the offset where the R.attr.minHeight
attribute's value can be found in the Toolbar
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_buttonGravity
public static int Toolbar_buttonGravity
This symbol is the offset where the R.attr.buttonGravity
attribute's value can be found in the Toolbar
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Push object to the bottom of its container, not changing its size. |
center_vertical | 10 | Place object in the vertical center of its container, not changing its size. |
top | 30 | Push object to the top of its container, not changing its size. |
Toolbar_collapseContentDescription
public static int Toolbar_collapseContentDescription
Text to set as the content description for the collapse button.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Toolbar_collapseIcon
public static int Toolbar_collapseIcon
Icon drawable to use for the collapse button.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Toolbar_contentInsetEnd
public static int Toolbar_contentInsetEnd
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_contentInsetEndWithActions
public static int Toolbar_contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_contentInsetLeft
public static int Toolbar_contentInsetLeft
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_contentInsetRight
public static int Toolbar_contentInsetRight
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_contentInsetStart
public static int Toolbar_contentInsetStart
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_contentInsetStartWithNavigation
public static int Toolbar_contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_logo
public static int Toolbar_logo
Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Toolbar_logoDescription
public static int Toolbar_logoDescription
A content description string to describe the appearance of the associated logo image.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Toolbar_maxButtonHeight
public static int Toolbar_maxButtonHeight
This symbol is the offset where the R.attr.maxButtonHeight
attribute's value can be found in the Toolbar
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_menu
public static int Toolbar_menu
Menu resource to inflate to be shown in the toolbar
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Toolbar_navigationContentDescription
public static int Toolbar_navigationContentDescription
Text to set as the content description for the navigation button located at the start of the toolbar.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Toolbar_navigationIcon
public static int Toolbar_navigationIcon
Icon drawable to use for the navigation button located at the start of the toolbar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Toolbar_popupTheme
public static int Toolbar_popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the toolbar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Toolbar_subtitle
public static int Toolbar_subtitle
Specifies subtitle text used for navigationMode="normal"
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Toolbar_subtitleTextAppearance
public static int Toolbar_subtitleTextAppearance
This symbol is the offset where the R.attr.subtitleTextAppearance
attribute's value can be found in the Toolbar
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Toolbar_subtitleTextColor
public static int Toolbar_subtitleTextColor
A color to apply to the subtitle string.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Toolbar_title
public static int Toolbar_title
This symbol is the offset where the R.attr.title
attribute's value can be found in the Toolbar
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Toolbar_titleMargin
public static int Toolbar_titleMargin
Specifies extra space on the left, start, right and end sides of the toolbar's title. Margin values should be positive.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_titleMarginBottom
public static int Toolbar_titleMarginBottom
Specifies extra space on the bottom side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_titleMarginEnd
public static int Toolbar_titleMarginEnd
Specifies extra space on the end side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_titleMarginStart
public static int Toolbar_titleMarginStart
Specifies extra space on the start side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_titleMarginTop
public static int Toolbar_titleMarginTop
Specifies extra space on the top side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_titleMargins
public static int Toolbar_titleMargins
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Toolbar_titleTextAppearance
public static int Toolbar_titleTextAppearance
This symbol is the offset where the R.attr.titleTextAppearance
attribute's value can be found in the Toolbar
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Toolbar_titleTextColor
public static int Toolbar_titleTextColor
A color to apply to the title string.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
View
public static final int[] View
Attributes that can be used with a View.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| 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 . |
| Deprecated. |
ViewBackgroundHelper
public static final int[] ViewBackgroundHelper
Attributes that can be used with a ViewBackgroundHelper.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| Tint to apply to the background. |
| Blending mode used to apply the background tint. |
ViewBackgroundHelper_android_background
public static int ViewBackgroundHelper_android_background
This symbol is the offset where the R.attr.background
attribute's value can be found in the ViewBackgroundHelper
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ViewBackgroundHelper_backgroundTint
public static int ViewBackgroundHelper_backgroundTint
Tint to apply to the background.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
ViewBackgroundHelper_backgroundTintMode
public static int ViewBackgroundHelper_backgroundTintMode
Blending mode used to apply the background tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
add | 10 | Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
multiply | e | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | f | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
ViewStubCompat
public static final int[] ViewStubCompat
Attributes that can be used with a ViewStubCompat.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
ViewStubCompat_android_id
public static int ViewStubCompat_android_id
This symbol is the offset where the R.attr.id
attribute's value can be found in the ViewStubCompat
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ViewStubCompat_android_inflatedId
public static int ViewStubCompat_android_inflatedId
Overrides the id of the inflated View with this value.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
ViewStubCompat_android_layout
public static int ViewStubCompat_android_layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
View_android_focusable
public static int View_android_focusable
Boolean that controls whether a view can take focus. By default the user can not
move focus to a view; by setting this attribute to true the view is
allowed to take focus. This value does not impact the behavior of
directly calling View.requestFocus()
, which will
always request focus regardless of this view. It only impacts where
focus navigation will try to move focus.
May be a boolean value, such as "true
" or
"false
".
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | 10 |
View_android_theme
public static int View_android_theme
Specifies a theme override for a view. When a theme override is set, the
view will be inflated using a Context
themed with
the specified resource.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
View_paddingEnd
public static int View_paddingEnd
Sets the padding, in pixels, of the end edge; see R.attr.padding
.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
View_paddingStart
public static int View_paddingStart
Sets the padding, in pixels, of the start edge; see R.attr.padding
.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
View_theme
public static int View_theme
Deprecated.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WatchViewStub
public static final int[] WatchViewStub
Attributes that can be used with a WatchViewStub.
Includes the following attributes:
Attribute | Description |
---|---|
| Resource id of a layout to use in rectangular containers |
| Resource id of a layout to use in round containers |
WatchViewStub_rectLayout
public static int WatchViewStub_rectLayout
Resource id of a layout to use in rectangular containers
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WatchViewStub_roundLayout
public static int WatchViewStub_roundLayout
Resource id of a layout to use in round containers
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WearableActionDrawer
public static final int[] WearableActionDrawer
Attributes that can be used with a WearableActionDrawer.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| Shows the overflow icon in the peek view rather than the first action's icon. |
WearableActionDrawer_action_menu
public static int WearableActionDrawer_action_menu
This symbol is the offset where the R.attr.action_menu
attribute's value can be found in the WearableActionDrawer
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WearableActionDrawer_drawer_title
public static int WearableActionDrawer_drawer_title
This symbol is the offset where the R.attr.drawer_title
attribute's value can be found in the WearableActionDrawer
array.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
WearableActionDrawer_show_overflow_in_peek
public static int WearableActionDrawer_show_overflow_in_peek
Shows the overflow icon in the peek view rather than the first action's icon. Also, taps on the peek view will open the drawer rather than executing the first action.
May be a boolean value, such as "true
" or
"false
".
WearableDialogPreference
public static final int[] WearableDialogPreference
Base attributes available to ConfirmationSwitchPreference.
Includes the following attributes:
Attribute | Description |
---|---|
| The icon for the negative button for the dialog. |
| The icon for the neutral button for the dialog. |
| The neutral button text for the dialog. |
| The icon for the positive button for the dialog. |
WearableDialogPreference_negativeButtonIcon
public static int WearableDialogPreference_negativeButtonIcon
The icon for the negative button for the dialog.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WearableDialogPreference_neutralButtonIcon
public static int WearableDialogPreference_neutralButtonIcon
The icon for the neutral button for the dialog.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WearableDialogPreference_neutralButtonText
public static int WearableDialogPreference_neutralButtonText
The neutral button text for the dialog. Set to @null to hide the neutral button.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
WearableDialogPreference_positiveButtonIcon
public static int WearableDialogPreference_positiveButtonIcon
The icon for the positive button for the dialog.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WearableDrawerView
public static final int[] WearableDrawerView
Attributes that can be used with a WearableDrawerView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
|
WearableDrawerView_drawer_content
public static int WearableDrawerView_drawer_content
This symbol is the offset where the R.attr.drawer_content
attribute's value can be found in the WearableDrawerView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WearableDrawerView_peek_view
public static int WearableDrawerView_peek_view
This symbol is the offset where the R.attr.peek_view
attribute's value can be found in the WearableDrawerView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
WearableFrameLayout
public static final int[] WearableFrameLayout
Attributes that can be used with a WearableFrameLayout.
Includes the following attributes:
See also:
WearableFrameLayout_android_foreground
WearableFrameLayout_android_measureAllChildren
WearableFrameLayout_android_foregroundGravity
WearableFrameLayout_android_foregroundTint
WearableFrameLayout_layout_gravityRound
WearableFrameLayout_layout_heightRound
WearableFrameLayout_layout_marginBottomRound
WearableFrameLayout_layout_marginLeftRound
WearableFrameLayout_layout_marginRightRound
WearableFrameLayout_layout_marginRound
WearableFrameLayout_layout_marginTopRound
WearableFrameLayout_layout_widthRound
WearableFrameLayout_android_foreground
public static int WearableFrameLayout_android_foreground
This symbol is the offset where the R.attr.foreground
attribute's value can be found in the WearableFrameLayout
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
WearableFrameLayout_android_foregroundGravity
public static int WearableFrameLayout_android_foregroundGravity
This symbol is the offset where the R.attr.foregroundGravity
attribute's value can be found in the WearableFrameLayout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
top | 30 |
WearableFrameLayout_android_foregroundTint
public static int WearableFrameLayout_android_foregroundTint
This symbol is the offset where the R.attr.foregroundTint
attribute's value can be found in the WearableFrameLayout
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
WearableFrameLayout_android_measureAllChildren
public static int WearableFrameLayout_android_measureAllChildren
This symbol is the offset where the R.attr.measureAllChildren
attribute's value can be found in the WearableFrameLayout
array.
May be a boolean value, such as "true
" or
"false
".
WearableFrameLayout_layout_gravityRound
public static int WearableFrameLayout_layout_gravityRound
This symbol is the offset where the R.attr.layout_gravityRound
attribute's value can be found in the WearableFrameLayout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Push object to the bottom of its container, not changing its size. |
center | 11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
center_horizontal | 1 | Place object in the horizontal center of its container, not changing its size. |
center_vertical | 10 | Place object in the vertical center of its container, not changing its size. |
clip_horizontal | 8 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
clip_vertical | 80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
end | 800005 | Push object to the end of its container, not changing its size. |
fill | 77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
fill_horizontal | 7 | Grow the horizontal size of the object if needed so it completely fills its container. |
fill_vertical | 70 | Grow the vertical size of the object if needed so it completely fills its container. |
left | 3 | Push object to the left of its container, not changing its size. |
right | 5 | Push object to the right of its container, not changing its size. |
start | 800003 | Push object to the beginning of its container, not changing its size. |
top | 30 | Push object to the top of its container, not changing its size. |
WearableFrameLayout_layout_heightRound
public static int WearableFrameLayout_layout_heightRound
This symbol is the offset where the R.attr.layout_heightRound
attribute's value can be found in the WearableFrameLayout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
WearableFrameLayout_layout_marginBottomRound
public static int WearableFrameLayout_layout_marginBottomRound
This symbol is the offset where the R.attr.layout_marginBottomRound
attribute's value can be found in the WearableFrameLayout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
WearableFrameLayout_layout_marginLeftRound
public static int WearableFrameLayout_layout_marginLeftRound
This symbol is the offset where the R.attr.layout_marginLeftRound
attribute's value can be found in the WearableFrameLayout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
WearableFrameLayout_layout_marginRightRound
public static int WearableFrameLayout_layout_marginRightRound
This symbol is the offset where the R.attr.layout_marginRightRound
attribute's value can be found in the WearableFrameLayout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
WearableFrameLayout_layout_marginRound
public static int WearableFrameLayout_layout_marginRound
This symbol is the offset where the R.attr.layout_marginRound
attribute's value can be found in the WearableFrameLayout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
WearableFrameLayout_layout_marginTopRound
public static int WearableFrameLayout_layout_marginTopRound
This symbol is the offset where the R.attr.layout_marginTopRound
attribute's value can be found in the WearableFrameLayout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
WearableFrameLayout_layout_widthRound
public static int WearableFrameLayout_layout_widthRound
This symbol is the offset where the R.attr.layout_widthRound
attribute's value can be found in the WearableFrameLayout
array.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
WearableNavigationDrawer
public static final int[] WearableNavigationDrawer
Attributes that can be used with a WearableNavigationDrawer.
Includes the following attributes:
Attribute | Description |
---|---|
|
WearableNavigationDrawer_navigation_style
public static int WearableNavigationDrawer_navigation_style
This symbol is the offset where the R.attr.navigation_style
attribute's value can be found in the WearableNavigationDrawer
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
multi_page | 1 | |
single_page | 0 |
WearableRecyclerView
public static final int[] WearableRecyclerView
Attributes that can be used with a WearableRecyclerView.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
WearableRecyclerView_bezel_width
public static int WearableRecyclerView_bezel_width
This symbol is the offset where the R.attr.bezel_width
attribute's value can be found in the WearableRecyclerView
array.
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.
WearableRecyclerView_circular_scrolling_gesture_enabled
public static int WearableRecyclerView_circular_scrolling_gesture_enabled
This symbol is the offset where the R.attr.circular_scrolling_gesture_enabled
attribute's value can be found in the WearableRecyclerView
array.
May be a boolean value, such as "true
" or
"false
".
WearableRecyclerView_scroll_degrees_per_screen
public static int WearableRecyclerView_scroll_degrees_per_screen
This symbol is the offset where the R.attr.scroll_degrees_per_screen
attribute's value can be found in the WearableRecyclerView
array.
May be a floating point value, such as "1.2
".
Public constructors
styleable
public styleable ()