R.attr
public
static
final
class
R.attr
extends Object
java.lang.Object | |
↳ | android.R.attr |
Summary
Constants | |
---|---|
int |
absListViewStyle
Default AbsListView style. |
int |
accessibilityDataSensitive
Describes whether this view should allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property. |
int |
accessibilityEventTypes
The event types this service would like to receive as specified in
|
int |
accessibilityFeedbackType
The feedback types this service provides as specified in
|
int |
accessibilityFlags
Additional flags as specified in
|
int |
accessibilityHeading
Whether or not this view is a heading for accessibility purposes. |
int |
accessibilityLiveRegion
Indicates to accessibility services whether the user should be notified when this view changes. |
int |
accessibilityPaneTitle
The title this view should present to accessibility as a pane title. |
int |
accessibilityTraversalAfter
Sets the id of a view that screen readers are requested to visit before this view. |
int |
accessibilityTraversalBefore
Sets the id of a view that screen readers are requested to visit after this view. |
int |
accountPreferences
A preferences.xml file for authenticator-specific settings. |
int |
accountType
The account type this authenticator handles. |
int |
action
The action name to assign to the Intent, as per
|
int |
actionBarDivider
Custom divider drawable to use for elements in the action bar. |
int |
actionBarItemBackground
Custom item state list drawable background for action bar items. |
int |
actionBarPopupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar. |
int |
actionBarSize
Size of the Action Bar, including the contextual bar used to present Action Modes. |
int |
actionBarSplitStyle
Reference to a style for the split Action Bar. |
int |
actionBarStyle
Reference to a style for the Action Bar. |
int |
actionBarTabBarStyle
Reference to a style for the Action Bar Tab Bar. |
int |
actionBarTabStyle
Default style for tabs within an action bar. |
int |
actionBarTabTextStyle
Reference to a style for the Action Bar Tab text. |
int |
actionBarTheme
Reference to a theme that should be used to inflate the action bar. |
int |
actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. |
int |
actionButtonStyle
Default action button style. |
int |
actionDropDownStyle
Default ActionBar dropdown style. |
int |
actionLayout
An optional layout to be used as an action view. |
int |
actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action menu items. |
int |
actionMenuTextColor
Color for text that appears within action menu items. |
int |
actionModeBackground
Background drawable to use for action mode UI. |
int |
actionModeCloseButtonStyle
Reference to a style for the Action Mode close button. |
int |
actionModeCloseDrawable
Drawable to use for the close action mode button. |
int |
actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar. |
int |
actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar. |
int |
actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes. |
int |
actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar. |
int |
actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar. |
int |
actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes. |
int |
actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar. |
int |
actionModeStyle
Reference to a style for the Action Mode. |
int |
actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes. |
int |
actionOverflowButtonStyle
Reference to a style for Action Bar overflow buttons. |
int |
actionOverflowMenuStyle
Reference to a style for the Action Bar menu. |
int |
actionProviderClass
The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. |
int |
actionViewClass
The name of an optional View class to instantiate and use as an action view. |
int |
activatedBackgroundIndicator
Drawable used as a background for activated items. |
int |
activityCloseEnterAnimation
When closing the current activity, this is the animation that is run on the next activity (which is entering the screen). |
int |
activityCloseExitAnimation
When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen). |
int |
activityOpenEnterAnimation
When opening a new activity, this is the animation that is run on the next activity (which is entering the screen). |
int |
activityOpenExitAnimation
When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen). |
int |
adServiceTypes
The advertisement types that the TV ad service supports. |
int |
addPrintersActivity
Fully qualified class name of an activity that allows the user to manually add printers to this print service. |
int |
addStatesFromChildren
Sets whether this ViewGroup's drawable states also include its children's drawable states. |
int |
adjustViewBounds
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable. |
int |
advancedPrintOptionsActivity
Fully qualified class name of an activity with advanced print options specific to this print service. |
int |
alertDialogIcon
Icon drawable to use for alerts. |
int |
alertDialogStyle
May be a reference to another resource, in the form
" |
int |
alertDialogTheme
Theme to use for alert dialogs spawned from this theme. |
int |
alignmentMode
Alignment constants. |
int |
allContactsName
Resource representing the term "All Contacts" (for example, "All Friends" or "All connections"). |
int |
allow
Specify if this group is allow rule or disallow rule. |
int |
allowAudioPlaybackCapture
If |
int |
allowBackup
Whether to allow the application to participate in the backup and restore infrastructure. |
int |
allowClearUserData
Option to let applications specify that user data can/cannot be cleared. |
int |
allowClickWhenDisabled
Whether or not allow clicks on disabled view. |
int |
allowCrossUidActivitySwitchFromBelow
May be a boolean value, such as " |
int |
allowEmbedded
Indicate that the activity can be launched as the embedded child of another activity. |
int |
allowGameAngleDriver
Set true to enable ANGLE. |
int |
allowGameDownscaling
Set true to allow resolution downscaling intervention. |
int |
allowGameFpsOverride
Set true to allow FPS override intervention. |
int |
allowNativeHeapPointerTagging
If |
int |
allowParallelSyncs
Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority. |
int |
allowSharedIsolatedProcess
If true, and this is an |
int |
allowSingleTap
Indicates whether the drawer can be opened/closed by a single tap on the handle. |
int |
allowTaskReparenting
Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. |
int |
allowUndo
Whether undo should be allowed for editable text. |
int |
allowUntrustedActivityEmbedding
Indicate that the activity can be embedded by untrusted hosts. |
int |
allowUpdateOwnership
May be a boolean value, such as " |
int |
alpha
alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque). |
int |
alphabeticModifiers
The alphabetic modifier key. |
int |
alphabeticShortcut
The alphabetic shortcut key. |
int |
alwaysDrawnWithCache
Defines whether the ViewGroup should always draw its children using their drawing cache or not. |
int |
alwaysRetainTaskState
Specify whether an activity's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations. |
int |
amPmBackgroundColor
This constant was deprecated in API level 23. Use headerBackground instead. |
int |
amPmTextColor
This constant was deprecated in API level 23. Use headerTextColor instead. |
int |
ambientShadowAlpha
Alpha value of the ambient shadow projected by elevated views, between 0 and 1. |
int |
angle
Angle of the gradient, used only with linear gradient. |
int |
animateFirstView
Defines whether to animate the current View when the ViewAnimation is first displayed. |
int |
animateLayoutChanges
Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run. |
int |
animateOnClick
Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. |
int |
animatedImageDrawable
Animated image of the target of accessibility shortcut purpose or behavior, to help users understand how the target of accessibility shortcut can help them. |
int |
animation
Animation to use on each child. |
int |
animationCache
Defines whether layout animations should create a drawing cache for their children. |
int |
animationDuration
Sets how long a transition animation should run (in milliseconds) when layout has changed. |
int |
animationOrder
The order in which the animations will be started. |
int |
animationResolution
This constant was deprecated
in API level 16.
Not used by the framework.
Timeout between frames of animation in milliseconds.
.
May be an integer value, such as " |
int |
antialias
Enables or disables antialiasing. |
int |
anyDensity
This constant was deprecated
in API level 30.
Should always be true by default and not overridden.
May be a boolean value, such as " |
int |
apduServiceBanner
A drawable that can be rendered in Android's system UI for representing the service. |
int |
apiKey
Value is a string that specifies the Maps API Key to use. |
int |
appCategory
Declare the category of this app. |
int |
appComponentFactory
The (optional) fully-qualified name for a subclass of
|
int |
attributionTags
Attribution tag to be used for permission sub-attribution if a
permission is checked in |
int |
attributionsAreUserVisible
Whether attributions provided are meant to be user-visible. |
int |
author
Name of the author and/or source/collection of this component, for example, Art Collection, Picasso. |
int |
authorities
Specify the authorities under which this content provider can be found. |
int |
autoAdvanceViewId
The view id of the AppWidget subview which should be auto-advanced. |
int |
autoCompleteTextViewStyle
Default AutoCompleteTextView style. |
int |
autoHandwritingEnabled
Whether or not the auto handwriting initiation is enabled in this View. |
int |
autoLink
Controls whether links such as urls and email addresses are automatically found and converted to clickable links. |
int |
autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). |
int |
autoRemoveFromRecents
Tasks launched by activities with this attribute will remain in the recent tasks list until the last activity in the task is completed. |
int |
autoRevokePermissions
No longer used. |
int |
autoSizeMaxTextSize
The maximum text size constraint to be used when auto-sizing text. |
int |
autoSizeMinTextSize
The minimum text size constraint to be used when auto-sizing text. |
int |
autoSizePresetSizes
May be a reference to another resource, in the form
" |
int |
autoSizeStepGranularity
Specify the auto-size step size if |
int |
autoSizeTextType
Specify the type of auto-size. |
int |
autoStart
When true, automatically start animating. |
int |
autoText
This constant was deprecated in API level 15. Use inputType instead. |
int |
autoTransact
May be a boolean value, such as " |
int |
autoUrlDetect
If provided and |
int |
autoVerify
Specify whether an activity intent filter will need to be verified thru its set of data URIs. |
int |
autofillHints
Describes the content of a view so that a autofill service can fill in the appropriate data. |
int |
autofilledHighlight
Drawable to be drawn over the view to mark it as autofilled May be a reference to another resource, in the form
" |
int |
backdropColor
Special option for window animations: whether the window's background should be used as a background to the animation. |
int |
background
A drawable to use as the background. |
int |
backgroundDimAmount
Default background dim amount when a menu, dialog, or something similar pops up. |
int |
backgroundDimEnabled
Control whether dimming behind the window is enabled. |
int |
backgroundSplit
Specifies a background drawable for the bottom component of a split action bar. |
int |
backgroundStacked
Specifies a background drawable for a second stacked row of the action bar. |
int |
backgroundTint
Tint to apply to the background. |
int |
backgroundTintMode
Blending mode used to apply the background tint. |
int |
backupAgent
The name of the class subclassing |
int |
backupInForeground
Indicates that full-data backup operations for this application may be performed even if the application is in a foreground-equivalent state. |
int |
banner
A Drawable resource providing an extended graphical banner for its associated item. |
int |
baseline
The offset of the baseline within this view. |
int |
baselineAlignBottom
If true, the image view will be baseline aligned with based on its bottom edge. |
int |
baselineAligned
When set to false, prevents the layout from aligning its children's baselines. |
int |
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). |
int |
bitmap
Drawable to use as the icon bitmap. |
int |
borderlessButtonStyle
Style for buttons without an explicit border, often used in groups. |
int |
bottom
Amount of bottom padding inside the gradient shape. |
int |
bottomBright
May be a reference to another resource, in the form
" |
int |
bottomDark
May be a reference to another resource, in the form
" |
int |
bottomLeftRadius
Radius of the bottom left corner. |
int |
bottomMedium
May be a reference to another resource, in the form
" |
int |
bottomOffset
Extra offset for the handle at the bottom of the SlidingDrawer. |
int |
bottomRightRadius
Radius of the bottom right corner. |
int |
breadCrumbShortTitle
The short title for the bread crumb of this item. |
int |
breadCrumbTitle
The title for the bread crumb of this item. |
int |
breakStrategy
Break strategy (control over paragraph layout). |
int |
bufferType
Determines the minimum type that getText() will return. |
int |
button
Drawable used for the button graphic (for example, checkbox and radio button). |
int |
buttonBarButtonStyle
Style for buttons within button bars. |
int |
buttonBarNegativeButtonStyle
Style for the "negative" buttons within button bars. |
int |
buttonBarNeutralButtonStyle
Style for the "neutral" buttons within button bars. |
int |
buttonBarPositiveButtonStyle
Style for the "positive" buttons within button bars. |
int |
buttonBarStyle
Style for button bars. |
int |
buttonCornerRadius
Corner radius of buttons. |
int |
buttonGravity
Must be one or more (separated by '|') of the following constant values. |
int |
buttonStyle
Normal Button style. |
int |
buttonStyleInset
Button style to inset into an EditText. |
int |
buttonStyleSmall
Small Button style. |
int |
buttonStyleToggle
ToggleButton style. |
int |
buttonTint
Tint to apply to the button graphic. |
int |
buttonTintMode
Blending mode used to apply the button graphic tint. |
int |
cacheColorHint
Indicates that this list will always be drawn on top of solid, single-color opaque background. |
int |
calendarTextColor
The text color list of the calendar. |
int |
calendarViewShown
Whether the calendar view is shown. |
int |
calendarViewStyle
The CalendarView style. |
int |
canControlMagnification
Attribute whether the accessibility service wants to be able to control display magnification. |
int |
canDisplayOnRemoteDevices
Indicates whether the activity can be displayed on a display that may belong to a remote device which may or may not be running Android. |
int |
canPauseRecording
Attribute whether the TV input service can pause recording programs. |
int |
canPerformGestures
Attribute whether the accessibility service wants to be able to perform gestures. |
int |
canRecord
Attribute whether the TV input service can record programs. |
int |
canRequestEnhancedWebAccessibility
This constant was deprecated in API level 26. Not used by the framework |
int |
canRequestFilterKeyEvents
Attribute whether the accessibility service wants to be able to request to filter key events. |
int |
canRequestFingerprintGestures
Attribute whether the accessibility service wants to be able to capture gestures from the fingerprint sensor. |
int |
canRequestTouchExplorationMode
Attribute whether the accessibility service wants to be able to request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures. |
int |
canRetrieveWindowContent
Attribute whether the accessibility service wants to be able to retrieve the active window content. |
int |
canTakeScreenshot
Attribute whether the accessibility service wants to be able to take screenshot. |
int |
candidatesTextStyleSpans
A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. |
int |
cantSaveState
Declare that this application can't participate in the normal state save/restore mechanism. |
int |
capability
An individual capability declared by the provider. |
int |
capitalize
This constant was deprecated in API level 15. Use inputType instead. |
int |
category
The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly. |
int |
centerBright
May be a reference to another resource, in the form
" |
int |
centerColor
Optional center color. |
int |
centerDark
May be a reference to another resource, in the form
" |
int |
centerMedium
May be a reference to another resource, in the form
" |
int |
centerX
X-position of the center point of the gradient within the shape as a fraction of the width. |
int |
centerY
Y-position of the center point of the gradient within the shape as a fraction of the height. |
int |
certDigest
Optional SHA-256 digest of the package signing certificate. |
int |
checkBoxPreferenceStyle
Default style for CheckBoxPreference. |
int |
checkMark
Drawable used for the check mark graphic. |
int |
checkMarkTint
Tint to apply to the check mark. |
int |
checkMarkTintMode
Blending mode used to apply the check mark tint. |
int |
checkable
Whether the item is capable of displaying a check mark. |
int |
checkableBehavior
Whether the items are capable of displaying a check mark. |
int |
checkboxStyle
Default Checkbox style. |
int |
checked
Indicates the initial checked state of this button. |
int |
checkedButton
The id of the child radio button that should be checked by default within this radio group. |
int |
checkedTextViewStyle
Default CheckedTextView style. |
int |
childDivider
Drawable or color that is used as a divider for children. |
int |
childIndicator
Indicator shown beside the child View. |
int |
childIndicatorEnd
The end bound for a child's indicator. |
int |
childIndicatorLeft
The left bound for a child's indicator. |
int |
childIndicatorRight
The right bound for a child's indicator. |
int |
childIndicatorStart
The start bound for a child's indicator. |
int |
choiceMode
Defines the choice behavior for the view. |
int |
classLoader
The classname of the classloader used to load the application's classes from its APK. |
int |
clearTaskOnLaunch
Specify whether an activity's task should be cleared when it is re-launched from the home screen. |
int |
clickable
Defines whether this view reacts to click events. |
int |
clipChildren
Defines whether a child is limited to draw inside of its bounds or not. |
int |
clipOrientation
The orientation for the clip. |
int |
clipToOutline
Whether the View's Outline should be used to clip the contents of the View. |
int |
clipToPadding
Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero. |
int |
closeIcon
Close button icon. |
int |
codes
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
collapseColumns
The zero-based index of the columns to collapse. |
int |
collapseContentDescription
Text to set as the content description for the collapse button. |
int |
collapseIcon
Icon drawable to use for the collapse button. |
int |
color
Solid color for the gradient shape. |
int |
colorAccent
Bright complement to the primary branding color. |
int |
colorActivatedHighlight
Default highlight color for items that are activated. |
int |
colorBackground
Default color of background imagery, ex. |
int |
colorBackgroundCacheHint
This is a hint for a solid color that can be used for caching rendered views. |
int |
colorBackgroundFloating
Default color of background imagery for floating components, ex. |
int |
colorButtonNormal
The color applied to framework buttons in their normal state. |
int |
colorControlActivated
The color applied to framework controls in their activated (ex. |
int |
colorControlHighlight
The color applied to framework control highlights (ex. |
int |
colorControlNormal
The color applied to framework controls in their normal state. |
int |
colorEdgeEffect
The color applied to the edge effect on scrolling containers. |
int |
colorError
Color used for error states and things that need to be drawn to the users attention.. |
int |
colorFocusedHighlight
Default highlight color for items that are focused. |
int |
colorForeground
Default color of foreground imagery. |
int |
colorForegroundInverse
Default color of foreground imagery on an inverted background. |
int |
colorLongPressedHighlight
Default highlight color for items that are long-pressed. |
int |
colorMode
Specify the color mode the activity desires. |
int |
colorMultiSelectHighlight
Default highlight color for items in multiple selection mode. |
int |
colorPressedHighlight
Default highlight color for items that are pressed. |
int |
colorPrimary
The primary branding color for the app. |
int |
colorPrimaryDark
Dark variant of the primary branding color. |
int |
colorSecondary
The secondary branding color for the app. |
int |
columnCount
The maximum number of columns to create when automatically positioning children. |
int |
columnDelay
Fraction of the animation duration used to delay the beginning of the animation of each column. |
int |
columnOrderPreserved
When set to true, forces column boundaries to appear in the same order as column indices. |
int |
columnWidth
Specifies the fixed width for each column. |
int |
commitIcon
Commit icon shown in the query suggestion row. |
int |
compatibleWidthLimitDp
Starting with |
int |
completionHint
Defines the hint displayed in the drop down menu. |
int |
completionHintView
Defines the hint view displayed in the drop down menu. |
int |
completionThreshold
Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu. |
int |
configChanges
Specify one or more configuration changes that the activity will handle itself. |
int |
configure
A class name in the AppWidget's package to be launched to configure. |
int |
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. |
int |
content
Identifier for the child that represents the drawer's content. |
int |
contentAgeHint
The age associated with the content rating. |
int |
contentAuthority
the authority of a content provider. |
int |
contentDescription
The content description associated with the item. |
int |
contentInsetEnd
Minimum inset for content views within a bar. |
int |
contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. |
int |
contentInsetLeft
Minimum inset for content views within a bar. |
int |
contentInsetRight
Minimum inset for content views within a bar. |
int |
contentInsetStart
Minimum inset for content views within a bar. |
int |
contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. |
int |
contentSensitivity
Must be one of the following constant values. |
int |
contextClickable
Defines whether this view reacts to context click events. |
int |
contextDescription
Title of the uri that specifies a link for further context of this wallpaper, for example, Explore collection. |
int |
contextPopupMenuStyle
Default context menu PopupMenu style. |
int |
contextUri
Uri that specifies a link for further context of this wallpaper, for example, http://www.picasso.org. |
int |
controlX1
The x coordinate of the first control point of the cubic Bezier. |
int |
controlX2
The x coordinate of the second control point of the cubic Bezier. |
int |
controlY1
The y coordinate of the first control point of the cubic Bezier. |
int |
controlY2
The y coordinate of the second control point of the cubic Bezier. |
int |
countDown
Specifies whether this Chronometer counts down or counts up from the base. |
int |
country
The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard. |
int |
cropToPadding
If true, the image will be cropped to fit within its padding. |
int |
crossProfile
If |
int |
cursorVisible
Makes the cursor visible (the default) or invisible. |
int |
customNavigationLayout
Specifies a layout for custom navigation. |
int |
customTokens
Account handles its own token storage and permissions. |
int |
cycles
May be a floating point value, such as " |
int |
dashGap
Gap between dashes in the stroke. |
int |
dashWidth
Length of a dash in the stroke. |
int |
data
The data URI to assign to the Intent, as per
|
int |
dataExtractionRules
Applications can set this attribute to an xml resource within their app where they specified the rules determining which files and directories can be copied from the device as part of backup or transfer operations. |
int |
datePickerDialogTheme
The DatePicker dialog theme. |
int |
datePickerMode
Defines the look of the widget. |
int |
datePickerStyle
The DatePicker style. |
int |
dateTextAppearance
The text appearance for the day numbers in the calendar grid. |
int |
dayOfWeekBackground
This constant was deprecated in API level 23. No longer displayed. |
int |
dayOfWeekTextAppearance
This constant was deprecated in API level 23. No longer displayed. |
int |
debuggable
Flag indicating whether the application can be debugged, even when running on a device that is running in user mode. |
int |
defaultFocusHighlightEnabled
Whether this View should use a default focus highlight when it gets focused but
doesn't have |
int |
defaultHeight
Default height of the activity. |
int |
defaultLocale
The IETF BCP47 language tag the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in. |
int |
defaultToDeviceProtectedStorage
May be a boolean value, such as " |
int |
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. |
int |
defaultWidth
Default width of the activity. |
int |
delay
Fraction of the animation duration used to delay the beginning of the animation of each child. |
int |
dependency
The key of another Preference that this Preference will depend on. |
int |
descendantFocusability
Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus. |
int |
description
Descriptive text for the associated data. |
int |
detachWallpaper
Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it. |
int |
detailColumn
Column in data table that contains details for this data. |
int |
detailSocialSummary
Flag indicating that detail should be built from SocialProvider. |
int |
detailsElementBackground
Background that can be used behind parts of a UI that provide details on data the user is selecting. |
int |
dial
May be a reference to another resource, in the form
" |
int |
dialTint
Tint to apply to the dial graphic. |
int |
dialTintMode
Blending mode used to apply the dial graphic tint. |
int |
dialogCornerRadius
Corner radius of dialogs. |
int |
dialogIcon
The icon for the dialog. |
int |
dialogLayout
A layout to be used as the content View for the dialog. |
int |
dialogMessage
The message in the dialog. |
int |
dialogPreferenceStyle
Default style for DialogPreference. |
int |
dialogPreferredPadding
Preferred padding for dialog content. |
int |
dialogTheme
Theme to use for dialogs spawned from this theme. |
int |
dialogTitle
The title in the dialog. |
int |
digits
If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. |
int |
directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
int |
direction
Direction of the animation in the grid. |
int |
directionDescriptions
This constant was deprecated
in API level 23.
Removed.
Reference to an array resource that be used to announce the directions with targets around the circle.
May be a reference to another resource, in the form
" |
int |
directionPriority
Priority of the rows and columns. |
int |
disableDependentsState
The state (true for on, or false for off) that causes dependents to be disabled. |
int |
disabledAlpha
Default disabled alpha for widgets that set enabled/disabled alpha programmatically. |
int |
displayOptions
Options affecting how the action bar is displayed. |
int |
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). |
int |
divider
Drawable or color to draw between list items. |
int |
dividerHeight
Height of the divider. |
int |
dividerHorizontal
Drawable to use for generic horizontal dividers. |
int |
dividerPadding
Size of padding on either end of a divider. |
int |
dividerVertical
Drawable to use for generic vertical dividers. |
int |
documentLaunchMode
This attribute specifies that an activity shall become the root activity of a new task each time it is launched. |
int |
drawSelectorOnTop
When set to true, the selector will be drawn over the selected item. |
int |
drawable
Reference to a drawable resource to use for the frame. |
int |
drawableBottom
The drawable to be drawn below the text. |
int |
drawableEnd
The drawable to be drawn to the end of the text. |
int |
drawableLeft
The drawable to be drawn to the left of the text. |
int |
drawablePadding
The padding between the drawables and the text. |
int |
drawableRight
The drawable to be drawn to the right of the text. |
int |
drawableStart
The drawable to be drawn to the start of the text. |
int |
drawableTint
Tint to apply to the compound (left, top, etc.) drawables. |
int |
drawableTintMode
Blending mode used to apply the compound (left, top, etc.) drawables tint. |
int |
drawableTop
The drawable to be drawn above the text. |
int |
drawingCacheQuality
Defines the quality of translucent drawing caches. |
int |
dropDownAnchor
View to anchor the auto-complete dropdown to. |
int |
dropDownHeight
Specifies the basic height of the dropdown. |
int |
dropDownHintAppearance
Default style for drop down hints. |
int |
dropDownHorizontalOffset
Amount of pixels by which the drop down should be offset horizontally. |
int |
dropDownItemStyle
Default style for drop down items. |
int |
dropDownListViewStyle
Default ListView style for drop downs. |
int |
dropDownSelector
Selector in a drop down list. |
int |
dropDownSpinnerStyle
Default dropdown Spinner style. |
int |
dropDownVerticalOffset
Amount of pixels by which the drop down should be offset vertically. |
int |
dropDownWidth
Specifies the basic width of the dropdown. |
int |
duplicateParentState
When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself. |
int |
duration
Amount of time (in milliseconds) to display this frame. |
int |
editTextBackground
EditText background drawable. |
int |
editTextColor
EditText text foreground color. |
int |
editTextPreferenceStyle
Default style for EditTextPreference. |
int |
editTextStyle
Default EditText style. |
int |
editable
This constant was deprecated in API level 15. Use inputType instead. |
int |
editorExtras
Reference to an
|
int |
effectColor
Color applied to effects. |
int |
elegantTextHeight
Elegant text height, especially for less compacted complex script text. |
int |
elevation
base z depth of the view. |
int |
ellipsize
Where to ellipsize text. |
int |
ems
Makes the TextView be exactly this many ems wide. |
int |
enableOnBackInvokedCallback
If false, |
int |
enableTextStylingShortcuts
Enables styling shortcuts, e.g. Ctrl+B for bold. |
int |
enableVrMode
Flag declaring that this activity will be run in VR mode, and specifying
the component of the |
int |
enabled
Specifies whether the widget is enabled. |
int |
end
End inset to apply to the layer. |
int |
endColor
End color of the gradient. |
int |
endX
X coordinate of the end point origin of the gradient. |
int |
endY
Y coordinate of the end point of the gradient within the shape. |
int |
endYear
This constant was deprecated in API level 16. Use maxDate instead.Use maxDate instead. |
int |
enforceNavigationBarContrast
Sets whether the system should ensure that the navigation bar has enough contrast when a fully transparent background is requested. |
int |
enforceStatusBarContrast
This constant was deprecated
in API level 35.
Draw proper background behind
May be a boolean value, such as " |
int |
enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable. |
int |
entries
Reference to an array resource that will populate a list/adapter. |
int |
entryValues
The array to find the value to save for a preference when an entry from entries is selected. |
int |
eventsInterceptionEnabled
Defines whether the overlay should intercept the motion events when a gesture is recognized. |
int |
excludeClass
The fully-qualified name of the Class to exclude from this transition. |
int |
excludeFromRecents
Indicates that an Activity should be excluded from the list of recently launched activities. |
int |
excludeId
The id of a target to exclude from this transition. |
int |
excludeName
The transitionName of the target to exclude from this transition. |
int |
exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable. |
int |
expandableListPreferredChildIndicatorLeft
The preferred left bound for an expandable list child's indicator. |
int |
expandableListPreferredChildIndicatorRight
The preferred right bound for an expandable list child's indicator. |
int |
expandableListPreferredChildPaddingLeft
The preferred left padding for an expandable list item that is a child. |
int |
expandableListPreferredItemIndicatorLeft
The preferred left bound for an expandable list item's indicator. |
int |
expandableListPreferredItemIndicatorRight
The preferred right bound for an expandable list item's indicator. |
int |
expandableListPreferredItemPaddingLeft
The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). |
int |
expandableListViewStyle
Default ExpandableListView style. |
int |
expandableListViewWhiteStyle
ExpandableListView with white background. |
int |
exported
Flag indicating whether the given application component is available to other applications. |
int |
externalService
If the service is an |
int |
extraTension
This is the amount by which to multiply the tension. |
int |
extractNativeLibs
When set installer will extract native libraries. |
int |
factor
This is the amount of deceleration to add when easing in. |
int |
fadeDuration
Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture. |
int |
fadeEnabled
Defines whether the gesture will automatically fade out after being recognized. |
int |
fadeOffset
Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it. |
int |
fadeScrollbars
Defines whether to fade out scrollbars when they are not in use. |
int |
fadingEdge
This attribute is ignored in API level 14
( |
int |
fadingEdgeLength
Defines the length of the fading edges. |
int |
fadingMode
Equivalent to |
int |
fallbackLineSpacing
Whether to respect the ascent and descent of the fallback fonts that are used in displaying the text. |
int |
fastScrollAlwaysVisible
When set to true, the list will always show the fast scroll interface. |
int |
fastScrollEnabled
Enables the fast scroll thumb that can be dragged to quickly scroll through the list. |
int |
fastScrollOverlayPosition
Position of the fast scroll index overlay window. |
int |
fastScrollPreviewBackgroundLeft
Drawable to use as the fast scroll index preview window background when shown on the left. |
int |
fastScrollPreviewBackgroundRight
Drawable to use as the fast scroll index preview window background when shown on the right. |
int |
fastScrollStyle
Specifies the style of the fast scroll decorations. |
int |
fastScrollTextColor
Text color for the fast scroll index overlay. |
int |
fastScrollThumbDrawable
Drawable to use as the fast scroll thumb. |
int |
fastScrollTrackDrawable
Drawable to use as the track for the fast scroll thumb. |
int |
fillAfter
When set to true, the animation transformation is applied after the animation is over. |
int |
fillAlpha
The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque). |
int |
fillBefore
When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. |
int |
fillColor
The color to fill the path if not defined implies no fill. |
int |
fillEnabled
When set to true, the value of fillBefore is taken into account. |
int |
fillType
sets the fillType for a path. |
int |
fillViewport
Defines whether the scrollview should stretch its content to fill the viewport. |
int |
filter
Enables or disables bitmap filtering. |
int |
filterTouchesWhenObscured
Specifies whether to filter touches when the view's window is obscured by another visible window. |
int |
fingerprintAuthDrawable
Icon that should be used to indicate that an app is waiting for a fingerprint scan. |
int |
finishOnCloseSystemDialogs
Specify whether an activity should be finished when a "close system windows" request has been made. |
int |
finishOnTaskLaunch
Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen. |
int |
firstBaselineToTopHeight
Distance from the top of the TextView to the first text baseline. |
int |
firstDayOfWeek
The first day of week according to |
int |
fitsSystemWindows
Boolean internal attribute to adjust view layout based on system windows such as the status bar. |
int |
flipInterval
May be an integer value, such as " |
int |
focusable
Controls whether a view can take focus. |
int |
focusableInTouchMode
Boolean that controls whether a view can take focus while in touch mode. |
int |
focusedByDefault
Whether this view is a default-focus view. |
int |
focusedMonthDateColor
This constant was deprecated
in API level 23.
The color for the dates of the focused month.
May be a reference to another resource, in the form
" May be a color value, in the form of " |
int |
focusedSearchResultHighlightColor
Color of focused search result highlight. |
int |
font
The reference to the font file to be used. |
int |
fontFamily
Default font family. |
int |
fontFeatureSettings
Font feature settings. |
int |
fontProviderAuthority
This constant was deprecated in API level 31. Use app:fontProviderAuthority with Jetpack Core library instead for consistent behavior across all devices. |
int |
fontProviderCerts
This constant was deprecated in API level 31. Use app:fontProviderCerts with Jetpack Core library instead. |
int |
fontProviderPackage
This constant was deprecated in API level 31. Use app:fontProviderPackage with Jetpack Core library instead. |
int |
fontProviderQuery
This constant was deprecated in API level 31. Use app:fontProviderQuery with Jetpack Core library instead. |
int |
fontProviderSystemFontFamily
Provides the system font family name to check before downloading the font. |
int |
fontStyle
The style of the given font file. |
int |
fontVariationSettings
The variation settings to be applied to the font. |
int |
fontWeight
The weight of the given font file. |
int |
footerDividersEnabled
When set to false, the ListView will not draw the divider before each footer view. |
int |
forceDarkAllowed
Whether or not the force dark feature is allowed to be applied to this View. |
int |
forceHasOverlappingRendering
Whether this view has elements that may overlap when drawn. |
int |
forceQueryable
May be a boolean value, such as " |
int |
forceUriPermissions
If true, the system will always create URI permission grants
in the cases where |
int |
foreground
Defines the drawable to draw over the content. |
int |
foregroundGravity
Defines the gravity to apply to the foreground drawable. |
int |
foregroundServiceType
Specify the type of foreground service. |
int |
foregroundTint
Tint to apply to the foreground. |
int |
foregroundTintMode
Blending mode used to apply the foreground tint. |
int |
format
Format string: if specified, the Chronometer will display this string, with the first "%s" replaced by the current timer value in "MM:SS" or "H:MM:SS" form. |
int |
format12Hour
Specifies the formatting pattern used to show the time and/or date in 12-hour mode. |
int |
format24Hour
Specifies the formatting pattern used to show the time and/or date in 24-hour mode. |
int |
fraction
May be a floating point value, such as " |
int |
fragment
The fragment that is displayed when the user selects this item. |
int |
fragmentAdvancedPattern
Specify a URI fragment that matches an advanced pattern, as a
|
int |
fragmentAllowEnterTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning forward. |
int |
fragmentAllowReturnTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack. |
int |
fragmentCloseEnterAnimation
May be a reference to another resource, in the form
" |
int |
fragmentCloseExitAnimation
May be a reference to another resource, in the form
" |
int |
fragmentEnterTransition
The Transition that will be used to move Views into the initial scene. |
int |
fragmentExitTransition
The Transition that will be used to move Views out of the scene when the fragment is removed, hidden, or detached when not popping the back stack. |
int |
fragmentFadeEnterAnimation
May be a reference to another resource, in the form
" |
int |
fragmentFadeExitAnimation
May be a reference to another resource, in the form
" |
int |
fragmentOpenEnterAnimation
May be a reference to another resource, in the form
" |
int |
fragmentOpenExitAnimation
May be a reference to another resource, in the form
" |
int |
fragmentPattern
Specify a URI fragment that matches a simple pattern, as a
|
int |
fragmentPrefix
Specify a URI fragment that must be a prefix to match, as a
|
int |
fragmentReenterTransition
The Transition that will be used to move Views in to the scene when returning due to popping a back stack. |
int |
fragmentReturnTransition
The Transition that will be used to move Views out of the scene when the Fragment is preparing to be removed, hidden, or detached because of popping the back stack. |
int |
fragmentSharedElementEnterTransition
The Transition that will be used for shared elements transferred into the content Scene. |
int |
fragmentSharedElementReturnTransition
The Transition that will be used for shared elements transferred back during a pop of the back stack. |
int |
fragmentSuffix
Specify a URI fragment that must be a suffix to match, as a
|
int |
freezesText
If set, the text view will include its current complete text inside of its frozen icicle in addition to meta-data such as the current cursor position. |
int |
fromAlpha
May be a floating point value, such as " |
int |
fromDegrees
May be a floating point value, such as " |
int |
fromExtendBottom
Defines the amount a window should be extended outward from the bottom at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height. |
int |
fromExtendLeft
Defines the amount a window should be extended outward from the left at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width. |
int |
fromExtendRight
Defines the amount a window should be extended outward from the right at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width. |
int |
fromExtendTop
Defines the amount a window should be extended outward from the top at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height. |
int |
fromId
Keyframe identifier for the starting state. |
int |
fromScene
The originating scene in this scene change. |
int |
fromXDelta
May be a floating point value, such as " |
int |
fromXScale
May be a floating point value, such as " |
int |
fromYDelta
May be a floating point value, such as " |
int |
fromYScale
May be a floating point value, such as " |
int |
fullBackupContent
Applications will set this in their manifest to opt-in to or out of full app data back-up and restore. |
int |
fullBackupOnly
Indicates that even though the application provides a |
int |
fullBright
May be a reference to another resource, in the form
" |
int |
fullDark
May be a reference to another resource, in the form
" |
int |
functionalTest
Flag indicating that an Instrumentation class should be run as a functional test. |
int |
galleryItemBackground
The preferred background for gallery items. |
int |
galleryStyle
Default Gallery style. |
int |
gestureColor
Color used to draw a gesture. |
int |
gestureStrokeAngleThreshold
Minimum curve angle a stroke must contain before it is recognized as a gesture. |
int |
gestureStrokeLengthThreshold
Minimum length of a stroke before it is recognized as a gesture. |
int |
gestureStrokeSquarenessThreshold
Squareness threshold of a stroke before it is recognized as a gesture. |
int |
gestureStrokeType
Defines the type of strokes that define a gesture. |
int |
gestureStrokeWidth
Width of the stroke used to draw the gesture. |
int |
glEsVersion
The GLES driver version number needed by an application. |
int |
goIcon
Go button icon. |
int |
gradientRadius
Radius of the gradient, used only with radial gradient. |
int |
grantUriPermissions
If true, the |
int |
gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds. |
int |
gridViewStyle
Default GridView style. |
int |
groupIndicator
Indicator shown beside the group View. |
int |
gwpAsanMode
Enable sampled memory bug detection in this process. |
int |
hand_hour
May be a reference to another resource, in the form
" |
int |
hand_hourTint
Tint to apply to the hour hand graphic. |
int |
hand_hourTintMode
Blending mode used to apply the hour hand graphic tint. |
int |
hand_minute
May be a reference to another resource, in the form
" |
int |
hand_minuteTint
Tint to apply to the minute hand graphic. |
int |
hand_minuteTintMode
Blending mode used to apply the minute hand graphic tint. |
int |
hand_second
May be a reference to another resource, in the form
" |
int |
hand_secondTint
Tint to apply to the second hand graphic. |
int |
hand_secondTintMode
Blending mode used to apply the second hand graphic tint. |
int |
handle
Identifier for the child that represents the drawer's handle. |
int |
handleProfiling
Flag indicating that an Instrumentation class wants to take care of starting/stopping profiling itself, rather than relying on the default behavior of profiling the complete time it is running. |
int |
handwritingBoundsOffsetBottom
The amount of offset that is applied to the bottom edge of the view's stylus handwriting bounds, which by default is the view's visible bounds. |
int |
handwritingBoundsOffsetLeft
The amount of offset that is applied to the left edge of the view's stylus handwriting bounds, which by default is the view's visible bounds. |
int |
handwritingBoundsOffsetRight
The amount of offset that is applied to the right edge of the view's stylus handwriting bounds, which by default is the view's visible bounds. |
int |
handwritingBoundsOffsetTop
The amount of offset that is applied to the top edge of the view's stylus handwriting bounds, which by default is the view's visible bounds. |
int |
hapticFeedbackEnabled
Boolean that controls whether a view should have haptic feedback enabled for events such as long presses. |
int |
hardwareAccelerated
Flag indicating whether the application's rendering should be hardware accelerated if possible. |
int |
hasCode
Indicate whether this application contains code. |
int |
hasFragileUserData
If May be a boolean value, such as " |
int |
headerAmPmTextAppearance
This constant was deprecated
in API level 23.
Use headerTextColor instead.
May be a reference to another resource, in the form
" |
int |
headerBackground
Default background for the menu header. |
int |
headerDayOfMonthTextAppearance
This constant was deprecated in API level 23. Use headerTextColor instead. |
int |
headerDividersEnabled
When set to false, the ListView will not draw the divider after each header view. |
int |
headerMonthTextAppearance
This constant was deprecated in API level 23. Use headerTextColor instead. |
int |
headerTimeTextAppearance
This constant was deprecated
in API level 23.
Use headerTextColor instead.
May be a reference to another resource, in the form
" |
int |
headerYearTextAppearance
This constant was deprecated in API level 23. Use headerTextColor instead. |
int |
height
Makes the TextView be exactly this tall. |
int |
hideOnContentScroll
Set true to hide the action bar on a vertical nested scroll of content. |
int |
hint
Hint text to display when the text is empty. |
int |
homeAsUpIndicator
Specifies a drawable to use for the 'home as up' indicator. |
int |
homeLayout
Specifies a layout to use for the "home" section of the action bar. |
int |
horizontalDivider
Default horizontal divider between rows of menu items. |
int |
horizontalGap
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
horizontalScrollViewStyle
Default HorizontalScrollView style. |
int |
horizontalSpacing
Defines the default horizontal spacing between columns. |
int |
host
Specify a URI authority host that is handled, as per
|
int |
hotSpotX
X coordinate of the icon hot spot. |
int |
hotSpotY
Y coordinate of the icon hot spot. |
int |
htmlDescription
Html description of the target of accessibility shortcut usage, availability, or limitations (e.g. isn't supported by all apps). |
int |
hyphenationFrequency
Frequency of automatic hyphenation. |
int |
icon
A Drawable resource providing a graphical representation of its associated item. |
int |
iconPreview
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
iconSpaceReserved
Whether the space for the preference icon view will be reserved. |
int |
iconTint
Tint to apply to the icon. |
int |
iconTintMode
Blending mode used to apply the icon tint. |
int |
iconifiedByDefault
The default state of the SearchView. |
int |
id
Supply an identifier name for this view, to later retrieve it
with |
int |
identifier
The identifier to assign to the intent, as per
|
int |
ignoreGravity
Indicates what view should not be affected by gravity. |
int |
imageButtonStyle
The style resource to use for an ImageButton. |
int |
imageWellStyle
The style resource to use for an ImageButton that is an image well. |
int |
imeActionId
Supply a value for
|
int |
imeActionLabel
Supply a value for
|
int |
imeExtractEnterAnimation
Animation to use when showing the fullscreen extract UI after it had previously been hidden. |
int |
imeExtractExitAnimation
Animation to use when hiding the fullscreen extract UI after it had previously been shown. |
int |
imeFullscreenBackground
Background to use for entire input method when it is being shown in fullscreen mode with the extract view, to ensure that it completely covers the application. |
int |
imeOptions
Additional features you can enable in an IME associated with an editor to improve the integration with your application. |
int |
imeSubtypeExtraValue
The extra value of the subtype. |
int |
imeSubtypeLocale
The locale of the subtype. |
int |
imeSubtypeMode
The mode of the subtype. |
int |
immersive
Flag declaring this activity to be 'immersive'; immersive activities should not be interrupted with other activities or notifications. |
int |
importantForAccessibility
Describes whether or not this view is important for accessibility. |
int |
importantForAutofill
Hints the Android System whether the view node associated with this View should be included in a view structure used for autofill purposes. |
int |
importantForContentCapture
Hints the Android System whether the view node associated with this View should be use for content capture purposes. |
int |
inAnimation
Identifier for the animation to use when a view is shown. |
int |
includeFontPadding
Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly. |
int |
includeInGlobalSearch
If provided and |
int |
indeterminate
Allows to enable the indeterminate mode. |
int |
indeterminateBehavior
Defines how the indeterminate mode should behave when the progress reaches max. |
int |
indeterminateDrawable
Drawable used for the indeterminate mode. |
int |
indeterminateDuration
Duration of the indeterminate animation. |
int |
indeterminateOnly
Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). |
int |
indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner. |
int |
indeterminateTint
Tint to apply to the indeterminate progress indicator. |
int |
indeterminateTintMode
Blending mode used to apply the indeterminate progress indicator tint. |
int |
indicatorEnd
The end bound for an item's indicator. |
int |
indicatorLeft
The left bound for an item's indicator. |
int |
indicatorRight
The right bound for an item's indicator. |
int |
indicatorStart
The start bound for an item's indicator. |
int |
inflatedId
Overrides the id of the inflated View with this value. |
int |
inheritShowWhenLocked
Specifies whether this |
int |
initOrder
Specify the order in which content providers hosted by a process are instantiated when that process is created. |
int |
initialKeyguardLayout
A resource id of a layout. |
int |
initialLayout
A resource id of a layout. |
int |
innerRadius
Inner radius of the ring. |
int |
innerRadiusRatio
Inner radius of the ring expressed as a ratio of the ring's width. |
int |
inputMethod
This constant was deprecated in API level 15. Use inputType instead. |
int |
inputType
The type of data being placed in a text field, used to help an input method decide how to let the user enter text. |
int |
inset
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
insetBottom
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
insetLeft
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
insetRight
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
insetTop
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
installLocation
The default install location defined by an application. |
int |
intentMatchingFlags
This attribute provides a way to fine-tune how incoming intents are matched to application components. |
int |
interactiveUiTimeout
A recommended timeout in milliseconds used in
|
int |
interpolator
Sets the acceleration curve for the indeterminate animation. |
int |
intro
Detailed intro of the target of accessibility shortcut purpose or behavior. |
int |
isAccessibilityTool
Attribute indicating whether the accessibility service is used to assist users with disabilities. |
int |
isAlwaysSyncable
Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. |
int |
isAsciiCapable
Set to |
int |
isAuxiliary
Set true if the subtype is auxiliary. |
int |
isCredential
Boolean that hints the Android System that the view is credential and associated with CredentialManager May be a boolean value, such as " |
int |
isDefault
Set to true in all of the configurations for which this input method should be considered an option as the default. |
int |
isFeatureSplit
If set to |
int |
isGame
A boolean flag used to indicate if an application is a Game or not. |
int |
isIndicator
Whether this rating bar is an indicator (and non-changeable by the user). |
int |
isLightTheme
Specifies that a theme has a light background with dark text on top. |
int |
isModifier
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
isRepeatable
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
isScrollContainer
Set this if the view will serve as a scrolling container, meaning that it can be resized to shrink its overall window so that there will be space for an input method. |
int |
isSplitRequired
This constant was deprecated
in API level 33.
Use requiredSplitTypes instead.Use May be a boolean value, such as " |
int |
isStatic
Whether the given RRO is static or not. |
int |
isSticky
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
isolatedProcess
If set to true, this service will run under a special process that is isolated from the rest of the system. |
int |
isolatedSplits
If set to |
int |
itemBackground
Default background for each menu item. |
int |
itemIconDisabledAlpha
Default disabled icon alpha for each menu item that shows an icon. |
int |
itemPadding
Specifies padding that should be applied to the left and right sides of system-provided items in the bar. |
int |
itemTextAppearance
Default appearance of menu item text. |
int |
justificationMode
Mode for justification. |
int |
keepScreenOn
Controls whether the view's window should keep the screen on while visible. |
int |
key
The key to store the Preference value. |
int |
keyBackground
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyEdgeFlags
This constant was deprecated in API level 29. Copy this definition into your own application project.Copy this definition into your own application project.Copy this definition into your own application project. |
int |
keyHeight
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyIcon
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyLabel
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyOutputText
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyPreviewHeight
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyPreviewLayout
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyPreviewOffset
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keySet
Groups signing keys into a |
int |
keyTextColor
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyTextSize
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyWidth
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyboardLayout
The key character map file resource. |
int |
keyboardLayoutType
The layout type of the given keyboardLayout. |
int |
keyboardLocale
The locales the given keyboard layout corresponds to. |
int |
keyboardMode
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
keyboardNavigationCluster
Whether this view is a root of a keyboard navigation cluster. |
int |
keycode
This enum provides the same keycode values as can be found in
|
int |
killAfterRestore
Whether the application in question should be terminated after its settings have been restored during a full-system restore operation. |
int |
knownActivityEmbeddingCerts
A reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity. |
int |
knownCerts
|
int |
lStar
Perceptual luminance of a color, in accessibility friendly color space. |
int |
label
A user-legible name for the given item. |
int |
labelFor
Specifies the id of a view for which this view serves as a label for accessibility purposes. |
int |
labelTextSize
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
languageSettingsActivity
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
int |
languageTag
The BCP-47 Language Tag of the subtype. |
int |
largeHeap
Request that your application's processes be created with a large Dalvik heap. |
int |
largeScreens
Indicates whether the application supports larger screen form-factors. |
int |
largestWidthLimitDp
Starting with |
int |
lastBaselineToBottomHeight
Distance from the bottom of the TextView to the last text baseline. |
int |
launchMode
Specify how an activity should be launched. |
int |
launchTaskBehindSourceAnimation
When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the old task (which is already on the screen and then stays on). |
int |
launchTaskBehindTargetAnimation
When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the new task (which is entering the screen and then leaving). |
int |
layerType
Specifies the type of layer backing this view. |
int |
layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. |
int |
layoutAnimation
Defines the layout animation to use the first time the ViewGroup is laid out. |
int |
layoutDirection
Defines the direction of layout drawing. |
int |
layoutLabel
The layout label of the subtype. |
int |
layoutMode
Defines the layout mode of this ViewGroup. |
int |
layout_above
Positions the bottom edge of this view above the given anchor view ID. |
int |
layout_alignBaseline
Positions the baseline of this view on the baseline of the given anchor view ID. |
int |
layout_alignBottom
Makes the bottom edge of this view match the bottom edge of the given anchor view ID. |
int |
layout_alignEnd
Makes the end edge of this view match the end edge of the given anchor view ID. |
int |
layout_alignLeft
Makes the left edge of this view match the left edge of the given anchor view ID. |
int |
layout_alignParentBottom
If true, makes the bottom edge of this view match the bottom edge of the parent. |
int |
layout_alignParentEnd
If true, makes the end edge of this view match the end edge of the parent. |
int |
layout_alignParentLeft
If true, makes the left edge of this view match the left edge of the parent. |
int |
layout_alignParentRight
If true, makes the right edge of this view match the right edge of the parent. |
int |
layout_alignParentStart
If true, makes the start edge of this view match the start edge of the parent. |
int |
layout_alignParentTop
If true, makes the top edge of this view match the top edge of the parent. |
int |
layout_alignRight
Makes the right edge of this view match the right edge of the given anchor view ID. |
int |
layout_alignStart
Makes the start edge of this view match the start edge of the given anchor view ID. |
int |
layout_alignTop
Makes the top edge of this view match the top edge of the given anchor view ID. |
int |
layout_alignWithParentIfMissing
If set to true, the parent will be used as the anchor when the anchor cannot be be found for layout_toLeftOf, layout_toRightOf, etc. |
int |
layout_below
Positions the top edge of this view below the given anchor view ID. |
int |
layout_centerHorizontal
If true, centers this child horizontally within its parent. |
int |
layout_centerInParent
If true, centers this child horizontally and vertically within its parent. |
int |
layout_centerVertical
If true, centers this child vertically within its parent. |
int |
layout_column
The index of the column in which this child should be. |
int |
layout_columnSpan
The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view. |
int |
layout_columnWeight
The relative proportion of horizontal space that should be allocated to this view during excess space distribution. |
int |
layout_gravity
Standard gravity constant that a child supplies to its parent. |
int |
layout_height
Specifies the basic height of the view. |
int |
layout_margin
Specifies extra space on the left, top, right and bottom sides of this view. |
int |
layout_marginBottom
Specifies extra space on the bottom side of this view. |
int |
layout_marginEnd
Specifies extra space on the end side of this view. |
int |
layout_marginHorizontal
Specifies extra space on the left and right sides of this view. |
int |
layout_marginLeft
Specifies extra space on the left side of this view. |
int |
layout_marginRight
Specifies extra space on the right side of this view. |
int |
layout_marginStart
Specifies extra space on the start side of this view. |
int |
layout_marginTop
Specifies extra space on the top side of this view. |
int |
layout_marginVertical
Specifies extra space on the top and bottom sides of this view. |
int |
layout_row
The row boundary delimiting the top of the group of cells occupied by this view. |
int |
layout_rowSpan
The row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view. |
int |
layout_rowWeight
The relative proportion of vertical space that should be allocated to this view during excess space distribution. |
int |
layout_scale
May be a floating point value, such as " |
int |
layout_span
Defines how many columns this child should span. |
int |
layout_toEndOf
Positions the start edge of this view to the end of the given anchor view ID. |
int |
layout_toLeftOf
Positions the right edge of this view to the left of the given anchor view ID. |
int |
layout_toRightOf
Positions the left edge of this view to the right of the given anchor view ID. |
int |
layout_toStartOf
Positions the end edge of this view to the start of the given anchor view ID. |
int |
layout_weight
Indicates how much of the extra space in the LinearLayout is allocated to the view associated with these LayoutParams. |
int |
layout_width
Specifies the basic width of the view. |
int |
layout_x
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
layout_y
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
left
Amount of left padding inside the gradient shape. |
int |
letterSpacing
Text letter-spacing. |
int |
level
Specifies the initial drawable level in the range 0 to 10000. |
int |
lineBreakStyle
Specifies the line-break strategies for text wrapping. |
int |
lineBreakWordStyle
Specifies the line-break word strategies for text wrapping. |
int |
lineHeight
Explicit height between lines of text. |
int |
lineSpacingExtra
Extra spacing between lines of text. |
int |
lineSpacingMultiplier
Extra spacing between lines of text, as a multiplier. |
int |
lines
Makes the TextView be exactly this many lines tall. |
int |
linksClickable
If set to false, keeps the movement method from being set to the link movement method even if autoLink causes links to be found. |
int |
listChoiceBackgroundIndicator
Drawable used as a background for selected list items. |
int |
listChoiceIndicatorMultiple
Drawable to use for multiple choice indicators. |
int |
listChoiceIndicatorSingle
Drawable to use for single choice indicators. |
int |
listDivider
The drawable for the list divider. |
int |
listDividerAlertDialog
The list divider used in alert dialogs. |
int |
listMenuViewStyle
Default menu-style ListView style. |
int |
listPopupWindowStyle
Default ListPopupWindow style. |
int |
listPreferredItemHeight
The preferred list item height. |
int |
listPreferredItemHeightLarge
A larger, more robust list item height. |
int |
listPreferredItemHeightSmall
A smaller, sleeker list item height. |
int |
listPreferredItemPaddingEnd
The preferred padding along the end edge of list items. |
int |
listPreferredItemPaddingLeft
The preferred padding along the left edge of list items. |
int |
listPreferredItemPaddingRight
The preferred padding along the right edge of list items. |
int |
listPreferredItemPaddingStart
The preferred padding along the start edge of list items. |
int |
listSelector
Drawable used to indicate the currently selected item in the list. |
int |
listSeparatorTextViewStyle
TextView style for list separators. |
int |
listViewStyle
Default ListView style. |
int |
listViewWhiteStyle
ListView with white background. |
int |
localeConfig
An XML resource with the application's May be a reference to another resource, in the form
" |
int |
lockTaskMode
This value indicates how tasks rooted at this activity will behave in lockTask mode. |
int |
logo
A Drawable resource providing an extended graphical logo for its associated item. |
int |
logoDescription
A content description string to describe the appearance of the associated logo image. |
int |
longClickable
Defines whether this view reacts to long click events. |
int |
loopViews
Defines whether the animator loops to the first view once it has reached the end of the list. |
int |
manageSpaceActivity
Name of the activity to be launched to manage application's space on device. |
int |
mapViewStyle
Default MapView style. |
int |
marqueeRepeatLimit
The number of times to repeat the marquee animation. |
int |
matchOrder
The match order to use for the transition. |
int |
max
Defines the maximum value. |
int |
maxAspectRatio
This value indicates the maximum aspect ratio the activity supports. |
int |
maxButtonHeight
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
maxDate
The maximal date shown by this calendar view in mm/dd/yyyy format. |
int |
maxEms
Makes the TextView be at most this many ems wide. |
int |
maxHeight
An optional argument to supply a maximum height for this view. |
int |
maxItemsPerRow
Defines the maximum number of items per row. |
int |
maxLength
Set an input filter to constrain the text length to the specified number. |
int |
maxLevel
The maximum level allowed for this item. |
int |
maxLines
Makes the TextView be at most this many lines tall. |
int |
maxLongVersionCode
The max version code of the package for which compatibility mode is requested. |
int |
maxRecents
The maximum number of entries of tasks rooted at this activity in the recent task list. |
int |
maxResizeHeight
Maximum height that the AppWidget can be resized to. |
int |
maxResizeWidth
Maximum width that the AppWidget can be resized to. |
int |
maxRows
Defines the maximum number of rows displayed. |
int |
maxSdkVersion
Optional: specify the maximum version of the Android OS for which the application wishes to request the permission. |
int |
maxWidth
An optional argument to supply a maximum width for this view. |
int |
maximumAngle
The maximum arc angle in degrees between the start and end points. |
int |
measureAllChildren
Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring. |
int |
measureWithLargestChild
When set to true, all children with a weight will be considered having the minimum size of the largest child. |
int |
mediaRouteButtonStyle
Default style for the MediaRouteButton widget. |
int |
mediaRouteTypes
The types of media routes the button and its resulting chooser will filter by. |
int |
memtagMode
Enable hardware memory tagging (ARM MTE) in this process. |
int |
menuCategory
The category applied to all items within this group. |
int |
mimeGroup
Specify a group of MIME types that are handled. |
int |
mimeType
Specify a MIME type that is handled, as per
|
int |
min
Defines the minimum value. |
int |
minAspectRatio
This value indicates the minimum aspect ratio the activity supports. |
int |
minDate
The minimal date shown by this calendar view in mm/dd/yyyy format. |
int |
minEms
Makes the TextView be at least this many ems wide. |
int |
minHeight
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
minLevel
The minimum level allowed for this item. |
int |
minLines
Makes the TextView be at least this many lines tall. |
int |
minResizeHeight
Minimum height that the AppWidget can be resized to. |
int |
minResizeWidth
Minimum width that the AppWidget can be resized to. |
int |
minSdkVersion
This is the minimum SDK version number that the application requires. |
int |
minWidth
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
minimumHorizontalAngle
The minimum arc angle in degrees between the start and end points when they are close to horizontal. |
int |
minimumVerticalAngle
The minimum arc angle in degrees between the start and end points when they are close to vertical. |
int |
mipMap
Enables or disables the mipmap hint. |
int |
mirrorForRtl
Defines if the associated drawables need to be mirrored when in RTL mode. |
int |
mode
Must be one of the following constant values. |
int |
moreIcon
'More' icon. |
int |
multiArch
Declare that code from this application will need to be loaded into other applications' processes. |
int |
multiprocess
Specify whether a component is allowed to have multiple instances of itself running in different processes. |
int |
name
A unique name for the given item. |
int |
nativeHeapZeroInitialized
If |
int |
navigationBarColor
This constant was deprecated
in API level 35.
Draw proper background behind
May be a color value, in the form of " |
int |
navigationBarDividerColor
This constant was deprecated
in API level 35.
Draw proper background behind
May be a color value, in the form of " |
int |
navigationContentDescription
Text to set as the content description for the navigation button located at the start of the toolbar. |
int |
navigationIcon
Icon drawable to use for the navigation button located at the start of the toolbar. |
int |
navigationMode
The type of navigation to use. |
int |
negativeButtonText
The negative button text for the dialog. |
int |
nestedScrollingEnabled
Specifies that this view should permit nested scrolling within a compatible ancestor view. |
int |
networkSecurityConfig
An XML resource with the application's Network Security Config. |
int |
nextClusterForward
Defines the next keyboard navigation cluster. |
int |
nextFocusDown
Defines the next view to give focus to when the next focus is
|
int |
nextFocusForward
Defines the next view to give focus to when the next focus is
|
int |
nextFocusLeft
Defines the next view to give focus to when the next focus is
|
int |
nextFocusRight
Defines the next view to give focus to when the next focus is
|
int |
nextFocusUp
Defines the next view to give focus to when the next focus is
|
int |
noHistory
Specify whether an activity should be kept in its history stack. |
int |
nonInteractiveUiTimeout
A recommended timeout in milliseconds used in
|
int |
normalScreens
Indicates whether an application supports the normal screen form-factors. |
int |
notificationTimeout
The minimal period in milliseconds between two accessibility events of the same type are sent to this service. |
int |
numColumns
Defines how many columns to show. |
int |
numStars
The number of stars (or rating items) to show. |
int |
numberPickerStyle
NumberPicker style. |
int |
numbersBackgroundColor
The background color for the hours/minutes numbers. |
int |
numbersInnerTextColor
The color for the inner hours numbers used in 24-hour mode. |
int |
numbersSelectorColor
The color for the hours/minutes selector. |
int |
numbersTextColor
The color for the hours/minutes numbers. |
int |
numeric
This constant was deprecated in API level 15. Use inputType instead. |
int |
numericModifiers
The numeric modifier key. |
int |
numericShortcut
The numeric shortcut key. |
int |
offset
The offset (or ratio) of this current color item inside the gradient. |
int |
onClick
This constant was deprecated in API level 31. View actually traverses the Context hierarchy looking for the relevant method, which is fragile (an intermediate ContextWrapper adding a same-named method would change behavior) and restricts bytecode optimizers such as R8. Instead, use View.setOnClickListener. |
int |
oneshot
If true, the animation will only run a single time and then stop. |
int |
opacity
Indicates the opacity of the layer. |
int |
opticalInsetBottom
Bottom optical inset. |
int |
opticalInsetLeft
Left optical inset. |
int |
opticalInsetRight
Right optical inset. |
int |
opticalInsetTop
Top optical inset. |
int |
order
The order for the Preference (lower values are to be ordered first). |
int |
orderInCategory
The order within the category applied to all items within this group. |
int |
ordering
Name of the property being animated. |
int |
orderingFromXml
Whether to order the Preference under this group as they appear in the XML file. |
int |
orientation
Standard orientation constant. |
int |
outAnimation
Identifier for the animation to use when a view is hidden. |
int |
outlineAmbientShadowColor
Sets the color of the ambient shadow that is drawn when the view has a positive Z or elevation value. |
int |
outlineProvider
ViewOutlineProvider used to determine the View's Outline. |
int |
outlineSpotShadowColor
Sets the color of the spot shadow that is drawn when the view has a positive Z or elevation value. |
int |
overScrollFooter
Drawable to draw below list content. |
int |
overScrollHeader
Drawable to draw above list content. |
int |
overScrollMode
Defines over-scrolling behavior. |
int |
overlapAnchor
Whether the popup window should overlap its anchor view. |
int |
overridesImplicitlyEnabledSubtype
Set true when this subtype should be selected by default if no other subtypes are selected explicitly. |
int |
packageNames
Comma separated package names from which this service would like to receive events (leave out for all packages). |
int |
packageType
Required type of association with the package, for example "android.package.ad_service" if it provides an advertising service. |
int |
padding
Sets the padding, in pixels, of all four edges. |
int |
paddingBottom
Sets the padding, in pixels, of the bottom edge; see |
int |
paddingEnd
Sets the padding, in pixels, of the end edge; see |
int |
paddingHorizontal
Sets the padding, in pixels, of the left and right edges; see
|
int |
paddingLeft
Sets the padding, in pixels, of the left edge; see |
int |
paddingMode
Indicates how layer padding should affect the bounds of subsequent layers. |
int |
paddingRight
Sets the padding, in pixels, of the right edge; see |
int |
paddingStart
Sets the padding, in pixels, of the start edge; see |
int |
paddingTop
Sets the padding, in pixels, of the top edge; see |
int |
paddingVertical
Sets the padding, in pixels, of the top and bottom edges; see
|
int |
pageSizeCompat
This attribute overrides the user-set or platform-set 16 KB page size compatibility mode, so that page agnostic compatibility is always enabled or always disabled, rather than according to the user's preference. |
int |
panelBackground
The background of a panel when it is inset from the left and right edges of the screen. |
int |
panelColorBackground
Color that matches (as closely as possible) the panel background. |
int |
panelColorForeground
Default color of foreground panel imagery. |
int |
panelFullBackground
The background of a panel when it extends to the left and right edges of the screen. |
int |
panelTextAppearance
Default appearance of panel text. |
int |
parentActivityName
The name of the logical parent of the activity as it appears in the manifest. |
int |
password
This constant was deprecated in API level 15. Use inputType instead. |
int |
passwordsActivity
Fully qualified class name of an activity that allows the user to view any passwords saved by this service. |
int |
path
Specify a URI path that must exactly match, as per
|
int |
pathAdvancedPattern
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
int |
pathData
The specification of the operations that define the path. |
int |
pathPattern
Specify a URI path that matches a simple pattern, as per
|
int |
pathPrefix
Specify a URI path that must be a prefix to match, as per
|
int |
pathSuffix
Specify a URI path that must be a suffix to match, as per
|
int |
patternPathData
The path string describing the pattern to use for the PathPathMotion. |
int |
permission
Specify a permission that a client is required to have in order to use the associated object. |
int |
permissionFlags
Flags indicating more context for a permission. |
int |
permissionGroup
Specified the name of a group that this permission is associated with. |
int |
permissionGroupFlags
Flags indicating more context for a permission group. |
int |
persistableMode
Define how an activity persist across reboots. |
int |
persistent
Flag to control special persistent mode of an application. |
int |
persistentDrawingCache
Defines the persistence of the drawing cache. |
int |
persistentWhenFeatureAvailable
If set, the "persistent" attribute will only be honored if the feature specified here is present on the device. |
int |
phoneNumber
This constant was deprecated in API level 15. Use inputType instead. |
int |
physicalKeyboardHintLanguageTag
The BCP-47 Language Tag of the preferred physical keyboard of the subtype. |
int |
physicalKeyboardHintLayoutType
The layout type of the preferred physical keyboard of the subtype. |
int |
pivotX
May be a floating point value, such as " |
int |
pivotY
May be a floating point value, such as " |
int |
pointerIcon
Must be one of the following constant values. |
int |
popupAnimationStyle
The animation style to use for the popup window. |
int |
popupBackground
The background to use for the popup window. |
int |
popupCharacters
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
popupElevation
Window elevation to use for the popup window. |
int |
popupEnterTransition
Transition used to move views into the popup window. |
int |
popupExitTransition
Transition used to move views out of the popup window. |
int |
popupKeyboard
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
popupLayout
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
popupMenuStyle
Default PopupMenu style. |
int |
popupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the toolbar. |
int |
popupWindowStyle
Default PopupWindow style. |
int |
port
Specify a URI authority port that is handled, as per
|
int |
positiveButtonText
The positive button text for the dialog. |
int |
preferKeepClear
Sets a preference to keep the bounds of this view clear from floating windows above this view's window. |
int |
preferMinimalPostProcessing
Indicates whether the activity wants the connected display to do minimal post processing on the produced image or video frames. |
int |
preferenceCategoryStyle
Default style for PreferenceCategory. |
int |
preferenceFragmentStyle
Default style for Headers pane in PreferenceActivity. |
int |
preferenceInformationStyle
Default style for informational Preference. |
int |
preferenceLayoutChild
The preference layout that has the child/tabbed effect. |
int |
preferenceScreenStyle
Default style for PreferenceScreen. |
int |
preferenceStyle
Default style for Preference. |
int |
presentationTheme
Theme to use for presentations spawned from this theme. |
int |
preserveLegacyExternalStorage
If |
int |
previewImage
A preview, in a drawable resource id, of what the Dream will look like. |
int |
previewLayout
The layout resource id of a preview of what the AppWidget will look like after it's configured. |
int |
primaryContentAlpha
The alpha applied to the foreground color to create the primary text color. |
int |
priority
Specify the relative importance or ability in handling a particular Intent. |
int |
privateImeOptions
An addition content type description to supply to the input method attached to the text view, which is private to the implementation of the input method. |
int |
process
Specify a specific process that the associated code is to run in. |
int |
progress
Defines the default progress value, between 0 and max. |
int |
progressBackgroundTint
Tint to apply to the progress indicator background. |
int |
progressBackgroundTintMode
Blending mode used to apply the progress indicator background tint. |
int |
progressBarPadding
Specifies the horizontal padding on either end for an embedded progress bar. |
int |
progressBarStyle
Default ProgressBar style. |
int |
progressBarStyleHorizontal
Horizontal ProgressBar style. |
int |
progressBarStyleInverse
Inverse ProgressBar style. |
int |
progressBarStyleLarge
Large ProgressBar style. |
int |
progressBarStyleLargeInverse
Large inverse ProgressBar style. |
int |
progressBarStyleSmall
Small ProgressBar style. |
int |
progressBarStyleSmallInverse
Small inverse ProgressBar style. |
int |
progressBarStyleSmallTitle
Small ProgressBar in title style. |
int |
progressDrawable
Drawable used for the progress mode. |
int |
progressTint
Tint to apply to the progress indicator. |
int |
progressTintMode
Blending mode used to apply the progress indicator tint. |
int |
prompt
The prompt to display when the spinner's dialog is shown. |
int |
propertyName
Name of the property being animated. |
int |
propertyXName
Name of the property being animated as the X coordinate of the pathData. |
int |
propertyYName
Name of the property being animated as the Y coordinate of the pathData. |
int |
protectionLevel
Characterizes the potential risk implied in a permission and indicates the procedure the system should follow when determining whether to grant the permission to an application requesting it. |
int |
publicKey
The attribute that holds a Base64-encoded public key. |
int |
query
Specify a URI query that must exactly match, as a
|
int |
queryActionMsg
If you wish to handle an action key during normal search query entry, you must define an action string here. |
int |
queryAdvancedPattern
Specify a URI query that matches an advanced pattern, as a
|
int |
queryAfterZeroResults
If provided and |
int |
queryBackground
Background for the section containing the search query. |
int |
queryHint
An optional query hint string to be displayed in the empty query field. |
int |
queryPattern
Specify a URI query that matches a simple pattern, as a
|
int |
queryPrefix
Specify a URI query that must be a prefix to match, as a
|
int |
querySuffix
Specify a URI query that must be a suffix to match, as a
|
int |
quickContactBadgeStyleSmallWindowLarge
Default quickcontact badge style with large quickcontact window. |
int |
quickContactBadgeStyleSmallWindowMedium
Default quickcontact badge style with medium quickcontact window. |
int |
quickContactBadgeStyleSmallWindowSmall
Default quickcontact badge style with small quickcontact window. |
int |
quickContactBadgeStyleWindowLarge
Default quickcontact badge style with large quickcontact window. |
int |
quickContactBadgeStyleWindowMedium
Default quickcontact badge style with medium quickcontact window. |
int |
quickContactBadgeStyleWindowSmall
Default quickcontact badge style with small quickcontact window. |
int |
radioButtonStyle
Default RadioButton style. |
int |
radius
Defines the radius of the four corners. |
int |
rating
The rating to set by default. |
int |
ratingBarStyle
Default RatingBar style. |
int |
ratingBarStyleIndicator
Indicator RatingBar style. |
int |
ratingBarStyleSmall
Small indicator RatingBar style. |
int |
readPermission
A specific |
int |
recognitionService
The service that provides voice recognition. |
int |
recreateOnConfigChanges
Specify the configuration changes that trigger the system to recreate the current activity if any of these configuration changes happen in the system. |
int |
recycleEnabled
Whether the preference has enabled to have its view recycled when used in the list view. |
int |
relinquishTaskIdentity
Tasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task. |
int |
reparent
Tells ChangeTransform to track parent changes. |
int |
reparentWithOverlay
A parent change should use an overlay or affect the transform of the transitionining View. |
int |
repeatCount
Defines how many times the animation should repeat. |
int |
repeatMode
Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. |
int |
reqFiveWayNav
Application's requirement for five way navigation May be a boolean value, such as " |
int |
reqHardKeyboard
Application's requirement for a hard keyboard May be a boolean value, such as " |
int |
reqKeyboardType
The input method preferred by an application. |
int |
reqNavigation
The navigation device preferred by an application. |
int |
reqTouchScreen
The touch screen type used by an application. |
int |
requestLegacyExternalStorage
If |
int |
requestRawExternalStorageAccess
If |
int |
requireContentUriPermissionFromCaller
Specifies permissions necessary to launch this activity when passing content URIs. |
int |
requireDeviceScreenOn
Whether the device must be screen on before routing data to this service. |
int |
requireDeviceUnlock
Whether the device must be unlocked before routing data to this service. |
int |
required
Specify whether this feature is required for the application. |
int |
requiredAccountType
Declare that this application requires an account of a certain type. |
int |
requiredDisplayCategory
Specifies the required display category of the activity. |
int |
requiredFeature
Optional: the system must support this feature for the permission to be requested. |
int |
requiredForAllUsers
Flag to specify if this application needs to be present for all users. |
int |
requiredNotFeature
Optional: the system must NOT support this feature for the permission to be requested. |
int |
requiredSplitTypes
List of split types required by this APK to be present in order to function properly, separated by commas. |
int |
requiresFadingEdge
Defines which edges should be faded on scrolling. |
int |
requiresSmallestWidthDp
Starting with |
int |
resetEnabledSettingsOnAppDataCleared
Specifies whether enabled settings of components in the application should be
reset to |
int |
resizeClip
Resize the view by adjusting the clipBounds rather than changing the dimensions of the view itself. |
int |
resizeMode
Optional parameter which indicates if and how this widget can be resized. |
int |
resizeable
Indicates whether the application can resize itself to newer screen sizes. |
int |
resizeableActivity
Hint to platform that the activity works well in multi-window mode. |
int |
resource
Resource identifier to assign to this piece of named meta-data. |
int |
resourcesMap
The xml file that defines the target id to overlay value mappings. |
int |
restoreAnyVersion
Indicate that the application is prepared to attempt a restore of any backed-up dataset, even if the backup is apparently from a newer version of the application than is currently installed on the device. |
int |
restoreNeedsApplication
This constant was deprecated
in API level 15.
This attribute is not used by the Android operating system.
May be a boolean value, such as " |
int |
restrictedAccountType
Declare that this application requires access to restricted accounts of a certain type. |
int |
restrictionType
Must be one of the following constant values. |
int |
resumeWhilePausing
Indicate that it is okay for this activity be resumed while the previous activity is in the process of pausing, without waiting for the previous pause to complete. |
int |
reversible
Whether this transition is reversible. |
int |
revisionCode
Internal revision code. |
int |
right
Amount of right padding inside the gradient shape. |
int |
ringtonePreferenceStyle
Default style for RingtonePreference. |
int |
ringtoneType
Which ringtone type(s) to show in the picker. |
int |
rollbackDataPolicy
Declare the policy to deal with user data when rollback is committed. |
int |
rotation
rotation of the view, in degrees. |
int |
rotationAnimation
Flag that specifies the activity's preferred screen rotation animation. |
int |
rotationX
rotation of the view around the x axis, in degrees. |
int |
rotationY
rotation of the view around the y axis, in degrees. |
int |
roundIcon
A Drawable resource providing a graphical representation of its associated item. |
int |
rowCount
The maximum number of rows to create when automatically positioning children. |
int |
rowDelay
Fraction of the animation duration used to delay the beginning of the animation of each row. |
int |
rowEdgeFlags
This constant was deprecated in API level 29. Copy this definition into your own application project.Copy this definition into your own application project.Copy this definition into your own application project. |
int |
rowHeight
Defines the height of each row. |
int |
rowOrderPreserved
When set to true, forces row boundaries to appear in the same order as row indices. |
int |
saveEnabled
If false, no state will be saved for this view when it is being frozen. |
int |
scaleGravity
Specifies where the drawable is positioned after scaling. |
int |
scaleHeight
Scale height, expressed as a percentage of the drawable's bound. |
int |
scaleType
Controls how the image should be resized or moved to match the size of this ImageView. |
int |
scaleWidth
Scale width, expressed as a percentage of the drawable's bound. |
int |
scaleX
scale of the view in the x direction. |
int |
scaleY
scale of the view in the y direction. |
int |
scheme
Specify a URI scheme that is handled, as per
|
int |
screenDensity
Specifies a compatible screen density, as per the device configuration screen density bins. |
int |
screenOrientation
Specify the orientation an activity should run in. |
int |
screenReaderFocusable
Whether this view should be treated as a focusable unit by screen reader accessibility tools. |
int |
screenSize
Specifies a compatible screen size, as per the device configuration screen size bins. |
int |
scrollHorizontally
Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally). |
int |
scrollIndicators
Defines which scroll indicators should be displayed when the view can be scrolled. |
int |
scrollViewStyle
Default ScrollView style. |
int |
scrollX
The initial horizontal scroll offset, in pixels. |
int |
scrollY
The initial vertical scroll offset, in pixels. |
int |
scrollbarAlwaysDrawHorizontalTrack
Defines whether the horizontal scrollbar track should always be drawn. |
int |
scrollbarAlwaysDrawVerticalTrack
Defines whether the vertical scrollbar track should always be drawn. |
int |
scrollbarDefaultDelayBeforeFade
Defines the delay in milliseconds that a scrollbar waits before fade out. |
int |
scrollbarFadeDuration
Defines the delay in milliseconds that a scrollbar takes to fade out. |
int |
scrollbarSize
Sets the width of vertical scrollbars and height of horizontal scrollbars. |
int |
scrollbarStyle
Controls the scrollbar style and position. |
int |
scrollbarThumbHorizontal
Defines the horizontal scrollbar thumb drawable. |
int |
scrollbarThumbVertical
Defines the vertical scrollbar thumb drawable. |
int |
scrollbarTrackHorizontal
Defines the horizontal scrollbar track drawable. |
int |
scrollbarTrackVertical
Defines the vertical scrollbar track drawable. |
int |
scrollbars
Defines which scrollbars should be displayed on scrolling or not. |
int |
scrollingCache
When set to true, the list uses a drawing cache during scrolling. |
int |
searchButtonText
This constant was deprecated in API level 15. This will create a non-standard UI appearance, because the search bar UI is changing to use only icons for its buttons. |
int |
searchHintIcon
Search icon displayed as a text field hint. |
int |
searchIcon
Search icon. |
int |
searchMode
Additional features are controlled by mode bits in this field. |
int |
searchResultHighlightColor
Color of search results highlight. |
int |
searchSettingsDescription
If provided, this string will be used to describe the searchable item in the searchable items settings within system search settings. |
int |
searchSuggestAuthority
If provided, this is the trigger indicating that the searchable activity provides suggestions as well. |
int |
searchSuggestIntentAction
If provided, and not overridden by an action in the selected suggestion, this
string will be placed in the action field of the |
int |
searchSuggestIntentData
If provided, and not overridden by an action in the selected suggestion, this
string will be placed in the data field of the |
int |
searchSuggestPath
If provided, this will be inserted in the suggestions query Uri, after the authority you have provide but before the standard suggestions path. |
int |
searchSuggestSelection
If provided, suggestion queries will be passed into your query function as the selection parameter. |
int |
searchSuggestThreshold
If provided, this is the minimum number of characters needed to trigger search suggestions. |
int |
searchViewStyle
Style for the search query widget. |
int |
secondaryContentAlpha
The alpha applied to the foreground color to create the secondary text color. |
int |
secondaryProgress
Defines the secondary progress value, between 0 and max. |
int |
secondaryProgressTint
Tint to apply to the secondary progress indicator. |
int |
secondaryProgressTintMode
Blending mode used to apply the secondary progress indicator tint. |
int |
secureElementName
Secure Element which the AIDs should be routed to May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
int |
seekBarStyle
Default SeekBar style. |
int |
segmentedButtonStyle
Style for segmented buttons - a container that houses several buttons with the appearance of a singel button broken into segments. |
int |
selectAllOnFocus
If the text is selectable, select it all when the view takes focus. |
int |
selectable
Whether the Preference is selectable. |
int |
selectableAsDefault
Flag indicating whether a recognition service can be selected as default. |
int |
selectableItemBackground
Background drawable for bordered standalone items that need focus/pressed states. |
int |
selectableItemBackgroundBorderless
Background drawable for borderless standalone items that need focus/pressed states. |
int |
selectedDateVerticalBar
This constant was deprecated
in API level 23.
Drawable for the vertical bar shown at the beginning and at the end of the selected date.
May be a reference to another resource, in the form
" |
int |
selectedWeekBackgroundColor
This constant was deprecated
in API level 23.
The background color for the selected week.
May be a reference to another resource, in the form
" May be a color value, in the form of " |
int |
selectionDividerHeight
The height of the selection divider. |
int |
sessionService
The service that hosts active voice interaction sessions. |
int |
settingsActivity
Fully qualified class name of an activity that allows the user to modify the settings for this service. |
int |
settingsSliceUri
Uri that specifies a settings Slice for this wallpaper. |
int |
settingsSubtitle
A string that is displayed to the user in the Credential Manager settings screen that can be used to provide more information about a provider. |
int |
setupActivity
Component name of an activity that allows the user to set up this service. |
int |
shadowColor
Place a blurred shadow of text underneath the text, drawn with the specified color. |
int |
shadowDx
Horizontal offset of the text shadow. |
int |
shadowDy
Vertical offset of the text shadow. |
int |
shadowRadius
Blur radius of the text shadow. |
int |
shape
Indicates what shape to fill with a gradient. |
int |
shareInterpolator
May be a boolean value, such as " |
int |
sharedUserId
This constant was deprecated
in API level 29.
Shared user IDs cause non-deterministic behavior within the
package manager. As such, its use is strongly discouraged and may be
removed in a future version of Android. Instead, apps should use proper
communication mechanisms, such as services and content providers,
to facilitate interoperability between shared components. Note that
existing apps cannot remove this value, as migrating off a
shared user ID is not supported.
May be a string value, using '\\;' to escape characters such as
'\\n' or '\\uxxxx' for a unicode character; |
int |
sharedUserLabel
This constant was deprecated
in API level 29.
There is no replacement for this attribute.
May be a reference to another resource, in the form
" |
int |
sharedUserMaxSdkVersion
The maximum device SDK version for which the application will remain in the user ID defined in sharedUserId. |
int |
shell
Flag indicating whether the application can be profiled by the shell user, even when running on a device that is running in user mode. |
int |
shiftDrawingOffsetForStartOverhang
May be a boolean value, such as " |
int |
shortcutDisabledMessage
May be a reference to another resource, in the form
" |
int |
shortcutId
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
int |
shortcutLongLabel
May be a reference to another resource, in the form
" |
int |
shortcutShortLabel
May be a reference to another resource, in the form
" |
int |
shouldDefaultToObserveMode
Whether the device should default to observe mode when this service is default or in the foreground. |
int |
shouldDisableView
Whether the view of this Preference should be disabled when this Preference is disabled. |
int |
shouldUseDefaultUnfoldTransition
Indicates that this wallpaper service should receive zoom transition updates when changing the structural state of the device (e.g. when folding or unfolding a foldable device). |
int |
showAsAction
How this item should display in the Action Bar, if present. |
int |
showBackdrop
Special option for window animations: whether to show a background behind the animating windows. |
int |
showClockAndComplications
Whether to show clock and other complications such as weather in the overlay. |
int |
showDefault
Whether to show an item for a default sound. |
int |
showDividers
Setting for which dividers to show. |
int |
showForAllUsers
Specify that an Activity should be shown even if the current/foreground user is different from the user of the Activity. |
int |
showInInputMethodPicker
Specifies whether the IME wants to be shown in the Input Method picker. |
int |
showMetadataInPreview
Whether to show any metadata when previewing the wallpaper. |
int |
showOnLockScreen
This constant was deprecated
in API level 23.
use May be a boolean value, such as " |
int |
showSilent
Whether to show an item for 'Silent'. |
int |
showText
Whether to draw on/off text. |
int |
showWeekNumber
This constant was deprecated
in API level 23.
Whether do show week numbers.
May be a boolean value, such as " |
int |
showWhenLocked
Specifies whether an |
int |
shownWeekCount
This constant was deprecated
in API level 23.
The number of weeks to be shown.
May be an integer value, such as " |
int |
shrinkColumns
The zero-based index of the columns to shrink. |
int |
singleLine
This constant was deprecated
in API level 15.
This attribute is deprecated. Use |
int |
singleLineTitle
Whether to use single line for the preference title text. |
int |
singleUser
If set to true, a single instance of this component will run for all users. |
int |
slideEdge
Must be one of the following constant values. |
int |
smallIcon
Smaller icon of the authenticator. |
int |
smallScreens
Indicates whether the application supports smaller screen form-factors. |
int |
smoothScrollbar
When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen. |
int |
soundEffectsEnabled
Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching. |
int |
spacing
May be a dimension value, which is a floating point number appended with a
unit such as " |
int |
spinnerDropDownItemStyle
Default style for spinner drop down items. |
int |
spinnerItemStyle
Default spinner item style. |
int |
spinnerMode
Display mode for spinner options. |
int |
spinnerStyle
Default Spinner style. |
int |
spinnersShown
Whether the spinners are shown. |
int |
splashScreenTheme
May be a reference to another resource, in the form
" |
int |
splitMotionEvents
Sets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch. |
int |
splitName
When an application is partitioned into splits, this is the name of the split that contains the defined component. |
int |
splitTrack
Whether to split the track and leave a gap for the thumb drawable. |
int |
splitTypes
List of split types offered by this APK, separated by commas. |
int |
spotShadowAlpha
Alpha value of the spot shadow projected by elevated views, between 0 and 1. |
int |
src
Sets a drawable as the content of this ImageView. |
int |
ssp
Specify a URI scheme specific part that must exactly match, as per
|
int |
sspAdvancedPattern
Specify a URI scheme specific part that matches an advanced pattern, as per
|
int |
sspPattern
Specify a URI scheme specific part that matches a simple pattern, as per
|
int |
sspPrefix
Specify a URI scheme specific part that must be a prefix to match, as per
|
int |
sspSuffix
Specify a URI scheme specific part that must be a suffix to match, as per
|
int |
stackFromBottom
Used by ListView and GridView to stack their content from the bottom. |
int |
stackViewStyle
Default StackView style. |
int |
starStyle
Default Star style. |
int |
start
Start inset to apply to the layer. |
int |
startColor
Start color of the gradient. |
int |
startDelay
Delay in milliseconds before the transition starts. |
int |
startOffset
Delay in milliseconds before the animation runs, once start time is reached. |
int |
startX
X coordinate of the start point origin of the gradient. |
int |
startY
Y coordinate of the start point of the gradient within the shape. |
int |
startYear
This constant was deprecated in API level 16. Use minDate instead.Use minDate instead. |
int |
stateListAnimator
Sets the state-based animator for the View. |
int |
stateNotNeeded
Indicates that an Activity does not need to have its freeze state
(as returned by |
int |
state_above_anchor
State identifier indicating the popup will be above the anchor. |
int |
state_accelerated
State value for |
int |
state_activated
State value for |
int |
state_active
State value for |
int |
state_checkable
State identifier indicating that the object may display a check mark. |
int |
state_checked
State identifier indicating that the object is currently checked. |
int |
state_drag_can_accept
State for |
int |
state_drag_hovered
State for |
int |
state_empty
State identifier indicating the group is empty (has no children). |
int |
state_enabled
State value for |
int |
state_expanded
State identifier indicating the group is expanded. |
int |
state_first
State value for |
int |
state_focused
State value for |
int |
state_hovered
State value for |
int |
state_last
State value for |
int |
state_long_pressable
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
state_middle
State value for |
int |
state_multiline
State identifier indicating a TextView has a multi-line layout. |
int |
state_pressed
State value for |
int |
state_selected
State value for |
int |
state_single
State value for |
int |
state_window_focused
State value for |
int |
staticWallpaperPreview
A resource id of a static drawable. |
int |
statusBarColor
This constant was deprecated
in API level 35.
Draw proper background behind
May be a color value, in the form of " |
int |
stepSize
The step size of the rating. |
int |
stopWithTask
If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application. |
int |
streamType
Different audio stream types. |
int |
stretchColumns
The zero-based index of the columns to stretch. |
int |
stretchMode
Defines how columns should stretch to fill the available empty space, if any. |
int |
strokeAlpha
The opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque). |
int |
strokeColor
The color to stroke the path if not defined implies no stroke. |
int |
strokeLineCap
sets the linecap for a stroked path. |
int |
strokeLineJoin
sets the lineJoin for a stroked path. |
int |
strokeMiterLimit
sets the Miter limit for a stroked path. |
int |
strokeWidth
The width a path stroke. |
int |
stylusHandwritingSettingsActivity
Class name of an activity that allows the user to modify the stylus handwriting settings for this service May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
int |
subMenuArrow
Drawable for the arrow icon indicating a particular item is a submenu. |
int |
submitBackground
Background for the section containing the action (for example, voice search). |
int |
subtitle
Specifies subtitle text used for navigationMode="normal". |
int |
subtitleTextAppearance
May be a reference to another resource, in the form
" |
int |
subtitleTextColor
A color to apply to the subtitle string. |
int |
subtitleTextStyle
Specifies a style to use for subtitle text. |
int |
subtypeExtraValue
The extra value of the subtype. |
int |
subtypeId
The unique id for the subtype. |
int |
subtypeLocale
The locale of the subtype. |
int |
suggestActionMsg
If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this. |
int |
suggestActionMsgColumn
If you wish to handle an action key while a suggestion is being displayed and selected, but you do not wish to enable this action key for every suggestion, then you can use this attribute to control it on a suggestion-by-suggestion basis. |
int |
suggestionRowLayout
Layout for query suggestion rows. |
int |
summary
The summary for the item. |
int |
summaryColumn
Column in data table that summarizes this data. |
int |
summaryOff
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. |
int |
summaryOn
The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. |
int |
supplementalDescription
Provides brief supplemental information for the view, such as the purpose of the view when that purpose is not conveyed within its textual representation. |
int |
supportedTypes
The interactive app types that the TV interactive app service supports. |
int |
supportsAssist
Flag indicating whether this voice interaction service is capable of handling the assist action. |
int |
supportsBatteryGameMode
Set true to opt in BATTERY mode. |
int |
supportsConnectionlessStylusHandwriting
Specifies whether the IME supports connectionless stylus handwriting sessions. |
int |
supportsInlineSuggestions
Specifies whether the AutofillService supports inline suggestions May be a boolean value, such as " |
int |
supportsInlineSuggestionsWithTouchExploration
Specifies whether the IME supports showing inline suggestions when touch exploration is enabled. |
int |
supportsLaunchVoiceAssistFromKeyguard
Flag indicating whether this voice interaction service is capable of being launched from the keyguard. |
int |
supportsLocalInteraction
Flag indicating whether this voice interaction service can handle local voice interaction requests from an Activity. |
int |
supportsMultipleDisplays
Indicates that this wallpaper service can support multiple engines to render on each surface independently. |
int |
supportsPerformanceGameMode
Set true to opt in PERFORMANCE mode. |
int |
supportsPictureInPicture
Indicates that the activity specifically supports the picture-in-picture form of multi-window. |
int |
supportsRtl
Declare that your application will be able to deal with RTL (right to left) layouts. |
int |
supportsStylusHandwriting
Specifies whether the IME supports Handwriting using stylus. |
int |
supportsSwitchingToNextInputMethod
Set to true if this input method supports ways to switch to a next input method (for example, a globe key.). |
int |
supportsUploading
May be a boolean value, such as " |
int |
suppressesSpellChecker
Specifies whether the IME suppresses system spell checker. |
int |
switchMinWidth
Minimum width for the switch component. |
int |
switchPadding
Minimum space between the switch and caption text. |
int |
switchPreferenceStyle
Default style for switch preferences. |
int |
switchStyle
Default style for the Switch widget. |
int |
switchTextAppearance
TextAppearance style for text displayed on the switch thumb. |
int |
switchTextOff
The text used on the switch itself when in the "off" state. |
int |
switchTextOn
The text used on the switch itself when in the "on" state. |
int |
syncable
Flag indicating whether this content provider would like to participate in data synchronization. |
int |
systemUserOnly
If set to true, only a single instance of this component will run and be available for the SYSTEM user. |
int |
tabStripEnabled
Determines whether the strip under the tab indicators is drawn or not. |
int |
tabStripLeft
Drawable used to draw the left part of the strip underneath the tabs. |
int |
tabStripRight
Drawable used to draw the right part of the strip underneath the tabs. |
int |
tabWidgetStyle
Default TabWidget style. |
int |
tag
Supply a tag for this view containing a String, to be retrieved
later with |
int |
targetActivity
Fully qualified class name of an activity that allows the user to view their entire wallet May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
int |
targetCellHeight
Default height of the AppWidget in units of launcher grid cells. |
int |
targetCellWidth
Default width of the AppWidget in units of launcher grid cells. |
int |
targetClass
The class part of the ComponentName to assign to the Intent, as per
|
int |
targetDescriptions
This constant was deprecated
in API level 23.
Removed.
Reference to an array resource that be used as description for the targets around the circle.
May be a reference to another resource, in the form
" |
int |
targetId
The id of a target on which this transition will animate changes. |
int |
targetName
The transitionName of the target on which this transition will animation changes. |
int |
targetPackage
The name of the application package that an Instrumentation object will run against. |
int |
targetProcesses
The name of an application's processes that an Instrumentation object will run against. |
int |
targetSandboxVersion
This constant was deprecated
in API level 29.
The security properties have been moved to
May be an integer value, such as " |
int |
targetSdkVersion
This is the SDK version number that the application is targeting. |
int |
taskAffinity
Specify a task name that activities have an "affinity" to. |
int |
taskCloseEnterAnimation
When closing the last activity of a task, this is the animation that is run on the activity of the next task (which is entering the screen). |
int |
taskCloseExitAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen). |
int |
taskOpenEnterAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the new task (which is entering the screen). |
int |
taskOpenExitAnimation
When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen). |
int |
taskToBackEnterAnimation
When sending the current task to the background, this is the animation that is run on the top activity of the task behind it (which is entering the screen). |
int |
taskToBackExitAnimation
When sending the current task to the background, this is the animation that is run on the top activity of the current task (which is exiting the screen). |
int |
taskToFrontEnterAnimation
When bringing an existing task to the foreground, this is the animation that is run on the top activity of the task being brought to the foreground (which is entering the screen). |
int |
taskToFrontExitAnimation
When bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen). |
int |
tension
This is the amount of tension. |
int |
testOnly
Option to indicate this application is only for testing purposes. |
int |
text
Text to display. |
int |
textAlignment
Defines the alignment of the text. |
int |
textAllCaps
Present the text in ALL CAPS. |
int |
textAppearance
Default appearance of text: color, typeface, size, and style. |
int |
textAppearanceButton
Text color, typeface, size, and style for the text inside of a button. |
int |
textAppearanceInverse
Default appearance of text against an inverted background: color, typeface, size, and style. |
int |
textAppearanceLarge
Text color, typeface, size, and style for "large" text. |
int |
textAppearanceLargeInverse
Text color, typeface, size, and style for "large" inverse text. |
int |
textAppearanceLargePopupMenu
Text color, typeface, size, and style for the text inside of a popup menu. |
int |
textAppearanceListItem
The preferred TextAppearance for the primary text of list items. |
int |
textAppearanceListItemSecondary
The preferred TextAppearance for the secondary text of list items. |
int |
textAppearanceListItemSmall
The preferred TextAppearance for the primary text of small list items. |
int |
textAppearanceMedium
Text color, typeface, size, and style for "medium" text. |
int |
textAppearanceMediumInverse
Text color, typeface, size, and style for "medium" inverse text. |
int |
textAppearancePopupMenuHeader
Text color, typeface, size, and style for header text inside of a popup menu. |
int |
textAppearanceSearchResultSubtitle
Text color, typeface, size, and style for system search result subtitle. |
int |
textAppearanceSearchResultTitle
Text color, typeface, size, and style for system search result title. |
int |
textAppearanceSmall
Text color, typeface, size, and style for "small" text. |
int |
textAppearanceSmallInverse
Text color, typeface, size, and style for "small" inverse text. |
int |
textAppearanceSmallPopupMenu
Text color, typeface, size, and style for small text inside of a popup menu. |
int |
textCheckMark
Drawable to use for check marks. |
int |
textCheckMarkInverse
May be a reference to another resource, in the form
" |
int |
textColor
Color of text (usually same as colorForeground). |
int |
textColorAlertDialogListItem
Color of list item text in alert dialogs. |
int |
textColorHighlight
Color of highlighted text. |
int |
textColorHighlightInverse
Color of highlighted text, when used in a light theme. |
int |
textColorHint
Color of hint text (displayed when the field is empty). |
int |
textColorHintInverse
Inverse hint text color. |
int |
textColorLink
Color of link text (URLs). |
int |
textColorLinkInverse
Color of link text (URLs), when used in a light theme. |
int |
textColorPrimary
The most prominent text color. |
int |
textColorPrimaryDisableOnly
Bright text color. |
int |
textColorPrimaryInverse
Primary inverse text color, useful for inverted backgrounds. |
int |
textColorPrimaryInverseDisableOnly
Bright inverse text color. |
int |
textColorPrimaryInverseNoDisable
Bright inverse text color. |
int |
textColorPrimaryNoDisable
Bright text color. |
int |
textColorSecondary
Secondary text color. |
int |
textColorSecondaryInverse
Secondary inverse text color, useful for inverted backgrounds. |
int |
textColorSecondaryInverseNoDisable
Dim inverse text color. |
int |
textColorSecondaryNoDisable
Dim text color. |
int |
textColorTertiary
Tertiary text color. |
int |
textColorTertiaryInverse
Tertiary inverse text color, useful for inverted backgrounds. |
int |
textCursorDrawable
Reference to a drawable that will be drawn under the insertion cursor. |
int |
textDirection
Defines the direction of the text. |
int |
textEditNoPasteWindowLayout
Variation of textEditPasteWindowLayout displayed when the clipboard is empty. |
int |
textEditPasteWindowLayout
The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field. |
int |
textEditSideNoPasteWindowLayout
Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. |
int |
textEditSidePasteWindowLayout
Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top. |
int |
textEditSuggestionItemLayout
Layout of the TextView item that will populate the suggestion popup window. |
int |
textFilterEnabled
When set to true, the list will filter results as the user types. |
int |
textFontWeight
Weight for the font used in the TextView. |
int |
textIsSelectable
Indicates that the content of a non-editable TextView can be selected. |
int |
textLocale
Specifies the |
int |
textOff
The text for the button when it is not checked. |
int |
textOn
The text for the button when it is checked. |
int |
textScaleX
Sets the horizontal scaling factor for the text. |
int |
textSelectHandle
Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text. |
int |
textSelectHandleLeft
Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region. |
int |
textSelectHandleRight
Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region. |
int |
textSelectHandleWindowStyle
Reference to a style that will be used for the window containing a text selection anchor. |
int |
textSize
Size of text. |
int |
textStyle
Default text typeface style. |
int |
textSuggestionsWindowStyle
Reference to a style that will be used for the window containing a list of possible text suggestions in an EditText. |
int |
textViewStyle
Default TextView style. |
int |
theme
The overall theme to use for an activity. |
int |
thickness
Thickness of the ring. |
int |
thicknessRatio
Thickness of the ring expressed as a ratio of the ring's width. |
int |
thumb
Draws the thumb on a seekbar. |
int |
thumbOffset
An offset for the thumb that allows it to extend out of the range of the track. |
int |
thumbPosition
Position of thumb in relation to the track. |
int |
thumbTextPadding
Amount of padding on either side of text within the switch thumb. |
int |
thumbTint
Tint to apply to the thumb drawable. |
int |
thumbTintMode
Blending mode used to apply the thumb tint. |
int |
thumbnail
Reference to the wallpaper's thumbnail bitmap. |
int |
tickMark
Drawable displayed at each progress position on a seekbar. |
int |
tickMarkTint
Tint to apply to the tick mark drawable. |
int |
tickMarkTintMode
Blending mode used to apply the tick mark tint. |
int |
tileMode
Defines the tile mode. |
int |
tileModeX
Defines the horizontal tile mode. |
int |
tileModeY
Defines the vertical tile mode. |
int |
tileService
Fully qualified class name of |
int |
timePickerDialogTheme
The TimePicker dialog theme. |
int |
timePickerMode
Defines the look of the widget. |
int |
timePickerStyle
The TimePicker style. |
int |
timeZone
Specifies the time zone to use. |
int |
tint
The tinting color for the image. |
int |
tintMode
When a tint color is set, specifies its Porter-Duff blending mode. |
int |
title
The title associated with the item. |
int |
titleCondensed
The condensed title associated with the item. |
int |
titleMargin
Specifies extra space on the left, start, right and end sides of the toolbar's title. |
int |
titleMarginBottom
Specifies extra space on the bottom side of the toolbar's title. |
int |
titleMarginEnd
Specifies extra space on the end side of the toolbar's title. |
int |
titleMarginStart
Specifies extra space on the start side of the toolbar's title. |
int |
titleMarginTop
Specifies extra space on the top side of the toolbar's title. |
int |
titleTextAppearance
May be a reference to another resource, in the form
" |
int |
titleTextColor
A color to apply to the title string. |
int |
titleTextStyle
Specifies a style to use for title text. |
int |
toAlpha
May be a floating point value, such as " |
int |
toDegrees
May be a floating point value, such as " |
int |
toExtendBottom
Defines the amount a window should be extended outward from the bottom by the end of the animation by transitioning from the fromExtendBottom amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height. |
int |
toExtendLeft
Defines the amount a window should be extended outward from the left by the end of the animation by transitioning from the fromExtendLeft amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width. |
int |
toExtendRight
Defines the amount a window should be extended outward from the right by the end of the animation by transitioning from the fromExtendRight amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width. |
int |
toExtendTop
Defines the amount a window should be extended outward from the top by the end of the animation by transitioning from the fromExtendTop amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height. |
int |
toId
Keyframe identifier for the ending state. |
int |
toScene
The destination scene in this scene change. |
int |
toXDelta
May be a floating point value, such as " |
int |
toXScale
May be a floating point value, such as " |
int |
toYDelta
May be a floating point value, such as " |
int |
toYScale
May be a floating point value, such as " |
int |
toolbarStyle
Default Toolbar style. |
int |
tooltipText
The tooltip text associated with the item. |
int |
top
Amount of top padding inside the gradient shape. |
int |
topBright
May be a reference to another resource, in the form
" |
int |
topDark
May be a reference to another resource, in the form
" |
int |
topLeftRadius
Radius of the top left corner. |
int |
topOffset
Extra offset for the handle at the top of the SlidingDrawer. |
int |
topRightRadius
Radius of the top right corner. |
int |
touchscreenBlocksFocus
Set to true if this ViewGroup blocks focus in the presence of a touchscreen. |
int |
track
Drawable to use as the "track" that the switch thumb slides within. |
int |
trackTint
Tint to apply to the track. |
int |
trackTintMode
Blending mode used to apply the track tint. |
int |
transcriptMode
Sets the transcript mode for the list. |
int |
transformPivotX
x location of the pivot point around which the view will rotate and scale. |
int |
transformPivotY
y location of the pivot point around which the view will rotate and scale. |
int |
transition
The id of a transition to be used in a particular scene change. |
int |
transitionGroup
Sets whether or not this ViewGroup should be treated as a single entity when doing an Activity transition. |
int |
transitionName
Names a View such that it can be identified for Transitions. |
int |
transitionOrdering
Must be one of the following constant values. |
int |
transitionVisibilityMode
Changes whether the transition supports appearing and/or disappearing Views. |
int |
translateX
The amount to translate the group on X coordinate. |
int |
translateY
The amount to translate the group on Y coordinate. |
int |
translationX
translation in x of the view. |
int |
translationY
translation in y of the view. |
int |
translationZ
translation in z of the view. |
int |
trimPathEnd
The fraction of the path to trim from the end from 0 to 1 . |
int |
trimPathOffset
Shift trim region (allows visible region to include the start and end) from 0 to 1. |
int |
trimPathStart
The fraction of the path to trim from the start from 0 to 1. |
int |
ttcIndex
The index of the font in the ttc (TrueType Collection) font file. |
int |
tunerCount
The number of tuners that the TV input service is associated with. |
int |
turnScreenOn
Specifies whether the screen should be turned on when the |
int |
type
Type of gradient. |
int |
typeface
Default text typeface. |
int |
uiOptions
Extra options for an activity's UI. |
int |
uncertainGestureColor
Color used to draw the user's strokes until we are sure it's a gesture. |
int |
unfocusedMonthDateColor
This constant was deprecated
in API level 23.
The color for the dates of an unfocused month.
May be a reference to another resource, in the form
" May be a color value, in the form of " |
int |
unselectedAlpha
Sets the alpha on the items that are not selected. |
int |
updatePeriodMillis
Update period in milliseconds, or 0 if the AppWidget will update itself. |
int |
use32bitAbi
Specify whether the 32 bit version of the ABI should be used in a multiArch application. |
int |
useAppZygote
If true, and this is an |
int |
useBoundsForWidth
May be a boolean value, such as " |
int |
useDefaultMargins
When set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters. |
int |
useEmbeddedDex
Flag to specify if this app (or process) wants to run the dex within its APK but not extracted or locally compiled variants. |
int |
useIntrinsicSizeAsMinimum
Use the drawable's intrinsic width and height as minimum size values. |
int |
useLevel
Whether the drawable level value (see
|
int |
useLocalePreferredLineHeightForMinimum
May be a boolean value, such as " |
int |
userVisible
May be a boolean value, such as " |
int |
usesCleartextTraffic
Declare that this application may use cleartext traffic, such as HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, SMTP without STARTTLS or TLS. |
int |
usesPermissionFlags
Optional: set of flags that should apply to this permission request. |
int |
value
Concrete value to assign to this piece of named meta-data. |
int |
valueFrom
Value the animation starts from. |
int |
valueTo
Value the animation animates to. |
int |
valueType
The type of valueFrom and valueTo. |
int |
variablePadding
If true, allows the drawable's padding to change based on the current state that is selected. |
int |
vendor
The vendor name if this print service is vendor specific. |
int |
version
The version of the feature that is being used. |
int |
versionCode
Internal version code. |
int |
versionCodeMajor
Internal major version code. |
int |
versionMajor
Optional minimum major version of the package that satisfies the dependency. |
int |
versionName
The text shown to the user to indicate the version they have. |
int |
verticalCorrection
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
verticalDivider
Default vertical divider between menu items. |
int |
verticalGap
This constant was deprecated in API level 29. Copy this definition into your own application project. |
int |
verticalScrollbarPosition
Determines which side the vertical scroll bar should be placed on. |
int |
verticalSpacing
Defines the default vertical spacing between rows. |
int |
viewportHeight
The height of the canvas the drawing is on. |
int |
viewportWidth
The width of the canvas the drawing is on. |
int |
visibility
Controls the initial visibility of the view. |
int |
visible
Provides initial visibility state of the drawable; the default value is false. |
int |
visibleToInstantApps
Specify whether a component should be visible to instant apps. |
int |
vmSafeMode
Flag indicating whether the application requests the VM to operate in the safe mode. |
int |
voiceIcon
Voice button icon. |
int |
voiceLanguage
If provided, this specifies the spoken language to be expected, and that it will be
different than the one set in the |
int |
voiceLanguageModel
If provided, this specifies the language model that should be used by the voice recognition system. |
int |
voiceMaxResults
If provided, enforces the maximum number of results to return, including the "best" result which will always be provided as the SEARCH intent's primary query. |
int |
voicePromptText
If provided, this specifies a prompt that will be displayed during voice input. |
int |
voiceSearchMode
Voice search features are controlled by mode bits in this field. |
int |
wallpaperCloseEnterAnimation
When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the new activity (which is entering the screen). |
int |
wallpaperCloseExitAnimation
When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the old wallpaper activity (which is exiting the screen). |
int |
wallpaperIntraCloseEnterAnimation
When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the previous activity (which is entering the screen). |
int |
wallpaperIntraCloseExitAnimation
When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
int |
wallpaperIntraOpenEnterAnimation
When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the new activity (which is entering the screen). |
int |
wallpaperIntraOpenExitAnimation
When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
int |
wallpaperOpenEnterAnimation
When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the new wallpaper activity (which is entering the screen). |
int |
wallpaperOpenExitAnimation
When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). |
int |
wantsRoleHolderPriority
Whether this service should share the same AID routing priority as the role owner. |
int |
webTextViewStyle
Default WebTextView style. |
int |
webViewStyle
Default WebView style. |
int |
weekDayTextAppearance
The text appearance for the week day abbreviation in the calendar header. |
int |
weekNumberColor
This constant was deprecated
in API level 23.
The color for the week numbers.
May be a reference to another resource, in the form
" May be a color value, in the form of " |
int |
weekSeparatorLineColor
This constant was deprecated
in API level 23.
The color for the separator line between weeks.
May be a reference to another resource, in the form
" May be a color value, in the form of " |
int |
weightSum
Defines the maximum weight sum. |
int |
widgetCategory
Optional parameter which indicates where this widget can be shown, ie. |
int |
widgetFeatures
Flags indicating various features supported by the widget. |
int |
widgetLayout
The layout for the controllable widget portion of a Preference. |
int |
width
Makes the TextView be exactly this wide. |
int |
windowActionBar
Flag indicating whether this window should have an Action Bar in place of the usual title bar. |
int |
windowActionBarOverlay
Flag indicating whether this window's Action Bar should overlay application content. |
int |
windowActionModeOverlay
Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar). |
int |
windowActivityTransitions
Flag indicating whether this window allows Activity Transitions. |
int |
windowAllowEnterTransitionOverlap
Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. |
int |
windowAllowReturnTransitionOverlap
Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. |
int |
windowAnimationStyle
Reference to a style resource holding
the set of window animations to use, which can be
any of the attributes defined by
|
int |
windowBackground
Drawable to use as the overall window background. |
int |
windowBackgroundBlurRadius
Blur the screen behind the window with the bounds of the window. |
int |
windowBackgroundFallback
Drawable to draw selectively within the inset areas when the windowBackground has been set to null. |
int |
windowBlurBehindEnabled
If set, everything behind the window will be blurred with radius windowBackgroundBlurRadius. |
int |
windowBlurBehindRadius
When windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window. |
int |
windowClipToOutline
Whether to clip window content to the outline of the window background. |
int |
windowCloseOnTouchOutside
Control whether a container should automatically close itself if the user touches outside of it. |
int |
windowContentOverlay
This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title. |
int |
windowContentTransitionManager
Reference to a TransitionManager XML resource defining the desired transitions between different window content. |
int |
windowContentTransitions
Flag indicating whether this window requests that content changes be performed as scene changes with transitions. |
int |
windowDisablePreview
Flag allowing you to disable the splash screen for a window. |
int |
windowDrawsSystemBarBackgrounds
Flag indicating whether this Window is responsible for drawing the background for the system bars. |
int |
windowElevation
Elevation to use for the window. |
int |
windowEnableSplitTouch
Flag indicating that this window should allow touches to be split across other windows that also support split touch. |
int |
windowEnterAnimation
The animation used when a window is being added. |
int |
windowEnterTransition
Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. |
int |
windowExitAnimation
The animation used when a window is being removed. |
int |
windowExitTransition
Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity. |
int |
windowFrame
Drawable to use as a frame around the window. |
int |
windowFullscreen
Flag indicating whether this window should fill the entire screen. |
int |
windowHideAnimation
The animation used when a window is going from VISIBLE to INVISIBLE. |
int |
windowIsFloating
Flag indicating whether this is a floating window. |
int |
windowIsFrameRatePowerSavingsBalanced
Offer Window the ability to opt out the UI Toolkit discrete variable refresh rate. |
int |
windowIsTranslucent
Flag indicating whether this is a translucent window. |
int |
windowLayoutAffinity
Window layout affinity of this activity. |
int |
windowLayoutInDisplayCutoutMode
Controls how the window is laid out if there is a |
int |
windowLightNavigationBar
If set, the navigation bar will be drawn such that it is compatible with a light navigation bar background. |
int |
windowLightStatusBar
If set, the status bar will be drawn such that it is compatible with a light status bar background. |
int |
windowMinWidthMajor
The minimum width the window is allowed to be, along the major axis of the screen. |
int |
windowMinWidthMinor
The minimum width the window is allowed to be, along the minor axis of the screen. |
int |
windowNoDisplay
Flag indicating that this window should not be displayed at all. |
int |
windowNoMoveAnimation
Flag indicating whether this window should skip movement animations. |
int |
windowNoTitle
Flag indicating whether there should be no title on this window. |
int |
windowOptOutEdgeToEdgeEnforcement
Flag indicating whether this window would opt out the edge-to-edge enforcement. |
int |
windowOverscan
This constant was deprecated
in API level 30.
Overscan areas aren't set by any Android product anymore as of Android 11.
May be a boolean value, such as " |
int |
windowReenterTransition
Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity. |
int |
windowReturnTransition
Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close. |
int |
windowSharedElementEnterTransition
Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene. |
int |
windowSharedElementExitTransition
Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity. |
int |
windowSharedElementReenterTransition
Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. |
int |
windowSharedElementReturnTransition
Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. |
int |
windowSharedElementsUseOverlay
Indicates whether or not shared elements should use an overlay during transitions. |
int |
windowShowAnimation
The animation used when a window is going from INVISIBLE to VISIBLE. |
int |
windowShowWallpaper
Flag indicating that this window's background should be the user's current wallpaper. |
int |
windowSoftInputMode
Defines the default soft input state that this window would like when it is displayed. |
int |
windowSplashScreenAnimatedIcon
Replace an icon in the center of the starting window, if the object is animated and drawable(e.g. AnimationDrawable, AnimatedVectorDrawable), then it will also play the animation while showing the starting window. |
int |
windowSplashScreenAnimationDuration
This constant was deprecated
in API level 33.
Not used by framework starting from API level 33. The system estimates the
duration of the vector animation automatically.
May be an integer value, such as " |
int |
windowSplashScreenBackground
The background color for the splash screen, if not specify then system will calculate from windowBackground. |
int |
windowSplashScreenBehavior
Specify whether this application always wants the icon to be displayed on the splash screen. |
int |
windowSplashScreenBrandingImage
Place a drawable image in the bottom of the starting window. |
int |
windowSplashScreenIconBackgroundColor
Set a background behind the splash screen icon. |
int |
windowSplashscreenContent
This constant was deprecated in API level 31. Use windowSplashscreenAnimatedIcon instead Use windowSplashscreenAnimatedIcon instead. |
int |
windowSwipeToDismiss
This constant was deprecated
in API level 30.
Swipe-to-dismiss isn't functional anymore.
May be a boolean value, such as " |
int |
windowTitleBackgroundStyle
The style resource to use for a window's title area. |
int |
windowTitleSize
The style resource to use for a window's title bar height. |
int |
windowTitleStyle
The style resource to use for a window's title text. |
int |
windowTransitionBackgroundFadeDuration
The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition. |
int |
windowTranslucentNavigation
Flag indicating whether this window requests a translucent navigation bar. |
int |
windowTranslucentStatus
Flag indicating whether this window requests a translucent status bar. |
int |
writePermission
A specific |
int |
x
A coordinate in the X dimension. |
int |
xlargeScreens
Indicates whether the application supports extra large screen form-factors. |
int |
y
A coordinate in the Y dimension. |
int |
yearListItemTextAppearance
This constant was deprecated in API level 23. Use yearListTextColor. |
int |
yearListSelectorColor
This constant was deprecated in API level 23. No longer displayed. |
int |
yesNoPreferenceStyle
Default style for YesNoPreference. |
int |
zAdjustment
Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation. |
int |
zygotePreloadName
Name of the class that gets invoked for preloading application code, when starting an
|
Public constructors | |
---|---|
attr()
|
Inherited methods | |
---|---|
Constants
absListViewStyle
public static final int absListViewStyle
Default AbsListView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842858 (0x0101006a)
accessibilityDataSensitive
public static final int accessibilityDataSensitive
Describes whether this view should allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.
May be an integer value, such as "100
".
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | 0 | The system determines whether the view's accessibility data is sensitive - default (recommended). |
no | 2 | Allow interactions from all AccessibilityServices, regardless of their isAccessibilityTool property. |
yes | 1 | Allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property. |
Constant Value: 16844407 (0x01010677)
accessibilityEventTypes
public static final int accessibilityEventTypes
The event types this service would like to receive as specified in
AccessibilityEvent
. This setting
can be changed at runtime by calling
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
typeAllMask | ffffffff | Receives AccessibilityEvent.TYPES_ALL_MASK i.e. all events. |
typeAnnouncement | 4000 | Receives AccessibilityEvent.TYPE_ANNOUNCEMENT events. |
typeAssistReadingContext | 1000000 | Receives AccessibilityEvent.TYPE_ASSIST_READING_CONTEXT events. |
typeContextClicked | 800000 | Receives AccessibilityEvent.TYPE_VIEW_CONTEXT_CLICKED events. |
typeGestureDetectionEnd | 80000 | Receives AccessibilityEvent.TYPE_GESTURE_DETECTION_END events. |
typeGestureDetectionStart | 40000 | Receives AccessibilityEvent.TYPE_GESTURE_DETECTION_START events. |
typeNotificationStateChanged | 40 | Receives AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED events. |
typeTouchExplorationGestureEnd | 400 | Receives AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_END events. |
typeTouchExplorationGestureStart | 200 | Receives AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_START events. |
typeTouchInteractionEnd | 200000 | Receives AccessibilityEvent.TYPE_TOUCH_INTERACTION_END events. |
typeTouchInteractionStart | 100000 | Receives AccessibilityEvent.TYPE_TOUCH_INTERACTION_START events. |
typeViewAccessibilityFocusCleared | 10000 | Receives AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED events. |
typeViewAccessibilityFocused | 8000 | Receives AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED events. |
typeViewClicked | 1 | Receives AccessibilityEvent.TYPE_VIEW_CLICKED events. |
typeViewFocused | 8 | Receives AccessibilityEvent.TYPE_VIEW_FOCUSED events. |
typeViewHoverEnter | 80 | Receives AccessibilityEvent.TYPE_VIEW_HOVER_ENTER events. |
typeViewHoverExit | 100 | Receives AccessibilityEvent.TYPE_VIEW_HOVER_EXIT events. |
typeViewLongClicked | 2 | Receives AccessibilityEvent.TYPE_VIEW_LONG_CLICKED events. |
typeViewScrolled | 1000 | Receives AccessibilityEvent.TYPE_VIEW_SCROLLED events. |
typeViewSelected | 4 | Receives AccessibilityEvent.TYPE_VIEW_SELECTED events. |
typeViewTextChanged | 10 | Receives AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED events. |
typeViewTextSelectionChanged | 2000 | Receives AccessibilityEvent.TYPE_VIEW_TEXT_SELECTION_CHANGED events. |
typeViewTextTraversedAtMovementGranularity | 20000 | Receives AccessibilityEvent.TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY events. |
typeWindowContentChanged | 800 | Receives AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED events. |
typeWindowStateChanged | 20 | Receives AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED events. |
typeWindowsChanged | 400000 | Receives AccessibilityEvent.TYPE_WINDOWS_CHANGED events. |
Constant Value: 16843648 (0x01010380)
accessibilityFeedbackType
public static final int accessibilityFeedbackType
The feedback types this service provides as specified in
AccessibilityServiceInfo
. This setting
can be changed at runtime by calling
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
feedbackAllMask | ffffffff | Provides AccessibilityServiceInfo.FEEDBACK_ALL_MASK feedback. |
feedbackAudible | 4 | Provides AccessibilityServiceInfo.FEEDBACK_AUDIBLE feedback. |
feedbackGeneric | 10 | Provides AccessibilityServiceInfo.FEEDBACK_GENERIC feedback. |
feedbackHaptic | 2 | Provides AccessibilityServiceInfo.FEEDBACK_HAPTIC feedback. |
feedbackSpoken | 1 | Provides AccessibilityServiceInfo.FEEDBACK_SPOKEN feedback. |
feedbackVisual | 8 | Provides AccessibilityServiceInfo.FEEDBACK_VISUAL feedback. |
Constant Value: 16843650 (0x01010382)
accessibilityFlags
public static final int accessibilityFlags
Additional flags as specified in
AccessibilityServiceInfo
.
This setting can be changed at runtime by calling
android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
.
Must be one or more (separated by '|') of the following constant values.
Constant Value: 16843652 (0x01010384)
accessibilityHeading
public static final int accessibilityHeading
Whether or not this view is a heading for accessibility purposes.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844160 (0x01010580)
accessibilityLiveRegion
public static final int accessibilityLiveRegion
Indicates to accessibility services whether the user should be notified when this view changes.
May be an integer value, such as "100
".
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
assertive | 2 | Accessibility services should interrupt ongoing speech to immediately announce changes to this view. |
none | 0 | Accessibility services should not announce changes to this view. |
polite | 1 | Accessibility services should announce changes to this view. |
Constant Value: 16843758 (0x010103ee)
accessibilityPaneTitle
public static final int accessibilityPaneTitle
The title this view should present to accessibility as a pane title.
See View.setAccessibilityPaneTitle(CharSequence)
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844156 (0x0101057c)
accessibilityTraversalAfter
public static final int accessibilityTraversalAfter
Sets the id of a view that screen readers are requested to visit before this view. Requests that a screen-reader visits the content of the other view before the content of this one. This does nothing if either view is not important for accessibility.
May be an integer value, such as "100
".
See also:
Constant Value: 16843986 (0x010104d2)
accessibilityTraversalBefore
public static final int accessibilityTraversalBefore
Sets the id of a view that screen readers are requested to visit after this view. Requests that a screen-reader visits the content of this view before the content of the one it precedes. This does nothing if either view is not important for accessibility.
May be an integer value, such as "100
".
Constant Value: 16843985 (0x010104d1)
accountPreferences
public static final int accountPreferences
A preferences.xml file for authenticator-specific settings.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843423 (0x0101029f)
accountType
public static final int accountType
The account type this authenticator handles.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843407 (0x0101028f)
action
public static final int action
The action name to assign to the Intent, as per
Intent.setAction()
.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16842797 (0x0101002d)
actionBarDivider
public static final int actionBarDivider
Custom divider drawable to use for elements in the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843675 (0x0101039b)
actionBarItemBackground
public static final int actionBarItemBackground
Custom item state list drawable background for action bar items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843676 (0x0101039c)
actionBarPopupTheme
public static final int actionBarPopupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843917 (0x0101048d)
actionBarSize
public static final int actionBarSize
Size of the Action Bar, including the contextual bar used to present Action Modes.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
wrap_content | 0 |
Constant Value: 16843499 (0x010102eb)
actionBarSplitStyle
public static final int actionBarSplitStyle
Reference to a style for the split Action Bar. This style controls the split component that holds the menu/action buttons. actionBarStyle is still used for the primary bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843656 (0x01010388)
actionBarStyle
public static final int actionBarStyle
Reference to a style for the Action Bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843470 (0x010102ce)
actionBarTabBarStyle
public static final int actionBarTabBarStyle
Reference to a style for the Action Bar Tab Bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843508 (0x010102f4)
actionBarTabStyle
public static final int actionBarTabStyle
Default style for tabs within an action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843507 (0x010102f3)
actionBarTabTextStyle
public static final int actionBarTabTextStyle
Reference to a style for the Action Bar Tab text.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843509 (0x010102f5)
actionBarTheme
public static final int actionBarTheme
Reference to a theme that should be used to inflate the action bar. This will be inherited by any widget inflated into the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843825 (0x01010431)
actionBarWidgetTheme
public static final int actionBarWidgetTheme
Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. Most of the time this will be a reference to the current theme, but when the action bar has a significantly different contrast profile than the rest of the activity the difference can become important. If this is set to @null the current theme will be used.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843671 (0x01010397)
actionButtonStyle
public static final int actionButtonStyle
Default action button style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843480 (0x010102d8)
actionDropDownStyle
public static final int actionDropDownStyle
Default ActionBar dropdown style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843479 (0x010102d7)
actionLayout
public static final int 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
".
Constant Value: 16843515 (0x010102fb)
actionMenuTextAppearance
public static final int actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action menu items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843616 (0x01010360)
actionMenuTextColor
public static final int actionMenuTextColor
Color for text that appears within action menu items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843617 (0x01010361)
actionModeBackground
public static final int actionModeBackground
Background drawable to use for action mode UI.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843483 (0x010102db)
actionModeCloseButtonStyle
public static final int actionModeCloseButtonStyle
Reference to a style for the Action Mode close button.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843511 (0x010102f7)
actionModeCloseDrawable
public static final int actionModeCloseDrawable
Drawable to use for the close action mode button.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843484 (0x010102dc)
actionModeCopyDrawable
public static final int actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843538 (0x01010312)
actionModeCutDrawable
public static final int actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843537 (0x01010311)
actionModeFindDrawable
public static final int actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843898 (0x0101047a)
actionModePasteDrawable
public static final int actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843539 (0x01010313)
actionModeSelectAllDrawable
public static final int actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843646 (0x0101037e)
actionModeShareDrawable
public static final int actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843897 (0x01010479)
actionModeSplitBackground
public static final int actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843677 (0x0101039d)
actionModeStyle
public static final int actionModeStyle
Reference to a style for the Action Mode.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843668 (0x01010394)
actionModeWebSearchDrawable
public static final int actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843899 (0x0101047b)
actionOverflowButtonStyle
public static final int actionOverflowButtonStyle
Reference to a style for Action Bar overflow buttons.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843510 (0x010102f6)
actionOverflowMenuStyle
public static final int actionOverflowMenuStyle
Reference to a style for the Action Bar menu.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843844 (0x01010444)
actionProviderClass
public static final int actionProviderClass
The name of an optional ActionProvider class to instantiate an action view
and perform operations such as default action for that menu item.
See 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;
Constant Value: 16843657 (0x01010389)
actionViewClass
public static final int 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;
Constant Value: 16843516 (0x010102fc)
activatedBackgroundIndicator
public static final int activatedBackgroundIndicator
Drawable used as a background for activated items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843517 (0x010102fd)
activityCloseEnterAnimation
public static final int activityCloseEnterAnimation
When closing the current activity, this is the animation that is run on the next activity (which is entering 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
".
Constant Value: 16842938 (0x010100ba)
activityCloseExitAnimation
public static final int activityCloseExitAnimation
When closing the current activity, this is the animation that is run on the current activity (which is exiting 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
".
Constant Value: 16842939 (0x010100bb)
activityOpenEnterAnimation
public static final int activityOpenEnterAnimation
When opening a new activity, this is the animation that is run on the next activity (which is entering 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
".
Constant Value: 16842936 (0x010100b8)
activityOpenExitAnimation
public static final int activityOpenExitAnimation
When opening a new activity, this is the animation that is run on the previous activity (which is exiting 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
".
Constant Value: 16842937 (0x010100b9)
adServiceTypes
public static final int adServiceTypes
The advertisement types that the TV ad service supports. Reference to a string array resource that describes the supported types, e.g. linear, overlay.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844452 (0x010106a4)
addPrintersActivity
public static final int addPrintersActivity
Fully qualified class name of an activity that allows the user to manually add printers to this print service.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843750 (0x010103e6)
addStatesFromChildren
public static final int addStatesFromChildren
Sets whether this ViewGroup's drawable states also include its children's drawable states. This is used, for example, to make a group appear to be focused when its child EditText or button is focused.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842992 (0x010100f0)
adjustViewBounds
public static final int adjustViewBounds
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843038 (0x0101011e)
advancedPrintOptionsActivity
public static final int advancedPrintOptionsActivity
Fully qualified class name of an activity with advanced print options specific to this print service.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843761 (0x010103f1)
alertDialogIcon
public static final int alertDialogIcon
Icon drawable to use for alerts.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843605 (0x01010355)
alertDialogStyle
public static final int alertDialogStyle
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842845 (0x0101005d)
alertDialogTheme
public static final int alertDialogTheme
Theme to use for alert dialogs spawned from this theme.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843529 (0x01010309)
alignmentMode
public static final int alignmentMode
Alignment constants.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
alignBounds | 0 | Align the bounds of the children.
See GridLayout.ALIGN_BOUNDS . |
alignMargins | 1 | Align the margins of the children.
See GridLayout.ALIGN_MARGINS . |
Constant Value: 16843642 (0x0101037a)
allContactsName
public static final int allContactsName
Resource representing the term "All Contacts" (for example, "All Friends" or "All connections"). Optional (Default is "All Contacts").
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843468 (0x010102cc)
allow
public static final int allow
Specify if this group is allow rule or disallow rule. If this attribute is not specified then it is assumed to be true
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844430 (0x0101068e)
allowAudioPlaybackCapture
public static final int allowAudioPlaybackCapture
If true
the app's non sensitive audio can be captured by other apps with
AudioPlaybackCaptureConfiguration
and a
MediaProjection
.
If false
the audio played by the application will never be captured by non
system apps. It is equivalent to limiting
AudioManager.setAllowedCapturePolicy(int)
to
AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM
.
Non sensitive audio is defined as audio whose AttributeUsage
is
USAGE_UNKNOWN
), USAGE_MEDIA
) or USAGE_GAME
).
All other usages like USAGE_VOICE_COMMUNICATION
will not be captured.
The default value is:
- true
for apps with targetSdkVersion >= 29 (Q).
- false
for apps with targetSdkVersion < 29.
See AudioPlaybackCaptureConfiguration
for more detail.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844289 (0x01010601)
allowBackup
public static final int allowBackup
Whether to allow the application to participate in the backup
and restore infrastructure. If this attribute is set to false
,
no backup or restore of the application will ever be performed, even by a
full-system backup that would otherwise cause all application data to be saved
via adb. The default value of this attribute is true
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843392 (0x01010280)
allowClearUserData
public static final int allowClearUserData
Option to let applications specify that user data can/cannot be cleared. This flag is turned on by default.
Starting from API level 29 this flag only controls if the user can clear app data from Settings. To control clearing the data after a failed restore use allowClearUserDataOnFailedRestore flag.
This attribute is usable only by applications included in the system image. Third-party apps cannot use it.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842757 (0x01010005)
allowClickWhenDisabled
public static final int allowClickWhenDisabled
Whether or not allow clicks on disabled view.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844312 (0x01010618)
allowCrossUidActivitySwitchFromBelow
public static final int allowCrossUidActivitySwitchFromBelow
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844449 (0x010106a1)
allowEmbedded
public static final int allowEmbedded
Indicate that the activity can be launched as the embedded child of another activity. Particularly in the case where the child lives in a container such as a Display owned by another activity.
The default value of this attribute is false
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843765 (0x010103f5)
allowGameAngleDriver
public static final int allowGameAngleDriver
Set true to enable ANGLE.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844376 (0x01010658)
allowGameDownscaling
public static final int allowGameDownscaling
Set true to allow resolution downscaling intervention.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844377 (0x01010659)
allowGameFpsOverride
public static final int allowGameFpsOverride
Set true to allow FPS override intervention.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844378 (0x0101065a)
allowNativeHeapPointerTagging
public static final int allowNativeHeapPointerTagging
If true
this app will receive tagged pointers to native heap allocations
from functions like malloc() on compatible devices. Note that this may not always
be respected due to policy or backwards compatibility reasons. See the
Tagged Pointers
document for more information on this feature.
The default value is true
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844306 (0x01010612)
allowParallelSyncs
public static final int allowParallelSyncs
Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority. Otherwise the SyncManager will be sure not to issue a start sync request to this SyncAdapter if the SyncAdapter is already syncing another account. Defaults to false.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843570 (0x01010332)
allowSharedIsolatedProcess
public static final int allowSharedIsolatedProcess
If true, and this is an isolatedProcess
service, the service
is allowed to be bound in a shared isolated process with other isolated services.
Note that these other isolated services can also belong to other apps from different
vendors.
Shared isolated processes are created when using the {@link android.content.Context#BIND_SHARED_ISOLATED_PROCESS) during service binding.
Note that when this flag is used, the {@link android.R.attr#process} attribute is ignored when the process is bound into a shared isolated process by a client.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844413 (0x0101067d)
allowSingleTap
public static final int allowSingleTap
Indicates whether the drawer can be opened/closed by a single tap on the handle. (If false, the user must drag or fling, or click using the trackball, to open/close the drawer.) Default is true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843353 (0x01010259)
allowTaskReparenting
public static final int allowTaskReparenting
Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. Use with the application tag (to supply a default for all activities in the application), or with an activity tag (to supply a specific setting for that component).
Normally when an application is started, it is associated with
the task of the activity that started it and stays there for its
entire lifetime. You can use the allowTaskReparenting feature to force an
activity to be re-parented to a different task when the task it is
in goes to the background. Typically this is used to cause the
activities of an application to move back to the main task associated
with that application. The activity is re-parented to the task
with the same taskAffinity
as it has.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843268 (0x01010204)
allowUndo
public static final int allowUndo
Whether undo should be allowed for editable text. Defaults to true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843999 (0x010104df)
allowUntrustedActivityEmbedding
public static final int allowUntrustedActivityEmbedding
Indicate that the activity can be embedded by untrusted hosts. In this case the interactions and visibility of the embedded activity may be limited.
The default value of this attribute is false
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844393 (0x01010669)
allowUpdateOwnership
public static final int allowUpdateOwnership
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844416 (0x01010680)
alpha
public static final int alpha
alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
May be a floating point value, such as "1.2
".
Constant Value: 16843551 (0x0101031f)
alphabeticModifiers
public static final int 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 |
Constant Value: 16844110 (0x0101054e)
alphabeticShortcut
public static final int 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;
Constant Value: 16843235 (0x010101e3)
alwaysDrawnWithCache
public static final int alwaysDrawnWithCache
Defines whether the ViewGroup should always draw its children using their drawing cache or not. The default value is true. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842991 (0x010100ef)
alwaysRetainTaskState
public static final int alwaysRetainTaskState
Specify whether an activity's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations.
Normally the system will reset a task (remove all activities from the stack and reset the root activity) in certain situations when the user re-selects that task from the home screen. Typically this will be done if the user hasn't visited that task for a certain amount of time, such as 30 minutes.
By setting this attribute, the user will always return to your task in its last state, regardless of how they get there. This is useful, for example, in an application like the web browser where there is a lot of state (such as multiple open tabs) that the application would not like to lose.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843267 (0x01010203)
amPmBackgroundColor
public static final int amPmBackgroundColor
This constant was deprecated
in API level 23.
Use headerBackground instead.
The background color state list for the AM/PM selectors.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843941 (0x010104a5)
amPmTextColor
public static final int amPmTextColor
This constant was deprecated
in API level 23.
Use headerTextColor instead.
The color for the AM/PM selectors.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843940 (0x010104a4)
ambientShadowAlpha
public static final int ambientShadowAlpha
Alpha value of the ambient shadow projected by elevated views, between 0 and 1.
May be a floating point value, such as "1.2
".
Constant Value: 16843966 (0x010104be)
angle
public static final int angle
Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the range [0, 315].
May be a floating point value, such as "1.2
".
Constant Value: 16843168 (0x010101a0)
animateFirstView
public static final int animateFirstView
Defines whether to animate the current View when the ViewAnimation is first displayed.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843477 (0x010102d5)
animateLayoutChanges
public static final int animateLayoutChanges
Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run. When this flag is set to true, a default LayoutTransition object will be set on the ViewGroup container and default animations will run when these layout changes occur.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843506 (0x010102f2)
animateOnClick
public static final int animateOnClick
Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. Default is true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843356 (0x0101025c)
animatedImageDrawable
public static final int animatedImageDrawable
Animated image of the target of accessibility shortcut purpose or behavior, to help users understand how the target of accessibility shortcut can help them.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844298 (0x0101060a)
animation
public static final int animation
Animation to use on each child.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843213 (0x010101cd)
animationCache
public static final int animationCache
Defines whether layout animations should create a drawing cache for their children. Enabling the animation cache consumes more memory and requires a longer initialization but provides better performance. The animation cache is enabled by default.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842989 (0x010100ed)
animationDuration
public static final int animationDuration
Sets how long a transition animation should run (in milliseconds) when layout has changed. Only relevant if animation is turned on.
May be an integer value, such as "100
".
Constant Value: 16843026 (0x01010112)
animationOrder
public static final int animationOrder
The order in which the animations will be started.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
normal | 0 | Animations are started in the natural order. |
random | 2 | Animations are started randomly. |
reverse | 1 | Animations are started in the reverse order. |
Constant Value: 16843214 (0x010101ce)
animationResolution
public static final int animationResolution
This constant was deprecated
in API level 16.
Not used by the framework.
Timeout between frames of animation in milliseconds.
.
May be an integer value, such as "100
".
Constant Value: 16843546 (0x0101031a)
antialias
public static final int antialias
Enables or disables antialiasing. Antialiasing can be used to smooth the edges of a bitmap when rotated. Default value is false.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843034 (0x0101011a)
anyDensity
public static final int anyDensity
This constant was deprecated
in API level 30.
Should always be true by default and not overridden.
May be a boolean value, such as "true
" or
"false
".
Indicates whether the application can accommodate any screen density. This is assumed true if targetSdkVersion is 4 or higher.
Constant Value: 16843372 (0x0101026c)
apduServiceBanner
public static final int apduServiceBanner
A drawable that can be rendered in Android's system UI for representing the service.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843757 (0x010103ed)
apiKey
public static final int apiKey
Value is a string that specifies the Maps API Key to use.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843281 (0x01010211)
appCategory
public static final int appCategory
Declare the category of this app. Categories are used to cluster multiple apps together into meaningful groups, such as when summarizing battery, network, or disk usage. Apps should only define this value when they fit well into one of the specific categories.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
accessibility | 8 | Apps which are primarily accessibility apps, such as screen-readers. |
audio | 1 | Apps which primarily work with audio or music, such as music players. |
game | 0 | Apps which are primarily games. |
image | 3 | Apps which primarily work with images or photos, such as camera or gallery apps. |
maps | 6 | Apps which are primarily maps apps, such as navigation apps. |
news | 5 | Apps which are primarily news apps, such as newspapers, magazines, or sports apps. |
productivity | 7 | Apps which are primarily productivity apps, such as cloud storage or workplace apps. |
social | 4 | Apps which are primarily social apps, such as messaging, communication, email, or social network apps. |
video | 2 | Apps which primarily work with video or movies, such as streaming video apps. |
Constant Value: 16844101 (0x01010545)
appComponentFactory
public static final int appComponentFactory
The (optional) fully-qualified name for a subclass of
AppComponentFactory
that the system uses to instantiate
every other manifest defined class. Most applications
don't need this attribute. If it's not specified, the system
instantiates items without it.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844154 (0x0101057a)
attributionTags
public static final int attributionTags
Attribution tag to be used for permission sub-attribution if a
permission is checked in Context.sendBroadcast(Intent, String)
.
Multiple tags can be specified separated by '|'.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844354 (0x01010642)
attributionsAreUserVisible
public static final int attributionsAreUserVisible
Whether attributions provided are meant to be user-visible.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844363 (0x0101064b)
author
public static final int author
Name of the author and/or source/collection of this component, for example, Art Collection, Picasso.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843444 (0x010102b4)
authorities
public static final int authorities
Specify the authorities under which this content provider can be
found. Multiple authorities may be supplied by separating them
with a semicolon. Authority names should use a Java-style naming
convention (such as com.google.provider.MyProvider
)
in order to avoid conflicts. Typically this name is the same
as the class implementation describing the provider's data structure.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16842776 (0x01010018)
autoAdvanceViewId
public static final int autoAdvanceViewId
The view id of the AppWidget subview which should be auto-advanced. by the widget's host.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843535 (0x0101030f)
autoCompleteTextViewStyle
public static final int autoCompleteTextViewStyle
Default AutoCompleteTextView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842859 (0x0101006b)
autoHandwritingEnabled
public static final int autoHandwritingEnabled
Whether or not the auto handwriting initiation is enabled in this View.
For a view with an active InputConnection
,
if auto handwriting initiation is enabled, stylus movement within its view boundary
will automatically trigger the handwriting mode.
See View.setAutoHandwritingEnabled(boolean)
.
The default value of this flag is configurable by the device manufacturer.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844382 (0x0101065e)
autoLink
public static final int autoLink
Controls whether links such as urls and email addresses are automatically found and converted to clickable links. The default value is "none", disabling this feature.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
all | f | Match all patterns (equivalent to web|email|phone|map). |
2 | Match email addresses. | |
map | 8 | Match map addresses.
Deprecated: see Linkify.MAP_ADDRESSES . |
none | 0 | Match no patterns (default). |
phone | 4 | Match phone numbers. |
web | 1 | Match Web URLs. |
Constant Value: 16842928 (0x010100b0)
autoMirrored
public static final int autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is
RTL (right-to-left). See
Drawable.setAutoMirrored(boolean)
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843754 (0x010103ea)
autoRemoveFromRecents
public static final int autoRemoveFromRecents
Tasks launched by activities with this attribute will remain in the recent tasks
list until the last activity in the task is completed. When that happens the task
will be automatically removed from the recent tasks list. This overrides the caller's
use of Intent.FLAG_ACTIVITY_RETAIN_IN_RECENTS
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843847 (0x01010447)
autoRevokePermissions
public static final int autoRevokePermissions
No longer used. Declaring this does nothing
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
allowed | 0 | No longer used |
disallowed | 2 | No longer used |
discouraged | 1 | No longer used |
Constant Value: 16844307 (0x01010613)
autoSizeMaxTextSize
public static final int 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).
Constant Value: 16844102 (0x01010546)
autoSizeMinTextSize
public static final int 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).
Constant Value: 16844088 (0x01010538)
autoSizePresetSizes
public static final int autoSizePresetSizes
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 color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
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.
Constant Value: 16844087 (0x01010537)
autoSizeStepGranularity
public static final int 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).
Constant Value: 16844086 (0x01010536)
autoSizeTextType
public static final int 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. |
Constant Value: 16844085 (0x01010535)
autoStart
public static final int autoStart
When true, automatically start animating.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843445 (0x010102b5)
autoText
public static final int autoText
This constant was deprecated
in API level 15.
Use inputType instead.
If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors. The default is "false".
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843114 (0x0101016a)
autoTransact
public static final int autoTransact
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844441 (0x01010699)
autoUrlDetect
public static final int autoUrlDetect
If provided and true
, URLs entered in the search dialog while searching
within this activity would be detected and treated as URLs (show a 'go' button in the
keyboard and invoke the browser directly when user launches the URL instead of passing
the URL to the activity). If set to false
any URLs entered are treated as
normal query text.
The default value is false
. Optional attribute..
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843404 (0x0101028c)
autoVerify
public static final int autoVerify
Specify whether an activity intent filter will need to be verified thru its set
of data URIs. This will only be used when the Intent's action is set to
Intent.ACTION_VIEW
and the Intent's category is
set to Intent.CATEGORY_BROWSABLE
and the
intern filter data scheme is set to "http" or "https". When set to true, the intent filter
will need to use its data tag for getting the URIs to verify with.
For each URI, an HTTPS network request will be done to /.well-known/statements.json
host to verify that the web site is okay with the app intercepting the URI.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844014 (0x010104ee)
autofillHints
public static final int autofillHints
Describes the content of a view so that a autofill service can fill in the appropriate data. Multiple hints can be combined in a comma separated list or an array of strings to mean e.g. emailAddress or postalAddress.
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;
Constant Value: 16844118 (0x01010556)
autofilledHighlight
public static final int autofilledHighlight
Drawable to be drawn over the view to mark it as autofilled
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844136 (0x01010568)
backdropColor
public static final int backdropColor
Special option for window animations: whether the window's background should be used as a background to the animation.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16844402 (0x01010672)
background
public static final int background
A drawable to use as the background. This can be either a reference to a full drawable resource (such as a PNG image, 9-patch, XML state list description, etc), or a solid color such as "#ff000000" (black).
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
".
Constant Value: 16842964 (0x010100d4)
backgroundDimAmount
public static final int backgroundDimAmount
Default background dim amount when a menu, dialog, or something similar pops up.
May be a floating point value, such as "1.2
".
Constant Value: 16842802 (0x01010032)
backgroundDimEnabled
public static final int backgroundDimEnabled
Control whether dimming behind the window is enabled. The default theme does not set this value, meaning it is based on whether the window is floating.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843295 (0x0101021f)
backgroundSplit
public static final int backgroundSplit
Specifies a background drawable for the bottom component of a split action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843659 (0x0101038b)
backgroundStacked
public static final int backgroundStacked
Specifies a background drawable for a second stacked row of the action bar.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843658 (0x0101038a)
backgroundTint
public static final int backgroundTint
Tint to apply to the background.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843883 (0x0101046b)
backgroundTintMode
public static final int 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 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\u2019s 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\u2019s 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] |
Constant Value: 16843884 (0x0101046c)
backupAgent
public static final int backupAgent
The name of the class subclassing BackupAgent
to manage
backup and restore of the application's data on external storage.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843391 (0x0101027f)
backupInForeground
public static final int backupInForeground
Indicates that full-data backup operations for this application may
be performed even if the application is in a foreground-equivalent
state. Use with caution! Setting this flag to true
can impact app behavior while the user is interacting with the device.
If unspecified, the default value of this attribute is false
,
which means that the OS will avoid backing up the application while it is
running in the foreground (such as a music app that is actively playing
music via a service in the startForeground() state).
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844058 (0x0101051a)
banner
public static final int banner
A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.
The given banner will be used to display to the user a graphical
representation of an activity in the Leanback application launcher.
Since banners are displayed only in the Leanback launcher, they should
only be used with activities (and applications) that support Leanback
mode. These are activities that handle Intents of category
Intent.CATEGORY_LEANBACK_LAUNCHER
.
This must be a reference to a Drawable resource containing the image definition.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843762 (0x010103f2)
baseline
public static final int baseline
The offset of the baseline within this view. See {see android.view.View#getBaseline} for details
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).
Constant Value: 16843548 (0x0101031c)
baselineAlignBottom
public static final int baselineAlignBottom
If true, the image view will be baseline aligned with based on its bottom edge.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843042 (0x01010122)
baselineAligned
public static final int 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
".
Constant Value: 16843046 (0x01010126)
baselineAlignedChildIndex
public static final int 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
".
Constant Value: 16843047 (0x01010127)
bitmap
public static final int bitmap
Drawable to use as the icon bitmap.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844054 (0x01010516)
borderlessButtonStyle
public static final int borderlessButtonStyle
Style for buttons without an explicit border, often used in groups.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843563 (0x0101032b)
bottom
public static final int bottom
Amount of bottom padding inside the gradient shape.
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).
Constant Value: 16843184 (0x010101b0)
bottomBright
public static final int bottomBright
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
".
Constant Value: 16842957 (0x010100cd)
bottomDark
public static final int bottomDark
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
".
Constant Value: 16842953 (0x010100c9)
bottomLeftRadius
public static final int bottomLeftRadius
Radius of the bottom left corner.
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).
Constant Value: 16843179 (0x010101ab)
bottomMedium
public static final int bottomMedium
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
".
Constant Value: 16842958 (0x010100ce)
bottomOffset
public static final int bottomOffset
Extra offset for the handle at the bottom of the SlidingDrawer.
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).
Constant Value: 16843351 (0x01010257)
bottomRightRadius
public static final int bottomRightRadius
Radius of the bottom right corner.
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).
Constant Value: 16843180 (0x010101ac)
breadCrumbShortTitle
public static final int breadCrumbShortTitle
The short title for the bread crumb of this item.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843524 (0x01010304)
breadCrumbTitle
public static final int breadCrumbTitle
The title for the bread crumb of this item.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843523 (0x01010303)
breakStrategy
public static final int breakStrategy
Break strategy (control over paragraph layout).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
balanced | 2 | Line breaking strategy balances line lengths. |
high_quality | 1 | Line breaking uses high-quality strategy, including hyphenation. |
simple | 0 | Line breaking uses simple strategy. |
Constant Value: 16843997 (0x010104dd)
bufferType
public static final int bufferType
Determines the minimum type that getText() will return. The default is "normal". Note that EditText and LogTextBox always return Editable, even if you specify something less powerful here.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
editable | 2 | Can only return Spannable and Editable. |
normal | 0 | Can return any CharSequence, possibly a Spanned one if the source text was Spanned. |
spannable | 1 | Can only return Spannable. |
Constant Value: 16843086 (0x0101014e)
button
public static final int button
Drawable used for the button graphic (for example, checkbox and radio button).
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843015 (0x01010107)
buttonBarButtonStyle
public static final int buttonBarButtonStyle
Style for buttons within button bars.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843567 (0x0101032f)
buttonBarNegativeButtonStyle
public static final int buttonBarNegativeButtonStyle
Style for the "negative" buttons within button bars.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843915 (0x0101048b)
buttonBarNeutralButtonStyle
public static final int buttonBarNeutralButtonStyle
Style for the "neutral" buttons within button bars.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843914 (0x0101048a)
buttonBarPositiveButtonStyle
public static final int buttonBarPositiveButtonStyle
Style for the "positive" buttons within button bars.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843913 (0x01010489)
buttonBarStyle
public static final int buttonBarStyle
Style for button bars.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843566 (0x0101032e)
buttonCornerRadius
public static final int buttonCornerRadius
Corner radius of buttons.
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).
Constant Value: 16844149 (0x01010575)
buttonGravity
public static final int buttonGravity
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. |
top | 30 | Push object to the top of its container, not changing its size. |
Constant Value: 16844030 (0x010104fe)
buttonStyle
public static final int buttonStyle
Normal Button style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842824 (0x01010048)
buttonStyleInset
public static final int buttonStyleInset
Button style to inset into an EditText.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842826 (0x0101004a)
buttonStyleSmall
public static final int buttonStyleSmall
Small Button style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842825 (0x01010049)
buttonStyleToggle
public static final int buttonStyleToggle
ToggleButton style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842827 (0x0101004b)
buttonTint
public static final int buttonTint
Tint to apply to the button graphic.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843887 (0x0101046f)
buttonTintMode
public static final int buttonTintMode
Blending mode used to apply the button graphic 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\u2019s 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\u2019s 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] |
Constant Value: 16843888 (0x01010470)
cacheColorHint
public static final int cacheColorHint
Indicates that this list will always be drawn on top of solid, single-color opaque background. This allows the list to optimize drawing.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843009 (0x01010101)
calendarTextColor
public static final int calendarTextColor
The text color list of the calendar.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843931 (0x0101049b)
calendarViewShown
public static final int calendarViewShown
Whether the calendar view is shown. Only valid for "spinner" mode.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843596 (0x0101034c)
calendarViewStyle
public static final int calendarViewStyle
The CalendarView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843613 (0x0101035d)
canControlMagnification
public static final int canControlMagnification
Attribute whether the accessibility service wants to be able to control display magnification.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844039 (0x01010507)
canDisplayOnRemoteDevices
public static final int canDisplayOnRemoteDevices
Indicates whether the activity can be displayed on a display that may belong to a remote device which may or may not be running Android.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844368 (0x01010650)
canPauseRecording
public static final int canPauseRecording
Attribute whether the TV input service can pause recording programs.
This value can be changed at runtime by calling
TvInputManager.updateTvInputInfo(android.media.tv.TvInputInfo)
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844314 (0x0101061a)
canPerformGestures
public static final int canPerformGestures
Attribute whether the accessibility service wants to be able to perform gestures.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844045 (0x0101050d)
canRecord
public static final int canRecord
Attribute whether the TV input service can record programs. This value can be changed
at runtime by calling
TvInputManager.updateTvInputInfo(android.media.tv.TvInputInfo)
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844060 (0x0101051c)
canRequestEnhancedWebAccessibility
public static final int canRequestEnhancedWebAccessibility
This constant was deprecated
in API level 26.
Not used by the framework
Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843736 (0x010103d8)
canRequestFilterKeyEvents
public static final int canRequestFilterKeyEvents
Attribute whether the accessibility service wants to be able to request to filter key events.
Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS
flag.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843737 (0x010103d9)
canRequestFingerprintGestures
public static final int canRequestFingerprintGestures
Attribute whether the accessibility service wants to be able to capture gestures from the fingerprint sensor.
Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES
flag to have any effect.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844109 (0x0101054d)
canRequestTouchExplorationMode
public static final int canRequestTouchExplorationMode
Attribute whether the accessibility service wants to be able to request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures.
Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE
flag.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843735 (0x010103d7)
canRetrieveWindowContent
public static final int canRetrieveWindowContent
Attribute whether the accessibility service wants to be able to retrieve the active window content. This setting cannot be changed at runtime.
Required to allow setting the #AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS
flag.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843653 (0x01010385)
canTakeScreenshot
public static final int canTakeScreenshot
Attribute whether the accessibility service wants to be able to take screenshot.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844303 (0x0101060f)
candidatesTextStyleSpans
public static final int candidatesTextStyleSpans
A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. The text itself will be ignored, but the style spans will be applied to the candidate text as it is edited.
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;
Constant Value: 16843312 (0x01010230)
cantSaveState
public static final int cantSaveState
Declare that this application can't participate in the normal state save/restore mechanism. Since it is not able to save and restore its state on demand, it can not participate in the normal activity lifecycle. It will not be killed while in the background; the user must explicitly quit it. Only one such app can be running at a time; if the user tries to launch a second such app, they will be prompted to quit the first before doing so. While the application is running, the user will be informed of this.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844142 (0x0101056e)
capability
public static final int capability
An individual capability declared by the provider.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844423 (0x01010687)
capitalize
public static final int capitalize
This constant was deprecated
in API level 15.
Use inputType instead.
If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. The default is "none".
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
characters | 3 | Capitalize every character. |
none | 0 | Don't automatically capitalize anything. |
sentences | 1 | Capitalize the first word of each sentence. |
words | 2 | Capitalize the first letter of every word. |
Constant Value: 16843113 (0x01010169)
category
public static final int category
The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly. Additionally, when a category is specified, Android will ensure that either all AIDs in this group are routed to this application, or none at all. This attribute is optional.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843752 (0x010103e8)
centerBright
public static final int centerBright
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
".
Constant Value: 16842956 (0x010100cc)
centerColor
public static final int centerColor
Optional center color. For linear gradients, use centerX or centerY to place the center color.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843275 (0x0101020b)
centerDark
public static final int centerDark
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
".
Constant Value: 16842952 (0x010100c8)
centerMedium
public static final int centerMedium
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
".
Constant Value: 16842959 (0x010100cf)
centerX
public static final int centerX
X-position of the center point of the gradient within the shape as a fraction of the width. The default value is 0.5.
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.
Constant Value: 16843170 (0x010101a2)
centerY
public static final int centerY
Y-position of the center point of the gradient within the shape as a fraction of the height. The default value is 0.5.
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.
Constant Value: 16843171 (0x010101a3)
certDigest
public static final int certDigest
Optional SHA-256 digest of the package signing certificate.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844104 (0x01010548)
checkBoxPreferenceStyle
public static final int 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
".
Constant Value: 16842895 (0x0101008f)
checkMark
public static final int checkMark
Drawable used for the check mark graphic.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843016 (0x01010108)
checkMarkTint
public static final int checkMarkTint
Tint to apply to the check mark.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843943 (0x010104a7)
checkMarkTintMode
public static final int 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 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\u2019s 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\u2019s 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] |
Constant Value: 16843944 (0x010104a8)
checkable
public static final int checkable
Whether the item is capable of displaying a check mark.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843237 (0x010101e5)
checkableBehavior
public static final int checkableBehavior
Whether the items are capable of displaying a check mark.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
all | 1 | The items are all checkable. |
none | 0 | The items are not checkable. |
single | 2 | The items are checkable and there will only be a single checked item in this group. |
Constant Value: 16843232 (0x010101e0)
checkboxStyle
public static final int checkboxStyle
Default Checkbox style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842860 (0x0101006c)
checked
public static final int checked
Indicates the initial checked state of this button.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843014 (0x01010106)
checkedButton
public static final int checkedButton
The id of the child radio button that should be checked by default within this radio group.
May be an integer value, such as "100
".
Constant Value: 16843080 (0x01010148)
checkedTextViewStyle
public static final int checkedTextViewStyle
Default CheckedTextView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843720 (0x010103c8)
childDivider
public static final int childDivider
Drawable or color that is used as a divider for children. (It will drawn below and above child items.) The height of this will be the same as the height of the normal list item divider.
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
".
Constant Value: 16843025 (0x01010111)
childIndicator
public static final int childIndicator
Indicator shown beside the child View. This can be a stateful Drawable.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843020 (0x0101010c)
childIndicatorEnd
public static final int childIndicatorEnd
The end bound for a child's 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).
Constant Value: 16843732 (0x010103d4)
childIndicatorLeft
public static final int childIndicatorLeft
The left bound for a child's 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).
Constant Value: 16843023 (0x0101010f)
childIndicatorRight
public static final int childIndicatorRight
The right bound for a child's 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).
Constant Value: 16843024 (0x01010110)
childIndicatorStart
public static final int childIndicatorStart
The start bound for a child's 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).
Constant Value: 16843731 (0x010103d3)
choiceMode
public static final int choiceMode
Defines the choice behavior for the view. By default, lists do not have
any choice behavior. By setting the choiceMode to singleChoice, the list
allows up to one item to be in a chosen state. By setting the choiceMode to
multipleChoice, the list allows any number of items to be chosen.
Finally, by setting the choiceMode to multipleChoiceModal the list allows
any number of items to be chosen in a special selection mode.
The application will supply a
AbsListView.MultiChoiceModeListener
using
AbsListView.setMultiChoiceModeListener(MultiChoiceModeListener)
to control the
selection mode. This uses the ActionMode
API.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
multipleChoice | 2 | The list allows multiple choices. |
multipleChoiceModal | 3 | The list allows multiple choices in a custom selection mode. |
none | 0 | Normal list that does not indicate choices. |
singleChoice | 1 | The list allows up to one choice. |
Constant Value: 16843051 (0x0101012b)
classLoader
public static final int classLoader
The classname of the classloader used to load the application's classes from its APK. The APK in question can either be the 'base' APK or any of the application's 'split' APKs if it's using a feature split.
The supported values for this attribute are
dalvik.system.PathClassLoader
and
dalvik.system.DelegateLastClassLoader
. If unspecified,
the default value of this attribute is dalvik.system.PathClassLoader
.
If an unknown classloader is provided, a PackageManagerException with cause
PackageManager.INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
will be
thrown and the app will not be installed.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844139 (0x0101056b)
clearTaskOnLaunch
public static final int clearTaskOnLaunch
Specify whether an activity's task should be cleared when it is re-launched from the home screen. As a result, every time the user starts the task, they will be brought to its root activity, regardless of whether they used BACK or HOME to last leave it. This flag only applies to activities that are used to start the root of a new task.
An example of the use of this flag would be for the case where a user launches activity A from home, and from there goes to activity B. They now press home, and then return to activity A. Normally they would see activity B, since that is what they were last doing in A's task. However, if A has set this flag to true, then upon going to the background all of the tasks on top of it (B in this case) are removed, so when the user next returns to A they will restart at its original activity.
When this option is used in conjunction with
allowTaskReparenting
, the allowTaskReparenting trumps the
clear. That is, all activities above the root activity of the
task will be removed: those that have an affinity will be moved
to the task they are associated with, otherwise they will simply
be dropped as described here.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842773 (0x01010015)
clickable
public static final int clickable
Defines whether this view reacts to click events.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842981 (0x010100e5)
clipChildren
public static final int clipChildren
Defines whether a child is limited to draw inside of its bounds or not. This is useful with animations that scale the size of the children to more than 100% for instance. In such a case, this property should be set to false to allow the children to draw outside of their bounds. The default value of this property is true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842986 (0x010100ea)
clipOrientation
public static final int clipOrientation
The orientation for the clip.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
horizontal | 1 | Clip the drawable horizontally. |
vertical | 2 | Clip the drawable vertically. |
Constant Value: 16843274 (0x0101020a)
clipToOutline
public static final int clipToOutline
Whether the View's Outline should be used to clip the contents of the View.
Only a single non-rectangular clip can be applied on a View at any time. Circular
clips from a
ViewAnimationUtils.createCircularReveal(View, int, int, float, float)
circular reveal animation take priority over Outline clipping, and child
Outline clipping takes priority over Outline clipping done by a parent.
Note that this flag will only be respected if the View's Outline returns true from
Outline.canClip()
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844328 (0x01010628)
clipToPadding
public static final int clipToPadding
Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero. This property is set to true by default.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842987 (0x010100eb)
closeIcon
public static final int closeIcon
Close button icon.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843905 (0x01010481)
codes
public static final int codes
This constant was deprecated
in API level 29.
Copy this definition into your own application project.
The unicode value or comma-separated values that this key outputs.
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
".
Constant Value: 16843330 (0x01010242)
collapseColumns
public static final int collapseColumns
The zero-based index of the columns to collapse. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843083 (0x0101014b)
collapseContentDescription
public static final int collapseContentDescription
Text to set as the content description for the collapse button.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843984 (0x010104d0)
collapseIcon
public static final int collapseIcon
Icon drawable to use for the collapse button.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844031 (0x010104ff)
color
public static final int color
Solid color for the gradient shape.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843173 (0x010101a5)
colorAccent
public static final int colorAccent
Bright complement to the primary branding color. By default, this is the color applied to framework controls (via colorControlActivated).
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843829 (0x01010435)
colorActivatedHighlight
public static final int colorActivatedHighlight
Default highlight color for items that are activated. (Activated meaning persistent selection.)
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843664 (0x01010390)
colorBackground
public static final int colorBackground
Default color of background imagery, ex. full-screen windows.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16842801 (0x01010031)
colorBackgroundCacheHint
public static final int colorBackgroundCacheHint
This is a hint for a solid color that can be used for caching rendered views. This should be the color of the background when there is a solid background color; it should be null when the background is a texture or translucent. When a device is able to use accelerated drawing (thus setting state_accelerated), the cache hint is ignored and always assumed to be transparent.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843435 (0x010102ab)
colorBackgroundFloating
public static final int colorBackgroundFloating
Default color of background imagery for floating components, ex. dialogs, popups, and cards.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16844002 (0x010104e2)
colorButtonNormal
public static final int 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
".
Constant Value: 16843819 (0x0101042b)
colorControlActivated
public static final int colorControlActivated
The color applied to framework controls in their activated (ex. checked) state.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843818 (0x0101042a)
colorControlHighlight
public static final int colorControlHighlight
The color applied to framework control highlights (ex. ripples, list selectors).
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843820 (0x0101042c)
colorControlNormal
public static final int 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
".
Constant Value: 16843817 (0x01010429)
colorEdgeEffect
public static final int colorEdgeEffect
The color applied to the edge effect on scrolling containers.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843982 (0x010104ce)
colorError
public static final int colorError
Color used for error states and things that need to be drawn to the users 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
".
Constant Value: 16844099 (0x01010543)
colorFocusedHighlight
public static final int colorFocusedHighlight
Default highlight color for items that are focused. (Focused meaning cursor-based selection.)
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843663 (0x0101038f)
colorForeground
public static final int colorForeground
Default color of foreground imagery.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16842800 (0x01010030)
colorForegroundInverse
public static final int colorForegroundInverse
Default color of foreground imagery on an inverted background.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843270 (0x01010206)
colorLongPressedHighlight
public static final int colorLongPressedHighlight
Default highlight color for items that are long-pressed.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843662 (0x0101038e)
colorMode
public static final int colorMode
Specify the color mode the activity desires. The requested color mode may be ignored depending on the capabilities of the display the activity is displayed on.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
default | 0 | The default color mode (typically sRGB, low-dynamic range). |
hdr | 2 | High dynamic range color mode. |
wideColorGamut | 1 | Wide color gamut color mode. |
Constant Value: 16844106 (0x0101054a)
colorMultiSelectHighlight
public static final int colorMultiSelectHighlight
Default highlight color for items in multiple selection mode.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843665 (0x01010391)
colorPressedHighlight
public static final int colorPressedHighlight
Default highlight color for items that are pressed.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843661 (0x0101038d)
colorPrimary
public static final int colorPrimary
The primary branding color for the app. By default, this is the color applied to the action bar background.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843827 (0x01010433)
colorPrimaryDark
public static final int colorPrimaryDark
Dark variant of the primary branding color. By default, this is the color applied to the status bar (via statusBarColor) and navigation bar (via navigationBarColor).
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843828 (0x01010434)
colorSecondary
public static final int colorSecondary
The secondary branding color for the app.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16844080 (0x01010530)
columnCount
public static final int columnCount
The maximum number of columns to create when automatically positioning children.
May be an integer value, such as "100
".
Constant Value: 16843639 (0x01010377)
columnDelay
public static final int columnDelay
Fraction of the animation duration used to delay the beginning of the animation of each column.
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.
Constant Value: 16843215 (0x010101cf)
columnOrderPreserved
public static final int columnOrderPreserved
When set to true, forces column boundaries to appear in the same order
as column indices.
The default is true.
See GridLayout.setColumnOrderPreserved(boolean)
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843640 (0x01010378)
columnWidth
public static final int columnWidth
Specifies the fixed width for each column.
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).
Constant Value: 16843031 (0x01010117)
commitIcon
public static final int commitIcon
Commit icon shown in the query suggestion row.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843909 (0x01010485)
compatibleWidthLimitDp
public static final int compatibleWidthLimitDp
Starting with Build.VERSION_CODES.HONEYCOMB_MR2
,
this is the new way to specify the largest screens an application is
compatible with. This attribute provides the maximum
"smallest screen width" (as per the -swNNNdp resource configuration)
that the application is designed for. If this value is smaller than
the "smallest screen width" of the device it is running on, the user
is offered to run it in a compatibility mode that emulates a
smaller screen and zooms it to fit the screen. Currently the compatibility mode only
emulates phone screens with a 320dp width, so compatibility mode is not applied if the
value for compatibleWidthLimitDp is larger than 320.
May be an integer value, such as "100
".
Constant Value: 16843621 (0x01010365)
completionHint
public static final int completionHint
Defines the hint displayed in the drop down menu.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843122 (0x01010172)
completionHintView
public static final int completionHintView
Defines the hint view displayed in the drop down menu.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843123 (0x01010173)
completionThreshold
public static final int completionThreshold
Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu.
May be an integer value, such as "100
".
Constant Value: 16843124 (0x01010174)
configChanges
public static final int configChanges
Specify one or more configuration changes that the activity will
handle itself. If not specified, the activity will be restarted
if any of these configuration changes happen in the system. Otherwise,
the activity will remain running and its
Activity.onConfigurationChanged
method called with the new configuration.
Note that all of these configuration changes can impact the resource values seen by the application, so you will generally need to re-retrieve all resources (including view layouts, drawables, etc) to correctly handle any configuration change.
These values must be kept in sync with those in
ActivityInfo
and
include/utils/ResourceTypes.h.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
assetsPaths | 80000000 | The assets paths have changed. For example a runtime overlay is installed and enabled.
Corresponds to ActivityInfo.CONFIG_ASSETS_PATHS . |
colorMode | 4000 | The color mode of the screen has changed (color gamut or dynamic range). |
density | 1000 | The display density has changed. This might be caused by the user specifying a different display scale, or it might be caused by a different display being activated. |
fontScale | 40000000 | The font scaling factor has changed, that is the user has selected a new global font size. |
fontWeightAdjustment | 10000000 | The font weight adjustment value has changed. Used to reflect the user increasing font weight. |
grammaticalGender | 8000 | The grammatical gender has changed, for example the user set the grammatical gender from the UI. |
keyboard | 10 | The keyboard type has changed, for example the user has plugged in an external keyboard. |
keyboardHidden | 20 | The keyboard or navigation accessibility has changed, for example the user has slid the keyboard out to expose it. Note that despite its name, this applied to any accessibility: keyboard or navigation. |
layoutDirection | 2000 | The layout direction has changed. For example going from LTR to RTL. |
locale | 4 | The locale has changed, that is the user has selected a new language that text should be displayed in. |
mcc | 1 | The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code. By default from Android O, we don't recreate the activity even the app doesn't specify mcc in configChanges. If the app wants to recreate the activity, specify mcc in recreateOnConfigChanges. |
mnc | 2 | The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code. By default from Android O, we don't recreate the activity even the app doesn't specify mnc in configChanges. If the app wants to recreate the acvitity, specify mnc in recreateOnConfigChanges. |
navigation | 40 | The navigation type has changed. Should never normally happen. |
orientation | 80 | The screen orientation has changed, that is the user has rotated the device. |
resourcesUnused | 8000000 | This is probably not the flag you want, the resources compiler supports a less
dangerous version of it, 'allKnown', that only suppresses all currently existing
configuration change restarts depending on your target SDK rather than whatever the
latest SDK supports, allowing the application to work with resources on future Platform
versions.
Activity doesn't use Android Resources at all and doesn't need to be restarted on any
configuration changes. This overrides all other flags, and this is recommended to be
used individually. Corresponds to
ActivityInfo.CONFIG_RESOURCES_UNUSED . |
screenLayout | 100 | The screen layout has changed. This might be caused by a different display being activated. |
screenSize | 400 | The current available screen size has changed. If applications don't
target at least Build.VERSION_CODES.HONEYCOMB_MR2
then the activity will always handle this itself (the change
will not result in a restart). This represents a change in the
currently available size, so will change when the user switches
between landscape and portrait. |
smallestScreenSize | 800 | The physical screen size has changed. If applications don't
target at least Build.VERSION_CODES.HONEYCOMB_MR2
then the activity will always handle this itself (the change
will not result in a restart). This represents a change in size
regardless of orientation, so will only change when the actual
physical screen size has changed such as switching to an external
display. |
touchscreen | 8 | The touchscreen has changed. Should never normally happen. |
uiMode | 200 | The global user interface mode has changed. For example, going in or out of car mode, night mode changing, etc. |
Constant Value: 16842783 (0x0101001f)
configure
public static final int configure
A class name in the AppWidget's package to be launched to configure. If not supplied, then no activity will be launched.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843357 (0x0101025d)
constantSize
public static final int 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
".
Constant Value: 16843158 (0x01010196)
content
public static final int content
Identifier for the child that represents the drawer's content.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843355 (0x0101025b)
contentAgeHint
public static final int contentAgeHint
The age associated with the content rating. The content of this rating is suitable for people of this age or above.
May be an integer value, such as "100
".
Constant Value: 16843961 (0x010104b9)
contentAuthority
public static final int contentAuthority
the authority of a content provider.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843408 (0x01010290)
contentDescription
public static final int 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;
Constant Value: 16843379 (0x01010273)
contentInsetEnd
public static final int contentInsetEnd
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16843860 (0x01010454)
contentInsetEndWithActions
public static final int contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16844067 (0x01010523)
contentInsetLeft
public static final int contentInsetLeft
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16843861 (0x01010455)
contentInsetRight
public static final int contentInsetRight
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16843862 (0x01010456)
contentInsetStart
public static final int contentInsetStart
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16843859 (0x01010453)
contentInsetStartWithNavigation
public static final int contentInsetStartWithNavigation
Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16844066 (0x01010522)
contentSensitivity
public static final int contentSensitivity
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | 0 | Let the Android System use its heuristics to determine if the view renders sensitive content. |
notSensitive | 2 | This view doesn't render sensitive content. |
sensitive | 1 | This view renders sensitive content. |
Constant Value: 16844446 (0x0101069e)
contextClickable
public static final int contextClickable
Defines whether this view reacts to context click events.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844007 (0x010104e7)
contextDescription
public static final int contextDescription
Title of the uri that specifies a link for further context of this wallpaper, for example, Explore collection.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844078 (0x0101052e)
contextPopupMenuStyle
public static final int contextPopupMenuStyle
Default context menu 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
".
Constant Value: 16844033 (0x01010501)
contextUri
public static final int contextUri
Uri that specifies a link for further context of this wallpaper, for example, http://www.picasso.org.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844077 (0x0101052d)
controlX1
public static final int controlX1
The x coordinate of the first control point of the cubic Bezier.
May be a floating point value, such as "1.2
".
Constant Value: 16843772 (0x010103fc)
controlX2
public static final int controlX2
The x coordinate of the second control point of the cubic Bezier.
May be a floating point value, such as "1.2
".
Constant Value: 16843774 (0x010103fe)
controlY1
public static final int controlY1
The y coordinate of the first control point of the cubic Bezier.
May be a floating point value, such as "1.2
".
Constant Value: 16843773 (0x010103fd)
controlY2
public static final int controlY2
The y coordinate of the second control point of the cubic Bezier.
May be a floating point value, such as "1.2
".
Constant Value: 16843775 (0x010103ff)
countDown
public static final int countDown
Specifies whether this Chronometer counts down or counts up from the base. If not specified this is false and the Chronometer counts up.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844059 (0x0101051b)
country
public static final int country
The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843962 (0x010104ba)
cropToPadding
public static final int cropToPadding
If true, the image will be cropped to fit within its padding.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843043 (0x01010123)
crossProfile
public static final int crossProfile
If true
indicates that this application is capable of presenting a unified
interface representing multiple profiles.
The default value is false
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844302 (0x0101060e)
cursorVisible
public static final int cursorVisible
Makes the cursor visible (the default) or invisible.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843090 (0x01010152)
customNavigationLayout
public static final int customNavigationLayout
Specifies a layout for custom navigation. Overrides navigationMode.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843474 (0x010102d2)
customTokens
public static final int customTokens
Account handles its own token storage and permissions. Default to false
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843579 (0x0101033b)
cycles
public static final int cycles
May be a floating point value, such as "1.2
".
Constant Value: 16843220 (0x010101d4)
dashGap
public static final int dashGap
Gap between dashes in the stroke.
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).
Constant Value: 16843175 (0x010101a7)
dashWidth
public static final int dashWidth
Length of a dash in the stroke.
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).
Constant Value: 16843174 (0x010101a6)
data
public static final int data
The data URI to assign to the Intent, as per
Intent.setData()
.
Note: scheme and host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, URIs here should always be normalized to use lower case letters for these elements (as well as other proper Uri normalization).
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16842798 (0x0101002e)
dataExtractionRules
public static final int dataExtractionRules
Applications can set this attribute to an xml resource within their app where they specified the rules determining which files and directories can be copied from the device as part of backup or transfer operations. See the Changes in backup and restore document for the format of the XML file.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844350 (0x0101063e)
datePickerDialogTheme
public static final int datePickerDialogTheme
The DatePicker dialog theme.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843948 (0x010104ac)
datePickerMode
public static final int datePickerMode
Defines the look of the widget. Prior to the L release, the only choice was spinner. As of L, with the Material theme selected, the default layout is calendar, but this attribute can be used to force spinner to be used instead.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
calendar | 2 | Date picker with calendar to select the date. |
spinner | 1 | Date picker with spinner controls to select the date. |
Constant Value: 16843955 (0x010104b3)
datePickerStyle
public static final int datePickerStyle
The DatePicker style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843612 (0x0101035c)
dateTextAppearance
public static final int dateTextAppearance
The text appearance for the day numbers in the calendar grid.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843593 (0x01010349)
dayOfWeekBackground
public static final int dayOfWeekBackground
This constant was deprecated
in API level 23.
No longer displayed.
The background color for the header's day of week.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843924 (0x01010494)
dayOfWeekTextAppearance
public static final int dayOfWeekTextAppearance
This constant was deprecated
in API level 23.
No longer displayed.
The text color for the header's day of week.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843925 (0x01010495)
debuggable
public static final int debuggable
Flag indicating whether the application can be debugged, even when running on a device that is running in user mode.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842767 (0x0101000f)
defaultFocusHighlightEnabled
public static final int defaultFocusHighlightEnabled
Whether this View should use a default focus highlight when it gets focused but
doesn't have state_focused
defined in its background.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844130 (0x01010562)
defaultHeight
public static final int defaultHeight
Default height of the activity. Can be either a fixed value or fraction, in which case the height will be constructed as a fraction of the total available 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).
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.
Constant Value: 16844021 (0x010104f5)
defaultLocale
public static final int defaultLocale
The IETF BCP47 language tag the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844424 (0x01010688)
defaultToDeviceProtectedStorage
public static final int defaultToDeviceProtectedStorage
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844036 (0x01010504)
defaultValue
public static final int 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
".
Constant Value: 16843245 (0x010101ed)
defaultWidth
public static final int defaultWidth
Default width of the activity. Can be either a fixed value or fraction, in which case the width will be constructed as a fraction of the total available 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).
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.
Constant Value: 16844020 (0x010104f4)
delay
public static final int delay
Fraction of the animation duration used to delay the beginning of the animation of each child.
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.
Constant Value: 16843212 (0x010101cc)
dependency
public static final int 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;
Constant Value: 16843244 (0x010101ec)
descendantFocusability
public static final int descendantFocusability
Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
afterDescendants | 1 | The ViewGroup will get focus only if none of its descendants want it. |
beforeDescendants | 0 | The ViewGroup will get focus before any of its descendants. |
blocksDescendants | 2 | The ViewGroup will block its descendants from receiving focus. |
Constant Value: 16842993 (0x010100f1)
description
public static final int description
Descriptive text for the associated data.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842784 (0x01010020)
detachWallpaper
public static final int detachWallpaper
Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843430 (0x010102a6)
detailColumn
public static final int detailColumn
Column in data table that contains details for this data.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843427 (0x010102a3)
detailSocialSummary
public static final int detailSocialSummary
Flag indicating that detail should be built from SocialProvider.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843428 (0x010102a4)
detailsElementBackground
public static final int detailsElementBackground
Background that can be used behind parts of a UI that provide details on data the user is selecting. For example, this is the background element of PreferenceActivity's embedded preference fragment.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843598 (0x0101034e)
dial
public static final int dial
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843010 (0x01010102)
dialTint
public static final int dialTint
Tint to apply to the dial graphic.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16844342 (0x01010636)
dialTintMode
public static final int dialTintMode
Blending mode used to apply the dial graphic 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\u2019s 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\u2019s 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] |
Constant Value: 16844343 (0x01010637)
dialogCornerRadius
public static final int dialogCornerRadius
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).
Constant Value: 16844145 (0x01010571)
dialogIcon
public static final int 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
".
Constant Value: 16843252 (0x010101f4)
dialogLayout
public static final int 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
".
Constant Value: 16843255 (0x010101f7)
dialogMessage
public static final int 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;
Constant Value: 16843251 (0x010101f3)
dialogPreferenceStyle
public static final int 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
".
Constant Value: 16842897 (0x01010091)
dialogPreferredPadding
public static final int dialogPreferredPadding
Preferred padding for dialog content.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16843987 (0x010104d3)
dialogTheme
public static final int dialogTheme
Theme to use for dialogs spawned from this theme.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843528 (0x01010308)
dialogTitle
public static final int dialogTitle
The title in the dialog.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843250 (0x010101f2)
digits
public static final int digits
If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. If this is set, numeric is implied to be true. The default is false.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843110 (0x01010166)
directBootAware
public static final int directBootAware
Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844037 (0x01010505)
direction
public static final int direction
Direction of the animation in the grid.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom_to_top | 2 | Animates rows from bottom to top. |
left_to_right | 0 | Animates columns from left to right. |
right_to_left | 1 | Animates columns from right to left. |
top_to_bottom | 0 | Animates rows from top to bottom. |
Constant Value: 16843217 (0x010101d1)
directionDescriptions
public static final int directionDescriptions
This constant was deprecated
in API level 23.
Removed.
Reference to an array resource that be used to announce the directions with targets around the circle.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843681 (0x010103a1)
directionPriority
public static final int directionPriority
Priority of the rows and columns. When the priority is none, both rows and columns have the same priority. When the priority is column, the animations will be applied on the columns first. The same goes for rows.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
column | 1 | Columns are animated first. |
none | 0 | Rows and columns are animated at the same time. |
row | 2 | Rows are animated first. |
Constant Value: 16843218 (0x010101d2)
disableDependentsState
public static final int 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
".
Constant Value: 16843249 (0x010101f1)
disabledAlpha
public static final int disabledAlpha
Default disabled alpha for widgets that set enabled/disabled alpha programmatically.
May be a floating point value, such as "1.2
".
Constant Value: 16842803 (0x01010033)
displayOptions
public static final int 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 |
Constant Value: 16843472 (0x010102d0)
dither
public static final int 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
".
Constant Value: 16843036 (0x0101011c)
divider
public static final int divider
Drawable or color to draw between 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
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843049 (0x01010129)
dividerHeight
public static final int dividerHeight
Height of the divider. Will use the intrinsic height of the divider if this is not specified.
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).
Constant Value: 16843050 (0x0101012a)
dividerHorizontal
public static final int dividerHorizontal
Drawable to use for generic horizontal dividers.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843564 (0x0101032c)
dividerPadding
public static final int dividerPadding
Size of padding on either end of a divider.
May be a dimension value, which is a floating point number appended with a
unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels),
sp (scaled pixels based on preferred font size), in (inches), and
mm (millimeters).
Constant Value: 16843562 (0x0101032a)
dividerVertical
public static final int dividerVertical
Drawable to use for generic vertical dividers.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843530 (0x0101030a)
documentLaunchMode
public static final int documentLaunchMode
This attribute specifies that an activity shall become the root activity of a new task each time it is launched. Using this attribute permits the user to have multiple documents from the same applications appear in the recent tasks list.
Such a document is any kind of item for which an application may want to maintain multiple simultaneous instances. Examples might be text files, web pages, spreadsheets, or emails. Each such document will be in a separate task in the recent tasks list.
This attribute is equivalent to adding the flag Intent.FLAG_ACTIVITY_NEW_DOCUMENT
to every Intent used to launch
the activity.
The documentLaunchMode attribute may be assigned one of four values, "none",
"intoExisting", "always" and "never", described in detail below. For values other than
none
and never
the activity must be defined with
launchMode
standard
.
If this attribute is not specified, none
will be used.
Note that none
can be overridden at run time if the Intent used
to launch it contains the flag Intent.FLAG_ACTIVITY_NEW_DOCUMENT
.
Similarly intoExisting
will be overridden by the flag
Intent.FLAG_ACTIVITY_NEW_DOCUMENT
combined with
Intent.FLAG_ACTIVITY_MULTIPLE_TASK
. If the value of
documentLaunchModes is never
then any use of
Intent.FLAG_ACTIVITY_NEW_DOCUMENT
to launch this activity will be ignored.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
always | 2 | A new task rooted at this activity will be created. This will happen whether or
not there is an existing task whose ComponentName and data URI match
that of the launcing intent This is the equivalent of launching an activity
with Intent.FLAG_ACTIVITY_NEW_DOCUMENT
and Intent.FLAG_ACTIVITY_MULTIPLE_TASK both set. |
intoExisting | 1 | All tasks will be searched for one whose base Intent's ComponentName and
data URI match those of the launching Intent. If such a task is found
that task will be cleared and restarted with the root activity receiving a call
to Activity.onNewIntent . If no
such task is found a new task will be created.
This is the equivalent of launching an activity with |
never | 3 | This activity will not be launched into a new document even if the Intent contains
Intent.FLAG_ACTIVITY_NEW_DOCUMENT . This gives the activity writer ultimate
control over how their activity is used. Note that applications prior to api
21 will default to documentLaunchMode="none" so only activities that explicitly
opt out with "never" may do so. |
none | 0 | The default mode, which will create a new task only when
Intent.FLAG_ACTIVITY_NEW_TASK is set. |
Constant Value: 16843845 (0x01010445)
drawSelectorOnTop
public static final int drawSelectorOnTop
When set to true, the selector will be drawn over the selected item. Otherwise the selector is drawn behind the selected item. The default value is false.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843004 (0x010100fc)
drawable
public static final int 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
".
Constant Value: 16843161 (0x01010199)
drawableBottom
public static final int drawableBottom
The drawable to be drawn below the text.
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
".
Constant Value: 16843118 (0x0101016e)
drawableEnd
public static final int drawableEnd
The drawable to be drawn to the end of the text.
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
".
Constant Value: 16843667 (0x01010393)
drawableLeft
public static final int drawableLeft
The drawable to be drawn to the left of the text.
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
".
Constant Value: 16843119 (0x0101016f)
drawablePadding
public static final int drawablePadding
The padding between the drawables and the 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).
Constant Value: 16843121 (0x01010171)
drawableRight
public static final int drawableRight
The drawable to be drawn to the right of the text.
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
".
Constant Value: 16843120 (0x01010170)
drawableStart
public static final int drawableStart
The drawable to be drawn to the start of the text.
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
".
Constant Value: 16843666 (0x01010392)
drawableTint
public static final int 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
".
Constant Value: 16843990 (0x010104d6)
drawableTintMode
public static final int 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\u2019s 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\u2019s 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] |
Constant Value: 16843991 (0x010104d7)
drawableTop
public static final int drawableTop
The drawable to be drawn above the text.
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
".
Constant Value: 16843117 (0x0101016d)
drawingCacheQuality
public static final int drawingCacheQuality
Defines the quality of translucent drawing caches. This property is used only when the drawing cache is enabled and translucent. The default value is auto. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | 0 | Lets the framework decide what quality level should be used for the drawing cache. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11. |
high | 2 | High quality. When set to high quality, the drawing cache uses a higher color depth but uses more memory. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11. |
low | 1 | Low quality. When set to low quality, the drawing cache uses a lower color depth, thus losing precision in rendering gradients, but uses less memory. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11. |
Constant Value: 16842984 (0x010100e8)
dropDownAnchor
public static final int dropDownAnchor
View to anchor the auto-complete dropdown to. If not specified, the text view itself is used.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843363 (0x01010263)
dropDownHeight
public static final int dropDownHeight
Specifies the basic height of the dropdown. Its value may be a dimension (such as "12dip") for a constant height, fill_parent or match_parent to fill the height of the screen, or wrap_content to match the height of the content of the drop down.
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 | The dropdown should fit the height of the screen.
This constant is deprecated starting from API Level 8 and
is replaced by match_parent . |
match_parent | ffffffff | The dropdown should fit the height of the screen. Introduced in API Level 8. |
wrap_content | fffffffe | The dropdown should fit the height of the content. |
Constant Value: 16843395 (0x01010283)
dropDownHintAppearance
public static final int dropDownHintAppearance
Default style for drop down hints.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842888 (0x01010088)
dropDownHorizontalOffset
public static final int 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).
Constant Value: 16843436 (0x010102ac)
dropDownItemStyle
public static final int dropDownItemStyle
Default style for drop down items.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842886 (0x01010086)
dropDownListViewStyle
public static final int dropDownListViewStyle
Default ListView style for drop downs.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842861 (0x0101006d)
dropDownSelector
public static final int dropDownSelector
Selector in a drop down list.
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
".
Constant Value: 16843125 (0x01010175)
dropDownSpinnerStyle
public static final int dropDownSpinnerStyle
Default dropdown 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
".
Constant Value: 16843478 (0x010102d6)
dropDownVerticalOffset
public static final int 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).
Constant Value: 16843437 (0x010102ad)
dropDownWidth
public static final int dropDownWidth
Specifies the basic width of the dropdown. Its value may be a dimension (such as "12dip") for a constant width, fill_parent or match_parent to match the width of the screen, or wrap_content to match the width of the anchored view.
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 | The dropdown should fill the width of the screen.
This constant is deprecated starting from API Level 8 and
is replaced by match_parent . |
match_parent | ffffffff | The dropdown should fit the width of the screen. Introduced in API Level 8. |
wrap_content | fffffffe | The dropdown should fit the width of its anchor. |
Constant Value: 16843362 (0x01010262)
duplicateParentState
public static final int duplicateParentState
When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842985 (0x010100e9)
duration
public static final int duration
Amount of time (in milliseconds) to display this frame.
May be an integer value, such as "100
".
Constant Value: 16843160 (0x01010198)
editTextBackground
public static final int editTextBackground
EditText background drawable.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843602 (0x01010352)
editTextColor
public static final int editTextColor
EditText text foreground color.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843601 (0x01010351)
editTextPreferenceStyle
public static final int 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
".
Constant Value: 16842898 (0x01010092)
editTextStyle
public static final int editTextStyle
Default EditText style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842862 (0x0101006e)
editable
public static final int editable
This constant was deprecated
in API level 15.
Use inputType instead.
If set, specifies that this TextView has an input method. It will be a textual one unless it has otherwise been specified. For TextView, this is false by default. For EditText, it is true by default.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843115 (0x0101016b)
editorExtras
public static final int editorExtras
Reference to an
<input-extras>
XML resource containing additional data to
supply to an input method, which is private to the implementation
of the input method. This simply fills in
the EditorInfo.extras
field when the input
method is connected.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843300 (0x01010224)
effectColor
public static final int effectColor
Color applied to effects.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16844361 (0x01010649)
elegantTextHeight
public static final int elegantTextHeight
Elegant text height, especially for less compacted complex script text.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843869 (0x0101045d)
elevation
public static final int elevation
base z depth of the view.
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).
Constant Value: 16843840 (0x01010440)
ellipsize
public static final int ellipsize
Where to ellipsize text.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
end | 3 | |
marquee | 4 | |
middle | 2 | |
none | 0 | |
start | 1 |
Constant Value: 16842923 (0x010100ab)
ems
public static final int ems
Makes the TextView be exactly this many ems wide.
May be an integer value, such as "100
".
Constant Value: 16843096 (0x01010158)
enableOnBackInvokedCallback
public static final int enableOnBackInvokedCallback
If false, KEYCODE_BACK
and
Activity.onBackPressed()
and related event will be forwarded to the Activity and its views.
If true, those events will be replaced by a call to
OnBackInvokedCallback.onBackInvoked()
on the focused window.
By default, the behavior is configured by the same attribute in application.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844396 (0x0101066c)
enableTextStylingShortcuts
public static final int enableTextStylingShortcuts
Enables styling shortcuts, e.g. Ctrl+B for bold. This is off by default.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844408 (0x01010678)
enableVrMode
public static final int enableVrMode
Flag declaring that this activity will be run in VR mode, and specifying
the component of the VrListenerService
that should be
bound while this Activity is visible if it is installed and enabled on this device.
This is equivalent to calling Activity.setVrModeEnabled(boolean, ComponentName)
with the
the given component name within the Activity that this attribute is set for.
Declaring this will prevent the system from leaving VR mode during an Activity
transition from one VR activity to another.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16844069 (0x01010525)
enabled
public static final int enabled
Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. For example, a non-enabled EditText prevents the user from editing the contained text, and a non-enabled Button prevents the user from tapping the button. The appearance of enabled and non-enabled widgets may differ, if the drawables referenced from evaluating state_enabled differ.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842766 (0x0101000e)
end
public static final int end
End inset to apply to the layer. Overrides left
or
right
depending on layout direction.
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).
Constant Value: 16843996 (0x010104dc)
endColor
public static final int endColor
End color of the gradient.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843166 (0x0101019e)
endX
public static final int 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
".
Constant Value: 16844050 (0x01010512)
endY
public static final int 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
".
Constant Value: 16844051 (0x01010513)
endYear
public static final int endYear
This constant was deprecated
in API level 16.
Use maxDate instead.Use maxDate instead.
The last year (inclusive), for example "2010".
May be an integer value, such as "100
".
Constant Value: 16843133 (0x0101017d)
enforceNavigationBarContrast
public static final int enforceNavigationBarContrast
Sets whether the system should ensure that the navigation bar has enough contrast when a fully transparent background is requested.
If set to this value, the system will determine whether a scrim is necessary to ensure that the navigation bar has enough contrast with the contents of this app, and set an appropriate effective bar background color accordingly.
When the navigation bar color has a non-zero alpha value, the value of this attribute has no effect.
If the app does not target at least Q
,
this attribute is ignored.
Constant Value: 16844293 (0x01010605)
enforceStatusBarContrast
public static final int enforceStatusBarContrast
This constant was deprecated
in API level 35.
Draw proper background behind
WindowInsets.Type.statusBars()
} instead.
May be a boolean value, such as "true
" or
"false
".
Sets whether the system should ensure that the status bar has enough contrast when a fully transparent background is requested.
If set to this value, the system will determine whether a scrim is necessary to ensure that the status bar has enough contrast with the contents of this app, and set an appropriate effective bar background color accordingly.
When the status bar color has a non-zero alpha value, the value of this attribute has no effect.
If the app does not target at least Q
,
this attribute is ignored.
Constant Value: 16844292 (0x01010604)
enterFadeDuration
public static final int enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable.
May be an integer value, such as "100
".
Constant Value: 16843532 (0x0101030c)
entries
public static final int entries
Reference to an array resource that will populate a list/adapter.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842930 (0x010100b2)
entryValues
public static final int 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
".
Constant Value: 16843256 (0x010101f8)
eventsInterceptionEnabled
public static final int eventsInterceptionEnabled
Defines whether the overlay should intercept the motion events when a gesture is recognized.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843389 (0x0101027d)
excludeClass
public static final int excludeClass
The fully-qualified name of the Class to exclude from this transition.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843842 (0x01010442)
excludeFromRecents
public static final int excludeFromRecents
Indicates that an Activity should be excluded from the list of recently launched activities.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842775 (0x01010017)
excludeId
public static final int excludeId
The id of a target to exclude from this transition.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843841 (0x01010441)
excludeName
public static final int excludeName
The transitionName of the target to exclude from this transition.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843854 (0x0101044e)
exitFadeDuration
public static final int exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable.
May be an integer value, such as "100
".
Constant Value: 16843533 (0x0101030d)
expandableListPreferredChildIndicatorLeft
public static final int expandableListPreferredChildIndicatorLeft
The preferred left bound for an expandable list child's 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).
Constant Value: 16842834 (0x01010052)
expandableListPreferredChildIndicatorRight
public static final int expandableListPreferredChildIndicatorRight
The preferred right bound for an expandable list child's 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).
Constant Value: 16842835 (0x01010053)
expandableListPreferredChildPaddingLeft
public static final int expandableListPreferredChildPaddingLeft
The preferred left padding for an expandable list item that is a child. If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft.
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).
Constant Value: 16842831 (0x0101004f)
expandableListPreferredItemIndicatorLeft
public static final int expandableListPreferredItemIndicatorLeft
The preferred left bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorLeft.
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).
Constant Value: 16842832 (0x01010050)
expandableListPreferredItemIndicatorRight
public static final int expandableListPreferredItemIndicatorRight
The preferred right bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorRight.
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).
Constant Value: 16842833 (0x01010051)
expandableListPreferredItemPaddingLeft
public static final int expandableListPreferredItemPaddingLeft
The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). This takes into account the indicator that will be shown to next to the item.
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).
Constant Value: 16842830 (0x0101004e)
expandableListViewStyle
public static final int expandableListViewStyle
Default ExpandableListView style.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16842863 (0x0101006f)
expandableListViewWhiteStyle
public static final int expandableListViewWhiteStyle
ExpandableListView with white background.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843446 (0x010102b6)
exported
public static final int exported
Flag indicating whether the given application component is available to other applications. If false, it can only be accessed by applications with its same user id (which usually means only by code in its own package). If true, it can be invoked by external entities, though which ones can do so may be controlled through permissions. The default value is false for activity, receiver, and service components that do not specify any intent filters; it is true for activity, receiver, and service components that do have intent filters (implying they expect to be invoked by others who do not know their particular component name) and for all content providers.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842768 (0x01010010)
externalService
public static final int externalService
If the service is an isolatedProcess
service, this permits a
client to bind to the service as if it were running it its own package. The service
must also be exported
if this flag is set.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844046 (0x0101050e)
extraTension
public static final int extraTension
This is the amount by which to multiply the tension.
May be a floating point value, such as "1.2
".
Constant Value: 16843371 (0x0101026b)
extractNativeLibs
public static final int extractNativeLibs
When set installer will extract native libraries. If set to false libraries in the apk must be stored and page-aligned.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844010 (0x010104ea)
factor
public static final int factor
This is the amount of deceleration to add when easing in.
May be a floating point value, such as "1.2
".
Constant Value: 16843219 (0x010101d3)
fadeDuration
public static final int fadeDuration
Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture.
May be an integer value, such as "100
".
Constant Value: 16843384 (0x01010278)
fadeEnabled
public static final int fadeEnabled
Defines whether the gesture will automatically fade out after being recognized.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843390 (0x0101027e)
fadeOffset
public static final int fadeOffset
Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it.
May be an integer value, such as "100
".
Constant Value: 16843383 (0x01010277)
fadeScrollbars
public static final int fadeScrollbars
Defines whether to fade out scrollbars when they are not in use.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843434 (0x010102aa)
fadingEdge
public static final int fadingEdge
This attribute is ignored in API level 14
(Build.VERSION_CODES.ICE_CREAM_SANDWICH
) and higher.
Using fading edges may introduce noticeable performance
degradations and should be used only when required by the application's
visual design. To request fading edges with API level 14 and above,
use the android:requiresFadingEdge
attribute instead.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
horizontal | 1000 | Fades horizontal edges only. |
none | 0 | No edge is faded. |
vertical | 2000 | Fades vertical edges only. |
Constant Value: 16842975 (0x010100df)
fadingEdgeLength
public static final int fadingEdgeLength
Defines the length of the fading edges.
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).
Constant Value: 16842976 (0x010100e0)
fadingMode
public static final int fadingMode
Equivalent to transitionVisibilityMode
, fadingMode works only
with the Fade transition.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
fade_in | 1 | Fade will only fade appearing items in. |
fade_in_out | 3 | Fade will fade appearing items in and disappearing items out. |
fade_out | 2 | Fade will only fade disappearing items out. |
Constant Value: 16843745 (0x010103e1)
fallbackLineSpacing
public static final int fallbackLineSpacing
Whether to respect the ascent and descent of the fallback fonts that are used in displaying the text. When true, fallback fonts that end up getting used can increase the ascent and descent of the lines that they are used on.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844155 (0x0101057b)
fastScrollAlwaysVisible
public static final int fastScrollAlwaysVisible
When set to true, the list will always show the fast scroll interface. This setting implies fastScrollEnabled.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843573 (0x01010335)
fastScrollEnabled
public static final int fastScrollEnabled
Enables the fast scroll thumb that can be dragged to quickly scroll through the list.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843302 (0x01010226)
fastScrollOverlayPosition
public static final int fastScrollOverlayPosition
Position of the fast scroll index overlay window.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
aboveThumb | 2 | |
atThumb | 1 | |
floating | 0 |
Constant Value: 16843578 (0x0101033a)
fastScrollPreviewBackgroundLeft
public static final int fastScrollPreviewBackgroundLeft
Drawable to use as the fast scroll index preview window background when shown on the left.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843575 (0x01010337)
fastScrollPreviewBackgroundRight
public static final int fastScrollPreviewBackgroundRight
Drawable to use as the fast scroll index preview window background when shown on the right.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843576 (0x01010338)
fastScrollStyle
public static final int fastScrollStyle
Specifies the style of the fast scroll decorations.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843767 (0x010103f7)
fastScrollTextColor
public static final int fastScrollTextColor
Text color for the fast scroll index overlay. Make sure it plays nicely with fastScrollPreviewBackground[Left|Right].
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843609 (0x01010359)
fastScrollThumbDrawable
public static final int fastScrollThumbDrawable
Drawable to use as the fast scroll thumb.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843574 (0x01010336)
fastScrollTrackDrawable
public static final int fastScrollTrackDrawable
Drawable to use as the track for the fast scroll thumb. This may be null.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16843577 (0x01010339)
fillAfter
public static final int fillAfter
When set to true, the animation transformation is applied after the animation is over. The default value is false. If fillEnabled is not set to true and the animation is not set on a View, fillAfter is assumed to be true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843197 (0x010101bd)
fillAlpha
public static final int fillAlpha
The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque).
May be a floating point value, such as "1.2
".
Constant Value: 16843980 (0x010104cc)
fillBefore
public static final int fillBefore
When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. The default value is true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843196 (0x010101bc)
fillColor
public static final int fillColor
The color to fill the path if not defined implies no fill.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16843780 (0x01010404)
fillEnabled
public static final int fillEnabled
When set to true, the value of fillBefore is taken into account.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843343 (0x0101024f)
fillType
public static final int fillType
sets the fillType for a path. It is the same as SVG's "fill-rule" properties. For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
evenOdd | 1 | |
nonZero | 0 |
Constant Value: 16844062 (0x0101051e)
fillViewport
public static final int fillViewport
Defines whether the scrollview should stretch its content to fill the viewport.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843130 (0x0101017a)
filter
public static final int filter
Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its appearance. Default value is true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843035 (0x0101011b)
filterTouchesWhenObscured
public static final int filterTouchesWhenObscured
Specifies whether to filter touches when the view's window is obscured by
another visible window. When set to true, the view will not receive touches
whenever a toast, dialog or other window appears above the view's window.
Refer to the View
security documentation for more details.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843460 (0x010102c4)
fingerprintAuthDrawable
public static final int fingerprintAuthDrawable
Icon that should be used to indicate that an app is waiting for a fingerprint scan. This should be used whenever an app is requesting the user to place a finger on the fingerprint sensor. It can be combined with other drawables such as colored circles, so the appearance matches the branding of the app requesting the fingerprint scan.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
Constant Value: 16844008 (0x010104e8)
finishOnCloseSystemDialogs
public static final int finishOnCloseSystemDialogs
Specify whether an activity should be finished when a "close system windows" request has been made. This happens, for example, when the home key is pressed, when the device is locked, when a system dialog showing recent applications is displayed, etc.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16843431 (0x010102a7)
finishOnTaskLaunch
public static final int finishOnTaskLaunch
Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen.
If both this option and allowTaskReparenting
are
specified, the finish trumps the affinity: the affinity will be
ignored and the activity simply finished.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842772 (0x01010014)
firstBaselineToTopHeight
public static final int 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).
Constant Value: 16844157 (0x0101057d)
firstDayOfWeek
public static final int firstDayOfWeek
The first day of week according to Calendar
.
May be an integer value, such as "100
".
Constant Value: 16843581 (0x0101033d)
fitsSystemWindows
public static final int fitsSystemWindows
Boolean internal attribute to adjust view layout based on system windows such as the status bar. If true, adjusts the padding of this view to leave space for the system windows. Will only take effect if this view is in a non-embedded activity.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842973 (0x010100dd)
flipInterval
public static final int flipInterval
May be an integer value, such as "100
".
Constant Value: 16843129 (0x01010179)
focusable
public static final int focusable
Controls whether a view can take focus. By default, this is "auto" which lets the
framework determine whether a user can move focus to a view. By setting this attribute
to true the view is allowed to take focus. By setting it to "false" the view will not
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 |
Constant Value: 16842970 (0x010100da)
focusableInTouchMode
public static final int focusableInTouchMode
Boolean that controls whether a view can take focus while in touch mode. If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16842971 (0x010100db)
focusedByDefault
public static final int focusedByDefault
Whether this view is a default-focus view.
Only one view per keyboard navigation cluster can have this attribute set to true.
See View.setFocusedByDefault(boolean)
.
May be a boolean value, such as "true
" or
"false
".
Constant Value: 16844100 (0x01010544)
focusedMonthDateColor
public static final int focusedMonthDateColor
This constant was deprecated
in API level 23.
The color for the dates of the focused month.
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
".
Constant Value: 16843587 (0x01010343)
focusedSearchResultHighlightColor
public static final int focusedSearchResultHighlightColor
Color of focused search result highlight. This color is typically used when TextView/EditText shows search result in-app text search invoked with Ctrl+F.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
", or
"#aarrggbb
".
Constant Value: 16844419 (0x01010683)
font
public static final int 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
".
Constant Value: 16844082 (0x01010532)
fontFamily
public static final int fontFamily
Default font family.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843692 (0x010103ac)
fontFeatureSettings
public static final int fontFeatureSettings
Font feature settings.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Constant Value: 16843959 (0x010104b7)
fontProviderAuthority
public static final int fontProviderAuthority
This constant was deprecated
in API level 31.
Use app:fontProviderAuthority with Jetpack Core library instead for
consistent behavior across all devices.
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;
Constant Value: 16844112 (0x01010550)
fontProviderCerts
public static final int fontProviderCerts
This constant was deprecated
in API level 31.
Use app:fontProviderCerts with Jetpack Core library instead.
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
".
Constant Value: 16844125 (0x0101055d)
fontProviderPackage
public static final int fontProviderPackage
This constant was deprecated
in API level 31.
Use app:fontProviderPackage with Jetpack Core library instead.
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;
Constant Value: 16844119 (0x01010557)
fontProviderQuery
public static final int fontProviderQuery
This constant was deprecated
in API level 31.
Use app:fontProviderQuery with Jetpack Core library instead.
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;
Constant Value: 16844113 (0x01010551)
fontProviderSystemFontFamily
public static final int 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;
Constant Value: 16844322 (0x01010622)
fontStyle
public static final int 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 |
Constant Value: 16844095 (0x0101053f)
fontVariationSettings
public static final int 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;
Constant Value: 16844144 (0x01010570)