Skip to content

Most visited

Recently visited

navigation
Added in API level 1

R.attr

public static final class R.attr
extends Object

java.lang.Object
   ↳ android.R.attr


Summary

Constants

int absListViewStyle

Default AbsListView style.

int accessibilityEventTypes

The event types this serivce would like to receive as specified in AccessibilityEvent.

int accessibilityFeedbackType

The feedback types this serivce provides as specified in AccessibilityServiceInfo.

int accessibilityFlags

Additional flags as specified in AccessibilityServiceInfo.

int accessibilityLiveRegion

Indicates to accessibility services whether the user should be notified when this view changes.

int accessibilityTraversalAfter

Sets the id of a view after which this one is visited in accessibility traversal.

int accessibilityTraversalBefore

Sets the id of a view before which this one is visited in accessibility traversal.

int accountPreferences

A preferences.xml file for authenticator-specific settings.

int accountType

The account type this authenticator handles.

int action

The action name to assign to the Intent, as per Intent.setAction().

int actionBarDivider

Custom divider drawable to use for elements in the action bar.

int actionBarItemBackground

Custom item state list drawable background for action bar items.

int actionBarPopupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the action bar.

int actionBarSize

Size of the Action Bar, including the contextual bar used to present Action Modes.

int actionBarSplitStyle

Reference to a style for the split Action Bar.

int actionBarStyle

Reference to a style for the Action Bar

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

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".

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".

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".

int actionBarTheme

Reference to a theme that should be used to inflate the action bar.

int actionBarWidgetTheme

Reference to a theme that should be used to inflate widgets and layouts destined for the action bar.

int actionButtonStyle

Default action button style.

int actionDropDownStyle

Default ActionBar dropdown style.

int actionLayout

An optional layout to be used as an action view.

int actionMenuTextAppearance

TextAppearance style that will be applied to text that appears within action menu items.

int actionMenuTextColor

Color for text that appears within action menu items.

int actionModeBackground

Background drawable to use for action mode UI

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

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".

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".

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".

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".

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".

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".

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".

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".

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".

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".

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".

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".

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".

int actionProviderClass

The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item.

int actionViewClass

The name of an optional View class to instantiate and use as an action view.

int activatedBackgroundIndicator

Drawable used as a background for activated items.

int activityCloseEnterAnimation

When closing the current activity, this is the animation that is run on the next activity (which is entering the screen).

int activityCloseExitAnimation

When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen).

int activityOpenEnterAnimation

When opening a new activity, this is the animation that is run on the next activity (which is entering the screen).

int activityOpenExitAnimation

When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen).

int addPrintersActivity

Fully qualified class name of an activity that allows the user to manually add printers to this print service.

int addStatesFromChildren

Sets whether this ViewGroup's drawable states also include its children's drawable states.

int adjustViewBounds

Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.

int advancedPrintOptionsActivity

Fully qualified class name of an activity with advanced print options specific to this print service.

int alertDialogIcon

Icon drawable to use for alerts

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

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".

int alertDialogTheme

Theme to use for alert dialogs spawned from this theme.

int alignmentMode

Alignment constants.

int allContactsName

Resource representing the term "All Contacts" (e.g.

int allowBackup

Whether to allow the application to participate in the backup and restore infrastructure.

int allowClearUserData

Option to let applications specify that user data can/cannot be cleared.

int allowEmbedded

Indicate that the activity can be launched as the embedded child of another activity.

int allowParallelSyncs

Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority.

int allowSingleTap

Indicates whether the drawer can be opened/closed by a single tap on the handle.

int allowTaskReparenting

Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate.

int allowUndo

Whether undo should be allowed for editable text.

int alpha

alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).

int alphabeticShortcut

The alphabetic shortcut key.

int alwaysDrawnWithCache

Defines whether the ViewGroup should always draw its children using their drawing cache or not.

int alwaysRetainTaskState

Specify whether an 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.

int amPmBackgroundColor

This constant was deprecated in API level 23. Use headerBackground instead.

int amPmTextColor

This constant was deprecated in API level 23. Use headerTextColor instead.

int ambientShadowAlpha

Alpha value of the ambient shadow projected by elevated views, between 0 and 1.

int angle

Angle of the gradient.

int animateFirstView

Defines whether to animate the current View when the ViewAnimation is first displayed.

int animateLayoutChanges

Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run.

int animateOnClick

Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle.

int animation

Animation to use on each child.

int animationCache

Defines whether layout animations should create a drawing cache for their children.

int animationDuration

Sets how long a transition animation should run (in milliseconds) when layout has changed.

int animationOrder

The order in which the animations will be started.

int animationResolution

This constant was deprecated in API level 16. Not used by the framework. Timeout between frames of animation in milliseconds

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.

int antialias

Enables or disables antialiasing.

int anyDensity

Indicates whether the application can accommodate any screen density.

int apduServiceBanner

A drawable that can be rendered in Android's system UI for representing the service.

int apiKey

Value is a string that specifies the Maps API Key to use.

int author

Name of the author of this component, e.g.

int authorities

Specify the authorities under which this content provider can be found.

int autoAdvanceViewId

The view id of the AppWidget subview which should be auto-advanced.

int autoCompleteTextViewStyle

Default AutoCompleteTextView style.

int autoLink

Controls whether links such as urls and email addresses are automatically found and converted to clickable links.

int autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

int autoRemoveFromRecents

Tasks launched by activities with this attribute will remain in the recent tasks list until the last activity in the task is completed.

int autoStart

When true, automatically start animating

Must be a boolean value, either "true" or "false".

int autoText

This constant was deprecated in API level 3. Use inputType instead.

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).

int autoVerify

Specify whether an activity intent filter will need to be verified thru its set of data URIs.

int background

A drawable to use as the background.

int backgroundDimAmount

Default background dim amount when a menu, dialog, or something similar pops up.

int backgroundDimEnabled

Control whether dimming behind the window is enabled.

int backgroundSplit

Specifies a background drawable for the bottom component of a split action bar.

int backgroundStacked

Specifies a background drawable for a second stacked row of the action bar.

int backgroundTint

Tint to apply to the background.

int backgroundTintMode

Blending mode used to apply the background tint.

int backupAgent

The name of the class subclassing BackupAgent to manage backup and restore of the application's data on external storage.

int backupInForeground

Indicates that full-data backup operations for this application may be performed even if the application is in a foreground-equivalent state.

int banner

A Drawable resource providing an extended graphical banner for its associated item.

int baseline

The offset of the baseline within this view.

int baselineAlignBottom

If true, the image view will be baseline aligned with based on its bottom edge.

int baselineAligned

When set to false, prevents the layout from aligning its children's baselines.

int baselineAlignedChildIndex

When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (that is, which child TextView).

int bitmap

Drawable to use as the icon bitmap.

int borderlessButtonStyle

Style for buttons without an explicit border, often used in groups.

int bottom

Amount of bottom padding inside the gradient shape.

int bottomBright

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

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".

int bottomLeftRadius

Radius of the bottom left corner.

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".

int bottomOffset

Extra offset for the handle at the bottom of the SlidingDrawer.

int bottomRightRadius

Radius of the bottom right corner.

int breadCrumbShortTitle

The short title for the bread crumb of this item.

int breadCrumbTitle

The title for the bread crumb of this item.

int breakStrategy

Break strategy (control over paragraph layout).

int bufferType

Determines the minimum type that getText() will return.

int button

