Constants
absListViewStyle
int absListViewStyle
Default AbsListView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842858 (0x0101006a)
accessibilityEventTypes
int accessibilityEventTypes
The event types this serivce would like to receive as specified in AccessibilityEvent
. This setting can be changed at runtime by callingandroid.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
typeViewClicked | 0x00000001 | Receives TYPE_VIEW_CLICKED events. |
typeViewLongClicked | 0x00000002 | Receives TYPE_VIEW_LONG_CLICKED events. |
typeViewSelected | 0x00000004 | Receives TYPE_VIEW_SELECTED events. |
typeViewFocused | 0x00000008 | Receives TYPE_VIEW_FOCUSED events. |
typeViewTextChanged | 0x00000010 | Receives TYPE_VIEW_TEXT_CHANGED events. |
typeWindowStateChanged | 0x00000020 | Receives TYPE_WINDOW_STATE_CHANGED events. |
typeNotificationStateChanged | 0x00000040 | Receives TYPE_NOTIFICATION_STATE_CHANGED events. |
typeViewHoverEnter | 0x00000080 | Receives TYPE_VIEW_HOVER_ENTER events. |
typeViewHoverExit | 0x00000100 | Receives TYPE_VIEW_HOVER_EXIT events. |
typeTouchExplorationGestureStart | 0x00000200 | Receives TYPE_TOUCH_EXPLORATION_GESTURE_START events. |
typeTouchExplorationGestureEnd | 0x00000400 | Receives TYPE_TOUCH_EXPLORATION_GESTURE_END events. |
typeWindowContentChanged | 0x00000800 | Receives TYPE_WINDOW_CONTENT_CHANGED events. |
typeViewScrolled | 0x000001000 | Receives TYPE_VIEW_SCROLLED events. |
typeViewTextSelectionChanged | 0x000002000 | Receives TYPE_VIEW_TEXT_SELECTION_CHANGED events. |
typeAnnouncement | 0x00004000 | Receives TYPE_ANNOUNCEMENT events. |
typeViewAccessibilityFocused | 0x00008000 | Receives TYPE_VIEW_ACCESSIBILITY_FOCUSED events. |
typeViewAccessibilityFocusCleared | 0x00010000 | Receives TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED events. |
typeViewTextTraversedAtMovementGranularity | 0x00020000 | Receives TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY events. |
typeGestureDetectionStart | 0x00040000 | Receives TYPE_GESTURE_DETECTION_START events. |
typeGestureDetectionEnd | 0x00080000 | Receives TYPE_GESTURE_DETECTION_END events. |
typeTouchInteractionStart | 0x00100000 | Receives TYPE_TOUCH_INTERACTION_START events. |
typeTouchInteractionEnd | 0x00200000 | Receives TYPE_TOUCH_INTERACTION_END events. |
typeWindowsChanged | 0x00400000 | Receives TYPE_WINDOWS_CHANGED events. |
typeContextClicked | 0x00800000 | Receives TYPE_VIEW_CONTEXT_CLICKED events. |
typeAssistReadingContext | 0x01000000 | Receives TYPE_ASSIST_READING_CONTEXT events. |
typeAllMask | 0xffffffff | Receives TYPES_ALL_MASK i.e. all events. |
Constant Value: 16843648 (0x01010380)
accessibilityFeedbackType
int accessibilityFeedbackType
The feedback types this serivce provides as specified in AccessibilityServiceInfo
. This setting can be changed at runtime by callingandroid.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
feedbackSpoken | 0x00000001 | Provides FEEDBACK_SPOKEN feedback. |
feedbackHaptic | 0x00000002 | Provides FEEDBACK_HAPTIC feedback. |
feedbackAudible | 0x00000004 | Provides FEEDBACK_AUDIBLE feedback. |
feedbackVisual | 0x00000008 | Provides FEEDBACK_VISUAL feedback. |
feedbackGeneric | 0x00000010 | Provides FEEDBACK_GENERIC feedback. |
feedbackAllMask | 0xffffffff | Provides FEEDBACK_ALL_MASK feedback. |
Constant Value: 16843650 (0x01010382)
accessibilityFlags
int accessibilityFlags
Additional flags as specified in AccessibilityServiceInfo
. This setting can be changed at runtime by callingandroid.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
flagDefault | 0x00000001 | Has flag DEFAULT |
flagIncludeNotImportantViews | 0x00000002 | Has flag FLAG_INCLUDE_NOT_IMPORTANT_VIEWS |
flagRequestTouchExplorationMode | 0x00000004 | Has flag FLAG_REQUEST_TOUCH_EXPLORATION_MODE |
flagRequestEnhancedWebAccessibility | 0x00000008 | Has flag FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY |
flagReportViewIds | 0x00000010 | Has flag FLAG_REPORT_VIEW_IDS |
flagRequestFilterKeyEvents | 0x00000020 | Has flag FLAG_REQUEST_FILTER_KEY_EVENTS |
flagRetrieveInteractiveWindows | 0x00000040 | Has flag FLAG_RETRIEVE_INTERACTIVE_WINDOWS |
Constant Value: 16843652 (0x01010384)
accessibilityLiveRegion
int accessibilityLiveRegion
Indicates to accessibility services whether the user should be notified when this view changes.
May be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | Accessibility services should not announce changes to this view. |
polite | 1 | Accessibility services should announce changes to this view. |
assertive | 2 | Accessibility services should interrupt ongoing speech to immediately announce changes to this view. |
Constant Value: 16843758 (0x010103ee)
accessibilityTraversalAfter
int accessibilityTraversalAfter
Sets the id of a view after which this one is visited in accessibility traversal. A screen-reader must visit the content of the other view before the content of this one.
See also:
Constant Value: 16843986 (0x010104d2)
accessibilityTraversalBefore
int accessibilityTraversalBefore
Sets the id of a view before which this one is visited in accessibility traversal. A screen-reader must visit the content of this view before the content of the one it precedes.
See also:
Constant Value: 16843985 (0x010104d1)
accountPreferences
int accountPreferences
A preferences.xml file for authenticator-specific settings.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843423 (0x0101029f)
accountType
int accountType
The account type this authenticator handles.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843407 (0x0101028f)
action
int action
The action name to assign to the Intent, as per Intent.setAction()
.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842797 (0x0101002d)
actionBarDivider
int actionBarDivider
Custom divider drawable to use for elements in the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843675 (0x0101039b)
actionBarItemBackground
int actionBarItemBackground
Custom item state list drawable background for action bar items.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843676 (0x0101039c)
actionBarPopupTheme
int actionBarPopupTheme
Reference to a theme that should be used to inflate popups shown by widgets in the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843917 (0x0101048d)
actionBarSize
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), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
wrap_content | 0 |
Constant Value: 16843499 (0x010102eb)
actionBarSplitStyle
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843656 (0x01010388)
actionBarStyle
int actionBarStyle
Reference to a style for the Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843470 (0x010102ce)
actionBarTabBarStyle
int actionBarTabBarStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843508 (0x010102f4)
actionBarTabStyle
int actionBarTabStyle
Default style for tabs within an action bar
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843507 (0x010102f3)
actionBarTabTextStyle
int actionBarTabTextStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843509 (0x010102f5)
actionBarTheme
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843825 (0x01010431)
actionBarWidgetTheme
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843671 (0x01010397)
actionButtonStyle
int actionButtonStyle
Default action button style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843480 (0x010102d8)
actionDropDownStyle
int actionDropDownStyle
Default ActionBar dropdown style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843479 (0x010102d7)
actionLayout
int actionLayout
An optional layout to be used as an action view. See setActionView(android.view.View)
for more info.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843515 (0x010102fb)
actionMenuTextAppearance
int actionMenuTextAppearance
TextAppearance style that will be applied to text that appears within action menu items.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843616 (0x01010360)
actionMenuTextColor
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 to 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
int actionModeBackground
Background drawable to use for action mode UI
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843483 (0x010102db)
actionModeCloseButtonStyle
int actionModeCloseButtonStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843511 (0x010102f7)
actionModeCloseDrawable
int actionModeCloseDrawable
Drawable to use for the close action mode button
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843484 (0x010102dc)
actionModeCopyDrawable
int actionModeCopyDrawable
Drawable to use for the Copy action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843538 (0x01010312)
actionModeCutDrawable
int actionModeCutDrawable
Drawable to use for the Cut action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843537 (0x01010311)
actionModeFindDrawable
int actionModeFindDrawable
Drawable to use for the Find action button in WebView selection action modes
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843898 (0x0101047a)
actionModePasteDrawable
int actionModePasteDrawable
Drawable to use for the Paste action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843539 (0x01010313)
actionModeSelectAllDrawable
int actionModeSelectAllDrawable
Drawable to use for the Select all action button in Contextual Action Bar
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843646 (0x0101037e)
actionModeShareDrawable
int actionModeShareDrawable
Drawable to use for the Share action button in WebView selection action modes
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843897 (0x01010479)
actionModeSplitBackground
int actionModeSplitBackground
Background drawable to use for action mode UI in the lower split bar
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843677 (0x0101039d)
actionModeStyle
int actionModeStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843668 (0x01010394)
actionModeWebSearchDrawable
int actionModeWebSearchDrawable
Drawable to use for the Web Search action button in WebView selection action modes
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843899 (0x0101047b)
actionOverflowButtonStyle
int actionOverflowButtonStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843510 (0x010102f6)
actionOverflowMenuStyle
int actionOverflowMenuStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843844 (0x01010444)
actionProviderClass
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. SeesetActionProvider(android.view.ActionProvider)
for more info.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843657 (0x01010389)
actionViewClass
int actionViewClass
The name of an optional View class to instantiate and use as an action view. See setActionView(android.view.View)
for more info.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843516 (0x010102fc)
activatedBackgroundIndicator
int activatedBackgroundIndicator
Drawable used as a background for activated items.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843517 (0x010102fd)
activityCloseEnterAnimation
int activityCloseEnterAnimation
When closing the current activity, this is the animation that is run on the next activity (which is entering the screen).
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842938 (0x010100ba)
activityCloseExitAnimation
int activityCloseExitAnimation
When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen).
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842939 (0x010100bb)
activityOpenEnterAnimation
int activityOpenEnterAnimation
When opening a new activity, this is the animation that is run on the next activity (which is entering the screen).
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842936 (0x010100b8)
activityOpenExitAnimation
int activityOpenExitAnimation
When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen).
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842937 (0x010100b9)
addPrintersActivity
int addPrintersActivity
Fully qualified class name of an activity that allows the user to manually add printers to this print service.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843750 (0x010103e6)
addStatesFromChildren
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842992 (0x010100f0)
adjustViewBounds
int adjustViewBounds
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843038 (0x0101011e)
advancedPrintOptionsActivity
int advancedPrintOptionsActivity
Fully qualified class name of an activity with advanced print options specific to this print service.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843761 (0x010103f1)
alertDialogIcon
int alertDialogIcon
Icon drawable to use for alerts
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843605 (0x01010355)
alertDialogStyle
int alertDialogStyle
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842845 (0x0101005d)
alertDialogTheme
int alertDialogTheme
Theme to use for alert dialogs spawned from this theme.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843529 (0x01010309)
alignmentMode
int alignmentMode
Alignment constants.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
alignBounds | 0 | Align the bounds of the children. See ALIGN_BOUNDS . |
alignMargins | 1 | Align the margins of the children. See ALIGN_MARGINS . |
Constant Value: 16843642 (0x0101037a)
allContactsName
int allContactsName
Resource representing the term "All Contacts" (e.g. "All Friends" or "All connections"). Optional (Default is "All Contacts").
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843468 (0x010102cc)
allowBackup
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
.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843392 (0x01010280)
allowClearUserData
int allowClearUserData
Option to let applications specify that user data can/cannot be cleared. This flag is turned on by default. This attribute is usable only by applications included in the system image. Third-party apps cannot use it.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842757 (0x01010005)
allowEmbedded
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
.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843765 (0x010103f5)
allowParallelSyncs
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843570 (0x01010332)
allowSingleTap
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843353 (0x01010259)
allowTaskReparenting
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843268 (0x01010204)
allowUndo
int allowUndo
Whether undo should be allowed for editable text. Defaults to true.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843999 (0x010104df)
alpha
int alpha
alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843551 (0x0101031f)
alphabeticShortcut
int alphabeticShortcut
The alphabetic shortcut key. This is the shortcut when using a keyboard with alphabetic keys.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843235 (0x010101e3)
alwaysDrawnWithCache
int alwaysDrawnWithCache
Defines whether the ViewGroup should always draw its children using their drawing cache or not. The default value is true.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842991 (0x010100ef)
alwaysRetainTaskState
int alwaysRetainTaskState
Specify whether an acitivty'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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843267 (0x01010203)
amPmBackgroundColor
int amPmBackgroundColor
This constant was deprecated in API level 23.
Use headerBackground instead.
The background color state list for the AM/PM selectors.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843941 (0x010104a5)
amPmTextColor
int amPmTextColor
This constant was deprecated in API level 23.
Use headerTextColor instead.
The color for the AM/PM selectors.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843940 (0x010104a4)
ambientShadowAlpha
int ambientShadowAlpha
Alpha value of the ambient shadow projected by elevated views, between 0 and 1.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843966 (0x010104be)
angle
int angle
Angle of the gradient.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843168 (0x010101a0)
animateFirstView
int animateFirstView
Defines whether to animate the current View when the ViewAnimation is first displayed.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843477 (0x010102d5)
animateLayoutChanges
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843506 (0x010102f2)
animateOnClick
int animateOnClick
Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. Default is true.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843356 (0x0101025c)
animation
int animation
Animation to use on each child.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843213 (0x010101cd)
animationCache
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842989 (0x010100ed)
animationDuration
int animationDuration
Sets how long a transition animation should run (in milliseconds) when layout has changed. Only relevant if animation is turned on.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843026 (0x01010112)
animationOrder
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. |
reverse | 1 | Animations are started in the reverse order. |
random | 2 | Animations are started randomly. |
Constant Value: 16843214 (0x010101ce)
animationResolution
int animationResolution
This constant was deprecated in API level 16.
Not used by the framework. Timeout between frames of animation in milliseconds
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843546 (0x0101031a)
antialias
int antialias
Enables or disables antialiasing. Antialiasing can be used to smooth the edges of a bitmap when rotated. Default value is false.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843034 (0x0101011a)
anyDensity
int anyDensity
Indicates whether the application can accommodate any screen density. Older applications are assumed to not be able to, new ones able to. You can explicitly supply your abilities here.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843372 (0x0101026c)
apduServiceBanner
int apduServiceBanner
A drawable that can be rendered in Android's system UI for representing the service.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843757 (0x010103ed)
apiKey
int apiKey
Value is a string that specifies the Maps API Key to use.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843281 (0x01010211)
author
int author
Name of the author of this component, e.g. Google.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843444 (0x010102b4)
authorities
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.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842776 (0x01010018)
autoAdvanceViewId
int autoAdvanceViewId
The view id of the AppWidget subview which should be auto-advanced. by the widget's host.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843535 (0x0101030f)
autoCompleteTextViewStyle
int autoCompleteTextViewStyle
Default AutoCompleteTextView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842859 (0x0101006b)
autoLink
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 |
---|---|---|
none | 0x00 | Match no patterns (default). |
web | 0x01 | Match Web URLs. |
email | 0x02 | Match email addresses. |
phone | 0x04 | Match phone numbers. |
map | 0x08 | Match map addresses. |
all | 0x0f | Match all patterns (equivalent to web|email|phone|map). |
Constant Value: 16842928 (0x010100b0)
autoMirrored
int autoMirrored
Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). See setAutoMirrored(boolean)
.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843754 (0x010103ea)
autoRemoveFromRecents
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
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843847 (0x01010447)
autoStart
int autoStart
When true, automatically start animating
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843445 (0x010102b5)
autoText
int autoText
This constant was deprecated in API level 3.
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".
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843114 (0x0101016a)
autoUrlDetect
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..
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843404 (0x0101028c)
autoVerify
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 toIntent.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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844014 (0x010104ee)
background
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 to 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
int backgroundDimAmount
Default background dim amount when a menu, dialog, or something similar pops up.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842802 (0x01010032)
backgroundDimEnabled
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843295 (0x0101021f)
backgroundSplit
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 to 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
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 to 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
int backgroundTint
Tint to apply to the background.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843883 (0x0101046b)
backgroundTintMode
int backgroundTintMode
Blending mode used to apply the background tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
Constant Value: 16843884 (0x0101046c)
backupAgent
int backupAgent
The name of the class subclassing BackupAgent
to manage backup and restore of the application's data on external storage.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843391 (0x0101027f)
backupInForeground
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).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844058 (0x0101051a)
banner
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843762 (0x010103f2)
baseline
int baseline
The offset of the baseline within this view. See {see android.view.View#getBaseline} for details
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843548 (0x0101031c)
baselineAlignBottom
int baselineAlignBottom
If true, the image view will be baseline aligned with based on its bottom edge.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843042 (0x01010122)
baselineAligned
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843046 (0x01010126)
baselineAlignedChildIndex
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).
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843047 (0x01010127)
bitmap
int bitmap
Drawable to use as the icon bitmap.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16844054 (0x01010516)
borderlessButtonStyle
int borderlessButtonStyle
Style for buttons without an explicit border, often used in groups.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843563 (0x0101032b)
bottom
int bottom
Amount of bottom padding inside the gradient shape.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843184 (0x010101b0)
bottomBright
int bottomBright
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842957 (0x010100cd)
bottomDark
int bottomDark
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842953 (0x010100c9)
bottomLeftRadius
int bottomLeftRadius
Radius of the bottom left corner.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843179 (0x010101ab)
bottomMedium
int bottomMedium
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842958 (0x010100ce)
bottomOffset
int bottomOffset
Extra offset for the handle at the bottom of the SlidingDrawer.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843351 (0x01010257)
bottomRightRadius
int bottomRightRadius
Radius of the bottom right corner.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843180 (0x010101ac)
breadCrumbShortTitle
int breadCrumbShortTitle
The short title for the bread crumb of this item.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843524 (0x01010304)
breadCrumbTitle
int breadCrumbTitle
The title for the bread crumb of this item.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843523 (0x01010303)
breakStrategy
int breakStrategy
Break strategy (control over paragraph layout).
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
simple | 0 | Line breaking uses simple strategy. |
high_quality | 1 | Line breaking uses high-quality strategy, including hyphenation. |
balanced | 2 | Line breaking strategy balances line lengths. |
Constant Value: 16843997 (0x010104dd)
bufferType
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 |
---|---|---|
normal | 0 | Can return any CharSequence, possibly a Spanned one if the source text was Spanned. |
spannable | 1 | Can only return Spannable. |
editable | 2 | Can only return Spannable and Editable. |
Constant Value: 16843086 (0x0101014e)
button
int button
Drawable used for the button graphic (e.g. checkbox, radio button, etc).
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843015 (0x01010107)
buttonBarButtonStyle
int buttonBarButtonStyle
Style for buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843567 (0x0101032f)
buttonBarNegativeButtonStyle
int buttonBarNegativeButtonStyle
Style for the "negative" buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843915 (0x0101048b)
buttonBarNeutralButtonStyle
int buttonBarNeutralButtonStyle
Style for the "neutral" buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843914 (0x0101048a)
buttonBarPositiveButtonStyle
int buttonBarPositiveButtonStyle
Style for the "positive" buttons within button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843913 (0x01010489)
buttonBarStyle
int buttonBarStyle
Style for button bars
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843566 (0x0101032e)
buttonGravity
int buttonGravity
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
Constant Value: 16844030 (0x010104fe)
buttonStyle
int buttonStyle
Normal Button style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842824 (0x01010048)
buttonStyleInset
int buttonStyleInset
Button style to inset into an EditText.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842826 (0x0101004a)
buttonStyleSmall
int buttonStyleSmall
Small Button style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842825 (0x01010049)
buttonStyleToggle
int buttonStyleToggle
ToggleButton style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842827 (0x0101004b)
buttonTint
int buttonTint
Tint to apply to the button graphic.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843887 (0x0101046f)
buttonTintMode
int buttonTintMode
Blending mode used to apply the button graphic tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
Constant Value: 16843888 (0x01010470)
cacheColorHint
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.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843009 (0x01010101)
calendarTextColor
int calendarTextColor
The text color list of the calendar.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843931 (0x0101049b)
calendarViewShown
int calendarViewShown
Whether the calendar view is shown. Only valid for "spinner" mode.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843596 (0x0101034c)
calendarViewStyle
int calendarViewStyle
The CalendarView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843613 (0x0101035d)
canControlMagnification
int canControlMagnification
Attribute whether the accessibility service wants to be able to control display magnification.
Required to allow setting the #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION
flag.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844039 (0x01010507)
canPerformGestures
int canPerformGestures
Attribute whether the accessibility service wants to be able to perform gestures.
Required to allow setting the #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES
flag.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844045 (0x0101050d)
canRecord
int canRecord
Attribute whether the TV input service can record programs. This value can be changed at runtime by callingupdateTvInputInfo(android.media.tv.TvInputInfo)
.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844060 (0x0101051c)
canRequestEnhancedWebAccessibility
int canRequestEnhancedWebAccessibility
Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements. For example, installing scripts to make app content more accessible.
Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY
flag.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843736 (0x010103d8)
canRequestFilterKeyEvents
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843737 (0x010103d9)
canRequestTouchExplorationMode
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843735 (0x010103d7)
canRetrieveWindowContent
int canRetrieveWindowContent
Attribute whether the accessibility service wants to be able to retrieve the active window content. This setting cannot be changed at runtime.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843653 (0x01010385)
candidatesTextStyleSpans
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 to 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)
capitalize
int capitalize
This constant was deprecated in API level 3.
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 |
---|---|---|
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. |
characters | 3 | Capitalize every character. |
Constant Value: 16843113 (0x01010169)
category
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.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843752 (0x010103e8)
centerBright
int centerBright
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842956 (0x010100cc)
centerColor
int centerColor
Optional center color. For linear gradients, use centerX or centerY to place the center color.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843275 (0x0101020b)
centerDark
int centerDark
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842952 (0x010100c8)
centerMedium
int centerMedium
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842959 (0x010100cf)
centerX
int centerX
X coordinate of the origin of the gradient within the shape.
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.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843170 (0x010101a2)
centerY
int centerY
Y coordinate of the origin of the gradient within the shape.
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.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843171 (0x010101a3)
checkBoxPreferenceStyle
int checkBoxPreferenceStyle
Default style for CheckBoxPreference.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842895 (0x0101008f)
checkMark
int checkMark
Drawable used for the check mark graphic.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843016 (0x01010108)
checkMarkTint
int checkMarkTint
Tint to apply to the check mark.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843943 (0x010104a7)
checkMarkTintMode
int checkMarkTintMode
Blending mode used to apply the check mark tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
Constant Value: 16843944 (0x010104a8)
checkable
int checkable
Whether the item is capable of displaying a check mark.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843237 (0x010101e5)
checkableBehavior
int checkableBehavior
Whether the items are capable of displaying a check mark.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | The items are not checkable. |
all | 1 | The items are all checkable. |
single | 2 | The items are checkable and there will only be a single checked item in this group. |
Constant Value: 16843232 (0x010101e0)
checkboxStyle
int checkboxStyle
Default Checkbox style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842860 (0x0101006c)
checked
int checked
Indicates the initial checked state of this button.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843014 (0x01010106)
checkedButton
int checkedButton
The id of the child radio button that should be checked by default within this radio group.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843080 (0x01010148)
checkedTextViewStyle
int checkedTextViewStyle
Default CheckedTextView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843720 (0x010103c8)
childDivider
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 to 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
int childIndicator
Indicator shown beside the child View. This can be a stateful Drawable.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843020 (0x0101010c)
childIndicatorEnd
int childIndicatorEnd
The end bound for a child's indicator.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843732 (0x010103d4)
childIndicatorLeft
int childIndicatorLeft
The left bound for a child's indicator.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843023 (0x0101010f)
childIndicatorRight
int childIndicatorRight
The right bound for a child's indicator.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843024 (0x01010110)
childIndicatorStart
int childIndicatorStart
The start bound for a child's indicator.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843731 (0x010103d3)
choiceMode
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 aAbsListView.MultiChoiceModeListener
using setMultiChoiceModeListener(AbsListView.MultiChoiceModeListener)
to control the selection mode. This uses the ActionMode
API.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | Normal list that does not indicate choices. |
singleChoice | 1 | The list allows up to one choice. |
multipleChoice | 2 | The list allows multiple choices. |
multipleChoiceModal | 3 | The list allows multiple choices in a custom selection mode. |
Constant Value: 16843051 (0x0101012b)
clearTaskOnLaunch
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842773 (0x01010015)
clickable
int clickable
Defines whether this view reacts to click events.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842981 (0x010100e5)
clipChildren
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842986 (0x010100ea)
clipOrientation
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)
clipToPadding
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842987 (0x010100eb)
closeIcon
int closeIcon
Close button icon
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843905 (0x01010481)
codes
int codes
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
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843330 (0x01010242)
collapseColumns
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.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843083 (0x0101014b)
collapseContentDescription
int collapseContentDescription
Text to set as the content description for the collapse button.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843984 (0x010104d0)
collapseIcon
int collapseIcon
Icon drawable to use for the collapse button.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16844031 (0x010104ff)
color
int color
Solid color for the gradient shape.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843173 (0x010101a5)
colorAccent
int colorAccent
Bright complement to the primary branding color. By default, this is the color applied to framework controls (via colorControlActivated).
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843829 (0x01010435)
colorActivatedHighlight
int colorActivatedHighlight
Default highlight color for items that are activated. (Activated meaning persistent selection.)
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843664 (0x01010390)
colorBackground
int colorBackground
Default color of background imagery, ex. full-screen windows.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842801 (0x01010031)
colorBackgroundCacheHint
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.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843435 (0x010102ab)
colorBackgroundFloating
int colorBackgroundFloating
Default color of background imagery for floating components, ex. dialogs, popups, and cards.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844002 (0x010104e2)
colorButtonNormal
int colorButtonNormal
The color applied to framework buttons in their normal state.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843819 (0x0101042b)
colorControlActivated
int colorControlActivated
The color applied to framework controls in their activated (ex. checked) state.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843818 (0x0101042a)
colorControlHighlight
int colorControlHighlight
The color applied to framework control highlights (ex. ripples, list selectors).
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843820 (0x0101042c)
colorControlNormal
int colorControlNormal
The color applied to framework controls in their normal state.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843817 (0x01010429)
colorEdgeEffect
int colorEdgeEffect
The color applied to the edge effect on scrolling containers.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843982 (0x010104ce)
colorFocusedHighlight
int colorFocusedHighlight
Default highlight color for items that are focused. (Focused meaning cursor-based selection.)
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843663 (0x0101038f)
colorForeground
int colorForeground
Default color of foreground imagery.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842800 (0x01010030)
colorForegroundInverse
int colorForegroundInverse
Default color of foreground imagery on an inverted background.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843270 (0x01010206)
colorLongPressedHighlight
int colorLongPressedHighlight
Default highlight color for items that are long-pressed.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843662 (0x0101038e)
colorMultiSelectHighlight
int colorMultiSelectHighlight
Default highlight color for items in multiple selection mode.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843665 (0x01010391)
colorPressedHighlight
int colorPressedHighlight
Default highlight color for items that are pressed.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843661 (0x0101038d)
colorPrimary
int colorPrimary
The primary branding color for the app. By default, this is the color applied to the action bar background.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843827 (0x01010433)
colorPrimaryDark
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).
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843828 (0x01010434)
columnCount
int columnCount
The maxmimum number of columns to create when automatically positioning children.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843639 (0x01010377)
columnDelay
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.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843215 (0x010101cf)
columnOrderPreserved
int columnOrderPreserved
When set to true, forces column boundaries to appear in the same order as column indices. The default is true. See setColumnOrderPreserved(boolean)
.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843640 (0x01010378)
columnWidth
int columnWidth
Specifies the fixed width for each column.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843031 (0x01010117)
commitIcon
int commitIcon
Commit icon shown in the query suggestion row
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843909 (0x01010485)
compatibleWidthLimitDp
int compatibleWidthLimitDp
Starting with 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.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843621 (0x01010365)
completionHint
int completionHint
Defines the hint displayed in the drop down menu.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843122 (0x01010172)
completionHintView
int completionHintView
Defines the hint view displayed in the drop down menu.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843123 (0x01010173)
completionThreshold
int completionThreshold
Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843124 (0x01010174)
configChanges
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 |
---|---|---|
mcc | 0x0001 | The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code. |
mnc | 0x0002 | The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code. |
locale | 0x0004 | The locale has changed, that is the user has selected a new language that text should be displayed in. |
touchscreen | 0x0008 | The touchscreen has changed. Should never normally happen. |
keyboard | 0x0010 | The keyboard type has changed, for example the user has plugged in an external keyboard. |
keyboardHidden | 0x0020 | 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. |
navigation | 0x0040 | The navigation type has changed. Should never normally happen. |
orientation | 0x0080 | The screen orientation has changed, that is the user has rotated the device. |
screenLayout | 0x0100 | The screen layout has changed. This might be caused by a different display being activated. |
uiMode | 0x0200 | The global user interface mode has changed. For example, going in or out of car mode, night mode changing, etc. |
screenSize | 0x0400 | The current available screen size has changed. If applications don't target at least 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 | 0x0800 | The physical screen size has changed. If applications don't target at least 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. |
density | 0x1000 | 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. |
layoutDirection | 0x2000 | The layout direction has changed. For example going from LTR to RTL. |
fontScale | 0x40000000 | The font scaling factor has changed, that is the user has selected a new global font size. |
Constant Value: 16842783 (0x0101001f)
configure
int configure
A class name in the AppWidget's package to be launched to configure. If not supplied, then no activity will be launched.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843357 (0x0101025d)
constantSize
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843158 (0x01010196)
content
int content
Identifier for the child that represents the drawer's content.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843355 (0x0101025b)
contentAgeHint
int contentAgeHint
The age associated with the content rating. The content of this rating is suitable for people of this age or above.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843961 (0x010104b9)
contentAuthority
int contentAuthority
the authority of a content provider.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843408 (0x01010290)
contentDescription
int contentDescription
Defines text that briefly describes content of the view. This property is used primarily for accessibility. Since some views do not have textual representation this attribute can be used for providing such.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843379 (0x01010273)
contentInsetEnd
int contentInsetEnd
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843860 (0x01010454)
contentInsetEndWithActions
int contentInsetEndWithActions
Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844067 (0x01010523)
contentInsetLeft
int contentInsetLeft
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843861 (0x01010455)
contentInsetRight
int contentInsetRight
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843862 (0x01010456)
contentInsetStart
int contentInsetStart
Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843859 (0x01010453)
contentInsetStartWithNavigation
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.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844066 (0x01010522)
contextClickable
int contextClickable
Defines whether this view reacts to context click events.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844007 (0x010104e7)
contextPopupMenuStyle
int contextPopupMenuStyle
Default context menu PopupMenu style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16844033 (0x01010501)
controlX1
int controlX1
The x coordinate of the first control point of the cubic Bezier
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843772 (0x010103fc)
controlX2
int controlX2
The x coordinate of the second control point of the cubic Bezier
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843774 (0x010103fe)
controlY1
int controlY1
The y coordinate of the first control point of the cubic Bezier
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843773 (0x010103fd)
controlY2
int controlY2
The y coordinate of the second control point of the cubic Bezier
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843775 (0x010103ff)
countDown
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844059 (0x0101051b)
country
int country
The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843962 (0x010104ba)
cropToPadding
int cropToPadding
If true, the image will be cropped to fit within its padding.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843043 (0x01010123)
cursorVisible
int cursorVisible
Makes the cursor visible (the default) or invisible.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843090 (0x01010152)
customNavigationLayout
int customNavigationLayout
Specifies a layout for custom navigation. Overrides navigationMode.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843474 (0x010102d2)
customTokens
int customTokens
Account handles its own token storage and permissions. Default to false
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843579 (0x0101033b)
cycles
int cycles
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843220 (0x010101d4)
dashGap
int dashGap
Gap between dashes in the stroke.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843175 (0x010101a7)
dashWidth
int dashWidth
Length of a dash in the stroke.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843174 (0x010101a6)
data
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).
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842798 (0x0101002e)
datePickerDialogTheme
int datePickerDialogTheme
The DatePicker dialog theme.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843948 (0x010104ac)
datePickerMode
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 |
---|---|---|
spinner | 1 | Date picker with spinner controls to select the date. |
calendar | 2 | Date picker with calendar to select the date. |
Constant Value: 16843955 (0x010104b3)
datePickerStyle
int datePickerStyle
The DatePicker style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843612 (0x0101035c)
dateTextAppearance
int dateTextAppearance
The text appearance for the day numbers in the calendar grid.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843593 (0x01010349)
dayOfWeekBackground
int dayOfWeekBackground
This constant was deprecated in API level 23.
No longer displayed.
The background color for the header's day of week.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843924 (0x01010494)
dayOfWeekTextAppearance
int dayOfWeekTextAppearance
This constant was deprecated in API level 23.
No longer displayed.
The text color for the header's day of week.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843925 (0x01010495)
debuggable
int debuggable
Flag indicating whether the application can be debugged, even when running on a device that is running in user mode.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842767 (0x0101000f)
defaultHeight
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), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844021 (0x010104f5)
defaultToDeviceProtectedStorage
int defaultToDeviceProtectedStorage
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844036 (0x01010504)
defaultValue
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 to 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, either "true
" or "false
".
May be a floating point value, such as "1.2
".
Constant Value: 16843245 (0x010101ed)
defaultWidth
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), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844020 (0x010104f4)
delay
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.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843212 (0x010101cc)
dependency
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.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843244 (0x010101ec)
descendantFocusability
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 |
---|---|---|
beforeDescendants | 0 | The ViewGroup will get focus before any of its descendants. |
afterDescendants | 1 | The ViewGroup will get focus only if none of its descendants want it. |
blocksDescendants | 2 | The ViewGroup will block its descendants from receiving focus. |
Constant Value: 16842993 (0x010100f1)
description
int description
Descriptive text for the associated data.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842784 (0x01010020)
detachWallpaper
int detachWallpaper
Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843430 (0x010102a6)
detailColumn
int detailColumn
Column in data table that contains details for this data.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843427 (0x010102a3)
detailSocialSummary
int detailSocialSummary
Flag indicating that detail should be built from SocialProvider.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843428 (0x010102a4)
detailsElementBackground
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843598 (0x0101034e)
dial
int dial
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843010 (0x01010102)
dialogIcon
int dialogIcon
The icon for the dialog.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843252 (0x010101f4)
dialogLayout
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843255 (0x010101f7)
dialogMessage
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.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843251 (0x010101f3)
dialogPreferenceStyle
int dialogPreferenceStyle
Default style for DialogPreference.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842897 (0x01010091)
dialogPreferredPadding
int dialogPreferredPadding
Preferred padding for dialog content.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843987 (0x010104d3)
dialogTheme
int dialogTheme
Theme to use for dialogs spawned from this theme.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843528 (0x01010308)
dialogTitle
int dialogTitle
The title in the dialog.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843250 (0x010101f2)
digits
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.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843110 (0x01010166)
directBootAware
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).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844037 (0x01010505)
direction
int direction
Direction of the animation in the grid.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
left_to_right | 0x0 | Animates columns from left to right. |
right_to_left | 0x1 | Animates columns from right to left. |
top_to_bottom | 0x0 | Animates rows from top to bottom. |
bottom_to_top | 0x2 | Animates rows from bottom to top. |
Constant Value: 16843217 (0x010101d1)
directionDescriptions
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843681 (0x010103a1)
directionPriority
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 |
---|---|---|
none | 0 | Rows and columns are animated at the same time. |
column | 1 | Columns are animated first. |
row | 2 | Rows are animated first. |
Constant Value: 16843218 (0x010101d2)
disableDependentsState
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843249 (0x010101f1)
disabledAlpha
int disabledAlpha
Default disabled alpha for widgets that set enabled/disabled alpha programmatically.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842803 (0x01010033)
displayOptions
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 |
---|---|---|
none | 0 | |
useLogo | 0x1 | |
showHome | 0x2 | |
homeAsUp | 0x4 | |
showTitle | 0x8 | |
showCustom | 0x10 | |
disableHome | 0x20 |
Constant Value: 16843472 (0x010102d0)
dither
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).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843036 (0x0101011c)
divider
int divider
Drawable or color to draw between list items.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843049 (0x01010129)
dividerHeight
int dividerHeight
Height of the divider. Will use the intrinsic height of the divider if this is not specified.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843050 (0x0101012a)
dividerHorizontal
int dividerHorizontal
Drawable to use for generic horizontal dividers.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843564 (0x0101032c)
dividerPadding
int dividerPadding
Size of padding on either end of a divider.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843562 (0x0101032a)
dividerVertical
int dividerVertical
Drawable to use for generic vertical dividers.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843530 (0x0101030a)
documentLaunchMode
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 taskss list.
This attribute is equivalent to adding the flag 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 |
---|---|---|
none | 0 | The default mode, which will create a new task only when Intent.FLAG_ACTIVITY_NEW_TASK is 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 toActivity.onNewIntent . If no such task is found a new task will be created. This is the equivalent of launching an activity with |
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 withIntent.FLAG_ACTIVITY_NEW_DOCUMENT and Intent.FLAG_ACTIVITY_MULTIPLE_TASK both set. |
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. |
Constant Value: 16843845 (0x01010445)
drawSelectorOnTop
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843004 (0x010100fc)
drawable
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843161 (0x01010199)
drawableBottom
int drawableBottom
The drawable to be drawn below the text.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843118 (0x0101016e)
drawableEnd
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 to 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
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 to 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
int drawablePadding
The padding between the drawables and the text.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843121 (0x01010171)
drawableRight
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 to 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
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 to 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
int drawableTint
Tint to apply to the compound (left, top, etc.) drawables.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843990 (0x010104d6)
drawableTintMode
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 |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
Constant Value: 16843991 (0x010104d7)
drawableTop
int drawableTop
The drawable to be drawn above the text.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843117 (0x0101016d)
drawingCacheQuality
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.
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. |
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. |
high | 2 | High quality. When set to high quality, the drawing cache uses a higher color depth but uses more memory. |
Constant Value: 16842984 (0x010100e8)
dropDownAnchor
int dropDownAnchor
View to anchor the auto-complete dropdown to. If not specified, the text view itself is used.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843363 (0x01010263)
dropDownHeight
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), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill_parent | -1 | 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 | -1 | The dropdown should fit the height of the screen. Introduced in API Level 8. |
wrap_content | -2 | The dropdown should fit the height of the content. |
Constant Value: 16843395 (0x01010283)
dropDownHintAppearance
int dropDownHintAppearance
Default style for drop down hints.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842888 (0x01010088)
dropDownHorizontalOffset
int dropDownHorizontalOffset
Amount of pixels by which the drop down should be offset horizontally.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843436 (0x010102ac)
dropDownItemStyle
int dropDownItemStyle
Default style for drop down items.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842886 (0x01010086)
dropDownListViewStyle
int dropDownListViewStyle
Default ListView style for drop downs.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842861 (0x0101006d)
dropDownSelector
int dropDownSelector
Selector in a drop down list.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843125 (0x01010175)
dropDownSpinnerStyle
int dropDownSpinnerStyle
Default dropdown Spinner style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843478 (0x010102d6)
dropDownVerticalOffset
int dropDownVerticalOffset
Amount of pixels by which the drop down should be offset vertically.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843437 (0x010102ad)
dropDownWidth
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), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill_parent | -1 | The dropdown should fill the width of the screen. This constant is deprecated starting from API Level 8 and is replaced bymatch_parent . |
match_parent | -1 | The dropdown should fit the width of the screen. Introduced in API Level 8. |
wrap_content | -2 | The dropdown should fit the width of its anchor. |
Constant Value: 16843362 (0x01010262)
duplicateParentState
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842985 (0x010100e9)
duration
int duration
Amount of time (in milliseconds) to display this frame.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843160 (0x01010198)
editTextBackground
int editTextBackground
EditText background drawable.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843602 (0x01010352)
editTextColor
int editTextColor
EditText text foreground color.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843601 (0x01010351)
editTextPreferenceStyle
int editTextPreferenceStyle
Default style for EditTextPreference.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842898 (0x01010092)
editTextStyle
int editTextStyle
Default EditText style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842862 (0x0101006e)
editable
int editable
This constant was deprecated in API level 3.
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843115 (0x0101016b)
editorExtras
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843300 (0x01010224)
elegantTextHeight
int elegantTextHeight
Elegant text height, especially for less compacted complex script text.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843869 (0x0101045d)
elevation
int elevation
base z depth of the view
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843840 (0x01010440)
ellipsize
int ellipsize
Where to ellipsize text.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | |
start | 1 | |
middle | 2 | |
end | 3 | |
marquee | 4 |
Constant Value: 16842923 (0x010100ab)
ems
int ems
Makes the TextView be exactly this many ems wide.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843096 (0x01010158)
enableVrMode
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 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 transtion from one VR activity to another.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844069 (0x01010525)
enabled
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842766 (0x0101000e)
end
int end
End inset to apply to the layer. Overrides left
or right
depending on layout direction.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843996 (0x010104dc)
endColor
int endColor
End color of the gradient.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843166 (0x0101019e)
endX
int endX
X coordinate of the end point origin of the gradient. Defined in same coordinates as the path itself
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844050 (0x01010512)
endY
int endY
Y coordinate of the end point of the gradient within the shape. Defined in same coordinates as the path itself
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844051 (0x01010513)
endYear
int endYear
This constant was deprecated in API level 16.
Use maxDate instead.Use maxDate instead.
The last year (inclusive), for example "2010".
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843133 (0x0101017d)
enterFadeDuration
int enterFadeDuration
Amount of time (in milliseconds) to fade in a new state drawable.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843532 (0x0101030c)
entries
int entries
Reference to an array resource that will populate a list/adapter.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842930 (0x010100b2)
entryValues
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843256 (0x010101f8)
eventsInterceptionEnabled
int eventsInterceptionEnabled
Defines whether the overlay should intercept the motion events when a gesture is recognized.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843389 (0x0101027d)
excludeClass
int excludeClass
The fully-qualified name of the Class to exclude from this transition.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843842 (0x01010442)
excludeFromRecents
int excludeFromRecents
Indicates that an Activity should be excluded from the list of recently launched activities.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842775 (0x01010017)
excludeId
int excludeId
The id of a target to exclude from this transition.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843841 (0x01010441)
excludeName
int excludeName
The transitionName of the target to exclude from this transition.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843854 (0x0101044e)
exitFadeDuration
int exitFadeDuration
Amount of time (in milliseconds) to fade out an old state drawable.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843533 (0x0101030d)
expandableListPreferredChildIndicatorLeft
int expandableListPreferredChildIndicatorLeft
The preferred left bound for an expandable list child's indicator.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842834 (0x01010052)
expandableListPreferredChildIndicatorRight
int expandableListPreferredChildIndicatorRight
The preferred right bound for an expandable list child's indicator.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842835 (0x01010053)
expandableListPreferredChildPaddingLeft
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.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842831 (0x0101004f)
expandableListPreferredItemIndicatorLeft
int expandableListPreferredItemIndicatorLeft
The preferred left bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorLeft.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842832 (0x01010050)
expandableListPreferredItemIndicatorRight
int expandableListPreferredItemIndicatorRight
The preferred right bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorRight.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842833 (0x01010051)
expandableListPreferredItemPaddingLeft
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.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842830 (0x0101004e)
expandableListViewStyle
int expandableListViewStyle
Default ExpandableListView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842863 (0x0101006f)
expandableListViewWhiteStyle
int expandableListViewWhiteStyle
ExpandableListView with white background.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843446 (0x010102b6)
exported
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842768 (0x01010010)
externalService
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 beexported
if this flag is set.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844046 (0x0101050e)
extraTension
int extraTension
This is the amount by which to multiply the tension.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843371 (0x0101026b)
extractNativeLibs
int extractNativeLibs
When set installer will extract native libraries. If set to false libraries in the apk must be stored and page-aligned.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844010 (0x010104ea)
factor
int factor
This is the amount of deceleration to add when easing in.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843219 (0x010101d3)
fadeDuration
int fadeDuration
Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843384 (0x01010278)
fadeEnabled
int fadeEnabled
Defines whether the gesture will automatically fade out after being recognized.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843390 (0x0101027e)
fadeOffset
int fadeOffset
Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843383 (0x01010277)
fadeScrollbars
int fadeScrollbars
Defines whether to fade out scrollbars when they are not in use.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843434 (0x010102aa)
fadingEdge
int fadingEdge
This attribute is deprecated and will be ignored as of API level 14 (ICE_CREAM_SANDWICH
). 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 theandroid:requiresFadingEdge
attribute instead.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0x00000000 | No edge is faded. |
horizontal | 0x00001000 | Fades horizontal edges only. |
vertical | 0x00002000 | Fades vertical edges only. |
Constant Value: 16842975 (0x010100df)
fadingEdgeLength
int fadingEdgeLength
Defines the length of the fading edges.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842976 (0x010100e0)
fadingMode
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_out | 2 | Fade will only fade disappearing items out. |
fade_in_out | 3 | Fade will fade appearing items in and disappearing items out. |
Constant Value: 16843745 (0x010103e1)
fastScrollAlwaysVisible
int fastScrollAlwaysVisible
When set to true, the list will always show the fast scroll interface. This setting implies fastScrollEnabled.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843573 (0x01010335)
fastScrollEnabled
int fastScrollEnabled
Enables the fast scroll thumb that can be dragged to quickly scroll through the list.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843302 (0x01010226)
fastScrollOverlayPosition
int fastScrollOverlayPosition
Position of the fast scroll index overlay window.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
floating | 0 | |
atThumb | 1 | |
aboveThumb | 2 |
Constant Value: 16843578 (0x0101033a)
fastScrollPreviewBackgroundLeft
int fastScrollPreviewBackgroundLeft
Drawable to use as the fast scroll index preview window background when shown on the left.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843575 (0x01010337)
fastScrollPreviewBackgroundRight
int fastScrollPreviewBackgroundRight
Drawable to use as the fast scroll index preview window background when shown on the right.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843576 (0x01010338)
fastScrollStyle
int fastScrollStyle
Specifies the style of the fast scroll decorations.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843767 (0x010103f7)
fastScrollTextColor
int fastScrollTextColor
Text color for the fast scroll index overlay. Make sure it plays nicely with fastScrollPreviewBackground[Left|Right].
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843609 (0x01010359)
fastScrollThumbDrawable
int fastScrollThumbDrawable
Drawable to use as the fast scroll thumb.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843574 (0x01010336)
fastScrollTrackDrawable
int fastScrollTrackDrawable
Drawable to use as the track for the fast scroll thumb. This may be null.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843577 (0x01010339)
fillAfter
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843197 (0x010101bd)
fillAlpha
int fillAlpha
The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque)
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843980 (0x010104cc)
fillBefore
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843196 (0x010101bc)
fillColor
int fillColor
The color to fill the path if not defined implies no fill
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843780 (0x01010404)
fillEnabled
int fillEnabled
When set to true, the value of fillBefore is taken into account.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843343 (0x0101024f)
fillType
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 |
---|---|---|
nonZero | 0 | |
evenOdd | 1 |
Constant Value: 16844062 (0x0101051e)
fillViewport
int fillViewport
Defines whether the scrollview should stretch its content to fill the viewport.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843130 (0x0101017a)
filter
int filter
Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its apperance. Default value is true.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843035 (0x0101011b)
filterTouchesWhenObscured
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843460 (0x010102c4)
fingerprintAuthDrawable
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.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16844008 (0x010104e8)
finishOnCloseSystemDialogs
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843431 (0x010102a7)
finishOnTaskLaunch
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842772 (0x01010014)
firstDayOfWeek
int firstDayOfWeek
The first day of week according to Calendar
.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843581 (0x0101033d)
fitsSystemWindows
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842973 (0x010100dd)
flipInterval
int flipInterval
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843129 (0x01010179)
focusable
int focusable
Boolean that controls whether a view can take focus. By default the user can not move focus to a view; by setting this attribute to true the view is allowed to take focus. This value does not impact the behavior of directly calling requestFocus()
, which will always request focus regardless of this view. It only impacts where focus navigation will try to move focus.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842970 (0x010100da)
focusableInTouchMode
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842971 (0x010100db)
focusedMonthDateColor
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 to 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)
fontFamily
int fontFamily
Default font family.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843692 (0x010103ac)
fontFeatureSettings
int fontFeatureSettings
Font feature settings.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843959 (0x010104b7)
footerDividersEnabled
int footerDividersEnabled
When set to false, the ListView will not draw the divider before each footer view. The default value is true.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843311 (0x0101022f)
forceHasOverlappingRendering
int forceHasOverlappingRendering
Whether this view has elements that may overlap when drawn. See forceHasOverlappingRendering(boolean)
.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844065 (0x01010521)
foreground
int foreground
Defines the drawable to draw over the content. This can be used as an overlay. The foreground drawable participates in the padding of the content if the gravity is set to fill.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843017 (0x01010109)
foregroundGravity
int foregroundGravity
Defines the gravity to apply to the foreground drawable. The gravity defaults to fill.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
Constant Value: 16843264 (0x01010200)
foregroundTint
int foregroundTint
Tint to apply to the foreground.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843885 (0x0101046d)
foregroundTintMode
int foregroundTintMode
Blending mode used to apply the foreground tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
Constant Value: 16843886 (0x0101046e)
format
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. If no format string is specified, the Chronometer will simply display "MM:SS" or "H:MM:SS".
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843013 (0x01010105)
format12Hour
int format12Hour
Specifies the formatting pattern used to show the time and/or date in 12-hour mode. Please refer to DateFormat
for a complete description of accepted formatting patterns. The default pattern is a locale-appropriate equivalent of "h:mm a".
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843722 (0x010103ca)
format24Hour
int format24Hour
Specifies the formatting pattern used to show the time and/or date in 24-hour mode. Please refer to DateFormat
for a complete description of accepted formatting patterns. The default pattern is a locale-appropriate equivalent of "H:mm".
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843723 (0x010103cb)
fraction
int fraction
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843992 (0x010104d8)
fragment
int fragment
The fragment that is displayed when the user selects this item.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843491 (0x010102e3)
fragmentAllowEnterTransitionOverlap
int fragmentAllowEnterTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning forward. Corresponds to setAllowEnterTransitionOverlap(boolean)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843976 (0x010104c8)
fragmentAllowReturnTransitionOverlap
int fragmentAllowReturnTransitionOverlap
Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack. Corresponds tosetAllowReturnTransitionOverlap(boolean)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843977 (0x010104c9)
fragmentCloseEnterAnimation
int fragmentCloseEnterAnimation
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843495 (0x010102e7)
fragmentCloseExitAnimation
int fragmentCloseExitAnimation
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843496 (0x010102e8)
fragmentEnterTransition
int fragmentEnterTransition
The Transition that will be used to move Views into the initial scene. Corresponds to setEnterTransition(android.transition.Transition)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843971 (0x010104c3)
fragmentExitTransition
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. Corresponds to setExitTransition(android.transition.Transition)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843970 (0x010104c2)
fragmentFadeEnterAnimation
int fragmentFadeEnterAnimation
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843497 (0x010102e9)
fragmentFadeExitAnimation
int fragmentFadeExitAnimation
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843498 (0x010102ea)
fragmentOpenEnterAnimation
int fragmentOpenEnterAnimation
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843493 (0x010102e5)
fragmentOpenExitAnimation
int fragmentOpenExitAnimation
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843494 (0x010102e6)
fragmentReenterTransition
int fragmentReenterTransition
The Transition that will be used to move Views in to the scene when returning due to popping a back stack. Corresponds tosetReenterTransition(android.transition.Transition)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843975 (0x010104c7)
fragmentReturnTransition
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. Corresponds to setReturnTransition(android.transition.Transition)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843973 (0x010104c5)
fragmentSharedElementEnterTransition
int fragmentSharedElementEnterTransition
The Transition that will be used for shared elements transferred into the content Scene. Corresponds tosetSharedElementEnterTransition(android.transition.Transition)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843972 (0x010104c4)
fragmentSharedElementReturnTransition
int fragmentSharedElementReturnTransition
The Transition that will be used for shared elements transferred back during a pop of the back stack. This Transition acts in the leaving Fragment. Corresponds to setSharedElementReturnTransition(android.transition.Transition)
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843974 (0x010104c6)
freezesText
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. By default this is disabled; it can be useful when the contents of a text view is not stored in a persistent place such as a content provider. For EditText
it is always enabled, regardless of the value of the attribute.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843116 (0x0101016c)
fromAlpha
int fromAlpha
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843210 (0x010101ca)
fromDegrees
int fromDegrees
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843187 (0x010101b3)
fromId
int fromId
Keyframe identifier for the starting state.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843850 (0x0101044a)
fromScene
int fromScene
The originating scene in this scene change.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843741 (0x010103dd)
fromXDelta
int fromXDelta
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.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843206 (0x010101c6)
fromXScale
int fromXScale
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), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843202 (0x010101c2)
fromYDelta
int fromYDelta
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.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843208 (0x010101c8)
fromYScale
int fromYScale
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), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843204 (0x010101c4)
fullBackupContent
int fullBackupContent
Applications will set this in their manifest to opt-in to or out of full app data back-up and restore. Alternatively they can set it to an xml resource within their app that will be parsed by the BackupAgent to selectively backup files indicated within that xml.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a boolean value, either "true
" or "false
".
Constant Value: 16844011 (0x010104eb)
fullBackupOnly
int fullBackupOnly
Indicates that even though the application provides a BackupAgent
, only full-data streaming backup operations are to be performed to save the app's data. This lets the app rely on full-data backups while still participating in the backup and restore process via the BackupAgent's full-data backup APIs. When this attribute is true
the app's BackupAgent overrides of the onBackup() and onRestore() callbacks can be empty stubs.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843891 (0x01010473)
fullBright
int fullBright
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842954 (0x010100ca)
fullDark
int fullDark
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16842950 (0x010100c6)
functionalTest
int functionalTest
Flag indicating that an Instrumentation class should be run as a functional test.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842787 (0x01010023)
galleryItemBackground
int galleryItemBackground
The preferred background for gallery items. This should be set as the background of any Views you provide from the Adapter.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842828 (0x0101004c)
galleryStyle
int galleryStyle
Default Gallery style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842864 (0x01010070)
gestureColor
int gestureColor
Color used to draw a gesture.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843381 (0x01010275)
gestureStrokeAngleThreshold
int gestureStrokeAngleThreshold
Minimum curve angle a stroke must contain before it is recognized as a gesture.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843388 (0x0101027c)
gestureStrokeLengthThreshold
int gestureStrokeLengthThreshold
Minimum length of a stroke before it is recognized as a gesture.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843386 (0x0101027a)
gestureStrokeSquarenessThreshold
int gestureStrokeSquarenessThreshold
Squareness threshold of a stroke before it is recognized as a gesture.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843387 (0x0101027b)
gestureStrokeType
int gestureStrokeType
Defines the type of strokes that define a gesture.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
single | 0 | A gesture is made of only one stroke. |
multiple | 1 | A gesture is made of multiple strokes. |
Constant Value: 16843385 (0x01010279)
gestureStrokeWidth
int gestureStrokeWidth
Width of the stroke used to draw the gesture.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843380 (0x01010274)
glEsVersion
int glEsVersion
The GLES driver version number needed by an application. The higher 16 bits represent the major number and the lower 16 bits represent the minor number. For example for GL 1.2 referring to 0x00000102, the actual value should be set as 0x00010002.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843393 (0x01010281)
goIcon
int goIcon
Go button icon
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843906 (0x01010482)
gradientRadius
int gradientRadius
Radius of the gradient, used only with radial gradient.
May be a floating point value, such as "1.2
".
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843172 (0x010101a4)
grantUriPermissions
int grantUriPermissions
If true, the Context.grantUriPermission
or corresponding Intent flags can be used to allow others to access specific URIs in the content provider, even if they do not have an explicit read or write permission. If you are supporting this feature, you must be sure to call Context.revokeUriPermission
when URIs are deleted from your provider.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842779 (0x0101001b)
gravity
int gravity
Specifies how an object should position its content, on both the X and Y axes, within its own bounds.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
Constant Value: 16842927 (0x010100af)
gridViewStyle
int gridViewStyle
Default GridView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842865 (0x01010071)
groupIndicator
int groupIndicator
Indicator shown beside the group View. This can be a stateful Drawable.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843019 (0x0101010b)
hand_hour
int hand_hour
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843011 (0x01010103)
hand_minute
int hand_minute
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843012 (0x01010104)
handle
int handle
Identifier for the child that represents the drawer's handle.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843354 (0x0101025a)
handleProfiling
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. This allows it to target profiling data at a specific set of operations.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842786 (0x01010022)
hapticFeedbackEnabled
int hapticFeedbackEnabled
Boolean that controls whether a view should have haptic feedback enabled for events such as long presses.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843358 (0x0101025e)
hardwareAccelerated
int hardwareAccelerated
Flag indicating whether the application's rendering should be hardware accelerated if possible. This flag is turned on by default for applications that are targeting ICE_CREAM_SANDWICH
or later.
This flag can be set on the application and any activity declared in the manifest. When enabled for the application, each activity is automatically assumed to be hardware accelerated. This flag can be overridden in the activity tags, either turning it off (if on for the application) or on (if off for the application.)
When this flag is turned on for an activity (either directly or via the application tag), every window created from the activity, including the activity's own window, will be hardware accelerated, if possible.
Please refer to the documentation of FLAG_HARDWARE_ACCELERATED
for more information on how to control this flag programmatically.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843475 (0x010102d3)
hasCode
int hasCode
Indicate whether this application contains code. If set to false, there is no code associated with it and thus the system will not try to load its code when launching components. The default is true for normal behavior.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842764 (0x0101000c)
headerAmPmTextAppearance
int headerAmPmTextAppearance
This constant was deprecated in API level 23.
Use headerTextColor instead.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
The text appearance for the AM/PM header.
Constant Value: 16843936 (0x010104a0)
headerBackground
int headerBackground
Default background for the menu header.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843055 (0x0101012f)
headerDayOfMonthTextAppearance
int headerDayOfMonthTextAppearance
This constant was deprecated in API level 23.
Use headerTextColor instead.
The text appearance for the day of month (ex. 28) in the selected date header.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843927 (0x01010497)
headerDividersEnabled
int headerDividersEnabled
When set to false, the ListView will not draw the divider after each header view. The default value is true.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843310 (0x0101022e)
headerMonthTextAppearance
int headerMonthTextAppearance
This constant was deprecated in API level 23.
Use headerTextColor instead.
The text appearance for the month (ex. May) in the selected date header.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843926 (0x01010496)
headerTimeTextAppearance
int headerTimeTextAppearance
This constant was deprecated in API level 23.
Use headerTextColor instead.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
The text appearance for the time header.
Constant Value: 16843935 (0x0101049f)
headerYearTextAppearance
int headerYearTextAppearance
This constant was deprecated in API level 23.
Use headerTextColor instead.
The text appearance for the year (ex. 2014) in the selected date header.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843928 (0x01010498)
height
int height
Makes the TextView be exactly this many pixels tall. You could get the same effect by specifying this number in the layout parameters.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843093 (0x01010155)
hideOnContentScroll
int hideOnContentScroll
Set true to hide the action bar on a vertical nested scroll of content.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843843 (0x01010443)
hint
int hint
Hint text to display when the text is empty.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843088 (0x01010150)
homeAsUpIndicator
int homeAsUpIndicator
Specifies a drawable to use for the 'home as up' indicator.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843531 (0x0101030b)
homeLayout
int homeLayout
Specifies a layout to use for the "home" section of the action bar.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843549 (0x0101031d)
horizontalDivider
int horizontalDivider
Default horizontal divider between rows of menu items.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843053 (0x0101012d)
horizontalGap
int horizontalGap
Default horizontal gap between keys.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843327 (0x0101023f)
horizontalScrollViewStyle
int horizontalScrollViewStyle
Default HorizontalScrollView style.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843603 (0x01010353)
horizontalSpacing
int horizontalSpacing
Defines the default horizontal spacing between columns.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843028 (0x01010114)
host
int host
Specify a URI authority host that is handled, as per IntentFilter.addDataAuthority()
.
Note: host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, host names here should always use lower case letters.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842792 (0x01010028)
hotSpotX
int hotSpotX
X coordinate of the icon hot spot.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844055 (0x01010517)
hotSpotY
int hotSpotY
Y coordinate of the icon hot spot.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844056 (0x01010518)
hyphenationFrequency
int hyphenationFrequency
Frequency of automatic hyphenation.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | No hyphenation. |
normal | 1 | Less frequent hyphenation, useful for informal use cases, such as chat messages. |
full | 2 | Standard amount of hyphenation, useful for running text and for screens with limited space for text. |
Constant Value: 16843998 (0x010104de)
icon
int icon
A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.
The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842754 (0x01010002)
iconPreview
int iconPreview
The icon to show in the popup preview.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843337 (0x01010249)
iconifiedByDefault
int iconifiedByDefault
The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843514 (0x010102fa)
id
int id
Supply an identifier name for this view, to later retrieve it with View.findViewById()
or Activity.findViewById()
. This must be a resource reference; typically you set this using the @+
syntax to create a new ID resources. For example: android:id="@+id/my_id"
which allows you to later retrieve the view with findViewById(R.id.my_id)
.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842960 (0x010100d0)
ignoreGravity
int ignoreGravity
Indicates what view should not be affected by gravity.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843263 (0x010101ff)
imageButtonStyle
int imageButtonStyle
The style resource to use for an ImageButton.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842866 (0x01010072)
imageWellStyle
int imageWellStyle
The style resource to use for an ImageButton that is an image well.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842867 (0x01010073)
imeActionId
int imeActionId
Supply a value for EditorInfo.actionId
used when an input method is connected to the text view.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843366 (0x01010266)
imeActionLabel
int imeActionLabel
Supply a value for EditorInfo.actionLabel
used when an input method is connected to the text view.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843365 (0x01010265)
imeExtractEnterAnimation
int imeExtractEnterAnimation
Animation to use when showing the fullscreen extract UI after it had previously been hidden.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843368 (0x01010268)
imeExtractExitAnimation
int imeExtractExitAnimation
Animation to use when hiding the fullscreen extract UI after it had previously been shown.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843369 (0x01010269)
imeFullscreenBackground
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. This allows, for example, the candidate view to be hidden while in fullscreen mode without having the application show through behind it.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843308 (0x0101022c)
imeOptions
int imeOptions
Additional features you can enable in an IME associated with an editor to improve the integration with your application. The constants here correspond to those defined by imeOptions
.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
normal | 0x00000000 | There are no special semantics associated with this editor. |
actionUnspecified | 0x00000000 | There is no specific action associated with this editor, let the editor come up with its own if it can. Corresponds to IME_NULL . |
actionNone | 0x00000001 | This editor has no action associated with it. Corresponds to IME_ACTION_NONE . |
actionGo | 0x00000002 | The action key performs a "go" operation to take the user to the target of the text they typed. Typically used, for example, when entering a URL. Corresponds to IME_ACTION_GO . |
actionSearch | 0x00000003 | The action key performs a "search" operation, taking the user to the results of searching for the text the have typed (in whatever context is appropriate). Corresponds to IME_ACTION_SEARCH . |
actionSend | 0x00000004 | The action key performs a "send" operation, delivering the text to its target. This is typically used when composing a message. Corresponds to IME_ACTION_SEND . |
actionNext | 0x00000005 | The action key performs a "next" operation, taking the user to the next field that will accept text. Corresponds to IME_ACTION_NEXT . |
actionDone | 0x00000006 | The action key performs a "done" operation, closing the soft input method. Corresponds toIME_ACTION_DONE . |
actionPrevious | 0x00000007 | The action key performs a "previous" operation, taking the user to the previous field that will accept text. Corresponds to IME_ACTION_PREVIOUS . |
flagNoFullscreen | 0x2000000 | Used to request that the IME never go into fullscreen mode. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. Corresponds to |
flagNavigatePrevious | 0x4000000 | Like flagNavigateNext, but specifies there is something interesting that a backward navigation can focus on. If the user selects the IME's facility to backward navigate, this will show up in the application as an actionPrevious at InputConnection.performEditorAction(int) . Corresponds to |
flagNavigateNext | 0x8000000 | Used to specify that there is something interesting that a forward navigation can focus on. This is like using actionNext, except allows the IME to be multiline (with an enter key) as well as provide forward navigation. Note that some IMEs may not be able to do this, especially when running on a small screen where there is little space. In that case it does not need to present a UI for this option. Like actionNext, if the user selects the IME's facility to forward navigate, this will show up in the application atInputConnection.performEditorAction(int) . Corresponds to |
flagNoExtractUi | 0x10000000 | Used to specify that the IME does not need to show its extracted text UI. For input methods that may be fullscreen, often when in landscape mode, this allows them to be smaller and let part of the application be shown behind. Though there will likely be limited access to the application available from the user, it can make the experience of a (mostly) fullscreen IME less jarring. Note that when this flag is specified the IME may not be set up to be able to display text, so it should only be used in situations where this is not needed. Corresponds to |
flagNoAccessoryAction | 0x20000000 | Used in conjunction with a custom action, this indicates that the action should not be available as an accessory button when the input method is full-screen. Note that by setting this flag, there can be cases where the action is simply never available to the user. Setting this generally means that you think showing text being edited is more important than the action you have supplied. Corresponds to |
flagNoEnterAction | 0x40000000 | Used in conjunction with a custom action, this indicates that the action should not be available in-line as a replacement for the "enter" key. Typically this is because the action has such a significant impact or is not recoverable enough that accidentally hitting it should be avoided, such as sending a message. Note that TextView will automatically set this flag for you on multi-line text views. Corresponds to |
flagForceAscii | 0x80000000 | Used to request that the IME should be capable of inputting ASCII characters. The intention of this flag is to ensure that the user can type Roman alphabet characters in a TextView used for, typically, account ID or password input. It is expected that IMEs normally are able to input ASCII even without being told so (such IMEs already respect this flag in a sense), but there could be some cases they aren't when, for instance, only non-ASCII input languagaes like Arabic, Greek, Hebrew, Russian are enabled in the IME. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. However, it is strongly recommended for IME authors to respect this flag especially when their IME could end up with a state that has only non-ASCII input languages enabled. Corresponds to |
Constant Value: 16843364 (0x01010264)
imeSubtypeExtraValue
int imeSubtypeExtraValue
The extra value of the subtype. This string can be any string and will be passed to the IME when the framework calls the IME with the subtype.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843502 (0x010102ee)
imeSubtypeLocale
int imeSubtypeLocale
The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) and will be passed to the IME when the framework calls the IME with the subtype. This is also used by the framework to know the supported locales of the IME.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843500 (0x010102ec)
imeSubtypeMode
int imeSubtypeMode
The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this string will be passed to the IME when the framework calls the IME with the subtype. getLocale()
returns the value specified in this attribute.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843501 (0x010102ed)
immersive
int immersive
Flag declaring this activity to be 'immersive'; immersive activities should not be interrupted with other activities or notifications.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843456 (0x010102c0)
importantForAccessibility
int importantForAccessibility
Controls how this View is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen. Note: While not recommended, an accessibility service may decide to ignore this attribute and operate on all views in the view tree.
May be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | 0 | The system determines whether the view is important for accessibility - default (recommended). |
yes | 1 | The view is important for accessibility. |
no | 2 | The view is not important for accessibility. |
noHideDescendants | 4 | The view is not important for accessibility, nor are any of its descendant views. |
Constant Value: 16843690 (0x010103aa)
inAnimation
int inAnimation
Identifier for the animation to use when a view is shown.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843127 (0x01010177)
includeFontPadding
int includeFontPadding
Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly. (Normally true).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843103 (0x0101015f)
includeInGlobalSearch
int includeInGlobalSearch
If provided and true
, this searchable activity will be included in any global lists of search targets. The default value is false
. Optional attribute..
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843374 (0x0101026e)
indeterminate
int indeterminate
Allows to enable the indeterminate mode. In this mode the progress bar plays an infinite looping animation.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843065 (0x01010139)
indeterminateBehavior
int indeterminateBehavior
Defines how the indeterminate mode should behave when the progress reaches max.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
repeat | 1 | Progress starts over from 0. |
cycle | 2 | Progress keeps the current value and goes back to 0. |
Constant Value: 16843070 (0x0101013e)
indeterminateDrawable
int indeterminateDrawable
Drawable used for the indeterminate mode.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843067 (0x0101013b)
indeterminateDuration
int indeterminateDuration
Duration of the indeterminate animation.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843069 (0x0101013d)
indeterminateOnly
int indeterminateOnly
Restricts to ONLY indeterminate mode (state-keeping progress mode will not work).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843066 (0x0101013a)
indeterminateProgressStyle
int indeterminateProgressStyle
Specifies a style resource to use for an indeterminate progress spinner.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843544 (0x01010318)
indeterminateTint
int indeterminateTint
Tint to apply to the indeterminate progress indicator.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843881 (0x01010469)
indeterminateTintMode
int indeterminateTintMode
Blending mode used to apply the indeterminate progress indicator tint.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
src_over | 3 | The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
src_in | 5 | The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] |
src_atop | 9 | The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] |
multiply | 14 | Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] |
screen | 15 | [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
add | 16 | Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) |
Constant Value: 16843882 (0x0101046a)
indicatorEnd
int indicatorEnd
The end bound for an item's indicator. To specify a right bound specific to children, use childIndicatorEnd.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843730 (0x010103d2)
indicatorLeft
int indicatorLeft
The left bound for an item's indicator. To specify a left bound specific to children, use childIndicatorLeft.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843021 (0x0101010d)
indicatorRight
int indicatorRight
The right bound for an item's indicator. To specify a right bound specific to children, use childIndicatorRight.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843022 (0x0101010e)
indicatorStart
int indicatorStart
The start bound for an item's indicator. To specify a start bound specific to children, use childIndicatorStart.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843729 (0x010103d1)
inflatedId
int inflatedId
Overrides the id of the inflated View with this value.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842995 (0x010100f3)
initOrder
int initOrder
Specify the order in which content providers hosted by a process are instantiated when that process is created. Not needed unless you have providers with dependencies between each other, to make sure that they are created in the order needed by those dependencies. The value is a simple integer, with higher numbers being initialized first.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842778 (0x0101001a)
initialKeyguardLayout
int initialKeyguardLayout
A resource id of a layout.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843714 (0x010103c2)
initialLayout
int initialLayout
A resource id of a layout.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843345 (0x01010251)
innerRadius
int innerRadius
Inner radius of the ring. When defined, innerRadiusRatio is ignored.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843359 (0x0101025f)
innerRadiusRatio
int innerRadiusRatio
Inner radius of the ring expressed as a ratio of the ring's width. For instance, if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. This value is ignored if innerRadius is defined. Default value is 9.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843163 (0x0101019b)
inputMethod
int inputMethod
This constant was deprecated in API level 3.
Use inputType instead.
If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name).
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843112 (0x01010168)
inputType
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. The constants here correspond to those defined by InputType
. Generally you can select a single value, though some can be combined together as indicated. Setting this attribute to anything besides none also implies that the text is editable.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0x00000000 | There is no content type. The text is not editable. |
text | 0x00000001 | Just plain old text. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_NORMAL . |
textCapCharacters | 0x00001001 | Can be combined with text and its variations to request capitalization of all characters. Corresponds toTYPE_TEXT_FLAG_CAP_CHARACTERS . |
textCapWords | 0x00002001 | Can be combined with text and its variations to request capitalization of the first character of every word. Corresponds to TYPE_TEXT_FLAG_CAP_WORDS . |
textCapSentences | 0x00004001 | Can be combined with text and its variations to request capitalization of the first character of every sentence. Corresponds to TYPE_TEXT_FLAG_CAP_SENTENCES . |
textAutoCorrect | 0x00008001 | Can be combined with text and its variations to request auto-correction of text being input. Corresponds to TYPE_TEXT_FLAG_AUTO_CORRECT . |
textAutoComplete | 0x00010001 | Can be combined with text and its variations to specify that this field will be doing its own auto-completion and talking with the input method appropriately. Corresponds toTYPE_TEXT_FLAG_AUTO_COMPLETE . |
textMultiLine | 0x00020001 | Can be combined with text and its variations to allow multiple lines of text in the field. If this flag is not set, the text field will be constrained to a single line. Corresponds to TYPE_TEXT_FLAG_MULTI_LINE . |
textImeMultiLine | 0x00040001 | Can be combined with text and its variations to indicate that though the regular text view should not be multiple lines, the IME should provide multiple lines if it can. Corresponds toTYPE_TEXT_FLAG_IME_MULTI_LINE . |
textNoSuggestions | 0x00080001 | Can be combined with text and its variations to indicate that the IME should not show any dictionary-based word suggestions. Corresponds to TYPE_TEXT_FLAG_NO_SUGGESTIONS . |
textUri | 0x00000011 | Text that will be used as a URI. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_URI . |
textEmailAddress | 0x00000021 | Text that will be used as an e-mail address. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_EMAIL_ADDRESS . |
textEmailSubject | 0x00000031 | Text that is being supplied as the subject of an e-mail. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_EMAIL_SUBJECT . |
textShortMessage | 0x00000041 | Text that is the content of a short message. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_SHORT_MESSAGE . |
textLongMessage | 0x00000051 | Text that is the content of a long message. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_LONG_MESSAGE . |
textPersonName | 0x00000061 | Text that is the name of a person. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_PERSON_NAME . |
textPostalAddress | 0x00000071 | Text that is being supplied as a postal mailing address. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_POSTAL_ADDRESS . |
textPassword | 0x00000081 | Text that is a password. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_PASSWORD . |
textVisiblePassword | 0x00000091 | Text that is a password that should be visible. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_VISIBLE_PASSWORD . |
textWebEditText | 0x000000a1 | Text that is being supplied as text in a web form. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_WEB_EDIT_TEXT . |
textFilter | 0x000000b1 | Text that is filtering some other data. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_FILTER . |
textPhonetic | 0x000000c1 | Text that is for phonetic pronunciation, such as a phonetic name field in a contact entry. Corresponds toTYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_PHONETIC . |
textWebEmailAddress | 0x000000d1 | Text that will be used as an e-mail address on a web form. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS . |
textWebPassword | 0x000000e1 | Text that will be used as a password on a web form. Corresponds to TYPE_CLASS_TEXT |TYPE_TEXT_VARIATION_WEB_PASSWORD . |
number | 0x00000002 | A numeric only field. Corresponds to TYPE_CLASS_NUMBER | TYPE_NUMBER_VARIATION_NORMAL . |
numberSigned | 0x00001002 | Can be combined with number and its other options to allow a signed number. Corresponds toTYPE_CLASS_NUMBER | TYPE_NUMBER_FLAG_SIGNED . |
numberDecimal | 0x00002002 | Can be combined with number and its other options to allow a decimal (fractional) number. Corresponds to TYPE_CLASS_NUMBER | TYPE_NUMBER_FLAG_DECIMAL . |
numberPassword | 0x00000012 | A numeric password field. Corresponds to TYPE_CLASS_NUMBER | TYPE_NUMBER_VARIATION_PASSWORD . |
phone | 0x00000003 | For entering a phone number. Corresponds to TYPE_CLASS_PHONE . |
datetime | 0x00000004 | For entering a date and time. Corresponds to TYPE_CLASS_DATETIME | TYPE_DATETIME_VARIATION_NORMAL . |
date | 0x00000014 | For entering a date. Corresponds to TYPE_CLASS_DATETIME | TYPE_DATETIME_VARIATION_DATE . |
time | 0x00000024 | For entering a time. Corresponds to TYPE_CLASS_DATETIME | TYPE_DATETIME_VARIATION_TIME . |
Constant Value: 16843296 (0x01010220)
inset
int inset
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843957 (0x010104b5)
insetBottom
int insetBottom
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843194 (0x010101ba)
insetLeft
int insetLeft
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843191 (0x010101b7)
insetRight
int insetRight
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843192 (0x010101b8)
insetTop
int insetTop
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843193 (0x010101b9)
installLocation
int installLocation
The default install location defined by an application.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | 0 | Let the system decide ideal install location |
internalOnly | 1 | Explicitly request to be installed on internal phone storage only. |
preferExternal | 2 | Prefer to be installed on SD card. There is no guarantee that the system will honor this request. The application might end up being installed on internal storage if external media is unavailable or too full. |
Constant Value: 16843447 (0x010102b7)
interpolator
int interpolator
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843073 (0x01010141)
isAlwaysSyncable
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. Defaults to false.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843571 (0x01010333)
isAsciiCapable
int isAsciiCapable
Set to true if this subtype is ASCII capable. If the subtype is ASCII capable, it should guarantee that the user can input ASCII characters with this subtype. This is important because many password fields only allow ASCII-characters.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843753 (0x010103e9)
isAuxiliary
int isAuxiliary
Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the input method selection list in the settings app. InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it chooses a target subtype.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843647 (0x0101037f)
isDefault
int isDefault
Set to true in all of the configurations for which this input method should be considered an option as the default.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843297 (0x01010221)
isGame
int isGame
A boolean flag used to indicate if an application is a Game or not.
This information can be used by the system to group together applications that are classified as games, and display them separately from the other applications.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843764 (0x010103f4)
isIndicator
int isIndicator
Whether this rating bar is an indicator (and non-changeable by the user).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843079 (0x01010147)
isModifier
int isModifier
Whether this is a modifier key such as Alt or Shift.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843334 (0x01010246)
isRepeatable
int isRepeatable
Whether long-pressing on this key will make it repeat.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843336 (0x01010248)
isScrollContainer
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. If not set, the default value will be true if "scrollbars" has the vertical scrollbar set, else it will be false.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843342 (0x0101024e)
isSticky
int isSticky
Whether this is a toggle key.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843335 (0x01010247)
isolatedProcess
int isolatedProcess
If set to true, this service will run under a special process that is isolated from the rest of the system. The only communication with it is through the Service API (binding and starting).
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843689 (0x010103a9)
itemBackground
int itemBackground
Default background for each menu item.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
Constant Value: 16843056 (0x01010130)
itemIconDisabledAlpha
int itemIconDisabledAlpha
Default disabled icon alpha for each menu item that shows an icon.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843057 (0x01010131)
itemPadding
int itemPadding
Specifies padding that should be applied to the left and right sides of system-provided items in the bar.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843565 (0x0101032d)
itemTextAppearance
int itemTextAppearance
Default appearance of menu item text.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843052 (0x0101012c)
keepScreenOn
int keepScreenOn
Controls whether the view's window should keep the screen on while visible.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843286 (0x01010216)
key
int key
The key to store the Preference value.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843240 (0x010101e8)
keyBackground
int keyBackground
Image for the key. This image needs to be a StateListDrawable, with the following possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, checkable+checked+pressed.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843315 (0x01010233)
keyEdgeFlags
int keyEdgeFlags
Key edge flags.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
left | 1 | Key is anchored to the left of the keyboard. |
right | 2 | Key is anchored to the right of the keyboard. |
Constant Value: 16843333 (0x01010245)
keyHeight
int keyHeight
Default height of a key, in pixels or percentage of display 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), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843326 (0x0101023e)
keyIcon
int keyIcon
The icon to display on the key instead of the label.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843340 (0x0101024c)
keyLabel
int keyLabel
The label to display on the key.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843339 (0x0101024b)
keyOutputText
int keyOutputText
The string of characters to output when this key is pressed.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843338 (0x0101024a)
keyPreviewHeight
int keyPreviewHeight
Height of the key press feedback popup.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843321 (0x01010239)
keyPreviewLayout
int keyPreviewLayout
Layout resource for key press feedback.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843319 (0x01010237)
keyPreviewOffset
int keyPreviewOffset
Vertical offset of the key press feedback from the key.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843320 (0x01010238)
keySet
int keySet
Groups signing keys into a KeySet
for easier reference in other APIs. However, currently no APIs use this.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a 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, either "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), 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: 16843739 (0x010103db)
keyTextColor
int keyTextColor
Color to use for the label in a key.
Must be a color value, in the form of "#rgb
", "#argb
", "#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843318 (0x01010236)
keyTextSize
int keyTextSize
Size of the text for character keys.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843316 (0x01010234)
keyWidth
int keyWidth
Default width of a key, in pixels or percentage of display 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), mm (millimeters).
May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843325 (0x0101023d)
keyboardLayout
int keyboardLayout
The key character map file resource.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843691 (0x010103ab)
keyboardMode
int keyboardMode
Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the row will be skipped.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843341 (0x0101024d)
keycode
int keycode
This enum provides the same keycode values as can be found in KeyEvent
.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
KEYCODE_UNKNOWN | 0 | |
KEYCODE_SOFT_LEFT | 1 | |
KEYCODE_SOFT_RIGHT | 2 | |
KEYCODE_HOME | 3 | |
KEYCODE_BACK | 4 | |
KEYCODE_CALL | 5 | |
KEYCODE_ENDCALL | 6 | |
KEYCODE_0 | 7 | |
KEYCODE_1 | 8 | |
KEYCODE_2 | 9 | |
KEYCODE_3 | 10 | |
KEYCODE_4 | 11 | |
KEYCODE_5 | 12 | |
KEYCODE_6 | 13 | |
KEYCODE_7 | 14 | |
KEYCODE_8 | 15 | |
KEYCODE_9 | 16 | |
KEYCODE_STAR | 17 | |
KEYCODE_POUND | 18 | |
KEYCODE_DPAD_UP | 19 | |
KEYCODE_DPAD_DOWN | 20 | |
KEYCODE_DPAD_LEFT | 21 | |
KEYCODE_DPAD_RIGHT | 22 | |
KEYCODE_DPAD_CENTER | 23 | |
KEYCODE_VOLUME_UP | 24 | |
KEYCODE_VOLUME_DOWN | 25 | |
KEYCODE_POWER | 26 | |
KEYCODE_CAMERA | 27 | |
KEYCODE_CLEAR | 28 | |
KEYCODE_A | 29 | |
KEYCODE_B | 30 | |
KEYCODE_C | 31 | |
KEYCODE_D | 32 | |
KEYCODE_E | 33 | |
KEYCODE_F | 34 | |
KEYCODE_G | 35 | |
KEYCODE_H | 36 | |
KEYCODE_I | 37 | |
KEYCODE_J | 38 | |
KEYCODE_K | 39 | |
KEYCODE_L | 40 | |
KEYCODE_M | 41 | |
KEYCODE_N | 42 | |
KEYCODE_O | 43 | |
KEYCODE_P | 44 | |
KEYCODE_Q | 45 | |
KEYCODE_R | 46 | |
KEYCODE_S | 47 | |
KEYCODE_T | 48 | |
KEYCODE_U | 49 | |
KEYCODE_V | 50 | |
KEYCODE_W | 51 | |
KEYCODE_X | 52 | |
KEYCODE_Y | 53 | |
KEYCODE_Z | 54 | |
KEYCODE_COMMA | 55 | |
KEYCODE_PERIOD | 56 | |
KEYCODE_ALT_LEFT | 57 | |
KEYCODE_ALT_RIGHT | 58 | |
KEYCODE_SHIFT_LEFT | 59 | |
KEYCODE_SHIFT_RIGHT | 60 | |
KEYCODE_TAB | 61 | |
KEYCODE_SPACE | 62 | |
KEYCODE_SYM | 63 | |
KEYCODE_EXPLORER | 64 | |
KEYCODE_ENVELOPE | 65 | |
KEYCODE_ENTER | 66 | |
KEYCODE_DEL | 67 | |
KEYCODE_GRAVE | 68 | |
KEYCODE_MINUS | 69 | |
KEYCODE_EQUALS | 70 | |
KEYCODE_LEFT_BRACKET | 71 | |
KEYCODE_RIGHT_BRACKET | 72 | |
KEYCODE_BACKSLASH | 73 | |
KEYCODE_SEMICOLON | 74 | |
KEYCODE_APOSTROPHE | 75 | |
KEYCODE_SLASH | 76 | |
KEYCODE_AT | 77 | |
KEYCODE_NUM | 78 | |
KEYCODE_HEADSETHOOK | 79 | |
KEYCODE_FOCUS | 80 | |
KEYCODE_PLUS | 81 | |
KEYCODE_MENU | 82 | |
KEYCODE_NOTIFICATION | 83 | |
KEYCODE_SEARCH | 84 | |
KEYCODE_MEDIA_PLAY_PAUSE | 85 | |
KEYCODE_MEDIA_STOP | 86 | |
KEYCODE_MEDIA_NEXT | 87 | |
KEYCODE_MEDIA_PREVIOUS | 88 | |
KEYCODE_MEDIA_REWIND | 89 | |
KEYCODE_MEDIA_FAST_FORWARD | 90 | |
KEYCODE_MUTE | 91 | |
KEYCODE_PAGE_UP | 92 | |
KEYCODE_PAGE_DOWN | 93 | |
KEYCODE_PICTSYMBOLS | 94 | |
KEYCODE_SWITCH_CHARSET | 95 | |
KEYCODE_BUTTON_A | 96 | |
KEYCODE_BUTTON_B | 97 | |
KEYCODE_BUTTON_C | 98 | |
KEYCODE_BUTTON_X | 99 | |
KEYCODE_BUTTON_Y | 100 | |
KEYCODE_BUTTON_Z | 101 | |
KEYCODE_BUTTON_L1 | 102 | |
KEYCODE_BUTTON_R1 | 103 | |
KEYCODE_BUTTON_L2 | 104 | |
KEYCODE_BUTTON_R2 | 105 | |
KEYCODE_BUTTON_THUMBL | 106 | |
KEYCODE_BUTTON_THUMBR | 107 | |
KEYCODE_BUTTON_START | 108 | |
KEYCODE_BUTTON_SELECT | 109 | |
KEYCODE_BUTTON_MODE | 110 | |
KEYCODE_ESCAPE | 111 | |
KEYCODE_FORWARD_DEL | 112 | |
KEYCODE_CTRL_LEFT | 113 | |
KEYCODE_CTRL_RIGHT | 114 | |
KEYCODE_CAPS_LOCK | 115 | |
KEYCODE_SCROLL_LOCK | 116 | |
KEYCODE_META_LEFT | 117 | |
KEYCODE_META_RIGHT | 118 | |
KEYCODE_FUNCTION | 119 | |
KEYCODE_SYSRQ | 120 | |
KEYCODE_BREAK | 121 | |
KEYCODE_MOVE_HOME | 122 | |
KEYCODE_MOVE_END | 123 | |
KEYCODE_INSERT | 124 | |
KEYCODE_FORWARD | 125 | |
KEYCODE_MEDIA_PLAY | 126 | |
KEYCODE_MEDIA_PAUSE | 127 | |
KEYCODE_MEDIA_CLOSE | 128 | |
KEYCODE_MEDIA_EJECT | 129 | |
KEYCODE_MEDIA_RECORD | 130 | |
KEYCODE_F1 | 131 | |
KEYCODE_F2 | 132 | |
KEYCODE_F3 | 133 | |
KEYCODE_F4 | 134 | |
KEYCODE_F5 | 135 | |
KEYCODE_F6 | 136 | |
KEYCODE_F7 | 137 | |
KEYCODE_F8 | 138 | |
KEYCODE_F9 | 139 | |
KEYCODE_F10 | 140 | |
KEYCODE_F11 | 141 | |
KEYCODE_F12 | 142 | |
KEYCODE_NUM_LOCK | 143 | |
KEYCODE_NUMPAD_0 | 144 | |
KEYCODE_NUMPAD_1 | 145 | |
KEYCODE_NUMPAD_2 | 146 | |
KEYCODE_NUMPAD_3 | 147 | |
KEYCODE_NUMPAD_4 | 148 | |
KEYCODE_NUMPAD_5 | 149 | |
KEYCODE_NUMPAD_6 | 150 | |
KEYCODE_NUMPAD_7 | 151 | |
KEYCODE_NUMPAD_8 | 152 | |
KEYCODE_NUMPAD_9 | 153 | |
KEYCODE_NUMPAD_DIVIDE | 154 | |
KEYCODE_NUMPAD_MULTIPLY | 155 | |
KEYCODE_NUMPAD_SUBTRACT | 156 | |
KEYCODE_NUMPAD_ADD | 157 | |
KEYCODE_NUMPAD_DOT | 158 | |
KEYCODE_NUMPAD_COMMA | 159 | |
KEYCODE_NUMPAD_ENTER | 160 | |
KEYCODE_NUMPAD_EQUALS | 161 | |
KEYCODE_NUMPAD_LEFT_PAREN | 162 | |
KEYCODE_NUMPAD_RIGHT_PAREN | 163 | |
KEYCODE_VOLUME_MUTE | 164 | |
KEYCODE_INFO | 165 | |
KEYCODE_CHANNEL_UP | 166 | |
KEYCODE_CHANNEL_DOWN | 167 | |
KEYCODE_ZOOM_IN | 168 | |
KEYCODE_ZOOM_OUT | 169 | |
KEYCODE_TV | 170 | |
KEYCODE_WINDOW | 171 | |
KEYCODE_GUIDE | 172 | |
KEYCODE_DVR | 173 | |
KEYCODE_BOOKMARK | 174 | |
KEYCODE_CAPTIONS | 175 | |
KEYCODE_SETTINGS | 176 | |
KEYCODE_TV_POWER | 177 | |
KEYCODE_TV_INPUT | 178 | |
KEYCODE_STB_POWER | 179 | |
KEYCODE_STB_INPUT | 180 | |
KEYCODE_AVR_POWER | 181 | |
KEYCODE_AVR_INPUT | 182 | |
KEYCODE_PROG_GRED | 183 | |
KEYCODE_PROG_GREEN | 184 | |
KEYCODE_PROG_YELLOW | 185 | |
KEYCODE_PROG_BLUE | 186 | |
KEYCODE_APP_SWITCH | 187 | |
KEYCODE_BUTTON_1 | 188 | |
KEYCODE_BUTTON_2 | 189 | |
KEYCODE_BUTTON_3 | 190 | |
KEYCODE_BUTTON_4 | 191 | |
KEYCODE_BUTTON_5 | 192 | |
KEYCODE_BUTTON_6 | 193 | |
KEYCODE_BUTTON_7 | 194 | |
KEYCODE_BUTTON_8 | 195 | |
KEYCODE_BUTTON_9 | 196 | |
KEYCODE_BUTTON_10 | 197 | |
KEYCODE_BUTTON_11 | 198 | |
KEYCODE_BUTTON_12 | 199 | |
KEYCODE_BUTTON_13 | 200 | |
KEYCODE_BUTTON_14 | 201 | |
KEYCODE_BUTTON_15 | 202 | |
KEYCODE_BUTTON_16 | 203 | |
KEYCODE_LANGUAGE_SWITCH | 204 | |
KEYCODE_MANNER_MODE | 205 | |
KEYCODE_3D_MODE | 206 | |
KEYCODE_CONTACTS | 207 | |
KEYCODE_CALENDAR | 208 | |
KEYCODE_MUSIC | 209 | |
KEYCODE_CALCULATOR | 210 | |
KEYCODE_ZENKAKU_HANKAKU | 211 | |
KEYCODE_EISU | 212 | |
KEYCODE_MUHENKAN | 213 | |
KEYCODE_HENKAN | 214 | |
KEYCODE_KATAKANA_HIRAGANA | 215 | |
KEYCODE_YEN | 216 | |
KEYCODE_RO | 217 | |
KEYCODE_KANA | 218 | |
KEYCODE_ASSIST | 219 | |
KEYCODE_BRIGHTNESS_DOWN | 220 | |
KEYCODE_BRIGHTNESS_UP | 221 | |
KEYCODE_MEDIA_AUDIO_TRACK | 222 | |
KEYCODE_MEDIA_SLEEP | 223 | |
KEYCODE_MEDIA_WAKEUP | 224 | |
KEYCODE_PAIRING | 225 | |
KEYCODE_MEDIA_TOP_MENU | 226 | |
KEYCODE_11 | 227 | |
KEYCODE_12 | 228 | |
KEYCODE_LAST_CHANNEL | 229 | |
KEYCODE_TV_DATA_SERVICE | 230 | |
KEYCODE_VOICE_ASSIST | 231 | |
KEYCODE_TV_RADIO_SERVICE | 232 | |
KEYCODE_TV_TELETEXT | 233 | |
KEYCODE_TV_NUMBER_ENTRY | 234 | |
KEYCODE_TV_TERRESTRIAL_ANALOG | 235 | |
KEYCODE_TV_TERRESTRIAL_DIGITAL | 236 | |
KEYCODE_TV_SATELLITE | 237 | |
KEYCODE_TV_SATELLITE_BS | 238 | |
KEYCODE_TV_SATELLITE_CS | 239 | |
KEYCODE_TV_SATELLITE_SERVICE | 240 | |
KEYCODE_TV_NETWORK | 241 | |
KEYCODE_TV_ANTENNA_CABLE | 242 | |
KEYCODE_TV_INPUT_HDMI_1 | 243 | |
KEYCODE_TV_INPUT_HDMI_2 | 244 | |
KEYCODE_TV_INPUT_HDMI_3 | 245 | |
KEYCODE_TV_INPUT_HDMI_4 | 246 | |
KEYCODE_TV_INPUT_COMPOSITE_1 | 247 | |
KEYCODE_TV_INPUT_COMPOSITE_2 | 248 | |
KEYCODE_TV_INPUT_COMPONENT_1 | 249 | |
KEYCODE_TV_INPUT_COMPONENT_2 | 250 | |
KEYCODE_TV_INPUT_VGA_1 | 251 | |
KEYCODE_TV_AUDIO_DESCRIPTION | 252 | |
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP | 253 | |
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN | 254 | |
KEYCODE_TV_ZOOM_MODE | 255 | |
KEYCODE_TV_CONTENTS_MENU | 256 | |
KEYCODE_TV_MEDIA_CONTEXT_MENU | 257 | |
KEYCODE_TV_TIMER_PROGRAMMING | 258 | |
KEYCODE_HELP | 259 | |
KEYCODE_NAVIGATE_PREVIOUS | 260 | |
KEYCODE_NAVIGATE_NEXT | 261 | |
KEYCODE_NAVIGATE_IN | 262 | |
KEYCODE_NAVIGATE_OUT | 263 | |
KEYCODE_STEM_PRIMARY | 264 | |
KEYCODE_STEM_1 | 265 | |
KEYCODE_STEM_2 | 266 | |
KEYCODE_STEM_3 | 267 | |
KEYCODE_DPAD_UP_LEFT | 268 | |
KEYCODE_DPAD_DOWN_LEFT | 269 | |
KEYCODE_DPAD_UP_RIGHT | 270 | |
KEYCODE_DPAD_DOWN_RIGHT | 271 | |
KEYCODE_MEDIA_SKIP_FORWARD | 272 | |
KEYCODE_MEDIA_SKIP_BACKWARD | 273 | |
KEYCODE_MEDIA_STEP_FORWARD | 274 | |
KEYCODE_MEDIA_STEP_BACKWARD | 275 | |
KEYCODE_SOFT_SLEEP | 276 | |
KEYCODE_CUT | 277 | |
KEYCODE_COPY | 278 | |
KEYCODE_PASTE | 279 |
Constant Value: 16842949 (0x010100c5)
killAfterRestore
int killAfterRestore
Whether the application in question should be terminated after its settings have been restored during a full-system restore operation. Single-package restore operations will never cause the application to be shut down. Full-system restore operations typically only occur once, when the phone is first set up. Third-party applications will not usually need to use this attribute.
The default is true
, which means that after the application has finished processing its data during a full-system restore, it will be terminated.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843420 (0x0101029c)
label
int label
A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.
The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.
May be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
Constant Value: 16842753 (0x01010001)
labelFor
int labelFor
Specifies the id of a view for which this view serves as a label for accessibility purposes. For example, a TextView before an EditText in the UI usually specifies what infomation is contained in the EditText. Hence, the TextView is a label for the EditText.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843718 (0x010103c6)
labelTextSize
int labelTextSize
Size of the text for custom keys with some text and no icon.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843317 (0x01010235)
languageTag
int languageTag
The BCP-47 Language Tag of the subtype. This replaces InputMethod_Subtype_imeSubtypeLocale
.
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844040 (0x01010508)
largeHeap
int largeHeap
Request that your application's processes be created with a large Dalvik heap. This applies to all processes created for the application. It only applies to the first application loaded into a process; if using a sharedUserId to allow multiple applications to use a process, they all must use this option consistently or will get unpredictable results.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843610 (0x0101035a)
largeScreens
int largeScreens
Indicates whether the application supports larger screen form-factors. A large screen is defined as a screen that is significantly larger than a normal phone screen, and thus may require some special care on the application's part to make good use of it. An example would be a VGA normal densityscreen, though even larger screens are certainly possible. An application that does not support large screens will be placed as a postage stamp on such a screen, so that it retains the dimensions it was originally designed for.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843398 (0x01010286)
largestWidthLimitDp
int largestWidthLimitDp
Starting with HONEYCOMB_MR2
, this is the new way to specify the screens an application is compatible with. This attribute provides the maximum "smallest screen width" (as per the -swNNNdp resource configuration) that the application can work well on. If this value is smaller than the "smallest screen width" of the device it is running on, the application will be forced in to screen compatibility mode with no way for the user to turn it off. Currently the compatibility mode only emulates phone screens with a 320dp width, so compatibility mode is not applied if the value for largestWidthLimitDp is larger than 320.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843622 (0x01010366)
launchMode
int launchMode
Specify how an activity should be launched. See the Tasks and Back Stack document for important information on how these options impact the behavior of your application.
If this attribute is not specified, standard
launch mode will be used. Note that the particular launch behavior can be changed in some ways at runtime through the Intent
flags FLAG_ACTIVITY_SINGLE_TOP
, FLAG_ACTIVITY_NEW_TASK
, and FLAG_ACTIVITY_MULTIPLE_TASK
.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
standard | 0 | The default mode, which will usually create a new instance of the activity when it is started, though this behavior may change with the introduction of other options such as Intent.FLAG_ACTIVITY_NEW_TASK . |
singleTop | 1 | If, when starting the activity, there is already an instance of the same activity class in the foreground that is interacting with the user, then re-use that instance. This existing instance will receive a call to Activity.onNewIntent() with the new Intent that is being started. |
singleTask | 2 | If, when starting the activity, there is already a task running that starts with this activity, then instead of starting a new instance the current task is brought to the front. The existing instance will receive a call to Activity.onNewIntent() with the new Intent that is being started, and with the Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set. This is a superset of the singleTop mode, where if there is already an instance of the activity being started at the top of the stack, it will receive the Intent as described there (without the FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set). See theTasks and Back Stack document for more details about tasks. |
singleInstance | 3 | Only allow one instance of this activity to ever be running. This activity gets a unique task with only itself running in it; if it is ever launched again with the same Intent, then that task will be brought forward and its Activity.onNewIntent() method called. If this activity tries to start a new activity, that new activity will be launched in a separate task. See theTasks and Back Stack document for more details about tasks. |
Constant Value: 16842781 (0x0101001d)
launchTaskBehindSourceAnimation
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).
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843922 (0x01010492)
launchTaskBehindTargetAnimation
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).
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843921 (0x01010491)
layerType
int layerType
Specifies the type of layer backing this view. The default value is none. Refer to setLayerType(int, android.graphics.Paint)
for more information.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | Don't use a layer. |
software | 1 | Use a software layer. Refer to setLayerType(int, android.graphics.Paint) for more information. |
hardware | 2 | Use a hardware layer. Refer to setLayerType(int, android.graphics.Paint) for more information. |
Constant Value: 16843604 (0x01010354)
layout
int layout
Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842994 (0x010100f2)
layoutAnimation
int layoutAnimation
Defines the layout animation to use the first time the ViewGroup is laid out. Layout animations can also be started manually after the first layout.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16842988 (0x010100ec)
layoutDirection
int layoutDirection
Defines the direction of layout drawing. This typically is associated with writing direction of the language script used. The possible values are "ltr" for Left-to-Right, "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction used in "en-US". The default for this attribute is "inherit".
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
ltr | 0 | Left-to-Right |
rtl | 1 | Right-to-Left |
inherit | 2 | Inherit from parent |
locale | 3 | Locale |
Constant Value: 16843698 (0x010103b2)
layoutMode
int layoutMode
Defines the layout mode of this ViewGroup.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
clipBounds | 0 | Use the children's clip bounds when laying out this container. |
opticalBounds | 1 | Use the children's optical bounds when laying out this container. |
Constant Value: 16843738 (0x010103da)
layout_above
int layout_above
Positions the bottom edge of this view above the given anchor view ID. Accommodates bottom margin of this view and top margin of anchor view.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843140 (0x01010184)
layout_alignBaseline
int layout_alignBaseline
Positions the baseline of this view on the baseline of the given anchor view ID.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843142 (0x01010186)
layout_alignBottom
int layout_alignBottom
Makes the bottom edge of this view match the bottom edge of the given anchor view ID. Accommodates bottom margin.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843146 (0x0101018a)
layout_alignEnd
int layout_alignEnd
Makes the end edge of this view match the end edge of the given anchor view ID. Accommodates end margin.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843706 (0x010103ba)
layout_alignLeft
int layout_alignLeft
Makes the left edge of this view match the left edge of the given anchor view ID. Accommodates left margin.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843143 (0x01010187)
layout_alignParentBottom
int layout_alignParentBottom
If true, makes the bottom edge of this view match the bottom edge of the parent. Accommodates bottom margin.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843150 (0x0101018e)
layout_alignParentEnd
int layout_alignParentEnd
If true, makes the end edge of this view match the end edge of the parent. Accommodates end margin.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843708 (0x010103bc)
layout_alignParentLeft
int layout_alignParentLeft
If true, makes the left edge of this view match the left edge of the parent. Accommodates left margin.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843147 (0x0101018b)
layout_alignParentRight
int layout_alignParentRight
If true, makes the right edge of this view match the right edge of the parent. Accommodates right margin.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843149 (0x0101018d)
layout_alignParentStart
int layout_alignParentStart
If true, makes the start edge of this view match the start edge of the parent. Accommodates start margin.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843707 (0x010103bb)
layout_alignParentTop
int layout_alignParentTop
If true, makes the top edge of this view match the top edge of the parent. Accommodates top margin.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843148 (0x0101018c)
layout_alignRight
int layout_alignRight
Makes the right edge of this view match the right edge of the given anchor view ID. Accommodates right margin.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843145 (0x01010189)
layout_alignStart
int layout_alignStart
Makes the start edge of this view match the start edge of the given anchor view ID. Accommodates start margin.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843705 (0x010103b9)
layout_alignTop
int layout_alignTop
Makes the top edge of this view match the top edge of the given anchor view ID. Accommodates top margin.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843144 (0x01010188)
layout_alignWithParentIfMissing
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.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843154 (0x01010192)
layout_below
int layout_below
Positions the top edge of this view below the given anchor view ID. Accommodates top margin of this view and bottom margin of anchor view.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843141 (0x01010185)
layout_centerHorizontal
int layout_centerHorizontal
If true, centers this child horizontally within its parent.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843152 (0x01010190)
layout_centerInParent
int layout_centerInParent
If true, centers this child horizontally and vertically within its parent.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843151 (0x0101018f)
layout_centerVertical
int layout_centerVertical
If true, centers this child vertically within its parent.
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843153 (0x01010191)
layout_column
int layout_column
The index of the column in which this child should be.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843084 (0x0101014c)
layout_columnSpan
int layout_columnSpan
The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view. The default is one. SeeGridLayout.Spec
.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843645 (0x0101037d)
layout_columnWeight
int layout_columnWeight
The relative proportion of horizontal space that should be allocated to this view during excess space distribution.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843865 (0x01010459)
layout_gravity
int layout_gravity
Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
top | 0x30 | Push object to the top of its container, not changing its size. |
bottom | 0x50 | Push object to the bottom of its container, not changing its size. |
left | 0x03 | Push object to the left of its container, not changing its size. |
right | 0x05 | Push object to the right of its container, not changing its size. |
center_vertical | 0x10 | Place object in the vertical center of its container, not changing its size. |
fill_vertical | 0x70 | Grow the vertical size of the object if needed so it completely fills its container. |
center_horizontal | 0x01 | Place object in the horizontal center of its container, not changing its size. |
fill_horizontal | 0x07 | Grow the horizontal size of the object if needed so it completely fills its container. |
center | 0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
fill | 0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
clip_vertical | 0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
clip_horizontal | 0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
start | 0x00800003 | Push object to the beginning of its container, not changing its size. |
end | 0x00800005 | Push object to the end of its container, not changing its size. |
Constant Value: 16842931 (0x010100b3)
layout_height
int layout_height
Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by match_parent . |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
wrap_content | -2 | The view should be only big enough to enclose its content (plus padding). |
Constant Value: 16842997 (0x010100f5)
layout_margin
int layout_margin
Specifies extra space on the left, top, right and bottom sides of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842998 (0x010100f6)
layout_marginBottom
int layout_marginBottom
Specifies extra space on the bottom side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843002 (0x010100fa)
layout_marginEnd
int layout_marginEnd
Specifies extra space on the end side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843702 (0x010103b6)
layout_marginLeft
int layout_marginLeft
Specifies extra space on the left side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16842999 (0x010100f7)
layout_marginRight
int layout_marginRight
Specifies extra space on the right side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843001 (0x010100f9)
layout_marginStart
int layout_marginStart
Specifies extra space on the start side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843701 (0x010103b5)
layout_marginTop
int layout_marginTop
Specifies extra space on the top side of this view. This space is outside this view's bounds. Margin values should be positive.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843000 (0x010100f8)
layout_row
int layout_row
The row boundary delimiting the top of the group of cells occupied by this view.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843643 (0x0101037b)
layout_rowSpan
int layout_rowSpan
The row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view. The default is one. SeeGridLayout.Spec
.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843644 (0x0101037c)
layout_rowWeight
int layout_rowWeight
The relative proportion of vertical space that should be allocated to this view during excess space distribution.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843864 (0x01010458)
layout_scale
int layout_scale
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843155 (0x01010193)
layout_span
int layout_span
Defines how many columns this child should span. Must be >= 1.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843085 (0x0101014d)
layout_toEndOf
int layout_toEndOf
Positions the start edge of this view to the end of the given anchor view ID. Accommodates start margin of this view and end margin of anchor view.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843704 (0x010103b8)
layout_toLeftOf
int layout_toLeftOf
Positions the right edge of this view to the left of the given anchor view ID. Accommodates right margin of this view and left margin of anchor view.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843138 (0x01010182)
layout_toRightOf
int layout_toRightOf
Positions the left edge of this view to the right of the given anchor view ID. Accommodates left margin of this view and right margin of anchor view.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843139 (0x01010183)
layout_toStartOf
int layout_toStartOf
Positions the end edge of this view to the start of the given anchor view ID. Accommodates end margin of this view and start margin of anchor view.
Must be a reference to another resource, in the form "@[+][package:]type:name
" or to a theme attribute in the form "?[package:][type:]name
".
Constant Value: 16843703 (0x010103b7)
layout_weight
int layout_weight
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843137 (0x01010181)
layout_width
int layout_width
Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
fill_parent | -1 | The view should be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by match_parent . |
match_parent | -1 | The view should be as big as its parent (minus padding). Introduced in API Level 8. |
wrap_content | -2 | The view should be only big enough to enclose its content (plus padding). |
Constant Value: 16842996 (0x010100f4)
layout_x
int layout_x
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843135 (0x0101017f)
layout_y
int layout_y
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843136 (0x01010180)
left
int left
Amount of left padding inside the gradient shape.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843181 (0x010101ad)
letterSpacing
int letterSpacing
Text letter-spacing.
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843958 (0x010104b6)
level
int level
Specifies the initial drawable level in the range 0 to 10000.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16844032 (0x01010500)
lineSpacingExtra
int lineSpacingExtra
Extra spacing between lines of text.
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).
This may also be a reference to a resource (in the form "@[package:]type:name
") or theme attribute (in the form "?[package:][type:]name
") containing a value of this type.
Constant Value: 16843287 (0x01010217)