Drawable used for the button graphic (e.g.

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".

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".

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".

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".

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".

int buttonGravity

Must be one or more (separated by '|') of the following constant values.

int buttonStyle

Normal Button style.

int buttonStyleInset

Button style to inset into an EditText.

int buttonStyleSmall

Small Button style.

int buttonStyleToggle

ToggleButton style.

int buttonTint

Tint to apply to the button graphic.

int buttonTintMode

Blending mode used to apply the button graphic tint.

int cacheColorHint

Indicates that this list will always be drawn on top of solid, single-color opaque background.

int calendarTextColor

The text color list of the calendar.

int calendarViewShown

Whether the calendar view is shown.

int calendarViewStyle

The CalendarView style.

int canControlMagnification

Attribute whether the accessibility service wants to be able to control display magnification.

int canPerformGestures

Attribute whether the accessibility service wants to be able to perform gestures.

int canRecord

Attribute whether the TV input service can record programs.

int canRequestEnhancedWebAccessibility

Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements.

int canRequestFilterKeyEvents

Attribute whether the accessibility service wants to be able to request to filter key events.

int canRequestTouchExplorationMode

Attribute whether the accessibility service wants to be able to request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures.

int canRetrieveWindowContent

Attribute whether the accessibility service wants to be able to retrieve the active window content.

int candidatesTextStyleSpans

A styled string, specifying the style to be used for showing inline candidate text when composing with an input method.

int capitalize

This constant was deprecated in API level 3. Use inputType instead.

int category

The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly.

int centerBright

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int centerColor

Optional center color.

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".

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".

int centerX

X coordinate of the origin of the gradient within the shape.

int centerY

Y coordinate of the origin of the gradient within the shape.

int checkBoxPreferenceStyle

Default style for CheckBoxPreference.

int checkMark

Drawable used for the check mark graphic.

int checkMarkTint

Tint to apply to the check mark.

int checkMarkTintMode

Blending mode used to apply the check mark tint.

int checkable

Whether the item is capable of displaying a check mark.

int checkableBehavior

Whether the items are capable of displaying a check mark.

int checkboxStyle

Default Checkbox style.

int checked

Indicates the initial checked state of this button.

int checkedButton

The id of the child radio button that should be checked by default within this radio group.

int checkedTextViewStyle

Default CheckedTextView style.

int childDivider

Drawable or color that is used as a divider for children.

int childIndicator

Indicator shown beside the child View.

int childIndicatorEnd

The end bound for a child's indicator.

int childIndicatorLeft

The left bound for a child's indicator.

int childIndicatorRight

The right bound for a child's indicator.

int childIndicatorStart

The start bound for a child's indicator.

int choiceMode

Defines the choice behavior for the view.

int clearTaskOnLaunch

Specify whether an activity's task should be cleared when it is re-launched from the home screen.

int clickable

Defines whether this view reacts to click events.

int clipChildren

Defines whether a child is limited to draw inside of its bounds or not.

int clipOrientation

The orientation for the clip.

int clipToPadding

Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero.

int closeIcon

Close button icon

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int codes

The unicode value or comma-separated values that this key outputs.

int collapseColumns

The zero-based index of the columns to collapse.

int collapseContentDescription

Text to set as the content description for the collapse button.

int collapseIcon

Icon drawable to use for the collapse button.

int color

Solid color for the gradient shape.

int colorAccent

Bright complement to the primary branding color.

int colorActivatedHighlight

Default highlight color for items that are activated.

int colorBackground

Default color of background imagery, ex.

int colorBackgroundCacheHint

This is a hint for a solid color that can be used for caching rendered views.

int colorBackgroundFloating

Default color of background imagery for floating components, ex.

int colorButtonNormal

The color applied to framework buttons in their normal state.

int colorControlActivated

The color applied to framework controls in their activated (ex.

int colorControlHighlight

The color applied to framework control highlights (ex.

int colorControlNormal

The color applied to framework controls in their normal state.

int colorEdgeEffect

The color applied to the edge effect on scrolling containers.

int colorFocusedHighlight

Default highlight color for items that are focused.

int colorForeground

Default color of foreground imagery.

int colorForegroundInverse

Default color of foreground imagery on an inverted background.

int colorLongPressedHighlight

Default highlight color for items that are long-pressed.

int colorMultiSelectHighlight

Default highlight color for items in multiple selection mode.

int colorPressedHighlight

Default highlight color for items that are pressed.

int colorPrimary

The primary branding color for the app.

int colorPrimaryDark

Dark variant of the primary branding color.

int columnCount

The maxmimum number of columns to create when automatically positioning children.

int columnDelay

Fraction of the animation duration used to delay the beginning of the animation of each column.

int columnOrderPreserved

When set to true, forces column boundaries to appear in the same order as column indices.

int columnWidth

Specifies the fixed width for each column.

int commitIcon

Commit icon shown in the query suggestion row

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int compatibleWidthLimitDp

Starting with HONEYCOMB_MR2, this is the new way to specify the largest screens an application is compatible with.

int completionHint

Defines the hint displayed in the drop down menu.

int completionHintView

Defines the hint view displayed in the drop down menu.

int completionThreshold

Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu.

int configChanges

Specify one or more configuration changes that the activity will handle itself.

int configure

A class name in the AppWidget's package to be launched to configure.

int constantSize

If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states.

int content

Identifier for the child that represents the drawer's content.

int contentAgeHint

The age associated with the content rating.

int contentAuthority

the authority of a content provider.

int contentDescription

Defines text that briefly describes content of the view.

int contentInsetEnd

Minimum inset for content views within a bar.

int contentInsetEndWithActions

Minimum inset for content views within a bar when actions from a menu are present.

int contentInsetLeft

Minimum inset for content views within a bar.

int contentInsetRight

Minimum inset for content views within a bar.

int contentInsetStart

Minimum inset for content views within a bar.

int contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button.

int contextClickable

Defines whether this view reacts to context click events.

int contextPopupMenuStyle

Default context menu PopupMenu style.

int controlX1

The x coordinate of the first control point of the cubic Bezier

Must be a floating point value, such as "1.2".

int controlX2

The x coordinate of the second control point of the cubic Bezier

Must be a floating point value, such as "1.2".

int controlY1

The y coordinate of the first control point of the cubic Bezier

Must be a floating point value, such as "1.2".

int controlY2

The y coordinate of the second control point of the cubic Bezier

Must be a floating point value, such as "1.2".

int countDown

Specifies whether this Chronometer counts down or counts up from the base.

int country

The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard.

int cropToPadding

If true, the image will be cropped to fit within its padding.

int cursorVisible

Makes the cursor visible (the default) or invisible.

int customNavigationLayout

Specifies a layout for custom navigation.

int customTokens

Account handles its own token storage and permissions.

int cycles

Must be a floating point value, such as "1.2".

int dashGap

Gap between dashes in the stroke.

int dashWidth

Length of a dash in the stroke.

int data

The data URI to assign to the Intent, as per Intent.setData().

int datePickerDialogTheme

The DatePicker dialog theme.

int datePickerMode

Defines the look of the widget.

int datePickerStyle

The DatePicker style.

int dateTextAppearance

The text appearance for the day numbers in the calendar grid.

int dayOfWeekBackground

This constant was deprecated in API level 23. No longer displayed.

int dayOfWeekTextAppearance

This constant was deprecated in API level 23. No longer displayed.

int debuggable

Flag indicating whether the application can be debugged, even when running on a device that is running in user mode.

int defaultHeight

Default height of the activity.

int defaultToDeviceProtectedStorage

Must be a boolean value, either "true" or "false".

int defaultValue

The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.

int defaultWidth

Default width of the activity.

int delay

Fraction of the animation duration used to delay the beginning of the animation of each child.

int dependency

The key of another Preference that this Preference will depend on.

int descendantFocusability

Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.

int description

Descriptive text for the associated data.

int detachWallpaper

Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it.

int detailColumn

Column in data table that contains details for this data.

int detailSocialSummary

Flag indicating that detail should be built from SocialProvider.

int detailsElementBackground

Background that can be used behind parts of a UI that provide details on data the user is selecting.

int dial

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int dialogIcon

The icon for the dialog.

int dialogLayout

A layout to be used as the content View for the dialog.

int dialogMessage

The message in the dialog.

int dialogPreferenceStyle

Default style for DialogPreference.

int dialogPreferredPadding

Preferred padding for dialog content.

int dialogTheme

Theme to use for dialogs spawned from this theme.

int dialogTitle

The title in the dialog.

int digits

If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept.

int directBootAware

Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

int direction

Direction of the animation in the grid.

int directionDescriptions

This constant was deprecated in API level 23. Removed. Reference to an array resource that be used to announce the directions with targets around the circle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int directionPriority

Priority of the rows and columns.

int disableDependentsState

The state (true for on, or false for off) that causes dependents to be disabled.

int disabledAlpha

Default disabled alpha for widgets that set enabled/disabled alpha programmatically.

int displayOptions

Options affecting how the action bar is displayed.

int dither

Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).

int divider

Drawable or color to draw between list items.

int dividerHeight

Height of the divider.

int dividerHorizontal

Drawable to use for generic horizontal dividers.

int dividerPadding

Size of padding on either end of a divider.

int dividerVertical

Drawable to use for generic vertical dividers.

int documentLaunchMode

This attribute specifies that an activity shall become the root activity of a new task each time it is launched.

int drawSelectorOnTop

When set to true, the selector will be drawn over the selected item.

int drawable

Reference to a drawable resource to use for the frame.

int drawableBottom

The drawable to be drawn below the text.

int drawableEnd

The drawable to be drawn to the end of the text.

int drawableLeft

The drawable to be drawn to the left of the text.

int drawablePadding

The padding between the drawables and the text.

int drawableRight

The drawable to be drawn to the right of the text.

int drawableStart

The drawable to be drawn to the start of the text.

int drawableTint

Tint to apply to the compound (left, top, etc.) drawables.

int drawableTintMode

Blending mode used to apply the compound (left, top, etc.) drawables tint.

int drawableTop

The drawable to be drawn above the text.

int drawingCacheQuality

Defines the quality of translucent drawing caches.

int dropDownAnchor

View to anchor the auto-complete dropdown to.

int dropDownHeight

Specifies the basic height of the dropdown.

int dropDownHintAppearance

Default style for drop down hints.

int dropDownHorizontalOffset

Amount of pixels by which the drop down should be offset horizontally.

int dropDownItemStyle

Default style for drop down items.

int dropDownListViewStyle

Default ListView style for drop downs.

int dropDownSelector

Selector in a drop down list.

int dropDownSpinnerStyle

Default dropdown Spinner style.

int dropDownVerticalOffset

Amount of pixels by which the drop down should be offset vertically.

int dropDownWidth

Specifies the basic width of the dropdown.

int duplicateParentState

When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.

int duration

Amount of time (in milliseconds) to display this frame.

int editTextBackground

EditText background drawable.

int editTextColor

EditText text foreground color.

int editTextPreferenceStyle

Default style for EditTextPreference.

int editTextStyle

Default EditText style.

int editable

This constant was deprecated in API level 3. Use inputType instead.

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.

int elegantTextHeight

Elegant text height, especially for less compacted complex script text.

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".

int ellipsize

Where to ellipsize text.

int ems

Makes the TextView be exactly this many ems wide.

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.

int enabled

Specifies whether the widget is enabled.

int end

End inset to apply to the layer.

int endColor

End color of the gradient.

int endX

X coordinate of the end point origin of the gradient.

int endY

Y coordinate of the end point of the gradient within the shape.

int endYear

This constant was deprecated in API level 16. Use maxDate instead.Use maxDate instead.

int enterFadeDuration

Amount of time (in milliseconds) to fade in a new state drawable.

int entries

Reference to an array resource that will populate a list/adapter.

int entryValues

The array to find the value to save for a preference when an entry from entries is selected.

int eventsInterceptionEnabled

Defines whether the overlay should intercept the motion events when a gesture is recognized.

int excludeClass

The fully-qualified name of the Class to exclude from this transition.

int excludeFromRecents

Indicates that an Activity should be excluded from the list of recently launched activities.

int excludeId

The id of a target to exclude from this transition.

int excludeName

The transitionName of the target to exclude from this transition.

int exitFadeDuration

Amount of time (in milliseconds) to fade out an old state drawable.

int expandableListPreferredChildIndicatorLeft

The preferred left bound for an expandable list child's indicator.

int expandableListPreferredChildIndicatorRight

The preferred right bound for an expandable list child's indicator.

int expandableListPreferredChildPaddingLeft

The preferred left padding for an expandable list item that is a child.

int expandableListPreferredItemIndicatorLeft

The preferred left bound for an expandable list item's indicator.

int expandableListPreferredItemIndicatorRight

The preferred right bound for an expandable list item's indicator.

int expandableListPreferredItemPaddingLeft

The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft).

int expandableListViewStyle

Default ExpandableListView style.

int expandableListViewWhiteStyle

ExpandableListView with white background.

int exported

Flag indicating whether the given application component is available to other applications.

int externalService

If the service is an isolatedProcess service, this permits a client to bind to the service as if it were running it its own package.

int extraTension

This is the amount by which to multiply the tension.

int extractNativeLibs

When set installer will extract native libraries.

int factor

This is the amount of deceleration to add when easing in.

int fadeDuration

Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture.

int fadeEnabled

Defines whether the gesture will automatically fade out after being recognized.

int fadeOffset

Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it.

int fadeScrollbars

Defines whether to fade out scrollbars when they are not in use.

int fadingEdge

This attribute is deprecated and will be ignored as of API level 14 (ICE_CREAM_SANDWICH).

int fadingEdgeLength

Defines the length of the fading edges.

int fadingMode

Equivalent to transitionVisibilityMode, fadingMode works only with the Fade transition.

int fastScrollAlwaysVisible

When set to true, the list will always show the fast scroll interface.

int fastScrollEnabled

Enables the fast scroll thumb that can be dragged to quickly scroll through the list.

int fastScrollOverlayPosition

Position of the fast scroll index overlay window.

int fastScrollPreviewBackgroundLeft

Drawable to use as the fast scroll index preview window background when shown on the left.

int fastScrollPreviewBackgroundRight

Drawable to use as the fast scroll index preview window background when shown on the right.

int fastScrollStyle

Specifies the style of the fast scroll decorations.

int fastScrollTextColor

Text color for the fast scroll index overlay.

int fastScrollThumbDrawable

Drawable to use as the fast scroll thumb.

int fastScrollTrackDrawable

Drawable to use as the track for the fast scroll thumb.

int fillAfter

When set to true, the animation transformation is applied after the animation is over.

int fillAlpha

The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque)

Must be a floating point value, such as "1.2".

int fillBefore

When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started.

int fillColor

The color to fill the path if not defined implies no fill

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

int fillEnabled

When set to true, the value of fillBefore is taken into account.

int fillType

sets the fillType for a path.

int fillViewport

Defines whether the scrollview should stretch its content to fill the viewport.

int filter

Enables or disables bitmap filtering.

int filterTouchesWhenObscured

Specifies whether to filter touches when the view's window is obscured by another visible window.

int fingerprintAuthDrawable

Icon that should be used to indicate that an app is waiting for a fingerprint scan.

int finishOnCloseSystemDialogs

Specify whether an activity should be finished when a "close system windows" request has been made.

int finishOnTaskLaunch

Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen.

int firstDayOfWeek

The first day of week according to Calendar.

int fitsSystemWindows

Boolean internal attribute to adjust view layout based on system windows such as the status bar.

int flipInterval

Must be an integer value, such as "100".

int focusable

Boolean that controls whether a view can take focus.

int focusableInTouchMode

Boolean that controls whether a view can take focus while in touch mode.

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".

int fontFamily

Default font family.

int fontFeatureSettings

Font feature settings.

int footerDividersEnabled

When set to false, the ListView will not draw the divider before each footer view.

int forceHasOverlappingRendering

Whether this view has elements that may overlap when drawn.

int foreground

Defines the drawable to draw over the content.

int foregroundGravity

Defines the gravity to apply to the foreground drawable.

int foregroundTint

Tint to apply to the foreground.

int foregroundTintMode

Blending mode used to apply the foreground tint.

int format

Format string: if specified, the Chronometer will display this string, with the first "%s" replaced by the current timer value in "MM:SS" or "H:MM:SS" form.

int format12Hour

Specifies the formatting pattern used to show the time and/or date in 12-hour mode.

int format24Hour

Specifies the formatting pattern used to show the time and/or date in 24-hour mode.

int fraction

Must be a floating point value, such as "1.2".

int fragment

The fragment that is displayed when the user selects this item.

int fragmentAllowEnterTransitionOverlap

Sets whether the enter and exit transitions should overlap when transitioning forward.

int fragmentAllowReturnTransitionOverlap

Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack.

int fragmentCloseEnterAnimation

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

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".

int fragmentEnterTransition

The Transition that will be used to move Views into the initial scene.

int fragmentExitTransition

The Transition that will be used to move Views out of the scene when the fragment is removed, hidden, or detached when not popping the back stack.

int fragmentFadeEnterAnimation

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

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".

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".

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".

int fragmentReenterTransition

The Transition that will be used to move Views in to the scene when returning due to popping a back stack.

int fragmentReturnTransition

The Transition that will be used to move Views out of the scene when the Fragment is preparing to be removed, hidden, or detached because of popping the back stack.

int fragmentSharedElementEnterTransition

The Transition that will be used for shared elements transferred into the content Scene.

int fragmentSharedElementReturnTransition

The Transition that will be used for shared elements transferred back during a pop of the back stack.

int freezesText

If set, the text view will include its current complete text inside of its frozen icicle in addition to meta-data such as the current cursor position.

int fromAlpha

Must be a floating point value, such as "1.2".

int fromDegrees

Must be a floating point value, such as "1.2".

int fromId

Keyframe identifier for the starting state.

int fromScene

The originating scene in this scene change.

int fromXDelta

May be a floating point value, such as "1.2".

int fromXScale

May be a floating point value, such as "1.2".

int fromYDelta

May be a floating point value, such as "1.2".

int fromYScale

May be a floating point value, such as "1.2".

int fullBackupContent

Applications will set this in their manifest to opt-in to or out of full app data back-up and restore.

int fullBackupOnly

Indicates that even though the application provides a BackupAgent, only full-data streaming backup operations are to be performed to save the app's data.

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".

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".

int functionalTest

Flag indicating that an Instrumentation class should be run as a functional test.

int galleryItemBackground

The preferred background for gallery items.

int galleryStyle

Default Gallery style.

int gestureColor

Color used to draw a gesture.

int gestureStrokeAngleThreshold

Minimum curve angle a stroke must contain before it is recognized as a gesture.

int gestureStrokeLengthThreshold

Minimum length of a stroke before it is recognized as a gesture.

int gestureStrokeSquarenessThreshold

Squareness threshold of a stroke before it is recognized as a gesture.

int gestureStrokeType

Defines the type of strokes that define a gesture.

int gestureStrokeWidth

Width of the stroke used to draw the gesture.

int glEsVersion

The GLES driver version number needed by an application.

int goIcon

Go button icon

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int gradientRadius

Radius of the gradient, used only with radial gradient.

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.

int gravity

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

int gridViewStyle

Default GridView style.

int groupIndicator

Indicator shown beside the group View.

int 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".

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".

int handle

Identifier for the child that represents the drawer's handle.

int handleProfiling

Flag indicating that an Instrumentation class wants to take care of starting/stopping profiling itself, rather than relying on the default behavior of profiling the complete time it is running.

int hapticFeedbackEnabled

Boolean that controls whether a view should have haptic feedback enabled for events such as long presses.

int hardwareAccelerated

Flag indicating whether the application's rendering should be hardware accelerated if possible.

int hasCode

Indicate whether this application contains code.

int 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".

int headerBackground

Default background for the menu header.

int headerDayOfMonthTextAppearance

This constant was deprecated in API level 23. Use headerTextColor instead.

int headerDividersEnabled

When set to false, the ListView will not draw the divider after each header view.

int headerMonthTextAppearance

This constant was deprecated in API level 23. Use headerTextColor instead.

int headerTimeTextAppearance

This constant was deprecated in API level 23. Use headerTextColor instead.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int headerYearTextAppearance

This constant was deprecated in API level 23. Use headerTextColor instead.

int height

Makes the TextView be exactly this many pixels tall.

int hideOnContentScroll

Set true to hide the action bar on a vertical nested scroll of content.

int hint

Hint text to display when the text is empty.

int homeAsUpIndicator

Specifies a drawable to use for the 'home as up' indicator.

int homeLayout

Specifies a layout to use for the "home" section of the action bar.

int horizontalDivider

Default horizontal divider between rows of menu items.

int horizontalGap

Default horizontal gap between keys.

int horizontalScrollViewStyle

Default HorizontalScrollView style.

int horizontalSpacing

Defines the default horizontal spacing between columns.

int host

Specify a URI authority host that is handled, as per IntentFilter.addDataAuthority().

int hotSpotX

X coordinate of the icon hot spot.

int hotSpotY

Y coordinate of the icon hot spot.

int hyphenationFrequency

Frequency of automatic hyphenation.

int icon

A Drawable resource providing a graphical representation of its associated item.

int iconPreview

The icon to show in the popup preview.

int iconifiedByDefault

The default state of the SearchView.

int id

Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().

int ignoreGravity

Indicates what view should not be affected by gravity.

int imageButtonStyle

The style resource to use for an ImageButton.

int imageWellStyle

The style resource to use for an ImageButton that is an image well.

int imeActionId

Supply a value for EditorInfo.actionId used when an input method is connected to the text view.

int imeActionLabel

Supply a value for EditorInfo.actionLabel used when an input method is connected to the text view.

int imeExtractEnterAnimation

Animation to use when showing the fullscreen extract UI after it had previously been hidden.

int imeExtractExitAnimation

Animation to use when hiding the fullscreen extract UI after it had previously been shown.

int imeFullscreenBackground

Background to use for entire input method when it is being shown in fullscreen mode with the extract view, to ensure that it completely covers the application.

int imeOptions

Additional features you can enable in an IME associated with an editor to improve the integration with your application.

int imeSubtypeExtraValue

The extra value of the subtype.

int imeSubtypeLocale

The locale of the subtype.

int imeSubtypeMode

The mode of the subtype.

int immersive

Flag declaring this activity to be 'immersive'; immersive activities should not be interrupted with other activities or notifications.

int importantForAccessibility

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.

int inAnimation

Identifier for the animation to use when a view is shown.

int includeFontPadding

Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly.

int includeInGlobalSearch

If provided and true, this searchable activity will be included in any global lists of search targets.

int indeterminate

Allows to enable the indeterminate mode.

int indeterminateBehavior

Defines how the indeterminate mode should behave when the progress reaches max.

int indeterminateDrawable

Drawable used for the indeterminate mode.

int indeterminateDuration

Duration of the indeterminate animation.

int indeterminateOnly

Restricts to ONLY indeterminate mode (state-keeping progress mode will not work).

int indeterminateProgressStyle

Specifies a style resource to use for an indeterminate progress spinner.

int indeterminateTint

Tint to apply to the indeterminate progress indicator.

int indeterminateTintMode

Blending mode used to apply the indeterminate progress indicator tint.

int indicatorEnd

The end bound for an item's indicator.

int indicatorLeft

The left bound for an item's indicator.

int indicatorRight

The right bound for an item's indicator.

int indicatorStart

The start bound for an item's indicator.

int inflatedId

Overrides the id of the inflated View with this value.

int initOrder

Specify the order in which content providers hosted by a process are instantiated when that process is created.

int initialKeyguardLayout

A resource id of a layout.

int initialLayout

A resource id of a layout.

int innerRadius

Inner radius of the ring.

int innerRadiusRatio

Inner radius of the ring expressed as a ratio of the ring's width.

int inputMethod

This constant was deprecated in API level 3. Use inputType instead.

int inputType

The type of data being placed in a text field, used to help an input method decide how to let the user enter text.

int inset

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int insetBottom

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int insetLeft

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int insetRight

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int insetTop

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int installLocation

The default install location defined by an application.

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".

int isAlwaysSyncable

Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.

int isAsciiCapable

Set to true if this subtype is ASCII capable.

int isAuxiliary

Set true if the subtype is auxiliary.

int isDefault

Set to true in all of the configurations for which this input method should be considered an option as the default.

int isGame

A boolean flag used to indicate if an application is a Game or not.

int isIndicator

Whether this rating bar is an indicator (and non-changeable by the user).

int isModifier

Whether this is a modifier key such as Alt or Shift.

int isRepeatable

Whether long-pressing on this key will make it repeat.

int isScrollContainer

Set this if the view will serve as a scrolling container, meaning that it can be resized to shrink its overall window so that there will be space for an input method.

int isSticky

Whether this is a toggle key.

int isolatedProcess

If set to true, this service will run under a special process that is isolated from the rest of the system.

int itemBackground

Default background for each menu item.

int itemIconDisabledAlpha

Default disabled icon alpha for each menu item that shows an icon.

int itemPadding

Specifies padding that should be applied to the left and right sides of system-provided items in the bar.

int itemTextAppearance

Default appearance of menu item text.

int keepScreenOn

Controls whether the view's window should keep the screen on while visible.

int key

The key to store the Preference value.

int keyBackground

Image for the key.

int keyEdgeFlags

Key edge flags.

int keyHeight

Default height of a key, in pixels or percentage of display width.

int keyIcon

The icon to display on the key instead of the label.

int keyLabel

The label to display on the key.

int keyOutputText

The string of characters to output when this key is pressed.

int keyPreviewHeight

Height of the key press feedback popup.

int keyPreviewLayout

Layout resource for key press feedback.

int keyPreviewOffset

Vertical offset of the key press feedback from the key.

int keySet

Groups signing keys into a KeySet for easier reference in other APIs.

int keyTextColor

Color to use for the label in a key.

int keyTextSize

Size of the text for character keys.

int keyWidth

Default width of a key, in pixels or percentage of display width.

int keyboardLayout

The key character map file resource.

int keyboardMode

Mode of the keyboard.

int keycode

This enum provides the same keycode values as can be found in KeyEvent.

int killAfterRestore

Whether the application in question should be terminated after its settings have been restored during a full-system restore operation.

int label

A user-legible name for the given item.

int labelFor

Specifies the id of a view for which this view serves as a label for accessibility purposes.

int labelTextSize

Size of the text for custom keys with some text and no icon.

int languageTag

The BCP-47 Language Tag of the subtype.

int largeHeap

Request that your application's processes be created with a large Dalvik heap.

int largeScreens

Indicates whether the application supports larger screen form-factors.

int largestWidthLimitDp

Starting with HONEYCOMB_MR2, this is the new way to specify the screens an application is compatible with.

int launchMode

Specify how an activity should be launched.

int launchTaskBehindSourceAnimation

When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the old task (which is already on the screen and then stays on).

int launchTaskBehindTargetAnimation

When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the new task (which is entering the screen and then leaving).

int layerType

Specifies the type of layer backing this view.

int layout

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.

int layoutAnimation

Defines the layout animation to use the first time the ViewGroup is laid out.

int layoutDirection

Defines the direction of layout drawing.

int layoutMode

Defines the layout mode of this ViewGroup.

int layout_above

Positions the bottom edge of this view above the given anchor view ID.

int layout_alignBaseline

Positions the baseline of this view on the baseline of the given anchor view ID.

int layout_alignBottom

Makes the bottom edge of this view match the bottom edge of the given anchor view ID.

int layout_alignEnd

Makes the end edge of this view match the end edge of the given anchor view ID.

int layout_alignLeft

Makes the left edge of this view match the left edge of the given anchor view ID.

int layout_alignParentBottom

If true, makes the bottom edge of this view match the bottom edge of the parent.

int layout_alignParentEnd

If true, makes the end edge of this view match the end edge of the parent.

int layout_alignParentLeft

If true, makes the left edge of this view match the left edge of the parent.

int layout_alignParentRight

If true, makes the right edge of this view match the right edge of the parent.

int layout_alignParentStart

If true, makes the start edge of this view match the start edge of the parent.

int layout_alignParentTop

If true, makes the top edge of this view match the top edge of the parent.

int layout_alignRight

Makes the right edge of this view match the right edge of the given anchor view ID.

int layout_alignStart

Makes the start edge of this view match the start edge of the given anchor view ID.

int layout_alignTop

Makes the top edge of this view match the top edge of the given anchor view ID.

int layout_alignWithParentIfMissing

If set to true, the parent will be used as the anchor when the anchor cannot be be found for layout_toLeftOf, layout_toRightOf, etc.

int layout_below

Positions the top edge of this view below the given anchor view ID.

int layout_centerHorizontal

If true, centers this child horizontally within its parent.

int layout_centerInParent

If true, centers this child horizontally and vertically within its parent.

int layout_centerVertical

If true, centers this child vertically within its parent.

int layout_column

The index of the column in which this child should be.

int layout_columnSpan

The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view.

int layout_columnWeight

The relative proportion of horizontal space that should be allocated to this view during excess space distribution.

int layout_gravity

Standard gravity constant that a child supplies to its parent.

int layout_height

Specifies the basic height of the view.

int layout_margin

Specifies extra space on the left, top, right and bottom sides of this view.

int layout_marginBottom

Specifies extra space on the bottom side of this view.

int layout_marginEnd

Specifies extra space on the end side of this view.

int layout_marginLeft

Specifies extra space on the left side of this view.

int layout_marginRight

Specifies extra space on the right side of this view.

int layout_marginStart

Specifies extra space on the start side of this view.

int layout_marginTop

Specifies extra space on the top side of this view.

int layout_row

The row boundary delimiting the top of the group of cells occupied by this view.

int layout_rowSpan

The row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view.

int layout_rowWeight

The relative proportion of vertical space that should be allocated to this view during excess space distribution.

int layout_scale

Must be a floating point value, such as "1.2".

int layout_span

Defines how many columns this child should span.

int layout_toEndOf

Positions the start edge of this view to the end of the given anchor view ID.

int layout_toLeftOf

Positions the right edge of this view to the left of the given anchor view ID.

int layout_toRightOf

Positions the left edge of this view to the right of the given anchor view ID.

int layout_toStartOf

Positions the end edge of this view to the start of the given anchor view ID.

int layout_weight

Must be a floating point value, such as "1.2".

int layout_width

Specifies the basic width of the view.

int layout_x

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int layout_y

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int left

Amount of left padding inside the gradient shape.

int letterSpacing

Text letter-spacing.

int level

Specifies the initial drawable level in the range 0 to 10000.

int lineSpacingExtra

Extra spacing between lines of text.

int lineSpacingMultiplier

Extra spacing between lines of text, as a multiplier.

int lines

Makes the TextView be exactly this many lines tall.

int linksClickable

If set to false, keeps the movement method from being set to the link movement method even if autoLink causes links to be found.

int listChoiceBackgroundIndicator

Drawable used as a background for selected list items.

int listChoiceIndicatorMultiple

Drawable to use for multiple choice indicators.

int listChoiceIndicatorSingle

Drawable to use for single choice indicators.

int listDivider

The drawable for the list divider.

int listDividerAlertDialog

The list divider used in alert dialogs.

int listMenuViewStyle

Default menu-style ListView style.

int listPopupWindowStyle

Default ListPopupWindow style.

int listPreferredItemHeight

The preferred list item height.

int listPreferredItemHeightLarge

A larger, more robust list item height.

int listPreferredItemHeightSmall

A smaller, sleeker list item height.

int listPreferredItemPaddingEnd

The preferred padding along the end edge of list items.

int listPreferredItemPaddingLeft

The preferred padding along the left edge of list items.

int listPreferredItemPaddingRight

The preferred padding along the right edge of list items.

int listPreferredItemPaddingStart

The preferred padding along the start edge of list items.

int listSelector

Drawable used to indicate the currently selected item in the list.

int listSeparatorTextViewStyle

TextView style for list separators.

int listViewStyle

Default ListView style.

int listViewWhiteStyle

ListView with white background.

int lockTaskMode

This value indicates how tasks rooted at this activity will behave in lockTask mode.

int logo

A Drawable resource providing an extended graphical logo for its associated item.

int logoDescription

A content description string to describe the appearance of the associated logo image.

int longClickable

Defines whether this view reacts to long click events.

int loopViews

Defines whether the animator loops to the first view once it has reached the end of the list.

int manageSpaceActivity

Name of the activity to be launched to manage application's space on device.

int mapViewStyle

Default MapView style.

int marqueeRepeatLimit

The number of times to repeat the marquee animation.

int matchOrder

The match order to use for the transition.

int max

Defines the maximum value the progress can take.

int maxButtonHeight

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int maxDate

The maximal date shown by this calendar view in mm/dd/yyyy format.

int maxEms

Makes the TextView be at most this many ems wide.

int maxHeight

An optional argument to supply a maximum height for this view.

int maxItemsPerRow

Defines the maximum number of items per row.

int maxLength

Set an input filter to constrain the text length to the specified number.

int maxLevel

The maximum level allowed for this item.

int maxLines

Makes the TextView be at most this many lines tall.

int maxRecents

The maximum number of entries of tasks rooted at this activity in the recent task list.

int maxRows

Defines the maximum number of rows displayed.

int maxSdkVersion

Optional: specify the maximum version of the Android OS for which the application wishes to request the permission.

int maxWidth

An optional argument to supply a maximum width for this view.

int maximumAngle

The maximum arc angle in degrees between the start and end points.

int measureAllChildren

Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring.

int measureWithLargestChild

When set to true, all children with a weight will be considered having the minimum size of the largest child.

int mediaRouteButtonStyle

Default style for the MediaRouteButton widget.

int mediaRouteTypes

The types of media routes the button and its resulting chooser will filter by.

int menuCategory

The category applied to all items within this group.

int mimeType

Specify a MIME type that is handled, as per IntentFilter.addDataType().

int minDate

The minimal date shown by this calendar view in mm/dd/yyyy format.

int minEms

Makes the TextView be at least this many ems wide.

int minHeight

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int minLevel

The minimum level allowed for this item.

int minLines

Makes the TextView be at least this many lines tall.

int minResizeHeight

Minimum height that the AppWidget can be resized to.

int minResizeWidth

Minimum width that the AppWidget can be resized to.

int minSdkVersion

This is the minimum SDK version number that the application requires.

int minWidth

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int minimumHorizontalAngle

The minimum arc angle in degrees between the start and end points when they are close to horizontal.

int minimumVerticalAngle

The minimum arc angle in degrees between the start and end points when they are close to vertical.

int mipMap

Enables or disables the mipmap hint.

int mirrorForRtl

Defines if the associated drawables need to be mirrored when in RTL mode.

int mode

Must be one of the following constant values.

int moreIcon

'More' icon.

int multiArch

Declare that code from this application will need to be loaded into other applications' processes.

int multiprocess

Specify whether a component is allowed to have multiple instances of itself running in different processes.

int name

A unique name for the given item.

int navigationBarColor

The color for the navigation bar.

int navigationContentDescription

Text to set as the content description for the navigation button located at the start of the toolbar.

int navigationIcon

Icon drawable to use for the navigation button located at the start of the toolbar.

int navigationMode

The type of navigation to use.

int negativeButtonText

The negative button text for the dialog.

int nestedScrollingEnabled

Specifies that this view should permit nested scrolling within a compatible ancestor view.

int networkSecurityConfig

An XML resource with the application's Network Security Config.

int nextFocusDown

Defines the next view to give focus to when the next focus is FOCUS_DOWN If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int nextFocusForward

Defines the next view to give focus to when the next focus is FOCUS_FORWARD If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int nextFocusLeft

Defines the next view to give focus to when the next focus is FOCUS_LEFT.

int nextFocusRight

Defines the next view to give focus to when the next focus is FOCUS_RIGHT If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int nextFocusUp

Defines the next view to give focus to when the next focus is FOCUS_UP If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int noHistory

Specify whether an activity should be kept in its history stack.

int normalScreens

Indicates whether an application supports the normal screen form-factors.

int notificationTimeout

The minimal period in milliseconds between two accessibility events of the same type are sent to this serivce.

int numColumns

Defines how many columns to show.

int numStars

The number of stars (or rating items) to show.

int numberPickerStyle

NumberPicker style.

int numbersBackgroundColor

The background color for the hours/minutes numbers.

int numbersInnerTextColor

The color for the inner hours numbers used in 24-hour mode.

int numbersSelectorColor

The color for the hours/minutes selector.

int numbersTextColor

The color for the hours/minutes numbers.

int numeric

This constant was deprecated in API level 3. Use inputType instead.

int numericShortcut

The numeric shortcut key.

int offset

The offset (or ratio) of this current color item inside the gradient.

int onClick

Name of the method in this View's context to invoke when the view is clicked.

int oneshot

If true, the animation will only run a single time and then stop.

int opacity

Indicates the opacity of the layer.

int order

The order for the Preference (lower values are to be ordered first).

int orderInCategory

The order within the category applied to all items within this group.

int ordering

Name of the property being animated.

int orderingFromXml

Whether to order the Preference under this group as they appear in the XML file.

int orientation

Standard orientation constant.

int outAnimation

Identifier for the animation to use when a view is hidden.

int outlineProvider

ViewOutlineProvider used to determine the View's Outline.

int overScrollFooter

Drawable to draw below list content.

int overScrollHeader

Drawable to draw above list content.

int overScrollMode

Defines over-scrolling behavior.

int overlapAnchor

Whether the popup window should overlap its anchor view.

int overridesImplicitlyEnabledSubtype

Set true when this subtype should be selected by default if no other subtypes are selected explicitly.

int packageNames

Comma separated package names from which this serivce would like to receive events (leave out for all packages).

int padding

Sets the padding, in pixels, of all four edges.

int paddingBottom

Sets the padding, in pixels, of the bottom edge; see padding.

int paddingEnd

Sets the padding, in pixels, of the end edge; see padding.

int paddingLeft

Sets the padding, in pixels, of the left edge; see padding.

int paddingMode

Indicates how layer padding should affect the bounds of subsequent layers.

int paddingRight

Sets the padding, in pixels, of the right edge; see padding.

int paddingStart

Sets the padding, in pixels, of the start edge; see padding.

int paddingTop

Sets the padding, in pixels, of the top edge; see padding.

int panelBackground

The background of a panel when it is inset from the left and right edges of the screen.

int panelColorBackground

Color that matches (as closely as possible) the panel background.

int panelColorForeground

Default color of foreground panel imagery.

int panelFullBackground

The background of a panel when it extends to the left and right edges of the screen.

int panelTextAppearance

Default appearance of panel text.

int parentActivityName

The name of the logical parent of the activity as it appears in the manifest.

int password

This constant was deprecated in API level 3. Use inputType instead.

int path

Specify a URI path that must exactly match, as per PatternMatcher with PATTERN_LITERAL.

int pathData

The specification of the operations that define the path

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

int pathPattern

Specify a URI path that matches a simple pattern, as per PatternMatcher with PATTERN_SIMPLE_GLOB.

int pathPrefix

Specify a URI path that must be a prefix to match, as per PatternMatcher with PATTERN_PREFIX.

int patternPathData

The path string describing the pattern to use for the PathPathMotion.

int permission

Specify a permission that a client is required to have in order to use the associated object.

int permissionFlags

Flags indicating more context for a permission.

int permissionGroup

Specified the name of a group that this permission is associated with.

int permissionGroupFlags

Flags indicating more context for a permission group.

int persistableMode

Define how an activity persist across reboots.

int persistent

Flag to control special persistent mode of an application.

int persistentDrawingCache

Defines the persistence of the drawing cache.

int phoneNumber

This constant was deprecated in API level 3. Use inputType instead.

int pivotX

May be a floating point value, such as "1.2".

int pivotY

May be a floating point value, such as "1.2".

int pointerIcon

Must be one of the following constant values.

int popupAnimationStyle

The animation style to use for the popup window.

int popupBackground

The background to use for the popup window.

int popupCharacters

The characters to display in the popup keyboard.

int popupElevation

Window elevation to use for the popup window.

int popupEnterTransition

Transition used to move views into the popup window.

int popupExitTransition

Transition used to move views out of the popup window.

int popupKeyboard

The XML keyboard layout of any popup keyboard.

int popupLayout

Layout resource for popup keyboards.

int popupMenuStyle

Default PopupMenu style.

int popupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the toolbar.

int popupWindowStyle

Default PopupWindow style.

int port

Specify a URI authority port that is handled, as per IntentFilter.addDataAuthority().

int positiveButtonText

The positive button text for the dialog.

int preferenceCategoryStyle

Default style for PreferenceCategory.

int preferenceFragmentStyle

Default style for Headers pane in PreferenceActivity.

int preferenceInformationStyle

Default style for informational Preference.

int preferenceLayoutChild

The preference layout that has the child/tabbed effect.

int preferenceScreenStyle

Default style for PreferenceScreen.

int preferenceStyle

Default style for Preference.

int presentationTheme

Theme to use for presentations spawned from this theme.

int previewImage

A preview of what the AppWidget will look like after it's configured.

int priority

Specify the relative importance or ability in handling a particular Intent.

int privateImeOptions

An addition content type description to supply to the input method attached to the text view, which is private to the implementation of the input method.

int process

Specify a specific process that the associated code is to run in.

int progress

Defines the default progress value, between 0 and max.

int progressBackgroundTint

Tint to apply to the progress indicator background.

int progressBackgroundTintMode

Blending mode used to apply the progress indicator background tint.

int progressBarPadding

Specifies the horizontal padding on either end for an embedded progress bar.

int progressBarStyle

Default ProgressBar style.

int progressBarStyleHorizontal

Horizontal ProgressBar style.

int progressBarStyleInverse

Inverse ProgressBar style.

int progressBarStyleLarge

Large ProgressBar style.

int progressBarStyleLargeInverse

Large inverse ProgressBar style.

int progressBarStyleSmall

Small ProgressBar style.

int progressBarStyleSmallInverse

Small inverse ProgressBar style.

int progressBarStyleSmallTitle

Small ProgressBar in title style.

int progressDrawable

Drawable used for the progress mode.

int progressTint

Tint to apply to the progress indicator.

int progressTintMode

Blending mode used to apply the progress indicator tint.

int prompt

The prompt to display when the spinner's dialog is shown.

int propertyName

Name of the property being animated.

int propertyXName

Name of the property being animated as the X coordinate of the pathData.

int propertyYName

Name of the property being animated as the Y coordinate of the pathData.

int protectionLevel

Characterizes the potential risk implied in a permission and indicates the procedure the system should follow when determining whether to grant the permission to an application requesting it.

int publicKey

The attribute that holds a Base64-encoded public key.

int queryActionMsg

If you wish to handle an action key during normal search query entry, you must define an action string here.

int queryAfterZeroResults

If provided and true, this searchable activity will be invoked for all queries in a particular session.

int queryBackground

Background for the section containing the search query

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int queryHint

An optional query hint string to be displayed in the empty query field.

int quickContactBadgeStyleSmallWindowLarge

Default quickcontact badge style with large quickcontact window.

int quickContactBadgeStyleSmallWindowMedium

Default quickcontact badge style with medium quickcontact window.

int quickContactBadgeStyleSmallWindowSmall

Default quickcontact badge style with small quickcontact window.

int quickContactBadgeStyleWindowLarge

Default quickcontact badge style with large quickcontact window.

int quickContactBadgeStyleWindowMedium

Default quickcontact badge style with medium quickcontact window.

int quickContactBadgeStyleWindowSmall

Default quickcontact badge style with small quickcontact window.

int radioButtonStyle

Default RadioButton style.

int radius

Defines the radius of the four corners.

int rating

The rating to set by default.

int ratingBarStyle

Default RatingBar style.

int ratingBarStyleIndicator

Indicator RatingBar style.

int ratingBarStyleSmall

Small indicator RatingBar style.

int readPermission

A specific permission name for read-only access to a ContentProvider.

int recognitionService

The service that provides voice recognition.

int relinquishTaskIdentity

Tasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task.

int reparent

Tells ChangeTransform to track parent changes.

int reparentWithOverlay

A parent change should use an overlay or affect the transform of the transitionining View.

int repeatCount

Defines how many times the animation should repeat.

int repeatMode

Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite.

int reqFiveWayNav

Application's requirement for five way navigation

Must be a boolean value, either "true" or "false".

int reqHardKeyboard

Application's requirement for a hard keyboard

Must be a boolean value, either "true" or "false".

int reqKeyboardType

The input method preferred by an application.

int reqNavigation

The navigation device preferred by an application.

int reqTouchScreen

The touch screen type used by an application.

int requireDeviceUnlock

Whether the device must be unlocked before routing data to this service.

int required

Specify whether this feature is required for the application.

int requiredAccountType

Declare that this application requires an account of a certain type.

int requiredForAllUsers

Flag to specify if this application needs to be present for all users.

int requiresFadingEdge

Defines which edges should be faded on scrolling.

int requiresSmallestWidthDp

Starting with HONEYCOMB_MR2, this is the new way to specify the minimum screen size an application is compatible with.

int resizeClip

Resize the view by adjusting the clipBounds rather than changing the dimensions of the view itself.

int resizeMode

Optional parameter which indicates if and how this widget can be resized.

int resizeable

Indicates whether the application can resize itself to newer screen sizes.

int resizeableActivity

Indicates that it is okay for this activity to be resized to any dimension.

int resource

Resource identifier to assign to this piece of named meta-data.

int restoreAnyVersion

Indicate that the application is prepared to attempt a restore of any backed-up dataset, even if the backup is apparently from a newer version of the application than is currently installed on the device.

int restoreNeedsApplication

This constant was deprecated in API level 8. This attribute is not used by the Android operating system.

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.

int restrictedAccountType

Declare that this application requires access to restricted accounts of a certain type.

int restrictionType

Must be one of the following constant values.

int resumeWhilePausing

Indicate that it is okay for this activity be resumed while the previous activity is in the process of pausing, without waiting for the previous pause to complete.

int reversible

Whether this transition is reversible.

int revisionCode

Internal revision code.

int right

Amount of right padding inside the gradient shape.

int ringtonePreferenceStyle

Default style for RingtonePreference.

int ringtoneType

Which ringtone type(s) to show in the picker.

int rotation

rotation of the view, in degrees.

int rotationX

rotation of the view around the x axis, in degrees.

int rotationY

rotation of the view around the y axis, in degrees.

int rowCount

The maxmimum number of rows to create when automatically positioning children.

int rowDelay

Fraction of the animation duration used to delay the beginning of the animation of each row.

int rowEdgeFlags

Row edge flags.

int rowHeight

Defines the height of each row.

int rowOrderPreserved

When set to true, forces row boundaries to appear in the same order as row indices.

int saveEnabled

If false, no state will be saved for this view when it is being frozen.

int scaleGravity

Specifies where the drawable is positioned after scaling.

int scaleHeight

Scale height, expressed as a percentage of the drawable's bound.

int scaleType

Controls how the image should be resized or moved to match the size of this ImageView.

int scaleWidth

Scale width, expressed as a percentage of the drawable's bound.

int scaleX

scale of the view in the x direction.

int scaleY

scale of the view in the y direction.

int scheme

Specify a URI scheme that is handled, as per IntentFilter.addDataScheme().

int screenDensity

Specifies a compatible screen density, as per the device configuration screen density bins.

int screenOrientation

Specify the orientation an activity should be run in.

int screenSize

Specifies a compatible screen size, as per the device configuration screen size bins.

int scrollHorizontally

Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally).

int scrollIndicators

Defines which scroll indicators should be displayed when the view can be scrolled.

int scrollViewStyle

Default ScrollView style.

int scrollX

The initial horizontal scroll offset, in pixels.

int scrollY

The initial vertical scroll offset, in pixels.

int scrollbarAlwaysDrawHorizontalTrack

Defines whether the horizontal scrollbar track should always be drawn.

int scrollbarAlwaysDrawVerticalTrack

Defines whether the vertical scrollbar track should always be drawn.

int scrollbarDefaultDelayBeforeFade

Defines the delay in milliseconds that a scrollbar waits before fade out.

int scrollbarFadeDuration

Defines the delay in milliseconds that a scrollbar takes to fade out.

int scrollbarSize

Sets the width of vertical scrollbars and height of horizontal scrollbars.

int scrollbarStyle

Controls the scrollbar style and position.

int scrollbarThumbHorizontal

Defines the horizontal scrollbar thumb drawable.

int scrollbarThumbVertical

Defines the vertical scrollbar thumb drawable.

int scrollbarTrackHorizontal

Defines the horizontal scrollbar track drawable.

int scrollbarTrackVertical

Defines the vertical scrollbar track drawable.

int scrollbars

Defines which scrollbars should be displayed on scrolling or not.

int scrollingCache

When set to true, the list uses a drawing cache during scrolling.

int searchButtonText

This constant was deprecated in API level 3. This will create a non-standard UI appearance, because the search bar UI is changing to use only icons for its buttons.

int searchHintIcon

Search icon displayed as a text field hint

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int searchIcon

Search 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".

int searchMode

Additional features are controlled by mode bits in this field.

int searchSettingsDescription

If provided, this string will be used to describe the searchable item in the searchable items settings within system search settings.

int searchSuggestAuthority

If provided, this is the trigger indicating that the searchable activity provides suggestions as well.

int searchSuggestIntentAction

If provided, and not overridden by an action in the selected suggestion, this string will be placed in the action field of the Intent when the user clicks a suggestion.

int searchSuggestIntentData

If provided, and not overridden by an action in the selected suggestion, this string will be placed in the data field of the Intent when the user clicks a suggestion.

int searchSuggestPath

If provided, this will be inserted in the suggestions query Uri, after the authority you have provide but before the standard suggestions path.

int searchSuggestSelection

If provided, suggestion queries will be passed into your query function as the selection parameter.

int searchSuggestThreshold

If provided, this is the minimum number of characters needed to trigger search suggestions.

int searchViewStyle

Style for the search query widget.

int secondaryProgress

Defines the secondary progress value, between 0 and max.

int secondaryProgressTint

Tint to apply to the secondary progress indicator.

int secondaryProgressTintMode

Blending mode used to apply the secondary progress indicator tint.

int seekBarStyle

Default SeekBar style.

int segmentedButtonStyle

Style for segmented buttons - a container that houses several buttons with the appearance of a singel button broken into segments.

int selectAllOnFocus

If the text is selectable, select it all when the view takes focus.

int selectable

Whether the Preference is selectable.

int selectableItemBackground

Background drawable for bordered standalone items that need focus/pressed states.

int selectableItemBackgroundBorderless

Background drawable for borderless standalone items that need focus/pressed states.

int selectedDateVerticalBar

This constant was deprecated in API level 23. Drawable for the vertical bar shown at the beginning and at the end of the selected date.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int selectedWeekBackgroundColor

This constant was deprecated in API level 23. The background color for the selected week.

May be a reference to another resource, in the form "@[+][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".

int sessionService

The service that hosts active voice interaction sessions.

int settingsActivity

Component name of an activity that allows the user to modify the settings for this service.

int setupActivity

Component name of an activity that allows the user to set up this service.

int shadowColor

Place a blurred shadow of text underneath the text, drawn with the specified color.

int shadowDx

Horizontal offset of the text shadow.

int shadowDy

Vertical offset of the text shadow.

int shadowRadius

Blur radius of the text shadow.

int shape

Indicates what shape to fill with a gradient.

int shareInterpolator

Must be a boolean value, either "true" or "false".

int sharedUserId

Specify the name of a user ID that will be shared between multiple packages.

int sharedUserLabel

Specify a label for the shared user UID of this package.

int shouldDisableView

Whether the view of this Preference should be disabled when this Preference is disabled.

int showAsAction

How this item should display in the Action Bar, if present.

int showDefault

Whether to show an item for a default sound.

int showDividers

Setting for which dividers to show.

int showForAllUsers

Specify that an Activity should be shown even if the current/foreground user is different from the user of the Activity.

int showOnLockScreen

This constant was deprecated in API level 23. use showForAllUsers instead.

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.

int showSilent

Whether to show an item for 'Silent'.

int showText

Whether to draw on/off text.

int showWeekNumber

This constant was deprecated in API level 23. Whether do show week numbers.

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.

int shownWeekCount

This constant was deprecated in API level 23. The number of weeks to be shown.

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.

int shrinkColumns

The zero-based index of the columns to shrink.

int singleLine

This constant was deprecated in API level 3. This attribute is deprecated. Use maxLines instead to change the layout of a static text, and use the textMultiLine flag in the inputType attribute instead for editable text views (if both singleLine and inputType are supplied, the inputType flags will override the value of singleLine).

int singleUser

If set to true, a single instance of this component will run for all users.

int slideEdge

Must be one of the following constant values.

int smallIcon

Smaller icon of the authenticator.

int smallScreens

Indicates whether the application supports smaller screen form-factors.

int smoothScrollbar

When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen.

int soundEffectsEnabled

Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching.

int spacing

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int spinnerDropDownItemStyle

Default style for spinner drop down items.

int spinnerItemStyle

Default spinner item style.

int spinnerMode

Display mode for spinner options.

int spinnerStyle

Default Spinner style.

int spinnersShown

Whether the spinners are shown.

int splitMotionEvents

Sets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch.

int splitTrack

Whether to split the track and leave a gap for the thumb drawable.

int spotShadowAlpha

Alpha value of the spot shadow projected by elevated views, between 0 and 1.

int src

Sets a drawable as the content of this ImageView.

int ssp

Specify a URI scheme specific part that must exactly match, as per IntentFilter.addDataSchemeSpecificPart() with PATTERN_LITERAL.

int sspPattern

Specify a URI scheme specific part that matches a simple pattern, as per IntentFilter.addDataSchemeSpecificPart() with PATTERN_SIMPLE_GLOB.

int sspPrefix

Specify a URI scheme specific part that must be a prefix to match, as per IntentFilter.addDataSchemeSpecificPart() with PATTERN_PREFIX.

int stackFromBottom

Used by ListView and GridView to stack their content from the bottom.

int stackViewStyle

Default StackView style.

int starStyle

Default Star style.

int start

Start inset to apply to the layer.

int startColor

Start color of the gradient.

int startDelay

Delay in milliseconds before the transition starts.

int startOffset

Delay in milliseconds before the animation runs, once start time is reached.

int startX

LinearGradient specific X coordinate of the start point origin of the gradient.

int startY

Y coordinate of the start point of the gradient within the shape.

int startYear

This constant was deprecated in API level 16. Use minDate instead.Use minDate instead.

int stateListAnimator

Sets the state-based animator for the View.

int stateNotNeeded

Indicates that an Activity does not need to have its freeze state (as returned by onSaveInstanceState(Bundle) retained in order to be restarted.

int state_above_anchor

State identifier indicating the popup will be above the anchor.

int state_accelerated

State value for StateListDrawable, indicating that the Drawable is in a view that is hardware accelerated.

int state_activated

State value for StateListDrawable, set when a view or its parent has been "activated" meaning the user has currently marked it as being of interest.

int state_active

State value for StateListDrawable, set when a view or drawable is considered "active" by its host.

int state_checkable

State identifier indicating that the object may display a check mark.

int state_checked

State identifier indicating that the object is currently checked.

int state_drag_can_accept

State for StateListDrawable indicating that the Drawable is in a view that is capable of accepting a drop of the content currently being manipulated in a drag-and-drop operation.

int state_drag_hovered

State for StateListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipient) is currently positioned over the Drawable.

int state_empty

State identifier indicating the group is empty (has no children).

int state_enabled

State value for StateListDrawable, set when a view is enabled.

int state_expanded

State identifier indicating the group is expanded.

int state_first

State value for StateListDrawable, set when a view or drawable is in the first position in an ordered set.

int state_focused

State value for StateListDrawable, set when a view has input focus.

int state_hovered

State value for StateListDrawable, set when a pointer is hovering over the view.

int state_last

State value for StateListDrawable, set when a view or drawable is in the last position in an ordered set.

int state_long_pressable

State for KeyboardView key preview background.

int state_middle

State value for StateListDrawable, set when a view or drawable is in the middle position in an ordered set.

int state_multiline

State identifier indicating a TextView has a multi-line layout.

int state_pressed

State value for StateListDrawable, set when the user is pressing down in a view.

int state_selected

State value for StateListDrawable, set when a view (or one of its parents) is currently selected.

int state_single

State value for StateListDrawable, set when a view or drawable is considered "single" by its host.

int state_window_focused

State value for StateListDrawable, set when a view's window has input focus.

int staticWallpaperPreview

A resource id of a static drawable.

int statusBarColor

The color for the status bar.

int stepSize

The step size of the rating.

int stopWithTask

If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application.

int streamType

Different audio stream types.

int stretchColumns

The zero-based index of the columns to stretch.

int stretchMode

Defines how columns should stretch to fill the available empty space, if any.

int strokeAlpha

The opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque)

Must be a floating point value, such as "1.2".

int strokeColor

The color to stroke the path if not defined implies no stroke

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

int strokeLineCap

sets the linecap for a stroked path

Must be one of the following constant values.

int strokeLineJoin

sets the lineJoin for a stroked path

Must be one of the following constant values.

int strokeMiterLimit

sets the Miter limit for a stroked path

Must be a floating point value, such as "1.2".

int strokeWidth

The width a path stroke

Must be a floating point value, such as "1.2".

int subMenuArrow

Drawable for the arrow icon indicating a particular item is a submenu.

int submitBackground

Background for the section containing the action (e.g.

int subtitle

Specifies subtitle text used for navigationMode="normal"

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

int subtitleTextAppearance

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int subtitleTextColor

A color to apply to the subtitle string.

int subtitleTextStyle

Specifies a style to use for subtitle text.

int subtypeExtraValue

The extra value of the subtype.

int subtypeId

The unique id for the subtype.

int subtypeLocale

The locale of the subtype.

int suggestActionMsg

If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this.

int suggestActionMsgColumn

If you wish to handle an action key while a suggestion is being displayed and selected, but you do not wish to enable this action key for every suggestion, then you can use this attribute to control it on a suggestion-by-suggestion basis.

int suggestionRowLayout

Layout for query suggestion rows

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int summary

The summary for the item.

int summaryColumn

Column in data table that summarizes this data.

int summaryOff

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.

int summaryOn

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.

int supportsAssist

Flag indicating whether this voice interaction service is capable of handling the assist action.

int supportsLaunchVoiceAssistFromKeyguard

Flag indicating whether this voice interaction service is capable of being launched from the keyguard.

int supportsLocalInteraction

Flag indicating whether this voice interaction service can handle local voice interaction requests from an Activity.

int supportsPictureInPicture

Indicates that the activity supports the picture-in-picture (PiP) form of multi-window.

int supportsRtl

Declare that your application will be able to deal with RTL (right to left) layouts.

int supportsSwitchingToNextInputMethod

Set to true if this input method supports ways to switch to a next input method (e.g.

int supportsUploading

Must be a boolean value, either "true" or "false".

int switchMinWidth

Minimum width for the switch component

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int switchPadding

Minimum space between the switch and caption text

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

int switchPreferenceStyle

Default style for switch preferences.

int switchStyle

Default style for the Switch widget.

int switchTextAppearance

TextAppearance style for text displayed on the switch thumb.

int switchTextOff

The text used on the switch itself when in the "off" state.

int switchTextOn

The text used on the switch itself when in the "on" state.

int syncable

Flag indicating whether this content provider would like to participate in data synchronization.

int tabStripEnabled

Determines whether the strip under the tab indicators is drawn or not.

int tabStripLeft

Drawable used to draw the left part of the strip underneath the tabs.

int tabStripRight

Drawable used to draw the right part of the strip underneath the tabs.

int tabWidgetStyle

Default TabWidget style.

int tag

Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().

int targetActivity

The name of the activity this alias should launch.

int targetClass

The class part of the ComponentName to assign to the Intent, as per Intent.setComponent().

int targetDescriptions

This constant was deprecated in API level 23. Removed. Reference to an array resource that be used as description for the targets around the circle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int targetId

The id of a target on which this transition will animate changes.

int targetName

The transitionName of the target on which this transition will animation changes.

int targetPackage

The name of the application package that an Instrumentation object will run against.

int targetSdkVersion

This is the SDK version number that the application is targeting.

int taskAffinity

Specify a task name that activities have an "affinity" to.

int taskCloseEnterAnimation

When closing the last activity of a task, this is the animation that is run on the activity of the next task (which is entering the screen).

int taskCloseExitAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).

int taskOpenEnterAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the new task (which is entering the screen).

int taskOpenExitAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).

int taskToBackEnterAnimation

When sending the current task to the background, this is the animation that is run on the top activity of the task behind it (which is entering the screen).

int taskToBackExitAnimation

When sending the current task to the background, this is the animation that is run on the top activity of the current task (which is exiting the screen).

int taskToFrontEnterAnimation

When bringing an existing task to the foreground, this is the animation that is run on the top activity of the task being brought to the foreground (which is entering the screen).

int taskToFrontExitAnimation

When bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen).

int tension

This is the amount of tension.

int testOnly

Option to indicate this application is only for testing purposes.

int text

Text to display.

int textAlignment

Defines the alignment of the text.

int textAllCaps

Present the text in ALL CAPS.

int textAppearance

Default appearance of text: color, typeface, size, and style.

int textAppearanceButton

Text color, typeface, size, and style for the text inside of a button.

int textAppearanceInverse

Default appearance of text against an inverted background: color, typeface, size, and style.

int textAppearanceLarge

Text color, typeface, size, and style for "large" text.

int textAppearanceLargeInverse

Text color, typeface, size, and style for "large" inverse text.

int textAppearanceLargePopupMenu

Text color, typeface, size, and style for the text inside of a popup menu.

int textAppearanceListItem

The preferred TextAppearance for the primary text of list items.

int textAppearanceListItemSecondary

The preferred TextAppearance for the secondary text of list items.

int textAppearanceListItemSmall

The preferred TextAppearance for the primary text of small list items.

int textAppearanceMedium

Text color, typeface, size, and style for "medium" text.

int textAppearanceMediumInverse

Text color, typeface, size, and style for "medium" inverse text.

int textAppearancePopupMenuHeader

Text color, typeface, size, and style for header text inside of a popup menu.

int textAppearanceSearchResultSubtitle

Text color, typeface, size, and style for system search result subtitle.

int textAppearanceSearchResultTitle

Text color, typeface, size, and style for system search result title.

int textAppearanceSmall

Text color, typeface, size, and style for "small" text.

int textAppearanceSmallInverse

Text color, typeface, size, and style for "small" inverse text.

int textAppearanceSmallPopupMenu

Text color, typeface, size, and style for small text inside of a popup menu.

int textCheckMark

Drawable to use for check marks.

int textCheckMarkInverse

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int textColor

Color of text (usually same as colorForeground).

int textColorAlertDialogListItem

Color of list item text in alert dialogs.

int textColorHighlight

Color of highlighted text.

int textColorHighlightInverse

Color of highlighted text, when used in a light theme.

int textColorHint

Color of hint text (displayed when the field is empty).

int textColorHintInverse

Inverse hint text color.

int textColorLink

Color of link text (URLs).

int textColorLinkInverse

Color of link text (URLs), when used in a light theme.

int textColorPrimary

The most prominent text color.

int textColorPrimaryDisableOnly

Bright text color.

int textColorPrimaryInverse

Primary inverse text color, useful for inverted backgrounds.

int textColorPrimaryInverseDisableOnly

Bright inverse text color.

int textColorPrimaryInverseNoDisable

Bright inverse text color.

int textColorPrimaryNoDisable

Bright text color.

int textColorSecondary

Secondary text color.

int textColorSecondaryInverse

Secondary inverse text color, useful for inverted backgrounds.

int textColorSecondaryInverseNoDisable

Dim inverse text color.

int textColorSecondaryNoDisable

Dim text color.

int textColorTertiary

Tertiary text color.

int textColorTertiaryInverse

Tertiary inverse text color, useful for inverted backgrounds.

int textCursorDrawable

Reference to a drawable that will be drawn under the insertion cursor.

int textDirection

Defines the direction of the text.

int textEditNoPasteWindowLayout

Variation of textEditPasteWindowLayout displayed when the clipboard is empty.

int textEditPasteWindowLayout

The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field.

int textEditSideNoPasteWindowLayout

Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty.

int textEditSidePasteWindowLayout

Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top.

int textEditSuggestionItemLayout

Layout of the TextView item that will populate the suggestion popup window.

int textFilterEnabled

When set to true, the list will filter results as the user types.

int textIsSelectable

Indicates that the content of a non-editable TextView can be selected.

int textOff

The text for the button when it is not checked.

int textOn

The text for the button when it is checked.

int textScaleX

Sets the horizontal scaling factor for the text.

int textSelectHandle

Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text.

int textSelectHandleLeft

Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region.

int textSelectHandleRight

Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region.

int textSelectHandleWindowStyle

Reference to a style that will be used for the window containing a text selection anchor.

int textSize

Size of text.

int textStyle

Default text typeface style.

int textSuggestionsWindowStyle

Reference to a style that will be used for the window containing a list of possible text suggestions in an EditText.

int textViewStyle

Default TextView style.

int theme

The overall theme to use for an activity.

int thickness

Thickness of the ring.

int thicknessRatio

Thickness of the ring expressed as a ratio of the ring's width.

int thumb

Draws the thumb on a seekbar.

int thumbOffset

An offset for the thumb that allows it to extend out of the range of the track.

int thumbPosition

Position of thumb in relation to the track.

int thumbTextPadding

Amount of padding on either side of text within the switch thumb.

int thumbTint

Tint to apply to the thumb drawable.

int thumbTintMode

Blending mode used to apply the thumb tint.

int thumbnail

Reference to a the wallpaper's thumbnail bitmap.

int tickMark

Drawable displayed at each progress position on a seekbar.

int tickMarkTint

Tint to apply to the tick mark drawable.

int tickMarkTintMode

Blending mode used to apply the tick mark tint.

int tileMode

Defines the tile mode.

int tileModeX

Defines the horizontal tile mode.

int tileModeY

Defines the vertical tile mode.

int timePickerDialogTheme

The TimePicker dialog theme.

int timePickerMode

Defines the look of the widget.

int timePickerStyle

The TimePicker style.

int timeZone

Specifies the time zone to use.

int tint

Set a tinting color for the image.

int tintMode

When a tint color is set, specifies its Porter-Duff blending mode.

int title

The title associated with the item.

int titleCondensed

The condensed title associated with the item.

int titleMargin

Specifies extra space on the left, start, right and end sides of the toolbar's title.

int titleMarginBottom

Specifies extra space on the bottom side of the toolbar's title.

int titleMarginEnd

Specifies extra space on the end side of the toolbar's title.

int titleMarginStart

Specifies extra space on the start side of the toolbar's title.

int titleMarginTop

Specifies extra space on the top side of the toolbar's title.

int titleTextAppearance

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int titleTextColor

A color to apply to the title string.

int titleTextStyle

Specifies a style to use for title text.

int toAlpha

Must be a floating point value, such as "1.2".

int toDegrees

Must be a floating point value, such as "1.2".

int toId

Keyframe identifier for the ending state.

int toScene

The destination scene in this scene change.

int toXDelta

May be a floating point value, such as "1.2".

int toXScale

May be a floating point value, such as "1.2".

int toYDelta

May be a floating point value, such as "1.2".

int toYScale

May be a floating point value, such as "1.2".

int toolbarStyle

Default Toolbar style.

int top

Amount of top padding inside the gradient shape.

int topBright

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int topDark

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

int topLeftRadius

Radius of the top left corner.

int topOffset

Extra offset for the handle at the top of the SlidingDrawer.

int topRightRadius

Radius of the top right corner.

int touchscreenBlocksFocus

Set to true if this ViewGroup blocks focus in the presence of a touchscreen.

int track

Drawable to use as the "track" that the switch thumb slides within.

int trackTint

Tint to apply to the track.

int trackTintMode

Blending mode used to apply the track tint.

int transcriptMode

Sets the transcript mode for the list.

int transformPivotX

x location of the pivot point around which the view will rotate and scale.

int transformPivotY

y location of the pivot point around which the view will rotate and scale.

int transition

The id of a transition to be used in a particular scene change.

int transitionGroup

Sets whether or not this ViewGroup should be treated as a single entity when doing an Activity transition.

int transitionName

Names a View such that it can be identified for Transitions.

int transitionOrdering

Must be one of the following constant values.

int transitionVisibilityMode

Changes whether the transition supports appearing and/or disappearing Views.

int translateX

The amount to translate the group on X coordinate

Must be a floating point value, such as "1.2".

int translateY

The amount to translate the group on Y coordinate

Must be a floating point value, such as "1.2".

int translationX

translation in x of the view.

int translationY

translation in y of the view.

int translationZ

translation in z of the view.

int trimPathEnd

The fraction of the path to trim from the end from 0 to 1

Must be a floating point value, such as "1.2".

int trimPathOffset

Shift trim region (allows visible region to include the start and end) from 0 to 1

Must be a floating point value, such as "1.2".

int trimPathStart

The fraction of the path to trim from the start from 0 to 1

Must be a floating point value, such as "1.2".

int tunerCount

The number of tuners that the TV input service is associated with.

int type

Type of gradient.

int typeface

Default text typeface.

int uiOptions

Extra options for an activity's UI.

int uncertainGestureColor

Color used to draw the user's strokes until we are sure it's a gesture.

int unfocusedMonthDateColor

This constant was deprecated in API level 23. The color for the dates of an unfocused month.

May be a reference to another resource, in the form "@[+][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".

int unselectedAlpha

Sets the alpha on the items that are not selected.

int updatePeriodMillis

Update period in milliseconds, or 0 if the AppWidget will update itself.

int use32bitAbi

Specify whether the 32 bit version of the ABI should be used in a multiArch application.

int useDefaultMargins

When set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters.

int useIntrinsicSizeAsMinimum

Use the drawable's intrinsic width and height as minimum size values.

int useLevel

Must be a boolean value, either "true" or "false".

int userVisible

Must be a boolean value, either "true" or "false".

int usesCleartextTraffic

Declare that this application may use cleartext traffic, such as HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, STMP without STARTTLS or TLS.

int value

Concrete value to assign to this piece of named meta-data.

int valueFrom

Value the animation starts from.

int valueTo

Value the animation animates to.

int valueType

The type of valueFrom and valueTo.

int variablePadding

If true, allows the drawable's padding to change based on the current state that is selected.

int vendor

The vendor name if this print service is vendor specific.

int version

The version of the feature that is being used.

int versionCode

Internal version code.

int versionName

The text shown to the user to indicate the version they have.

int verticalCorrection

Amount to offset the touch Y coordinate by, for bias correction.

int verticalDivider

Default vertical divider between menu items.

int verticalGap

Default vertical gap between rows of keys.

int verticalScrollbarPosition

Determines which side the vertical scroll bar should be placed on.

int verticalSpacing

Defines the default vertical spacing between rows.

int viewportHeight

The height of the canvas the drawing is on.

int viewportWidth

The width of the canvas the drawing is on.

int visibility

Controls the initial visibility of the view.

int visible

Provides initial visibility state of the drawable; the default value is false.

int vmSafeMode

Flag indicating whether the application requests the VM to operate in the safe mode.

int voiceIcon

Voice 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".

int voiceLanguage

If provided, this specifies the spoken language to be expected, and that it will be different than the one set in the getDefault().

int voiceLanguageModel

If provided, this specifies the language model that should be used by the voice recognition system.

int voiceMaxResults

If provided, enforces the maximum number of results to return, including the "best" result which will always be provided as the SEARCH intent's primary query.

int voicePromptText

If provided, this specifies a prompt that will be displayed during voice input.

int voiceSearchMode

Voice search features are controlled by mode bits in this field.

int wallpaperCloseEnterAnimation

When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the new activity (which is entering the screen).

int wallpaperCloseExitAnimation

When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the old wallpaper activity (which is exiting the screen).

int wallpaperIntraCloseEnterAnimation

When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the previous activity (which is entering the screen).

int wallpaperIntraCloseExitAnimation

When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).

int wallpaperIntraOpenEnterAnimation

When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the new activity (which is entering the screen).

int wallpaperIntraOpenExitAnimation

When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).

int wallpaperOpenEnterAnimation

When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the new wallpaper activity (which is entering the screen).

int wallpaperOpenExitAnimation

When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).

int webTextViewStyle

Default WebTextView style.

int webViewStyle

Default WebView style.

int weekDayTextAppearance

The text appearance for the week day abbreviation in the calendar header.

int weekNumberColor

This constant was deprecated in API level 23. The color for the week numbers.

May be a reference to another resource, in the form "@[+][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".

int weekSeparatorLineColor

This constant was deprecated in API level 23. The color for the separator line between weeks.

May be a reference to another resource, in the form "@[+][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".

int weightSum

Defines the maximum weight sum.

int widgetCategory

Optional parameter which indicates where this widget can be shown, ie.

int widgetLayout

The layout for the controllable widget portion of a Preference.

int width

Makes the TextView be exactly this many pixels wide.

int windowActionBar

Flag indicating whether this window should have an Action Bar in place of the usual title bar.

int windowActionBarOverlay

Flag indicating whether this window's Action Bar should overlay application content.

int windowActionModeOverlay

Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).

int windowActivityTransitions

Flag indicating whether this window allows Activity Transitions.

int windowAllowEnterTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity.

int windowAllowReturnTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes.

int windowAnimationStyle

Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.

int windowBackground

Drawable to use as the overall window background.

int windowBackgroundFallback

Drawable to draw selectively within the inset areas when the windowBackground has been set to null.

int windowClipToOutline

Whether to clip window content to the outline of the window background.

int windowCloseOnTouchOutside

Control whether a container should automatically close itself if the user touches outside of it.

int windowContentOverlay

This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.

int windowContentTransitionManager

Reference to a TransitionManager XML resource defining the desired transitions between different window content.

int windowContentTransitions

Flag indicating whether this window requests that content changes be performed as scene changes with transitions.

int windowDisablePreview

Flag allowing you to disable the preview animation for a window.

int windowDrawsSystemBarBackgrounds

Flag indicating whether this Window is responsible for drawing the background for the system bars.

int windowElevation

Elevation to use for the window.

int windowEnableSplitTouch

Flag indicating that this window should allow touches to be split across other windows that also support split touch.

int windowEnterAnimation

The animation used when a window is being added.

int windowEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene.

int windowExitAnimation

The animation used when a window is being removed.

int windowExitTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity.

int windowFrame

Drawable to use as a frame around the window.

int windowFullscreen

Flag indicating whether this window should fill the entire screen.

int windowHideAnimation

The animation used when a window is going from VISIBLE to INVISIBLE.

int windowIsFloating

Flag indicating whether this is a floating window.

int windowIsTranslucent

Flag indicating whether this is a translucent window.

int windowLightStatusBar

If set, the status bar will be drawn such that it is compatible with a light status bar background.

int windowMinWidthMajor

The minimum width the window is allowed to be, along the major axis of the screen.

int windowMinWidthMinor

The minimum width the window is allowed to be, along the minor axis of the screen.

int windowNoDisplay

Flag indicating that this window should not be displayed at all.

int windowNoTitle

Flag indicating whether there should be no title on this window.

int windowOverscan

Flag indicating whether this window should extend into overscan region.

int windowReenterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity.

int windowReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close.

int windowSharedElementEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene.

int windowSharedElementExitTransition

Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity.

int windowSharedElementReenterTransition

Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity.

int windowSharedElementReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity.

int windowSharedElementsUseOverlay

Indicates whether or not shared elements should use an overlay during transitions.

int windowShowAnimation

The animation used when a window is going from INVISIBLE to VISIBLE.

int windowShowWallpaper

Flag indicating that this window's background should be the user's current wallpaper.

int windowSoftInputMode

Defines the default soft input state that this window would like when it is displayed.

int windowSwipeToDismiss

Flag to indicate that a window can be swiped away to be dismissed.

int windowTitleBackgroundStyle

The style resource to use for a window's title area.

int windowTitleSize

The style resource to use for a window's title bar height.

int windowTitleStyle

The style resource to use for a window's title text.

int windowTransitionBackgroundFadeDuration

The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition.

int windowTranslucentNavigation

Flag indicating whether this window requests a translucent navigation bar.

int windowTranslucentStatus

Flag indicating whether this window requests a translucent status bar.

int writePermission

A specific permission name for write access to a ContentProvider.

int x

A coordinate in the X dimension.

int xlargeScreens

Indicates whether the application supports extra large screen form-factors.

int y

A coordinate in the Y dimension.

int yearListItemTextAppearance

This constant was deprecated in API level 23. Use yearListTextColor.

int yearListSelectorColor

This constant was deprecated in API level 23. No longer displayed.

int yesNoPreferenceStyle

Default style for YesNoPreference.

int zAdjustment

Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation.

Public constructors

R.attr()

Inherited methods

From class java.lang.Object

Constants

absListViewStyle

Added in API level 1
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

Added in API level 14
int accessibilityEventTypes

The event types this serivce would like to receive as specified in AccessibilityEvent. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
typeViewClicked0x00000001 Receives TYPE_VIEW_CLICKED events.
typeViewLongClicked0x00000002 Receives TYPE_VIEW_LONG_CLICKED events.
typeViewSelected0x00000004 Receives TYPE_VIEW_SELECTED events.
typeViewFocused0x00000008 Receives TYPE_VIEW_FOCUSED events.
typeViewTextChanged0x00000010 Receives TYPE_VIEW_TEXT_CHANGED events.
typeWindowStateChanged0x00000020 Receives TYPE_WINDOW_STATE_CHANGED events.
typeNotificationStateChanged0x00000040 Receives TYPE_NOTIFICATION_STATE_CHANGED events.
typeViewHoverEnter0x00000080 Receives TYPE_VIEW_HOVER_ENTER events.
typeViewHoverExit0x00000100 Receives TYPE_VIEW_HOVER_EXIT events.
typeTouchExplorationGestureStart0x00000200 Receives TYPE_TOUCH_EXPLORATION_GESTURE_START events.
typeTouchExplorationGestureEnd0x00000400 Receives TYPE_TOUCH_EXPLORATION_GESTURE_END events.
typeWindowContentChanged0x00000800 Receives TYPE_WINDOW_CONTENT_CHANGED events.
typeViewScrolled0x000001000 Receives TYPE_VIEW_SCROLLED events.
typeViewTextSelectionChanged0x000002000 Receives TYPE_VIEW_TEXT_SELECTION_CHANGED events.
typeAnnouncement0x00004000 Receives TYPE_ANNOUNCEMENT events.
typeViewAccessibilityFocused0x00008000 Receives TYPE_VIEW_ACCESSIBILITY_FOCUSED events.
typeViewAccessibilityFocusCleared0x00010000 Receives TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED events.
typeViewTextTraversedAtMovementGranularity0x00020000 Receives TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY events.
typeGestureDetectionStart0x00040000 Receives TYPE_GESTURE_DETECTION_START events.
typeGestureDetectionEnd0x00080000 Receives TYPE_GESTURE_DETECTION_END events.
typeTouchInteractionStart0x00100000 Receives TYPE_TOUCH_INTERACTION_START events.
typeTouchInteractionEnd0x00200000 Receives TYPE_TOUCH_INTERACTION_END events.
typeWindowsChanged0x00400000 Receives TYPE_WINDOWS_CHANGED events.
typeContextClicked0x00800000 Receives TYPE_VIEW_CONTEXT_CLICKED events.
typeAssistReadingContext0x01000000 Receives TYPE_ASSIST_READING_CONTEXT events.
typeAllMask0xffffffff Receives TYPES_ALL_MASK i.e. all events.

Constant Value: 16843648 (0x01010380)

accessibilityFeedbackType

Added in API level 14
int accessibilityFeedbackType

The feedback types this serivce provides as specified in AccessibilityServiceInfo. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
feedbackSpoken0x00000001 Provides FEEDBACK_SPOKEN feedback.
feedbackHaptic0x00000002 Provides FEEDBACK_HAPTIC feedback.
feedbackAudible0x00000004 Provides FEEDBACK_AUDIBLE feedback.
feedbackVisual0x00000008 Provides FEEDBACK_VISUAL feedback.
feedbackGeneric0x00000010 Provides FEEDBACK_GENERIC feedback.
feedbackAllMask0xffffffff Provides FEEDBACK_ALL_MASK feedback.

Constant Value: 16843650 (0x01010382)

accessibilityFlags

Added in API level 14
int accessibilityFlags

Additional flags as specified in AccessibilityServiceInfo. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
flagDefault0x00000001 Has flag DEFAULT
flagIncludeNotImportantViews0x00000002 Has flag FLAG_INCLUDE_NOT_IMPORTANT_VIEWS
flagRequestTouchExplorationMode0x00000004 Has flag FLAG_REQUEST_TOUCH_EXPLORATION_MODE
flagRequestEnhancedWebAccessibility0x00000008 Has flag FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY
flagReportViewIds0x00000010 Has flag FLAG_REPORT_VIEW_IDS
flagRequestFilterKeyEvents0x00000020 Has flag FLAG_REQUEST_FILTER_KEY_EVENTS
flagRetrieveInteractiveWindows0x00000040 Has flag FLAG_RETRIEVE_INTERACTIVE_WINDOWS

Constant Value: 16843652 (0x01010384)

accessibilityLiveRegion

Added in API level 19
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.

ConstantValueDescription
none0 Accessibility services should not announce changes to this view.
polite1 Accessibility services should announce changes to this view.
assertive2 Accessibility services should interrupt ongoing speech to immediately announce changes to this view.

Constant Value: 16843758 (0x010103ee)

accessibilityTraversalAfter

Added in API level 22
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

Added in API level 22
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

Added in API level 5
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

Added in API level 5
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

Added in API level 1
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

Added in API level 14
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

Added in API level 14
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

Added in API level 21
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

Added in API level 11
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.

ConstantValueDescription
wrap_content0

Constant Value: 16843499 (0x010102eb)

actionBarSplitStyle

Added in API level 14
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 21
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

Added in API level 14
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 21
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

Added in API level 11
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

Added in API level 14
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

Added in API level 21
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

Added in API level 14
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

Added in API level 14
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

Added in API level 21
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

Added in API level 11
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

Added in API level 21
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

Added in API level 14
int actionProviderClass

The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. See setActionProvider(android.view.ActionProvider) for more info.

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

Constant Value: 16843657 (0x01010389)

actionViewClass

Added in API level 11
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 19
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

Added in API level 1
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

Added in API level 1
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

Added in API level 19
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

Added in API level 11
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

Added in API level 1
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

Added in API level 11
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

Added in API level 14
int alignmentMode

Alignment constants.

Must be one of the following constant values.

ConstantValueDescription
alignBounds0 Align the bounds of the children. See ALIGN_BOUNDS.
alignMargins1 Align the margins of the children. See ALIGN_MARGINS.

Constant Value: 16843642 (0x0101037a)

allContactsName

Added in API level 11
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

Added in API level 4
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

Added in API level 1
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

Added in API level 20
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

Added in API level 11
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

Added in API level 3
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

Added in API level 1
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

Added in API level 23
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 1
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

Added in API level 11
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

Added in API level 11
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

Added in API level 3
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
int animationOrder

The order in which the animations will be started.

Must be one of the following constant values.

ConstantValueDescription
normal0 Animations are started in the natural order.
reverse1 Animations are started in the reverse order.
random2 Animations are started randomly.

Constant Value: 16843214 (0x010101ce)

animationResolution

Added in API level 11
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

Added in API level 1
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

Added in API level 4
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

Added in API level 19
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

Added in API level 1
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

Added in API level 7
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

Added in API level 1
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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.

ConstantValueDescription
none0x00 Match no patterns (default).
web0x01 Match Web URLs.
email0x02 Match email addresses.
phone0x04 Match phone numbers.
map0x08 Match map addresses.
all0x0f Match all patterns (equivalent to web|email|phone|map).

Constant Value: 16842928 (0x010100b0)

autoMirrored

Added in API level 19
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

Added in API level 21
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

Added in API level 7
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

Added in API level 1
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

Added in API level 4
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

Added in API level 23
int autoVerify

Specify whether an activity intent filter will need to be verified thru its set of data URIs. This will only be used when the Intent's action is set to Intent.ACTION_VIEW and the Intent's category is set to Intent.CATEGORY_BROWSABLE and the intern filter data scheme is set to "http" or "https". When set to true, the intent filter will need to use its data tag for getting the URIs to verify with. For each URI, an HTTPS network request will be done to /.well-known/statements.json host to verify that the web site is okay with the app intercepting the URI.

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

Added in API level 1
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

Added in API level 1
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

Added in API level 3
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

Added in API level 14
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

Added in API level 14
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

Added in API level 21
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

Added in API level 21
int backgroundTintMode

Blending mode used to apply the background tint.

Must be one of the following constant values.

ConstantValueDescription
src_over3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
src_in5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_atop9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
multiply14 Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen15 [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
add16 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)

Constant Value: 16843884 (0x0101046c)

backupAgent

Added in API level 4
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

Added in API level 24
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

Added in API level 21
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 24
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 3
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

Added in API level 1
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

Added in API level 11
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

Added in API level 11
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

Added in API level 23
int breakStrategy

Break strategy (control over paragraph layout).

Must be one of the following constant values.

ConstantValueDescription
simple0 Line breaking uses simple strategy.
high_quality1 Line breaking uses high-quality strategy, including hyphenation.
balanced2 Line breaking strategy balances line lengths.

Constant Value: 16843997 (0x010104dd)

bufferType

Added in API level 1
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.

ConstantValueDescription
normal0 Can return any CharSequence, possibly a Spanned one if the source text was Spanned.
spannable1 Can only return Spannable.
editable2 Can only return Spannable and Editable.

Constant Value: 16843086 (0x0101014e)

button

Added in API level 1
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

Added in API level 11
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 11
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

Added in API level 24
int buttonGravity

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.

Constant Value: 16844030 (0x010104fe)

buttonStyle

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 21
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

Added in API level 21
int buttonTintMode

Blending mode used to apply the button graphic tint.

Must be one of the following constant values.

ConstantValueDescription
src_over3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
src_in5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_atop9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
multiply14 Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen15 [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
add16 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)

Constant Value: 16843888 (0x01010470)

cacheColorHint

Added in API level 1
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

Added in API level 21
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

Added in API level 11
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

Added in API level 11
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

Added in API level 24
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

Added in API level 24
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

Added in API level 24
int canRecord

Attribute whether the TV input service can record programs. This value can be changed at runtime by calling updateTvInputInfo(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

Added in API level 18
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

Added in API level 18
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

Added in API level 18
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

Added in API level 14
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

Added in API level 3
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

Added in API level 1
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.

ConstantValueDescription
none0 Don't automatically capitalize anything.
sentences1 Capitalize the first word of each sentence.
words2 Capitalize the first letter of every word.
characters3 Capitalize every character.

Constant Value: 16843113 (0x01010169)

category

Added in API level 19
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 21
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

Added in API level 21
int checkMarkTintMode

Blending mode used to apply the check mark tint.

Must be one of the following constant values.

ConstantValueDescription
src_over3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
src_in5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_atop9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
multiply14 Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen15 [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
add16 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)

Constant Value: 16843944 (0x010104a8)

checkable

Added in API level 1
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

Added in API level 1
int checkableBehavior

Whether the items are capable of displaying a check mark.

Must be one of the following constant values.

ConstantValueDescription
none0 The items are not checkable.
all1 The items are all checkable.
single2 The items are checkable and there will only be a single checked item in this group.

Constant Value: 16843232 (0x010101e0)

checkboxStyle

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 17
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

Added in API level 1
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

Added in API level 1
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

Added in API level 18
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

Added in API level 1
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

Added in API level 1
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

Added in API level 18
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

Added in API level 1
int choiceMode

Defines the choice behavior for the view. By default, lists do not have any choice behavior. By setting the choiceMode to singleChoice, the list allows up to one item to be in a chosen state. By setting the choiceMode to multipleChoice, the list allows any number of items to be chosen. Finally, by setting the choiceMode to multipleChoiceModal the list allows any number of items to be chosen in a special selection mode. The application will supply a AbsListView.MultiChoiceModeListener using setMultiChoiceModeListener(AbsListView.MultiChoiceModeListener) to control the selection mode. This uses the ActionMode API.

Must be one of the following constant values.

ConstantValueDescription
none0 Normal list that does not indicate choices.
singleChoice1 The list allows up to one choice.
multipleChoice2 The list allows multiple choices.
multipleChoiceModal3 The list allows multiple choices in a custom selection mode.

Constant Value: 16843051 (0x0101012b)

clearTaskOnLaunch

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
int clipOrientation

The orientation for the clip.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
horizontal1 Clip the drawable horizontally.
vertical2 Clip the drawable vertically.

Constant Value: 16843274 (0x0101020a)

clipToPadding

Added in API level 1
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

Added in API level 21
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

Added in API level 3
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

Added in API level 1
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

Added in API level 22
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

Added in API level 24
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

Added in API level 1
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

Added in API level 21
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

Added in API level 14
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

Added in API level 1
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

Added in API level 5
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

Added in API level 23
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 14
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

Added in API level 1
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

Added in API level 1
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

Added in API level 14
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

Added in API level 14
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

Added in API level 14
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

Added in API level 21
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

Added in API level 21
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

Added in API level 14
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

Added in API level 1
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

Added in API level 14
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

Added in API level 1
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

Added in API level 21
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

Added in API level 13
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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.

ConstantValueDescription
mcc0x0001 The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code.
mnc0x0002 The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code.
locale0x0004 The locale has changed, that is the user has selected a new language that text should be displayed in.
touchscreen0x0008 The touchscreen has changed. Should never normally happen.
keyboard0x0010 The keyboard type has changed, for example the user has plugged in an external keyboard.
keyboardHidden0x0020 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.
navigation0x0040 The navigation type has changed. Should never normally happen.
orientation0x0080 The screen orientation has changed, that is the user has rotated the device.
screenLayout0x0100 The screen layout has changed. This might be caused by a different display being activated.
uiMode0x0200 The global user interface mode has changed. For example, going in or out of car mode, night mode changing, etc.
screenSize0x0400 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.
smallestScreenSize0x0800 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.
density0x1000 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.
layoutDirection0x2000 The layout direction has changed. For example going from LTR to RTL.
fontScale0x40000000 The font scaling factor has changed, that is the user has selected a new global font size.

Constant Value: 16842783 (0x0101001f)

configure

Added in API level 3
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

Added in API level 1
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

Added in API level 3
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

Added in API level 21
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

Added in API level 5
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

Added in API level 4
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

Added in API level 21
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

Added in API level 24
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 24
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

Added in API level 23
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

Added in API level 24
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 24
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

Added in API level 21
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

Added in API level 1
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

Added in API level 1
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

Added in API level 11
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 21
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

Added in API level 21
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.

ConstantValueDescription
spinner1 Date picker with spinner controls to select the date.
calendar2 Date picker with calendar to select the date.

Constant Value: 16843955 (0x010104b3)

datePickerStyle

Added in API level 11
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

Added in API level 11
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

Added in API level 21
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

Added in API level 21
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

Added in API level 1
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

Added in API level 24
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

Added in API level 24
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

Added in API level 1
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

Added in API level 24
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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.

ConstantValueDescription
beforeDescendants0 The ViewGroup will get focus before any of its descendants.
afterDescendants1 The ViewGroup will get focus only if none of its descendants want it.
blocksDescendants2 The ViewGroup will block its descendants from receiving focus.

Constant Value: 16842993 (0x010100f1)

description

Added in API level 1
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

Added in API level 5
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

Added in API level 5
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

Added in API level 5
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 22
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 24
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

Added in API level 1
int direction

Direction of the animation in the grid.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
left_to_right0x0 Animates columns from left to right.
right_to_left0x1 Animates columns from right to left.
top_to_bottom0x0 Animates rows from top to bottom.
bottom_to_top0x2 Animates rows from bottom to top.

Constant Value: 16843217 (0x010101d1)

directionDescriptions

Added in API level 14
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

Added in API level 1
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.

ConstantValueDescription
none0 Rows and columns are animated at the same time.
column1 Columns are animated first.
row2 Rows are animated first.

Constant Value: 16843218 (0x010101d2)

disableDependentsState

Added in API level 1
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

Added in API level 1
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

Added in API level 11
int displayOptions

Options affecting how the action bar is displayed.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
none0
useLogo0x1
showHome0x2
homeAsUp0x4
showTitle0x8
showCustom0x10
disableHome0x20

Constant Value: 16843472 (0x010102d0)

dither

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 21
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.

ConstantValueDescription
none0 The default mode, which will create a new task only when Intent.FLAG_ACTIVITY_NEW_TASK is set.
intoExisting1 All tasks will be searched for one whose base Intent's ComponentName and data URI match those of the launching Intent. If such a task is found that task will be cleared and restarted with the root activity receiving a call to Activity.onNewIntent. If no such task is found a new task will be created.

This is the equivalent of launching an activity with Intent.FLAG_ACTIVITY_NEW_DOCUMENT set and without Intent.FLAG_ACTIVITY_MULTIPLE_TASK set.

always2 A new task rooted at this activity will be created. This will happen whether or not there is an existing task whose ComponentName and data URI match that of the launcing intent This is the equivalent of launching an activity with Intent.FLAG_ACTIVITY_NEW_DOCUMENT and Intent.FLAG_ACTIVITY_MULTIPLE_TASK both set.
never3 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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 14
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 14
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

Added in API level 23
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

Added in API level 23
int drawableTintMode

Blending mode used to apply the compound (left, top, etc.) drawables tint.

Must be one of the following constant values.

ConstantValueDescription
src_over3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
src_in5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_atop9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
multiply14 Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen15 [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
add16 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)

Constant Value: 16843991 (0x010104d7)

drawableTop

Added in API level 1
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

Added in API level 1
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.

ConstantValueDescription
auto0 Lets the framework decide what quality level should be used for the drawing cache.
low1 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.
high2 High quality. When set to high quality, the drawing cache uses a higher color depth but uses more memory.

Constant Value: 16842984 (0x010100e8)

dropDownAnchor

Added in API level 3
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

Added in API level 4
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.

ConstantValueDescription
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

Added in API level 1
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

Added in API level 5
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 11
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

Added in API level 5
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

Added in API level 3
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.

ConstantValueDescription
fill_parent-1 The dropdown should fill the width of the screen. This constant is deprecated starting from API Level 8 and is replaced by match_parent.
match_parent-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

Added in API level 1
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

Added in API level 1
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

Added in API level 11
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 3
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

Added in API level 21
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

Added in API level 21
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

Added in API level 1
int ellipsize

Where to ellipsize text.

Must be one of the following constant values.

ConstantValueDescription
none0
start1
middle2
end3
marquee4

Constant Value: 16842923 (0x010100ab)

ems

Added in API level 1
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

Added in API level 24
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

Added in API level 1
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

Added in API level 23
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

Added in API level 1
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

Added in API level 24
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

Added in API level 24
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

Added in API level 1
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 4
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

Added in API level 21
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

Added in API level 1
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

Added in API level 21
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

Added in API level 21
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 8
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

Added in API level 1
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

Added in API level 24
int externalService

If the service is an isolatedProcess service, this permits a client to bind to the service as if it were running it its own package. The service must also be exported if this flag is set.

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

Added in API level 4
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

Added in API level 23
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

Added in API level 1
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

Added in API level 4
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

Added in API level 4
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

Added in API level 4
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

Added in API level 5
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

Added in API level 1
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 the android:requiresFadingEdge attribute instead.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
none0x00000000 No edge is faded.
horizontal0x00001000 Fades horizontal edges only.
vertical0x00002000 Fades vertical edges only.

Constant Value: 16842975 (0x010100df)

fadingEdgeLength

Added in API level 1
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

Added in API level 19
int fadingMode

Equivalent to transitionVisibilityMode, fadingMode works only with the Fade transition.

Must be one of the following constant values.

ConstantValueDescription
fade_in1 Fade will only fade appearing items in.
fade_out2 Fade will only fade disappearing items out.
fade_in_out3 Fade will fade appearing items in and disappearing items out.

Constant Value: 16843745 (0x010103e1)

fastScrollAlwaysVisible

Added in API level 11
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

Added in API level 3
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

Added in API level 11
int fastScrollOverlayPosition

Position of the fast scroll index overlay window.

Must be one of the following constant values.

ConstantValueDescription
floating0
atThumb1
aboveThumb2

Constant Value: 16843578 (0x0101033a)

fastScrollPreviewBackgroundLeft

Added in API level 11
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

Added in API level 11
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

Added in API level 21
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 1
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

Added in API level 21
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

Added in API level 1
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

Added in API level 21
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

Added in API level 3
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

Added in API level 24
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.

ConstantValueDescription
nonZero0
evenOdd1

Constant Value: 16844062 (0x0101051e)

fillViewport

Added in API level 1
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

Added in API level 1
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

Added in API level 9
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

Added in API level 23
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

Added in API level 5
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

Added in API level 1
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 11
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

Added in API level 16
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

Added in API level 21
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

Added in API level 3
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

Added in API level 24
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

Added in API level 1
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

Added in API level 1
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.

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
clip_vertical0x80 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_horizontal0x08 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

Added in API level 21
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

Added in API level 21
int foregroundTintMode

Blending mode used to apply the foreground tint.

Must be one of the following constant values.

ConstantValueDescription
src_over3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
src_in5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_atop9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
multiply14 Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen15 [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
add16 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)

Constant Value: 16843886 (0x0101046e)

format

Added in API level 1
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

Added in API level 17
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

Added in API level 17
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

Added in API level 23
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

Added in API level 11
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

Added in API level 21
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

Added in API level 21
int fragmentAllowReturnTransitionOverlap

Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack. Corresponds to setAllowReturnTransitionOverlap(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

Added in API level 11
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

Added in API level 11
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

Added in API level 21
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

Added in API level 21
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 11
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

Added in API level 21
int fragmentReenterTransition

The Transition that will be used to move Views in to the scene when returning due to popping a back stack. Corresponds to setReenterTransition(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

Added in API level 21
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

Added in API level 21
int fragmentSharedElementEnterTransition

The Transition that will be used for shared elements transferred into the content Scene. Corresponds to setSharedElementEnterTransition(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

Added in API level 21
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 21
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

Added in API level 19
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 23
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

Added in API level 21
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 4
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

Added in API level 4
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

Added in API level 4
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

Added in API level 4
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

Added in API level 4
int gestureStrokeType

Defines the type of strokes that define a gesture.

Must be one of the following constant values.

ConstantValueDescription
single0 A gesture is made of only one stroke.
multiple1 A gesture is made of multiple strokes.

Constant Value: 16843385 (0x01010279)

gestureStrokeWidth

Added in API level 4
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

Added in API level 4
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

Added in API level 21
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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.

ConstantValueDescription
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
clip_vertical0x80 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_horizontal0x08 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.
start0x00800003 Push object to the beginning of its container, not changing its size.
end0x00800005 Push object to the end of its container, not changing its size.

Constant Value: 16842927 (0x010100af)

gridViewStyle

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 3
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

Added in API level 1
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

Added in API level 3
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

Added in API level 11
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

Added in API level 1
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

Added in API level 21
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

Added in API level 1
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

Added in API level 21
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

Added in API level 3
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

Added in API level 21
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

Added in API level 21
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

Added in API level 21
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

Added in API level 1
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

Added in API level 21
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

Added in API level 1
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

Added in API level 11
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

Added in API level 11
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

Added in API level 1
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

Added in API level 3
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 24
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

Added in API level 24
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

Added in API level 23
int hyphenationFrequency

Frequency of automatic hyphenation.

Must be one of the following constant values.

ConstantValueDescription
none0 No hyphenation.
normal1 Less frequent hyphenation, useful for informal use cases, such as chat messages.
full2 Standard amount of hyphenation, useful for running text and for screens with limited space for text.

Constant Value: 16843998 (0x010104de)

icon

Added in API level 1
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

Added in API level 3
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

Added in API level 11
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 1
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

Added in API level 3
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

Added in API level 3
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

Added in API level 3