Added in API level 1

attr


class attr
kotlin.Any
   ↳ android.R.attr

Summary

Constants
static Int

Default AbsListView style.

static Int

Describes whether this view should allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.

static Int

The event types this service would like to receive as specified in android.view.accessibility.AccessibilityEvent.

static Int

The feedback types this service provides as specified in android.accessibilityservice.AccessibilityServiceInfo.

static Int

Additional flags as specified in android.accessibilityservice.AccessibilityServiceInfo.

static Int

Whether or not this view is a heading for accessibility purposes.

static Int

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

static Int

The title this view should present to accessibility as a pane title.

static Int

Sets the id of a view that screen readers are requested to visit before this view.

static Int

Sets the id of a view that screen readers are requested to visit after this view.

static Int

A preferences.

static Int

The account type this authenticator handles.

static Int

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

static Int

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

static Int

Custom item state list drawable background for action bar items.

static Int

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

static Int

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

static Int

Reference to a style for the split Action Bar.

static Int

Reference to a style for the Action Bar.

static Int

Reference to a style for the Action Bar Tab Bar.

static Int

Default style for tabs within an action bar.

static Int

Reference to a style for the Action Bar Tab text.

static Int

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

static Int

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

static Int

Default action button style.

static Int

Default ActionBar dropdown style.

static Int

An optional layout to be used as an action view.

static Int

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

static Int

Color for text that appears within action menu items.

static Int

Background drawable to use for action mode UI.

static Int

Reference to a style for the Action Mode close button.

static Int

Drawable to use for the close action mode button.

static Int

Drawable to use for the Copy action button in Contextual Action Bar.

static Int

Drawable to use for the Cut action button in Contextual Action Bar.

static Int

Drawable to use for the Find action button in WebView selection action modes.

static Int

Drawable to use for the Paste action button in Contextual Action Bar.

static Int

Drawable to use for the Select all action button in Contextual Action Bar.

static Int

Drawable to use for the Share action button in WebView selection action modes.

static Int

Background drawable to use for action mode UI in the lower split bar.

static Int

Reference to a style for the Action Mode.

static Int

Drawable to use for the Web Search action button in WebView selection action modes.

static Int

Reference to a style for Action Bar overflow buttons.

static Int

Reference to a style for the Action Bar menu.

static Int

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

static Int

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

static Int

Drawable used as a background for activated items.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

The advertisement types that the TV ad service supports.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Icon drawable to use for alerts.

static Int

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

static Int

Theme to use for alert dialogs spawned from this theme.

static Int

Alignment constants.

static Int

Resource representing the term "All Contacts" (for example, "All Friends" or "All connections").

static Int

Specify if this group is allow rule or disallow rule.

static Int

If true the app's non sensitive audio can be captured by other apps with android.media.AudioPlaybackCaptureConfiguration and a android.media.projection.MediaProjection.

static Int

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

static Int

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

static Int

Whether or not allow clicks on disabled view.

static Int

May be a boolean value, such as "true" or "false".

static Int

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

static Int

Set true to enable ANGLE.

static Int

Set true to allow resolution downscaling intervention.

static Int

Set true to allow FPS override intervention.

static Int

If true this app will receive tagged pointers to native heap allocations from functions like malloc() on compatible devices.

static Int

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

static Int

If true, and this is an android.R.attr#isolatedProcess service, the service is allowed to be bound in a shared isolated process with other isolated services.

static Int

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

static Int

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

static Int

Whether undo should be allowed for editable text.

static Int

Indicate that the activity can be embedded by untrusted hosts.

static Int

May be a boolean value, such as "true" or "false".

static Int

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

static Int

The alphabetic modifier key.

static Int

The alphabetic shortcut key.

static Int

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

static Int

Specify whether an activity's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations.

static Int

The background color state list for the AM/PM selectors.

static Int

The color for the AM/PM selectors.

static Int

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

static Int

Angle of the gradient, used only with linear gradient.

static Int

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

static Int

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

static Int

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

static Int

Animated image of the target of accessibility shortcut purpose or behavior, to help users understand how the target of accessibility shortcut can help them.

static Int

Animation to use on each child.

static Int

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

static Int

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

static Int

The order in which the animations will be started.

static Int

static Int

Enables or disables antialiasing.

static Int

Indicates whether the application can accommodate any screen density.

static Int

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

static Int

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

static Int

Declare the category of this app.

static Int

The (optional) fully-qualified name for a subclass of android.app.AppComponentFactory that the system uses to instantiate every other manifest defined class.

static Int

Attribution tag to be used for permission sub-attribution if a permission is checked in android.

static Int

Whether attributions provided are meant to be user-visible.

static Int

Name of the author and/or source/collection of this component, for example, Art Collection, Picasso.

static Int

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

static Int

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

static Int

Default AutoCompleteTextView style.

static Int

Whether or not the auto handwriting initiation is enabled in this View.

static Int

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

static Int

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

static Int

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

static Int

No longer used.

static Int

The maximum text size constraint to be used when auto-sizing text.

static Int

The minimum text size constraint to be used when auto-sizing text.

static Int

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

static Int

Specify the auto-size step size if autoSizeTextType is set to uniform.

static Int

Specify the type of auto-size.

static Int

When true, automatically start animating.

static Int

If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors.

static Int

May be a boolean value, such as "true" or "false".

static Int

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

static Int

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

static Int

Describes the content of a view so that a autofill service can fill in the appropriate data.

static Int

Drawable to be drawn over the view to mark it as autofilled

static Int

Special option for window animations: whether the window's background should be used as a background to the animation.

static Int

A drawable to use as the background.

static Int

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

static Int

Control whether dimming behind the window is enabled.

static Int

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

static Int

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

static Int

Tint to apply to the background.

static Int

Blending mode used to apply the background tint.

static Int

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

static Int

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

static Int

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

static Int

The offset of the baseline within this view.

static Int

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

static Int

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

static Int

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

static Int

Drawable to use as the icon bitmap.

static Int

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

static Int

Amount of bottom padding inside the gradient shape.

static Int

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

static Int

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

static Int

Radius of the bottom left corner.

static Int

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

static Int

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

static Int

Radius of the bottom right corner.

static Int

The short title for the bread crumb of this item.

static Int

The title for the bread crumb of this item.

static Int

Break strategy (control over paragraph layout).

static Int

Determines the minimum type that getText() will return.

static Int

Drawable used for the button graphic (for example, checkbox and radio button).

static Int

Style for buttons within button bars.

static Int

Style for the "negative" buttons within button bars.

static Int

Style for the "neutral" buttons within button bars.

static Int

Style for the "positive" buttons within button bars.

static Int

Style for button bars.

static Int

Corner radius of buttons.

static Int

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

static Int

Normal Button style.

static Int

Button style to inset into an EditText.

static Int

Small Button style.

static Int

ToggleButton style.

static Int

Tint to apply to the button graphic.

static Int

Blending mode used to apply the button graphic tint.

static Int

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

static Int

The text color list of the calendar.

static Int

Whether the calendar view is shown.

static Int

The CalendarView style.

static Int

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

static Int

Indicates whether the activity can be displayed on a display that may belong to a remote device which may or may not be running Android.

static Int

Attribute whether the TV input service can pause recording programs.

static Int

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

static Int

Attribute whether the TV input service can record programs.

static Int

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

static Int

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

static Int

Attribute whether the accessibility service wants to be able to capture gestures from the fingerprint sensor.

static Int

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.

static Int

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

static Int

Attribute whether the accessibility service wants to be able to take screenshot.

static Int

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

static Int

Declare that this application can't participate in the normal state save/restore mechanism.

static Int

An individual capability declared by the provider.

static Int

If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types.

static Int

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.

static Int

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

static Int

Optional center color.

static Int

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

static Int

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

static Int

X-position of the center point of the gradient within the shape as a fraction of the width.

static Int

Y-position of the center point of the gradient within the shape as a fraction of the height.

static Int

Optional SHA-256 digest of the package signing certificate.

static Int

Default style for CheckBoxPreference.

static Int

Drawable used for the check mark graphic.

static Int

Tint to apply to the check mark.

static Int

Blending mode used to apply the check mark tint.

static Int

Whether the item is capable of displaying a check mark.

static Int

Whether the items are capable of displaying a check mark.

static Int

Default Checkbox style.

static Int

Indicates the initial checked state of this button.

static Int

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

static Int

Default CheckedTextView style.

static Int

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

static Int

Indicator shown beside the child View.

static Int

The end bound for a child's indicator.

static Int

The left bound for a child's indicator.

static Int

The right bound for a child's indicator.

static Int

The start bound for a child's indicator.

static Int

Defines the choice behavior for the view.

static Int

The classname of the classloader used to load the application's classes from its APK.

static Int

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

static Int

Defines whether this view reacts to click events.

static Int

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

static Int

The orientation for the clip.

static Int

Whether the View's Outline should be used to clip the contents of the View.

static Int

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

static Int

Close button icon.

static Int

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

static Int

The zero-based index of the columns to collapse.

static Int

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

static Int

Icon drawable to use for the collapse button.

static Int

Solid color for the gradient shape.

static Int

Bright complement to the primary branding color.

static Int

Default highlight color for items that are activated.

static Int

Default color of background imagery, ex.

static Int

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

static Int

Default color of background imagery for floating components, ex.

static Int

The color applied to framework buttons in their normal state.

static Int

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

static Int

The color applied to framework control highlights (ex. ripples, list selectors).

static Int

The color applied to framework controls in their normal state.

static Int

The color applied to the edge effect on scrolling containers.

static Int

Color used for error states and things that need to be drawn to the users attention.

static Int

Default highlight color for items that are focused.

static Int

Default color of foreground imagery.

static Int

Default color of foreground imagery on an inverted background.

static Int

Default highlight color for items that are long-pressed.

static Int

Specify the color mode the activity desires.

static Int

Default highlight color for items in multiple selection mode.

static Int

Default highlight color for items that are pressed.

static Int

The primary branding color for the app.

static Int

Dark variant of the primary branding color.

static Int

The secondary branding color for the app.

static Int

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

static Int

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

static Int

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

static Int

Specifies the fixed width for each column.

static Int

Commit icon shown in the query suggestion row.

static Int

Starting with android.os.Build.VERSION_CODES#HONEYCOMB_MR2, this is the new way to specify the largest screens an application is compatible with.

static Int

Defines the hint displayed in the drop down menu.

static Int

Defines the hint view displayed in the drop down menu.

static Int

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

static Int

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

static Int

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

static Int

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.

static Int

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

static Int

The age associated with the content rating.

static Int

the authority of a content provider.

static Int

The content description associated with the item.

static Int

Minimum inset for content views within a bar.

static Int

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

static Int

Minimum inset for content views within a bar.

static Int

Minimum inset for content views within a bar.

static Int

Minimum inset for content views within a bar.

static Int

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

static Int

Must be one of the following constant values.

static Int

Defines whether this view reacts to context click events.

static Int

Title of the uri that specifies a link for further context of this wallpaper, for example, Explore collection.

static Int

Default context menu PopupMenu style.

static Int

Uri that specifies a link for further context of this wallpaper, for example, http://www.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

If true indicates that this application is capable of presenting a unified interface representing multiple profiles.

static Int

Makes the cursor visible (the default) or invisible.

static Int

Specifies a layout for custom navigation.

static Int

Account handles its own token storage and permissions.

static Int

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

static Int

Gap between dashes in the stroke.

static Int

Length of a dash in the stroke.

static Int

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

static Int

Applications can set this attribute to an xml resource within their app where they specified the rules determining which files and directories can be copied from the device as part of backup or transfer operations.

static Int

The DatePicker dialog theme.

static Int

Defines the look of the widget.

static Int

The DatePicker style.

static Int

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

static Int

The background color for the header's day of week.

static Int

The text color for the header's day of week.

static Int

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

static Int

Whether this View should use a default focus highlight when it gets focused but doesn't have android.R.attr#state_focused defined in its background.

static Int

Default height of the activity.

static Int

The IETF BCP47 language tag the strings in values/strings.

static Int

May be a boolean value, such as "true" or "false".

static Int

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.

static Int

Default width of the activity.

static Int

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

static Int

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

static Int

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

static Int

Descriptive text for the associated data.

static Int

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

static Int

Column in data table that contains details for this data.

static Int

Flag indicating that detail should be built from SocialProvider.

static Int

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

static Int

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

static Int

Tint to apply to the dial graphic.

static Int

Blending mode used to apply the dial graphic tint.

static Int

Corner radius of dialogs.

static Int

The icon for the dialog.

static Int

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

static Int

The message in the dialog.

static Int

Default style for DialogPreference.

static Int

Preferred padding for dialog content.

static Int

Theme to use for dialogs spawned from this theme.

static Int

The title in the dialog.

static Int

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

static Int

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

static Int

Direction of the animation in the grid.

static Int

static Int

Priority of the rows and columns.

static Int

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

static Int

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

static Int

Options affecting how the action bar is displayed.

static Int

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

static Int

Drawable or color to draw between list items.

static Int

Height of the divider.

static Int

Drawable to use for generic horizontal dividers.

static Int

Size of padding on either end of a divider.

static Int

Drawable to use for generic vertical dividers.

static Int

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

static Int

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

static Int

Reference to a drawable resource to use for the frame.

static Int

The drawable to be drawn below the text.

static Int

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

static Int

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

static Int

The padding between the drawables and the text.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

The drawable to be drawn above the text.

static Int

Defines the quality of translucent drawing caches.

static Int

View to anchor the auto-complete dropdown to.

static Int

Specifies the basic height of the dropdown.

static Int

Default style for drop down hints.

static Int

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

static Int

Default style for drop down items.

static Int

Default ListView style for drop downs.

static Int

Selector in a drop down list.

static Int

Default dropdown Spinner style.

static Int

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

static Int

Specifies the basic width of the dropdown.

static Int

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

static Int

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

static Int

EditText background drawable.

static Int

EditText text foreground color.

static Int

Default style for EditTextPreference.

static Int

Default EditText style.

static Int

If set, specifies that this TextView has an input method.

static Int

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.

static Int

Color applied to effects.

static Int

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

static Int

base z depth of the view.

static Int

Where to ellipsize text.

static Int

Makes the TextView be exactly this many ems wide.

static Int

If false, KEYCODE_BACK and Activity.onBackPressed() and related event will be forwarded to the Activity and its views.

static Int

Enables styling shortcuts, e.

static Int

Flag declaring that this activity will be run in VR mode, and specifying the component of the android.service.vr.VrListenerService that should be bound while this Activity is visible if it is installed and enabled on this device.

static Int

Specifies whether the widget is enabled.

static Int

End inset to apply to the layer.

static Int

End color of the gradient.

static Int

X coordinate of the end point origin of the gradient.

static Int

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

static Int

{@deprecated Use maxDate instead.

static Int

Sets whether the system should ensure that the navigation bar has enough contrast when a fully transparent background is requested.

static Int

Sets whether the system should ensure that the status bar has enough contrast when a fully transparent background is requested.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

The id of a target to exclude from this transition.

static Int

The transitionName of the target to exclude from this transition.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Default ExpandableListView style.

static Int

ExpandableListView with white background.

static Int

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

static Int

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

static Int

This is the amount by which to multiply the tension.

static Int

When set installer will extract native libraries.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

This attribute is ignored in API level 14 (android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH) and higher.

static Int

Defines the length of the fading edges.

static Int

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

static Int

Whether to respect the ascent and descent of the fallback fonts that are used in displaying the text.

static Int

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

static Int

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

static Int

Position of the fast scroll index overlay window.

static Int

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

static Int

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

static Int

Specifies the style of the fast scroll decorations.

static Int

Text color for the fast scroll index overlay.

static Int

Drawable to use as the fast scroll thumb.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

sets the fillType for a path.

static Int

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

static Int

Enables or disables bitmap filtering.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Distance from the top of the TextView to the first text baseline.

static Int

The first day of week according to java.util.Calendar.

static Int

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

static Int

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

static Int

Controls whether a view can take focus.

static Int

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

static Int

Whether this view is a default-focus view.

static Int

static Int

Color of focused search result highlight.

static Int

The reference to the font file to be used.

static Int

Default font family.

static Int

Font feature settings.

static Int

The authority of the Font Provider to be used for the request.

static Int

The sets of hashes for the certificates the provider should be signed with.

static Int

The package for the Font Provider to be used for the request.

static Int

The query to be sent over to the provider.

static Int

Provides the system font family name to check before downloading the font.

static Int

The style of the given font file.

static Int

The variation settings to be applied to the font.

static Int

The weight of the given font file.

static Int

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

static Int

Whether or not the force dark feature is allowed to be applied to this View.

static Int

Whether this view has elements that may overlap when drawn.

static Int

May be a boolean value, such as "true" or "false".

static Int

If true, the system will always create URI permission grants in the cases where android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION or android.content.Intent#FLAG_GRANT_WRITE_URI_PERMISSION would apply.

static Int

Defines the drawable to draw over the content.

static Int

Defines the gravity to apply to the foreground drawable.

static Int

Specify the type of foreground service.

static Int

Tint to apply to the foreground.

static Int

Blending mode used to apply the foreground tint.

static Int

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.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Specify a URI fragment that matches an advanced pattern, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_ADVANCED_GLOB.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Specify a URI fragment that matches a simple pattern, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_SIMPLE_GLOB.

static Int

Specify a URI fragment that must be a prefix to match, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_PREFIX.

static Int

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

static Int

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.

static Int

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

static Int

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

static Int

Specify a URI fragment that must be a suffix to match, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_SUFFIX.

static Int

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.

static Int

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

static Int

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

static Int

Defines the amount a window should be extended outward from the bottom at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

static Int

Defines the amount a window should be extended outward from the left at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

static Int

Defines the amount a window should be extended outward from the right at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

static Int

Defines the amount a window should be extended outward from the top at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

static Int

Keyframe identifier for the starting state.

static Int

The originating scene in this scene change.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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.

static Int

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

static Int

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

static Int

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

static Int

The preferred background for gallery items.

static Int

Default Gallery style.

static Int

Color used to draw a gesture.

static Int

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

static Int

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

static Int

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

static Int

Defines the type of strokes that define a gesture.

static Int

Width of the stroke used to draw the gesture.

static Int

The GLES driver version number needed by an application.

static Int

Go button icon.

static Int

Radius of the gradient, used only with radial gradient.

static Int

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.

static Int

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

static Int

Default GridView style.

static Int

Indicator shown beside the group View.

static Int

Enable sampled memory bug detection in this process.

static Int

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

static Int

Tint to apply to the hour hand graphic.

static Int

Blending mode used to apply the hour hand graphic tint.

static Int

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

static Int

Tint to apply to the minute hand graphic.

static Int

Blending mode used to apply the minute hand graphic tint.

static Int

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

static Int

Tint to apply to the second hand graphic.

static Int

Blending mode used to apply the second hand graphic tint.

static Int

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

static Int

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.

static Int

The amount of offset that is applied to the bottom edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

static Int

The amount of offset that is applied to the left edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

static Int

The amount of offset that is applied to the right edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

static Int

The amount of offset that is applied to the top edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

static Int

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

static Int

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

static Int

Indicate whether this application contains code.

static Int

If true the user is prompted to keep the app's data on uninstall

static Int

The text appearance for the AM/PM header.

static Int

Default background for the menu header.

static Int

The text appearance for the day of month (ex. 28) in the selected date header.

static Int

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

static Int

The text appearance for the month (ex. May) in the selected date header.

static Int

The text appearance for the time header.

static Int

The text appearance for the year (ex. 2014) in the selected date header.

static Int

Makes the TextView be exactly this tall.

static Int

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

static Int

Hint text to display when the text is empty.

static Int

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

static Int

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

static Int

Default horizontal divider between rows of menu items.

static Int

Default horizontal gap between keys.

static Int

Default HorizontalScrollView style.

static Int

Defines the default horizontal spacing between columns.

static Int

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

static Int

X coordinate of the icon hot spot.

static Int

Y coordinate of the icon hot spot.

static Int

Html description of the target of accessibility shortcut usage, availability, or limitations (e.g. isn't supported by all apps).

static Int

Frequency of automatic hyphenation.

static Int

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

static Int

The icon to show in the popup preview.

static Int

Whether the space for the preference icon view will be reserved.

static Int

Tint to apply to the icon.

static Int

Blending mode used to apply the icon tint.

static Int

The default state of the SearchView.

static Int

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

static Int

The identifier to assign to the intent, as per Intent.setIdentifier().

static Int

Indicates what view should not be affected by gravity.

static Int

The style resource to use for an ImageButton.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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.

static Int

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

static Int

The extra value of the subtype.

static Int

The locale of the subtype.

static Int

The mode of the subtype.

static Int

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

static Int

Describes whether or not this view is important for accessibility.

static Int

Hints the Android System whether the view node associated with this View should be included in a view structure used for autofill purposes.

static Int

Hints the Android System whether the view node associated with this View should be use for content capture purposes.

static Int

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

static Int

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

static Int

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

static Int

Allows to enable the indeterminate mode.

static Int

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

static Int

Drawable used for the indeterminate mode.

static Int

Duration of the indeterminate animation.

static Int

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

static Int

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

static Int

Tint to apply to the indeterminate progress indicator.

static Int

Blending mode used to apply the indeterminate progress indicator tint.

static Int

The end bound for an item's indicator.

static Int

The left bound for an item's indicator.

static Int

The right bound for an item's indicator.

static Int

The start bound for an item's indicator.

static Int

Overrides the id of the inflated View with this value.

static Int

Specifies whether this android.app.Activity should be shown on top of the lock screen whenever the lockscreen is up and this activity has another activity behind it with the android.R.attr#showWhenLocked attribute set.

static Int

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

static Int

A resource id of a layout.

static Int

A resource id of a layout.

static Int

Inner radius of the ring.

static Int

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

static Int

If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name).

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

The default install location defined by an application.

static Int

This attribute provides a way to fine-tune how incoming intents are matched to application components.

static Int

A recommended timeout in milliseconds used in android.view.accessibility.AccessibilityManager.getRecommendedTimeoutMillis(int, int) to return a suitable value for interactive controls.

static Int

Sets the acceleration curve for the indeterminate animation.

static Int

Detailed intro of the target of accessibility shortcut purpose or behavior.

static Int

Attribute indicating whether the accessibility service is used to assist users with disabilities.

static Int

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

static Int

Set to true if this subtype is ASCII capable.

static Int

Set true if the subtype is auxiliary.

static Int

Boolean that hints the Android System that the view is credential and associated with CredentialManager

static Int

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

static Int

If set to true, indicates to the platform that this APK is a 'feature' split and that it implicitly depends on the base APK.

static Int

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

static Int

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

static Int

Specifies that a theme has a light background with dark text on top.

static Int

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

static Int

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

static Int

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.

static Int

{@deprecated Use requiredSplitTypes instead.

static Int

Whether the given RRO is static or not.

static Int

Whether this is a toggle key.

static Int

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

static Int

If set to true, indicates to the platform that any split APKs installed for this application should be loaded into their own Context objects and not appear in the base application's Context.

static Int

Default background for each menu item.

static Int

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

static Int

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

static Int

Default appearance of menu item text.

static Int

Mode for justification.

static Int

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

static Int

The key to store the Preference value.

static Int

Image for the key.

static Int

Key edge flags.

static Int

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

static Int

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

static Int

The label to display on the key.

static Int

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

static Int

Height of the key press feedback popup.

static Int

Layout resource for key press feedback.

static Int

Vertical offset of the key press feedback from the key.

static Int

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

static Int

Color to use for the label in a key.

static Int

Size of the text for character keys.

static Int

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

static Int

The key character map file resource.

static Int

The layout type of the given keyboardLayout.

static Int

The locales the given keyboard layout corresponds to.

static Int

Mode of the keyboard.

static Int

Whether this view is a root of a keyboard navigation cluster.

static Int

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

static Int

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

static Int

A reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity.

static Int

A reference to an array resource containing the signing certificate digests to be granted this permission when using the knownSigner protection flag.

static Int

Perceptual luminance of a color, in accessibility friendly color space.

static Int

A user-legible name for the given item.

static Int

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

static Int

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

static Int

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

static Int

The BCP-47 Language Tag of the subtype.

static Int

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

static Int

Indicates whether the application supports larger screen form-factors.

static Int

Starting with android.os.Build.VERSION_CODES#HONEYCOMB_MR2, this is the new way to specify the screens an application is compatible with.

static Int

Distance from the bottom of the TextView to the last text baseline.

static Int

Specify how an activity should be launched.

static Int

When opening an activity in a new task using Intent.

static Int

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

static Int

Specifies the type of layer backing this view.

static Int

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

static Int

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

static Int

Defines the direction of layout drawing.

static Int

The layout label of the subtype.

static Int

Defines the layout mode of this ViewGroup.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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.

static Int

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

static Int

If true, centers this child horizontally within its parent.

static Int

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

static Int

If true, centers this child vertically within its parent.

static Int

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

static Int

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

static Int

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

static Int

Standard gravity constant that a child supplies to its parent.

static Int

Specifies the basic height of the view.

static Int

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

static Int

Specifies extra space on the bottom side of this view.

static Int

Specifies extra space on the end side of this view.

static Int

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

static Int

Specifies extra space on the left side of this view.

static Int

Specifies extra space on the right side of this view.

static Int

Specifies extra space on the start side of this view.

static Int

Specifies extra space on the top side of this view.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Defines how many columns this child should span.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Indicates how much of the extra space in the LinearLayout is allocated to the view associated with these LayoutParams.

static Int

Specifies the basic width of the view.

static Int

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

static Int

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

static Int

Amount of left padding inside the gradient shape.

static Int

Text letter-spacing.

static Int

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

static Int

Specifies the line-break strategies for text wrapping.

static Int

Specifies the line-break word strategies for text wrapping.

static Int

Explicit height between lines of text.

static Int

Extra spacing between lines of text.

static Int

Extra spacing between lines of text, as a multiplier.

static Int

Makes the TextView be exactly this many lines tall.

static Int

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

static Int

Drawable used as a background for selected list items.

static Int

Drawable to use for multiple choice indicators.

static Int

Drawable to use for single choice indicators.

static Int

The drawable for the list divider.

static Int

The list divider used in alert dialogs.

static Int

Default menu-style ListView style.

static Int

Default ListPopupWindow style.

static Int

The preferred list item height.

static Int

A larger, more robust list item height.

static Int

A smaller, sleeker list item height.

static Int

The preferred padding along the end edge of list items.

static Int

The preferred padding along the left edge of list items.

static Int

The preferred padding along the right edge of list items.

static Int

The preferred padding along the start edge of list items.

static Int

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

static Int

TextView style for list separators.

static Int

Default ListView style.

static Int

ListView with white background.

static Int

An XML resource with the application's android.app.LocaleConfig

static Int

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

static Int

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

static Int

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

static Int

Defines whether this view reacts to long click events.

static Int

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

static Int

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

static Int

Default MapView style.

static Int

The number of times to repeat the marquee animation.

static Int

The match order to use for the transition.

static Int

Defines the maximum value.

static Int

This value indicates the maximum aspect ratio the activity supports.

static Int

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

static Int

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

static Int

Makes the TextView be at most this many ems wide.

static Int

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

static Int

Defines the maximum number of items per row.

static Int

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

static Int

The maximum level allowed for this item.

static Int

Makes the TextView be at most this many lines tall.

static Int

The max version code of the package for which compatibility mode is requested.

static Int

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

static Int

Maximum height that the AppWidget can be resized to.

static Int

Maximum width that the AppWidget can be resized to.

static Int

Defines the maximum number of rows displayed.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Default style for the MediaRouteButton widget.

static Int

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

static Int

Enable hardware memory tagging (ARM MTE) in this process.

static Int

The category applied to all items within this group.

static Int

Specify a group of MIME types that are handled.

static Int

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

static Int

Defines the minimum value.

static Int

This value indicates the minimum aspect ratio the activity supports.

static Int

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

static Int

Makes the TextView be at least this many ems wide.

static Int

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

static Int

The minimum level allowed for this item.

static Int

Makes the TextView be at least this many lines tall.

static Int

Minimum height that the AppWidget can be resized to.

static Int

Minimum width that the AppWidget can be resized to.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Enables or disables the mipmap hint.

static Int

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

static Int

Must be one of the following constant values.

static Int

'More' icon.

static Int

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

static Int

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

static Int

A unique name for the given item.

static Int

If true enables automatic zero initialization of all native heap allocations.

static Int

The color for the navigation bar.

static Int

Shows a thin line of the specified color between the navigation bar and the app content.

static Int

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

static Int

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

static Int

The type of navigation to use.

static Int

The negative button text for the dialog.

static Int

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

static Int

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

static Int

Defines the next keyboard navigation cluster.

static Int

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

static Int

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

static Int

Defines the next view to give focus to when the next focus is android.view.View#FOCUS_LEFT.

static Int

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

static Int

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

static Int

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

static Int

A recommended timeout in milliseconds used in android.view.accessibility.AccessibilityManager.getRecommendedTimeoutMillis(int, int) to return a suitable value for UIs that do not include interactive controls.

static Int

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

static Int

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

static Int

Defines how many columns to show.

static Int

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

static Int

NumberPicker style.

static Int

The background color for the hours/minutes numbers.

static Int

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

static Int

The color for the hours/minutes selector.

static Int

The color for the hours/minutes numbers.

static Int

If set, specifies that this TextView has a numeric input method.

static Int

The numeric modifier key.

static Int

The numeric shortcut key.

static Int

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

static Int

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

static Int

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

static Int

Indicates the opacity of the layer.

static Int

Bottom optical inset.

static Int

Left optical inset.

static Int

Right optical inset.

static Int

Top optical inset.

static Int

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

static Int

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

static Int

Name of the property being animated.

static Int

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

static Int

Standard orientation constant.

static Int

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

static Int

Sets the color of the ambient shadow that is drawn when the view has a positive Z or elevation value.

static Int

ViewOutlineProvider used to determine the View's Outline.

static Int

Sets the color of the spot shadow that is drawn when the view has a positive Z or elevation value.

static Int

Drawable to draw below list content.

static Int

Drawable to draw above list content.

static Int

Defines over-scrolling behavior.

static Int

Whether the popup window should overlap its anchor view.

static Int

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

static Int

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

static Int

Required type of association with the package, for example "android.

static Int

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

static Int

Sets the padding, in pixels, of the bottom edge; see android.R.attr#padding.

static Int

Sets the padding, in pixels, of the end edge; see android.R.attr#padding.

static Int

Sets the padding, in pixels, of the left and right edges; see android.R.attr#padding.

static Int

Sets the padding, in pixels, of the left edge; see android.R.attr#padding.

static Int

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

static Int

Sets the padding, in pixels, of the right edge; see android.R.attr#padding.

static Int

Sets the padding, in pixels, of the start edge; see android.R.attr#padding.

static Int

Sets the padding, in pixels, of the top edge; see android.R.attr#padding.

static Int

Sets the padding, in pixels, of the top and bottom edges; see android.R.attr#padding.

static Int

This attribute overrides the user-set or platform-set 16 KB page size compatibility mode, so that page agnostic compatibility is always enabled or always disabled, rather than according to the user's preference.

static Int

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

static Int

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

static Int

Default color of foreground panel imagery.

static Int

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

static Int

Default appearance of panel text.

static Int

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

static Int

Whether the characters of the field are displayed as password dots instead of themselves.

static Int

Fully qualified class name of an activity that allows the user to view any passwords saved by this service.

static Int

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

static Int

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

static Int

The specification of the operations that define the path.

static Int

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

static Int

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

static Int

Specify a URI path that must be a suffix to match, as per android.os.PatternMatcher with android.os.PatternMatcher#PATTERN_SUFFIX.

static Int

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

static Int

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

static Int

Flags indicating more context for a permission.

static Int

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

static Int

Flags indicating more context for a permission group.

static Int

Define how an activity persist across reboots.

static Int

Flag to control special persistent mode of an application.

static Int

Defines the persistence of the drawing cache.

static Int

If set, the "persistent" attribute will only be honored if the feature specified here is present on the device.

static Int

If set, specifies that this TextView has a phone number input method.

static Int

The BCP-47 Language Tag of the preferred physical keyboard of the subtype.

static Int

The layout type of the preferred physical keyboard of the subtype.

static Int

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

static Int

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

static Int

Must be one of the following constant values.

static Int

The animation style to use for the popup window.

static Int

The background to use for the popup window.

static Int

The characters to display in the popup keyboard.

static Int

Window elevation to use for the popup window.

static Int

Transition used to move views into the popup window.

static Int

Transition used to move views out of the popup window.

static Int

The XML keyboard layout of any popup keyboard.

static Int

Layout resource for popup keyboards.

static Int

Default PopupMenu style.

static Int

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

static Int

Default PopupWindow style.

static Int

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

static Int

The positive button text for the dialog.

static Int

Sets a preference to keep the bounds of this view clear from floating windows above this view's window.

static Int

Indicates whether the activity wants the connected display to do minimal post processing on the produced image or video frames.

static Int

Default style for PreferenceCategory.

static Int

Default style for Headers pane in PreferenceActivity.

static Int

Default style for informational Preference.

static Int

The preference layout that has the child/tabbed effect.

static Int

Default style for PreferenceScreen.

static Int

Default style for Preference.

static Int

Theme to use for presentations spawned from this theme.

static Int

If true this app would like to preserve the legacy storage model from a previously installed version.

static Int

A preview, in a drawable resource id, of what the Dream will look like.

static Int

The layout resource id of a preview of what the AppWidget will look like after it's configured.

static Int

The alpha applied to the foreground color to create the primary text color.

static Int

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

static Int

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.

static Int

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

static Int

Defines the default progress value, between 0 and max.

static Int

Tint to apply to the progress indicator background.

static Int

Blending mode used to apply the progress indicator background tint.

static Int

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

static Int

Default ProgressBar style.

static Int

Horizontal ProgressBar style.

static Int

Inverse ProgressBar style.

static Int

Large ProgressBar style.

static Int

Large inverse ProgressBar style.

static Int

Small ProgressBar style.

static Int

Small inverse ProgressBar style.

static Int

Small ProgressBar in title style.

static Int

Drawable used for the progress mode.

static Int

Tint to apply to the progress indicator.

static Int

Blending mode used to apply the progress indicator tint.

static Int

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

static Int

Name of the property being animated.

static Int

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

static Int

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

static Int

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.

static Int

The attribute that holds a Base64-encoded public key.

static Int

Specify a URI query that must exactly match, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_LITERAL.

static Int

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

static Int

Specify a URI query that matches an advanced pattern, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_ADVANCED_GLOB.

static Int

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

static Int

Background for the section containing the search query.

static Int

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

static Int

Specify a URI query that matches a simple pattern, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_SIMPLE_GLOB.

static Int

Specify a URI query that must be a prefix to match, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_PREFIX.

static Int

Specify a URI query that must be a suffix to match, as a UriRelativeFilter with android.os.PatternMatcher#PATTERN_SUFFIX.

static Int

Default quickcontact badge style with large quickcontact window.

static Int

Default quickcontact badge style with medium quickcontact window.

static Int

Default quickcontact badge style with small quickcontact window.

static Int

Default quickcontact badge style with large quickcontact window.

static Int

Default quickcontact badge style with medium quickcontact window.

static Int

Default quickcontact badge style with small quickcontact window.

static Int

Default RadioButton style.

static Int

Defines the radius of the four corners.

static Int

The rating to set by default.

static Int

Default RatingBar style.

static Int

Indicator RatingBar style.

static Int

Small indicator RatingBar style.

static Int

A specific android.R.attr#permission name for read-only access to a android.content.ContentProvider.

static Int

The service that provides voice recognition.

static Int

Specify the configuration changes that trigger the system to recreate the current activity if any of these configuration changes happen in the system.

static Int

Whether the preference has enabled to have its view recycled when used in the list view.

static Int

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

static Int

Tells ChangeTransform to track parent changes.

static Int

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

static Int

Defines how many times the animation should repeat.

static Int

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

static Int

Application's requirement for five way navigation

static Int

Application's requirement for a hard keyboard

static Int

The input method preferred by an application.

static Int

The navigation device preferred by an application.

static Int

The touch screen type used by an application.

static Int

If true this app would like to run under the legacy storage model.

static Int

If true this app would like raw external storage access.

static Int

Specifies permissions necessary to launch this activity when passing content URIs.

static Int

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

static Int

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

static Int

Specify whether this feature is required for the application.

static Int

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

static Int

Specifies the required display category of the activity.

static Int

Optional: the system must support this feature for the permission to be requested.

static Int

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

static Int

Optional: the system must NOT support this feature for the permission to be requested.

static Int

List of split types required by this APK to be present in order to function properly, separated by commas.

static Int

Defines which edges should be faded on scrolling.

static Int

Starting with android.os.Build.VERSION_CODES#HONEYCOMB_MR2, this is the new way to specify the minimum screen size an application is compatible with.

static Int

Specifies whether enabled settings of components in the application should be reset to android.content.pm.PackageManager#COMPONENT_ENABLED_STATE_DEFAULT when the application's user data is cleared.

static Int

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

static Int

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

static Int

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

static Int

Hint to platform that the activity works well in multi-window mode.

static Int

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

static Int

The xml file that defines the target id to overlay value mappings.

static Int

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.

static Int

static Int

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

static Int

Must be one of the following constant values.

static Int

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.

static Int

Whether this transition is reversible.

static Int

Internal revision code.

static Int

Amount of right padding inside the gradient shape.

static Int

Default style for RingtonePreference.

static Int

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

static Int

Declare the policy to deal with user data when rollback is committed.

static Int

rotation of the view, in degrees.

static Int

Flag that specifies the activity's preferred screen rotation animation.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Row edge flags.

static Int

Defines the height of each row.

static Int

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

static Int

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

static Int

Specifies where the drawable is positioned after scaling.

static Int

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

static Int

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

static Int

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

static Int

scale of the view in the x direction.

static Int

scale of the view in the y direction.

static Int

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

static Int

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

static Int

Specify the orientation an activity should run in.

static Int

Whether this view should be treated as a focusable unit by screen reader accessibility tools.

static Int

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

static Int

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

static Int

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

static Int

Default ScrollView style.

static Int

The initial horizontal scroll offset, in pixels.

static Int

The initial vertical scroll offset, in pixels.

static Int

Defines whether the horizontal scrollbar track should always be drawn.

static Int

Defines whether the vertical scrollbar track should always be drawn.

static Int

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

static Int

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

static Int

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

static Int

Controls the scrollbar style and position.

static Int

Defines the horizontal scrollbar thumb drawable.

static Int

Defines the vertical scrollbar thumb drawable.

static Int

Defines the horizontal scrollbar track drawable.

static Int

Defines the vertical scrollbar track drawable.

static Int

Defines which scrollbars should be displayed on scrolling or not.

static Int

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

static Int

If supplied, this string will be displayed as the text of the "Search" button.

static Int

Search icon displayed as a text field hint.

static Int

Search icon.

static Int

Additional features are controlled by mode bits in this field.

static Int

Color of search results highlight.

static Int

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

static Int

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

static Int

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.

static Int

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.

static Int

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

static Int

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

static Int

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

static Int

Style for the search query widget.

static Int

The alpha applied to the foreground color to create the secondary text color.

static Int

Defines the secondary progress value, between 0 and max.

static Int

Tint to apply to the secondary progress indicator.

static Int

Blending mode used to apply the secondary progress indicator tint.

static Int

Secure Element which the AIDs should be routed to

static Int

Default SeekBar style.

static Int

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

static Int

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

static Int

Whether the Preference is selectable.

static Int

Flag indicating whether a recognition service can be selected as default.

static Int

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

static Int

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

static Int

static Int

static Int

The height of the selection divider.

static Int

The service that hosts active voice interaction sessions.

static Int

Fully qualified class name of an activity that allows the user to modify the settings for this service.

static Int

Uri that specifies a settings Slice for this wallpaper.

static Int

A string that is displayed to the user in the Credential Manager settings screen that can be used to provide more information about a provider.

static Int

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

static Int

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

static Int

Horizontal offset of the text shadow.

static Int

Vertical offset of the text shadow.

static Int

Blur radius of the text shadow.

static Int

Indicates what shape to fill with a gradient.

static Int

May be a boolean value, such as "true" or "false".

static Int

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

static Int

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

static Int

The maximum device SDK version for which the application will remain in the user ID defined in sharedUserId.

static Int

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

static Int

May be a boolean value, such as "true" or "false".

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Whether the device should default to observe mode when this service is default or in the foreground.

static Int

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

static Int

Indicates that this wallpaper service should receive zoom transition updates when changing the structural state of the device (e.g. when folding or unfolding a foldable device).

static Int

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

static Int

Special option for window animations: whether to show a background behind the animating windows.

static Int

Whether to show clock and other complications such as weather in the overlay.

static Int

Whether to show an item for a default sound.

static Int

Setting for which dividers to show.

static Int

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

static Int

Specifies whether the IME wants to be shown in the Input Method picker.

static Int

Whether to show any metadata when previewing the wallpaper.

static Int

Specify that an Activity should be shown over the lock screen and, in a multiuser environment, across all users' windows.

static Int

Whether to show an item for 'Silent'.

static Int

Whether to draw on/off text.

static Int

static Int

Specifies whether an android.app.Activity should be shown on top of the lock screen whenever the lockscreen is up and the activity is resumed.

static Int

static Int

The zero-based index of the columns to shrink.

static Int

Constrains the text to a single horizontally scrolling line instead of letting it wrap onto multiple lines, and advances focus instead of inserting a newline when you press the enter key.

static Int

Whether to use single line for the preference title text.

static Int

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

static Int

Must be one of the following constant values.

static Int

Smaller icon of the authenticator.

static Int

Indicates whether the application supports smaller screen form-factors.

static Int

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

static Int

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

static Int

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

static Int

Default style for spinner drop down items.

static Int

Default spinner item style.

static Int

Display mode for spinner options.

static Int

Default Spinner style.

static Int

Whether the spinners are shown.

static Int

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

static Int

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

static Int

When an application is partitioned into splits, this is the name of the split that contains the defined component.

static Int

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

static Int

List of split types offered by this APK, separated by commas.

static Int

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

static Int

Sets a drawable as the content of this ImageView.

static Int

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

static Int

Specify a URI scheme specific part that matches an advanced pattern, as per IntentFilter.addDataSchemeSpecificPart() with android.os.PatternMatcher#PATTERN_ADVANCED_GLOB.

static Int

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

static Int

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

static Int

Specify a URI scheme specific part that must be a suffix to match, as per IntentFilter.addDataSchemeSpecificPart() with android.os.PatternMatcher#PATTERN_SUFFIX.

static Int

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

static Int

Default StackView style.

static Int

Default Star style.

static Int

Start inset to apply to the layer.

static Int

Start color of the gradient.

static Int

Delay in milliseconds before the transition starts.

static Int

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

static Int

X coordinate of the start point origin of the gradient.

static Int

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

static Int

{@deprecated Use minDate instead.

static Int

Sets the state-based animator for the View.

static Int

Indicates that an Activity does not need to have its freeze state (as returned by android.app.Activity#onSaveInstanceState retained in order to be restarted. Generally you use this for activities that do not store any state. When this flag is set, if for some reason the activity is killed before it has a chance to save its state, then the system will not remove it from the activity stack like it normally would. Instead, the next time the user navigates to it its android.app.Activity#onCreate method will be called with a null icicle, just like it was starting for the first time.

static Int

State identifier indicating the popup will be above the anchor.

static Int

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

static Int

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.

static Int

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

static Int

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

static Int

State identifier indicating that the object is currently checked.

static Int

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.

static Int

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

static Int

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

static Int

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

static Int

State identifier indicating the group is expanded.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

State for KeyboardView key preview background.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

A resource id of a static drawable.

static Int

The color for the status bar.

static Int

The step size of the rating.

static Int

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

static Int

Different audio stream types.

static Int

The zero-based index of the columns to stretch.

static Int

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

static Int

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

static Int

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

static Int

sets the linecap for a stroked path.

static Int

sets the lineJoin for a stroked path.

static Int

sets the Miter limit for a stroked path.

static Int

The width a path stroke.

static Int

Class name of an activity that allows the user to modify the stylus handwriting settings for this service

static Int

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

static Int

Background for the section containing the action (for example, voice search).

static Int

Specifies subtitle text used for navigationMode="normal".

static Int

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

static Int

A color to apply to the subtitle string.

static Int

Specifies a style to use for subtitle text.

static Int

The extra value of the subtype.

static Int

The unique id for the subtype.

static Int

The locale of the subtype.

static Int

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

static Int

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.

static Int

Layout for query suggestion rows.

static Int

The summary for the item.

static Int

Column in data table that summarizes this data.

static Int

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

static Int

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

static Int

Provides brief supplemental information for the view, such as the purpose of the view when that purpose is not conveyed within its textual representation.

static Int

The interactive app types that the TV interactive app service supports.

static Int

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

static Int

Set true to opt in BATTERY mode.

static Int

Specifies whether the IME supports connectionless stylus handwriting sessions.

static Int

Specifies whether the AutofillService supports inline suggestions

static Int

Specifies whether the IME supports showing inline suggestions when touch exploration is enabled.

static Int

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

static Int

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

static Int

Indicates that this wallpaper service can support multiple engines to render on each surface independently.

static Int

Set true to opt in PERFORMANCE mode.

static Int

Indicates that the activity specifically supports the picture-in-picture form of multi-window.

static Int

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

static Int

Specifies whether the IME supports Handwriting using stylus.

static Int

Set to true if this input method supports ways to switch to a next input method (for example, a globe key.).

static Int

May be a boolean value, such as "true" or "false".

static Int

Specifies whether the IME suppresses system spell checker.

static Int

Minimum width for the switch component.

static Int

Minimum space between the switch and caption text.

static Int

Default style for switch preferences.

static Int

Default style for the Switch widget.

static Int

TextAppearance style for text displayed on the switch thumb.

static Int

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

static Int

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

static Int

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

static Int

If set to true, only a single instance of this component will run and be available for the SYSTEM user.

static Int

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

static Int

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

static Int

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

static Int

Default TabWidget style.

static Int

Supply a tag for this view containing a String, to be retrieved later with android.

static Int

Fully qualified class name of an activity that allows the user to view their entire wallet

static Int

Default height of the AppWidget in units of launcher grid cells.

static Int

Default width of the AppWidget in units of launcher grid cells.

static Int

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

static Int

static Int

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

static Int

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

static Int

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

static Int

The name of an application's processes that an Instrumentation object will run against.

static Int

Specifies the target sandbox this app wants to use.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

This is the amount of tension.

static Int

Option to indicate this application is only for testing purposes.

static Int

Text to display.

static Int

Defines the alignment of the text.

static Int

Present the text in ALL CAPS.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

The preferred TextAppearance for the primary text of list items.

static Int

The preferred TextAppearance for the secondary text of list items.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Drawable to use for check marks.

static Int

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

static Int

Color of text (usually same as colorForeground).

static Int

Color of list item text in alert dialogs.

static Int

Color of highlighted text.

static Int

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

static Int

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

static Int

Inverse hint text color.

static Int

Color of link text (URLs).

static Int

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

static Int

The most prominent text color.

static Int

Bright text color.

static Int

Primary inverse text color, useful for inverted backgrounds.

static Int

Bright inverse text color.

static Int

Bright inverse text color.

static Int

Bright text color.

static Int

Secondary text color.

static Int

Secondary inverse text color, useful for inverted backgrounds.

static Int

Dim inverse text color.

static Int

Dim text color.

static Int

Tertiary text color.

static Int

Tertiary inverse text color, useful for inverted backgrounds.

static Int

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

static Int

Defines the direction of the text.

static Int

Variation of textEditPasteWindowLayout displayed when the clipboard is empty.

static Int

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

static Int

Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty.

static Int

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.

static Int

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

static Int

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

static Int

Weight for the font used in the TextView.

static Int

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

static Int

Specifies the android.os.LocaleList for the text in this TextView.

static Int

The text for the button when it is not checked.

static Int

The text for the button when it is checked.

static Int

Sets the horizontal scaling factor for the text.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Size of text.

static Int

Default text typeface style.

static Int

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

static Int

Default TextView style.

static Int

The overall theme to use for an activity.

static Int

Thickness of the ring.

static Int

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

static Int

Draws the thumb on a seekbar.

static Int

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

static Int

Position of thumb in relation to the track.

static Int

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

static Int

Tint to apply to the thumb drawable.

static Int

Blending mode used to apply the thumb tint.

static Int

Reference to the wallpaper's thumbnail bitmap.

static Int

Drawable displayed at each progress position on a seekbar.

static Int

Tint to apply to the tick mark drawable.

static Int

Blending mode used to apply the tick mark tint.

static Int

Defines the tile mode.

static Int

Defines the horizontal tile mode.

static Int

Defines the vertical tile mode.

static Int

Fully qualified class name of android.service.quicksettings.TileService is associated with this accessibility shortcut target for one to one mapping.

static Int

The TimePicker dialog theme.

static Int

Defines the look of the widget.

static Int

The TimePicker style.

static Int

Specifies the time zone to use.

static Int

The tinting color for the image.

static Int

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

static Int

The title associated with the item.

static Int

The condensed title associated with the item.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

A color to apply to the title string.

static Int

Specifies a style to use for title text.

static Int

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

static Int

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

static Int

Defines the amount a window should be extended outward from the bottom by the end of the animation by transitioning from the fromExtendBottom amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

static Int

Defines the amount a window should be extended outward from the left by the end of the animation by transitioning from the fromExtendLeft amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

static Int

Defines the amount a window should be extended outward from the right by the end of the animation by transitioning from the fromExtendRight amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

static Int

Defines the amount a window should be extended outward from the top by the end of the animation by transitioning from the fromExtendTop amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

static Int

Keyframe identifier for the ending state.

static Int

The destination scene in this scene change.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Default Toolbar style.

static Int

The tooltip text associated with the item.

static Int

Amount of top padding inside the gradient shape.

static Int

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

static Int

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

static Int

Radius of the top left corner.

static Int

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

static Int

Radius of the top right corner.

static Int

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

static Int

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

static Int

Tint to apply to the track.

static Int

Blending mode used to apply the track tint.

static Int

Sets the transcript mode for the list.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Must be one of the following constant values.

static Int

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

static Int

The amount to translate the group on X coordinate.

static Int

The amount to translate the group on Y coordinate.

static Int

translation in x of the view.

static Int

translation in y of the view.

static Int

translation in z of the view.

static Int

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

static Int

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

static Int

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

static Int

The index of the font in the ttc (TrueType Collection) font file.

static Int

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

static Int

Specifies whether the screen should be turned on when the android.app.Activity is resumed.

static Int

Type of gradient.

static Int

Default text typeface.

static Int

Extra options for an activity's UI.

static Int

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

static Int

static Int

Sets the alpha on the items that are not selected.

static Int

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

static Int

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

static Int

If true, and this is an android.R.attr#isolatedProcess service, the service will be spawned from an Application Zygote, instead of the regular Zygote.

static Int

May be a boolean value, such as "true" or "false".

static Int

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

static Int

Flag to specify if this app (or process) wants to run the dex within its APK but not extracted or locally compiled variants.

static Int

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

static Int

Whether the drawable level value (see android.graphics.drawable.Drawable#getLevel()) is used to scale the gradient.

static Int

May be a boolean value, such as "true" or "false".

static Int

May be a boolean value, such as "true" or "false".

static Int

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

static Int

Optional: set of flags that should apply to this permission request.

static Int

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

static Int

Value the animation starts from.

static Int

Value the animation animates to.

static Int

The type of valueFrom and valueTo.

static Int

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

static Int

The vendor name if this print service is vendor specific.

static Int

The version of the feature that is being used.

static Int

Internal version code.

static Int

Internal major version code.

static Int

Optional minimum major version of the package that satisfies the dependency.

static Int

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

static Int

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

static Int

Default vertical divider between menu items.

static Int

Default vertical gap between rows of keys.

static Int

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

static Int

Defines the default vertical spacing between rows.

static Int

The height of the canvas the drawing is on.

static Int

The width of the canvas the drawing is on.

static Int

Controls the initial visibility of the view.

static Int

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

static Int

Specify whether a component should be visible to instant apps.

static Int

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

static Int

Voice button icon.

static Int

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

static Int

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

static Int

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.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Whether this service should share the same AID routing priority as the role owner.

static Int

Default WebTextView style.

static Int

Default WebView style.

static Int

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

static Int

static Int

static Int

Defines the maximum weight sum.

static Int

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

static Int

Flags indicating various features supported by the widget.

static Int

The layout for the controllable widget portion of a Preference.

static Int

Makes the TextView be exactly this wide.

static Int

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

static Int

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

static Int

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

static Int

Flag indicating whether this window allows Activity Transitions.

static Int

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

static Int

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

static Int

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

static Int

Drawable to use as the overall window background.

static Int

Blur the screen behind the window with the bounds of the window.

static Int

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

static Int

If set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.

static Int

When windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Flag allowing you to disable the splash screen for a window.

static Int

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

static Int

Elevation to use for the window.

static Int

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

static Int

The animation used when a window is being added.

static Int

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

static Int

The animation used when a window is being removed.

static Int

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.

static Int

Drawable to use as a frame around the window.

static Int

Flag indicating whether this window should fill the entire screen.

static Int

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

static Int

Flag indicating whether this is a floating window.

static Int

Offer Window the ability to opt out the UI Toolkit discrete variable refresh rate.

static Int

Flag indicating whether this is a translucent window.

static Int

Window layout affinity of this activity.

static Int

Controls how the window is laid out if there is a DisplayCutout.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Flag indicating whether this window should skip movement animations.

static Int

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

static Int

Flag indicating whether this window would opt out the edge-to-edge enforcement.

static Int

Flag indicating whether this window should extend into overscan region.

static Int

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.

static Int

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.

static Int

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

static Int

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.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Replace an icon in the center of the starting window, if the object is animated and drawable(e.g. AnimationDrawable, AnimatedVectorDrawable), then it will also play the animation while showing the starting window.

static Int

The duration, in milliseconds, of the window splash screen icon animation duration when playing the splash screen starting window.

static Int

The background color for the splash screen, if not specify then system will calculate from windowBackground.

static Int

Specify whether this application always wants the icon to be displayed on the splash screen.

static Int

Place a drawable image in the bottom of the starting window.

static Int

Set a background behind the splash screen icon.

static Int

{@deprecated Use windowSplashscreenAnimatedIcon instead } Reference to a drawable to be used as the splash screen content of the window.

static Int

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

static Int

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

static Int

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

static Int

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

static Int

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

static Int

Flag indicating whether this window requests a translucent navigation bar.

static Int

Flag indicating whether this window requests a translucent status bar.

static Int

A specific android.R.attr#permission name for write access to a android.content.ContentProvider.

static Int

A coordinate in the X dimension.

static Int

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

static Int

A coordinate in the Y dimension.

static Int

The list year's text appearance in the list.

static Int

The list year's selected circle color in the list.

static Int

Default style for YesNoPreference.

static Int

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

static Int

Name of the class that gets invoked for preloading application code, when starting an android.R.attr#isolatedProcess service that has android.R.attr#useAppZygote set to true.

Public constructors

Constants

absListViewStyle

Added in API level 1
static val absListViewStyle: Int

Default AbsListView style.

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

Value: 16842858

accessibilityDataSensitive

Added in API level 34
static val accessibilityDataSensitive: Int

Describes whether this view should allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.

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

Must be one of the following constant values.

Constant Value Description
auto 0 The system determines whether the view's accessibility data is sensitive - default (recommended).
no 2 Allow interactions from all AccessibilityServices, regardless of their isAccessibilityTool property.
yes 1 Allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.
Value: 16844407

accessibilityEventTypes

Added in API level 14
static val accessibilityEventTypes: Int

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

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

Constant Value Description
typeAllMask ffffffff Receives android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK i.e. all events.
typeAnnouncement 4000 Receives android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT events.
typeAssistReadingContext 1000000 Receives android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT events.
typeContextClicked 800000 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED events.
typeGestureDetectionEnd 80000 Receives android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END events.
typeGestureDetectionStart 40000 Receives android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START events.
typeNotificationStateChanged 40 Receives android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED events.
typeTouchExplorationGestureEnd 400 Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END events.
typeTouchExplorationGestureStart 200 Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START events.
typeTouchInteractionEnd 200000 Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END events.
typeTouchInteractionStart 100000 Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START events.
typeViewAccessibilityFocusCleared 10000 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED events.
typeViewAccessibilityFocused 8000 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED events.
typeViewClicked 1 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED events.
typeViewFocused 8 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED events.
typeViewHoverEnter 80 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER events.
typeViewHoverExit 100 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT events.
typeViewLongClicked 2 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED events.
typeViewScrolled 1000 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED events.
typeViewSelected 4 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED events.
typeViewTextChanged 10 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED events.
typeViewTextSelectionChanged 2000 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED events.
typeViewTextTraversedAtMovementGranularity 20000 Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY events.
typeWindowContentChanged 800 Receives android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED events.
typeWindowStateChanged 20 Receives android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED events.
typeWindowsChanged 400000 Receives android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED events.
Value: 16843648

accessibilityFeedbackType

Added in API level 14
static val accessibilityFeedbackType: Int

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

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

Constant Value Description
feedbackAllMask ffffffff Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK feedback.
feedbackAudible 4 Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE feedback.
feedbackGeneric 10 Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC feedback.
feedbackHaptic 2 Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC feedback.
feedbackSpoken 1 Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN feedback.
feedbackVisual 8 Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL feedback.
Value: 16843650

accessibilityFlags

Added in API level 14
static val accessibilityFlags: Int

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

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

Constant Value Description
flagDefault 1 Has flag android.accessibilityservice.AccessibilityServiceInfo#DEFAULT.
flagEnableAccessibilityVolume 80 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME.
flagIncludeNotImportantViews 2 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS.
flagInputMethodEditor 8000 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_INPUT_METHOD_EDITOR.
flagReportViewIds 10 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS.
flagRequestAccessibilityButton 100 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON.
flagRequestEnhancedWebAccessibility 8 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY. Not used by the framework.
flagRequestFilterKeyEvents 20 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS.
flagRequestFingerprintGestures 200 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES.
flagRequestMultiFingerGestures 1000 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_MULTI_FINGER_GESTURES.
flagRequestShortcutWarningDialogSpokenFeedback 400 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_SHORTCUT_WARNING_DIALOG_SPOKEN_FEEDBACK.
flagRequestTouchExplorationMode 4 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE.
flagRetrieveInteractiveWindows 40 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS.
flagSendMotionEvents 4000
flagServiceHandlesDoubleTap 800 Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_SERVICE_HANDLES_DOUBLE_TAP.
Value: 16843652

accessibilityHeading

Added in API level 28
static val accessibilityHeading: Int

Whether or not this view is a heading for accessibility purposes.

May be a boolean value, such as "true" or "false".

Value: 16844160

accessibilityLiveRegion

Added in API level 19
static val accessibilityLiveRegion: Int

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

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

Must be one of the following constant values.

Constant Value Description
assertive 2 Accessibility services should interrupt ongoing speech to immediately announce changes to this view.
none 0 Accessibility services should not announce changes to this view.
polite 1 Accessibility services should announce changes to this view.
Value: 16843758

accessibilityPaneTitle

Added in API level 28
static val accessibilityPaneTitle: Int

The title this view should present to accessibility as a pane title. See android.view.View#setAccessibilityPaneTitle(CharSequence)

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

Value: 16844156

accessibilityTraversalAfter

Added in API level 22
static val accessibilityTraversalAfter: Int

Sets the id of a view that screen readers are requested to visit before this view. Requests that a screen-reader visits the content of the other view before the content of this one. This does nothing if either view is not important for accessibility. {@see android.view.View#setAccessibilityTraversalAfter(int)}

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

Value: 16843986

accessibilityTraversalBefore

Added in API level 22
static val accessibilityTraversalBefore: Int

Sets the id of a view that screen readers are requested to visit after this view. Requests that a screen-reader visits the content of this view before the content of the one it precedes. This does nothing if either view is not important for accessibility. {@see android.view.View#setAccessibilityTraversalBefore(int)}

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

Value: 16843985

accountPreferences

Added in API level 5
static val accountPreferences: Int

A preferences.xml file for authenticator-specific settings.

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

Value: 16843423

accountType

Added in API level 5
static val accountType: Int

The account type this authenticator handles.

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

Value: 16843407

action

Added in API level 1
static val action: Int

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

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

Value: 16842797

actionBarDivider

Added in API level 14
static val actionBarDivider: Int

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

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

Value: 16843675

actionBarItemBackground

Added in API level 14
static val actionBarItemBackground: Int

Custom item state list drawable background for action bar items.

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

Value: 16843676

actionBarPopupTheme

Added in API level 21
static val actionBarPopupTheme: Int

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

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

Value: 16843917

actionBarSize

Added in API level 11
static val actionBarSize: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.

Constant Value Description
wrap_content 0
Value: 16843499

actionBarSplitStyle

Added in API level 14
static val actionBarSplitStyle: Int

Reference to a style for the split Action Bar. This style controls the split component that holds the menu/action buttons. actionBarStyle is still used for the primary bar.

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

Value: 16843656

actionBarStyle

Added in API level 11
static val actionBarStyle: Int

Reference to a style for the Action Bar.

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

Value: 16843470

actionBarTabBarStyle

Added in API level 11
static val actionBarTabBarStyle: Int

Reference to a style for the Action Bar Tab Bar.

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

Value: 16843508

actionBarTabStyle

Added in API level 11
static val actionBarTabStyle: Int

Default style for tabs within an action bar.

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

Value: 16843507

actionBarTabTextStyle

Added in API level 11
static val actionBarTabTextStyle: Int

Reference to a style for the Action Bar Tab text.

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

Value: 16843509

actionBarTheme

Added in API level 21
static val actionBarTheme: Int

Reference to a theme that should be used to inflate the action bar. This will be inherited by any widget inflated into the action bar.

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

Value: 16843825

actionBarWidgetTheme

Added in API level 14
static val actionBarWidgetTheme: Int

Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. Most of the time this will be a reference to the current theme, but when the action bar has a significantly different contrast profile than the rest of the activity the difference can become important. If this is set to @null the current theme will be used.

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

Value: 16843671

actionButtonStyle

Added in API level 11
static val actionButtonStyle: Int

Default action button style.

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

Value: 16843480

actionDropDownStyle

Added in API level 11
static val actionDropDownStyle: Int

Default ActionBar dropdown style.

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

Value: 16843479

actionLayout

Added in API level 11
static val actionLayout: Int

An optional layout to be used as an action view. See android.view.MenuItem#setActionView(android.view.View) for more info.

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

Value: 16843515

actionMenuTextAppearance

Added in API level 11
static val actionMenuTextAppearance: Int

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

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

Value: 16843616

actionMenuTextColor

Added in API level 11
static val actionMenuTextColor: Int

Color for text that appears within action menu items.

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

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

Value: 16843617

actionModeBackground

Added in API level 11
static val actionModeBackground: Int

Background drawable to use for action mode UI.

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

Value: 16843483

actionModeCloseButtonStyle

Added in API level 11
static val actionModeCloseButtonStyle: Int

Reference to a style for the Action Mode close button.

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

Value: 16843511

actionModeCloseDrawable

Added in API level 11
static val actionModeCloseDrawable: Int

Drawable to use for the close action mode button.

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

Value: 16843484

actionModeCopyDrawable

Added in API level 11
static val actionModeCopyDrawable: Int

Drawable to use for the Copy action button in Contextual Action Bar.

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

Value: 16843538

actionModeCutDrawable

Added in API level 11
static val actionModeCutDrawable: Int

Drawable to use for the Cut action button in Contextual Action Bar.

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

Value: 16843537

actionModeFindDrawable

Added in API level 21
static val actionModeFindDrawable: Int

Drawable to use for the Find action button in WebView selection action modes.

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

Value: 16843898

actionModePasteDrawable

Added in API level 11
static val actionModePasteDrawable: Int

Drawable to use for the Paste action button in Contextual Action Bar.

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

Value: 16843539

actionModeSelectAllDrawable

Added in API level 14
static val actionModeSelectAllDrawable: Int

Drawable to use for the Select all action button in Contextual Action Bar.

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

Value: 16843646

actionModeShareDrawable

Added in API level 21
static val actionModeShareDrawable: Int

Drawable to use for the Share action button in WebView selection action modes.

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

Value: 16843897

actionModeSplitBackground

Added in API level 14
static val actionModeSplitBackground: Int

Background drawable to use for action mode UI in the lower split bar.

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

Value: 16843677

actionModeStyle

Added in API level 14
static val actionModeStyle: Int

Reference to a style for the Action Mode.

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

Value: 16843668

actionModeWebSearchDrawable

Added in API level 21
static val actionModeWebSearchDrawable: Int

Drawable to use for the Web Search action button in WebView selection action modes.

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

Value: 16843899

actionOverflowButtonStyle

Added in API level 11
static val actionOverflowButtonStyle: Int

Reference to a style for Action Bar overflow buttons.

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

Value: 16843510

actionOverflowMenuStyle

Added in API level 21
static val actionOverflowMenuStyle: Int

Reference to a style for the Action Bar menu.

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

Value: 16843844

actionProviderClass

Added in API level 14
static val actionProviderClass: Int

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

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

Value: 16843657

actionViewClass

Added in API level 11
static val actionViewClass: Int

The name of an optional View class to instantiate and use as an action view. See android.view.MenuItem#setActionView(android.view.View) for more info.

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

Value: 16843516

activatedBackgroundIndicator

Added in API level 11
static val activatedBackgroundIndicator: Int

Drawable used as a background for activated items.

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

Value: 16843517

activityCloseEnterAnimation

Added in API level 1
static val activityCloseEnterAnimation: Int

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

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

Value: 16842938

activityCloseExitAnimation

Added in API level 1
static val activityCloseExitAnimation: Int

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

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

Value: 16842939

activityOpenEnterAnimation

Added in API level 1
static val activityOpenEnterAnimation: Int

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

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

Value: 16842936

activityOpenExitAnimation

Added in API level 1
static val activityOpenExitAnimation: Int

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

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

Value: 16842937

adServiceTypes

Added in API level 36
static val adServiceTypes: Int

The advertisement types that the TV ad service supports. Reference to a string array resource that describes the supported types, e.g. linear, overlay.

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

Value: 16844452

addPrintersActivity

Added in API level 19
static val addPrintersActivity: Int

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

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

Value: 16843750

addStatesFromChildren

Added in API level 1
static val addStatesFromChildren: Int

Sets whether this ViewGroup's drawable states also include its children's drawable states. This is used, for example, to make a group appear to be focused when its child EditText or button is focused.

May be a boolean value, such as "true" or "false".

Value: 16842992

adjustViewBounds

Added in API level 1
static val adjustViewBounds: Int

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

May be a boolean value, such as "true" or "false".

Value: 16843038

advancedPrintOptionsActivity

Added in API level 19
static val advancedPrintOptionsActivity: Int

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

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

Value: 16843761

alertDialogIcon

Added in API level 11
static val alertDialogIcon: Int

Icon drawable to use for alerts.

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

Value: 16843605

alertDialogStyle

Added in API level 1
static val alertDialogStyle: Int

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

Value: 16842845

alertDialogTheme

Added in API level 11
static val alertDialogTheme: Int

Theme to use for alert dialogs spawned from this theme.

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

Value: 16843529

alignmentMode

Added in API level 14
static val alignmentMode: Int

Alignment constants.

Must be one of the following constant values.

Constant Value Description
alignBounds 0 Align the bounds of the children. See android.widget.GridLayout#ALIGN_BOUNDS.
alignMargins 1 Align the margins of the children. See android.widget.GridLayout#ALIGN_MARGINS.
Value: 16843642

allContactsName

Added in API level 11
static val allContactsName: Int

Resource representing the term "All Contacts" (for example, "All Friends" or "All connections"). Optional (Default is "All Contacts").

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

Value: 16843468

allow

Added in API level 35
static val allow: Int

Specify if this group is allow rule or disallow rule. If this attribute is not specified then it is assumed to be true

May be a boolean value, such as "true" or "false".

Value: 16844430

allowAudioPlaybackCapture

Added in API level 29
static val allowAudioPlaybackCapture: Int

If true the app's non sensitive audio can be captured by other apps with android.media.AudioPlaybackCaptureConfiguration and a android.media.projection.MediaProjection. If false the audio played by the application will never be captured by non system apps. It is equivalent to limiting android.media.AudioManager#setAllowedCapturePolicy(int) to android.media.AudioAttributes#ALLOW_CAPTURE_BY_SYSTEM.

Non sensitive audio is defined as audio whose AttributeUsage is USAGE_UNKNOWN), USAGE_MEDIA) or USAGE_GAME). All other usages like USAGE_VOICE_COMMUNICATION will not be captured.

The default value is: - true for apps with targetSdkVersion >= 29 (Q). - false for apps with targetSdkVersion < 29.

See android.media.AudioPlaybackCaptureConfiguration for more detail.

May be a boolean value, such as "true" or "false".

Value: 16844289

allowBackup

Added in API level 4
static val allowBackup: Int

Whether to allow the application to participate in the backup and restore infrastructure. If this attribute is set to false, no backup or restore of the application will ever be performed, even by a full-system backup that would otherwise cause all application data to be saved via adb. The default value of this attribute is true.

May be a boolean value, such as "true" or "false".

Value: 16843392

allowClearUserData

Added in API level 1
static val allowClearUserData: Int

Option to let applications specify that user data can/cannot be cleared. This flag is turned on by default.

Starting from API level 29 this flag only controls if the user can clear app data from Settings. To control clearing the data after a failed restore use allowClearUserDataOnFailedRestore flag.

This attribute is usable only by applications included in the system image. Third-party apps cannot use it.

May be a boolean value, such as "true" or "false".

Value: 16842757

allowClickWhenDisabled

Added in API level 31
static val allowClickWhenDisabled: Int

Whether or not allow clicks on disabled view.

May be a boolean value, such as "true" or "false".

Value: 16844312

allowCrossUidActivitySwitchFromBelow

Added in API level 35
static val allowCrossUidActivitySwitchFromBelow: Int

May be a boolean value, such as "true" or "false".

Value: 16844449

allowEmbedded

Added in API level 20
static val allowEmbedded: Int

Indicate that the activity can be launched as the embedded child of another activity. Particularly in the case where the child lives in a container such as a Display owned by another activity.

The default value of this attribute is false.

May be a boolean value, such as "true" or "false".

Value: 16843765

allowGameAngleDriver

Added in API level 33
static val allowGameAngleDriver: Int

Set true to enable ANGLE.

May be a boolean value, such as "true" or "false".

Value: 16844376

allowGameDownscaling

Added in API level 33
static val allowGameDownscaling: Int

Set true to allow resolution downscaling intervention.

May be a boolean value, such as "true" or "false".

Value: 16844377

allowGameFpsOverride

Added in API level 33
static val allowGameFpsOverride: Int

Set true to allow FPS override intervention.

May be a boolean value, such as "true" or "false".

Value: 16844378

allowNativeHeapPointerTagging

Added in API level 30
static val allowNativeHeapPointerTagging: Int

If true this app will receive tagged pointers to native heap allocations from functions like malloc() on compatible devices. Note that this may not always be respected due to policy or backwards compatibility reasons. See the Tagged Pointers document for more information on this feature. The default value is true.

May be a boolean value, such as "true" or "false".

Value: 16844306

allowParallelSyncs

Added in API level 11
static val allowParallelSyncs: Int

Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority. Otherwise the SyncManager will be sure not to issue a start sync request to this SyncAdapter if the SyncAdapter is already syncing another account. Defaults to false.

May be a boolean value, such as "true" or "false".

Value: 16843570

allowSharedIsolatedProcess

static val allowSharedIsolatedProcess: Int

If true, and this is an android.R.attr#isolatedProcess service, the service is allowed to be bound in a shared isolated process with other isolated services. Note that these other isolated services can also belong to other apps from different vendors.

Shared isolated processes are created when using the ) during service binding.

Value: 16844413

allowSingleTap

Added in API level 3
static val allowSingleTap: Int

Indicates whether the drawer can be opened/closed by a single tap on the handle. (If false, the user must drag or fling, or click using the trackball, to open/close the drawer.) Default is true.

May be a boolean value, such as "true" or "false".

Value: 16843353

allowTaskReparenting

Added in API level 1
static val allowTaskReparenting: Int

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 android.R.attr#taskAffinity as it has.

May be a boolean value, such as "true" or "false".

Value: 16843268

allowUndo

Added in API level 23
static val allowUndo: Int

Whether undo should be allowed for editable text. Defaults to true.

May be a boolean value, such as "true" or "false".

Value: 16843999

allowUntrustedActivityEmbedding

Added in API level 33
static val allowUntrustedActivityEmbedding: Int

Indicate that the activity can be embedded by untrusted hosts. In this case the interactions and visibility of the embedded activity may be limited.

The default value of this attribute is false.

May be a boolean value, such as "true" or "false".

Value: 16844393

allowUpdateOwnership

Added in API level 34
static val allowUpdateOwnership: Int

May be a boolean value, such as "true" or "false".

Value: 16844416

alpha

Added in API level 11
static val alpha: Int

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

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

Value: 16843551

alphabeticModifiers

Added in API level 26
static val alphabeticModifiers: Int

The alphabetic modifier key. This is the modifier when using a keyboard with alphabetic keys. The values should be kept in sync with KeyEvent

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

Constant Value Description
ALT 2
CTRL 1000
FUNCTION 8
META 10000
SHIFT 1
SYM 4
Value: 16844110

alphabeticShortcut

Added in API level 1
static val alphabeticShortcut: Int

The alphabetic shortcut key. This is the shortcut when using a keyboard with alphabetic keys.

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

Value: 16843235

alwaysDrawnWithCache

Added in API level 1
static val alwaysDrawnWithCache: Int

Defines whether the ViewGroup should always draw its children using their drawing cache or not. The default value is true. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.

May be a boolean value, such as "true" or "false".

Value: 16842991

alwaysRetainTaskState

Added in API level 1
static val alwaysRetainTaskState: Int

Specify whether an activity's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations.

Normally the system will reset a task (remove all activities from the stack and reset the root activity) in certain situations when the user re-selects that task from the home screen. Typically this will be done if the user hasn't visited that task for a certain amount of time, such as 30 minutes.

By setting this attribute, the user will always return to your task in its last state, regardless of how they get there. This is useful, for example, in an application like the web browser where there is a lot of state (such as multiple open tabs) that the application would not like to lose.

May be a boolean value, such as "true" or "false".

Value: 16843267

amPmBackgroundColor

Added in API level 21
Deprecated in API level 23
static val amPmBackgroundColor: Int

Deprecated: Deprecated in Java.

The background color state list for the AM/PM selectors. {@deprecated Use headerBackground instead.}

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

Value: 16843941

amPmTextColor

Added in API level 21
Deprecated in API level 23
static val amPmTextColor: Int

Deprecated: Deprecated in Java.

The color for the AM/PM selectors. {@deprecated Use headerTextColor instead.}

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

Value: 16843940

ambientShadowAlpha

Added in API level 21
static val ambientShadowAlpha: Int

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

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

Value: 16843966

angle

Added in API level 1
static val angle: Int

Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the range [0, 315].

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

Value: 16843168

animateFirstView

Added in API level 11
static val animateFirstView: Int

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

May be a boolean value, such as "true" or "false".

Value: 16843477

animateLayoutChanges

Added in API level 11
static val animateLayoutChanges: Int

Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run. When this flag is set to true, a default LayoutTransition object will be set on the ViewGroup container and default animations will run when these layout changes occur.

May be a boolean value, such as "true" or "false".

Value: 16843506

animateOnClick

Added in API level 3
static val animateOnClick: Int

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

May be a boolean value, such as "true" or "false".

Value: 16843356

animatedImageDrawable

Added in API level 30
static val animatedImageDrawable: Int

Animated image of the target of accessibility shortcut purpose or behavior, to help users understand how the target of accessibility shortcut can help them.

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

Value: 16844298

animation

Added in API level 1
static val animation: Int

Animation to use on each child.

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

Value: 16843213

animationCache

Added in API level 1
static val animationCache: Int

Defines whether layout animations should create a drawing cache for their children. Enabling the animation cache consumes more memory and requires a longer initialization but provides better performance. The animation cache is enabled by default.

May be a boolean value, such as "true" or "false".

Value: 16842989

animationDuration

Added in API level 1
static val animationDuration: Int

Sets how long a transition animation should run (in milliseconds) when layout has changed. Only relevant if animation is turned on.

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

Value: 16843026

animationOrder

Added in API level 1
static val animationOrder: Int

The order in which the animations will be started.

Must be one of the following constant values.

Constant Value Description
normal 0 Animations are started in the natural order.
random 2 Animations are started randomly.
reverse 1 Animations are started in the reverse order.
Value: 16843214

animationResolution

Added in API level 11
Deprecated in API level 16
static val animationResolution: Int

Deprecated: Not used by the framework. Timeout between frames of animation in milliseconds. {@deprecated Not used by the framework}.

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

Value: 16843546

antialias

Added in API level 1
static val antialias: Int

Enables or disables antialiasing. Antialiasing can be used to smooth the edges of a bitmap when rotated. Default value is false.

May be a boolean value, such as "true" or "false".

Value: 16843034

anyDensity

Added in API level 4
Deprecated in API level 30
static val anyDensity: Int

Deprecated: Should always be true by default and not overridden.

May be a boolean value, such as "true" or "false".

Indicates whether the application can accommodate any screen density. This is assumed true if targetSdkVersion is 4 or higher.

Value: 16843372

apduServiceBanner

Added in API level 19
static val apduServiceBanner: Int

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

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

Value: 16843757

apiKey

Added in API level 1
static val apiKey: Int

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

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

Value: 16843281

appCategory

Added in API level 26
static val appCategory: Int

Declare the category of this app. Categories are used to cluster multiple apps together into meaningful groups, such as when summarizing battery, network, or disk usage. Apps should only define this value when they fit well into one of the specific categories.

Must be one of the following constant values.

Constant Value Description
accessibility 8 Apps which are primarily accessibility apps, such as screen-readers.
audio 1 Apps which primarily work with audio or music, such as music players.
game 0 Apps which are primarily games.
image 3 Apps which primarily work with images or photos, such as camera or gallery apps.
maps 6 Apps which are primarily maps apps, such as navigation apps.
news 5 Apps which are primarily news apps, such as newspapers, magazines, or sports apps.
productivity 7 Apps which are primarily productivity apps, such as cloud storage or workplace apps.
social 4 Apps which are primarily social apps, such as messaging, communication, email, or social network apps.
video 2 Apps which primarily work with video or movies, such as streaming video apps.
Value: 16844101

appComponentFactory

Added in API level 28
static val appComponentFactory: Int

The (optional) fully-qualified name for a subclass of android.app.AppComponentFactory that the system uses to instantiate every other manifest defined class. Most applications don't need this attribute. If it's not specified, the system instantiates items without it.

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

Value: 16844154

attributionTags

Added in API level 31
static val attributionTags: Int

Attribution tag to be used for permission sub-attribution if a permission is checked in android.content.Context#sendBroadcast(Intent, String). Multiple tags can be specified separated by '|'.

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

Value: 16844354

attributionsAreUserVisible

Added in API level 31
static val attributionsAreUserVisible: Int

Whether attributions provided are meant to be user-visible.

May be a boolean value, such as "true" or "false".

Value: 16844363

author

Added in API level 7
static val author: Int

Name of the author and/or source/collection of this component, for example, Art Collection, Picasso.

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

Value: 16843444

authorities

Added in API level 1
static val authorities: Int

Specify the authorities under which this content provider can be found. Multiple authorities may be supplied by separating them with a semicolon. Authority names should use a Java-style naming convention (such as com.google.provider.MyProvider) in order to avoid conflicts. Typically this name is the same as the class implementation describing the provider's data structure.

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

Value: 16842776

autoAdvanceViewId

Added in API level 11
static val autoAdvanceViewId: Int

The view id of the AppWidget subview which should be auto-advanced. by the widget's host.

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

Value: 16843535

autoCompleteTextViewStyle

Added in API level 1
static val autoCompleteTextViewStyle: Int

Default AutoCompleteTextView style.

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

Value: 16842859

autoHandwritingEnabled

Added in API level 33
static val autoHandwritingEnabled: Int

Whether or not the auto handwriting initiation is enabled in this View.

For a view with an active android.view.inputmethod.InputConnection, if auto handwriting initiation is enabled, stylus movement within its view boundary will automatically trigger the handwriting mode. See android.view.View#setAutoHandwritingEnabled.

The default value of this flag is configurable by the device manufacturer.

May be a boolean value, such as "true" or "false".

Value: 16844382
Added in API level 1
static val autoLink: Int

Controls whether links such as urls and email addresses are automatically found and converted to clickable links. The default value is "none", disabling this feature.

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

Constant Value Description
all f Match all patterns (equivalent to web|email|phone|map).
email 2 Match email addresses.
map 8 Match map addresses. Deprecated: see android.text.util.Linkify#MAP_ADDRESSES.
none 0 Match no patterns (default).
phone 4 Match phone numbers.
web 1 Match Web URLs.
Value: 16842928

autoMirrored

Added in API level 19
static val autoMirrored: Int

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). See android.graphics.drawable.Drawable#setAutoMirrored.

May be a boolean value, such as "true" or "false".

Value: 16843754

autoRemoveFromRecents

Added in API level 21
static val autoRemoveFromRecents: Int

Tasks launched by activities with this attribute will remain in the recent tasks list until the last activity in the task is completed. When that happens the task will be automatically removed from the recent tasks list. This overrides the caller's use of Intent.FLAG_ACTIVITY_RETAIN_IN_RECENTS

May be a boolean value, such as "true" or "false".

Value: 16843847

autoRevokePermissions

Added in API level 30
static val autoRevokePermissions: Int

No longer used. Declaring this does nothing

Must be one of the following constant values.

Constant Value Description
allowed 0 No longer used
disallowed 2 No longer used
discouraged 1 No longer used
Value: 16844307

autoSizeMaxTextSize

Added in API level 26
static val autoSizeMaxTextSize: Int

The maximum text size constraint to be used when auto-sizing text.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844102

autoSizeMinTextSize

Added in API level 26
static val autoSizeMinTextSize: Int

The minimum text size constraint to be used when auto-sizing text.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844088

autoSizePresetSizes

Added in API level 26
static val autoSizePresetSizes: Int

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

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

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

May be a boolean value, such as "true" or "false".

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

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Value: 16844087

autoSizeStepGranularity

Added in API level 26
static val autoSizeStepGranularity: Int

Specify the auto-size step size if autoSizeTextType is set to uniform. The default is 1px. Overwrites autoSizePresetSizes if set.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844086

autoSizeTextType

Added in API level 26
static val autoSizeTextType: Int

Specify the type of auto-size. Note that this feature is not supported by EditText, works only for TextView.

Must be one of the following constant values.

Constant Value Description
none 0 No auto-sizing (default).
uniform 1 Uniform horizontal and vertical text size scaling to fit within the container.
Value: 16844085

autoStart

Added in API level 7
static val autoStart: Int

When true, automatically start animating.

May be a boolean value, such as "true" or "false".

Value: 16843445

autoText

Added in API level 1
Deprecated in API level 15
static val autoText: Int

Deprecated: Deprecated in Java.

If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors. The default is "false". {@deprecated Use inputType instead.}

May be a boolean value, such as "true" or "false".

Value: 16843114

autoTransact

Added in API level 35
static val autoTransact: Int

May be a boolean value, such as "true" or "false".

Value: 16844441

autoUrlDetect

Added in API level 4
static val autoUrlDetect: Int

If provided and true, URLs entered in the search dialog while searching within this activity would be detected and treated as URLs (show a 'go' button in the keyboard and invoke the browser directly when user launches the URL instead of passing the URL to the activity). If set to false any URLs entered are treated as normal query text. The default value is false. Optional attribute..

May be a boolean value, such as "true" or "false".

Value: 16843404

autoVerify

Added in API level 23
static val autoVerify: Int

Specify whether an activity intent filter will need to be verified thru its set of data URIs. This will only be used when the Intent's action is set to Intent.ACTION_VIEW and the Intent's category is set to Intent.CATEGORY_BROWSABLE and the intern filter data scheme is set to "http" or "https". When set to true, the intent filter will need to use its data tag for getting the URIs to verify with. For each URI, an HTTPS network request will be done to /.well-known/statements.json host to verify that the web site is okay with the app intercepting the URI.

May be a boolean value, such as "true" or "false".

Value: 16844014

autofillHints

Added in API level 26
static val autofillHints: Int

Describes the content of a view so that a autofill service can fill in the appropriate data. Multiple hints can be combined in a comma separated list or an array of strings to mean e.g. emailAddress or postalAddress.

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

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

Value: 16844118

autofilledHighlight

Added in API level 26
static val autofilledHighlight: Int

Drawable to be drawn over the view to mark it as autofilled

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

Value: 16844136

backdropColor

Added in API level 33
static val backdropColor: Int

Special option for window animations: whether the window's background should be used as a background to the animation.

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

Value: 16844402

background

Added in API level 1
static val background: Int

A drawable to use as the background. This can be either a reference to a full drawable resource (such as a PNG image, 9-patch, XML state list description, etc), or a solid color such as "#ff000000" (black).

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

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

Value: 16842964

backgroundDimAmount

Added in API level 1
static val backgroundDimAmount: Int

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

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

Value: 16842802

backgroundDimEnabled

Added in API level 3
static val backgroundDimEnabled: Int

Control whether dimming behind the window is enabled. The default theme does not set this value, meaning it is based on whether the window is floating.

May be a boolean value, such as "true" or "false".

Value: 16843295

backgroundSplit

Added in API level 14
static val backgroundSplit: Int

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

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

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

Value: 16843659

backgroundStacked

Added in API level 14
static val backgroundStacked: Int

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

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

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

Value: 16843658

backgroundTint

Added in API level 21
static val backgroundTint: Int

Tint to apply to the background.

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

Value: 16843883

backgroundTintMode

Added in API level 21
static val backgroundTintMode: Int

Blending mode used to apply the background tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16843884

backupAgent

Added in API level 4
static val backupAgent: Int

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

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

Value: 16843391

backupInForeground

Added in API level 24
static val backupInForeground: Int

Indicates that full-data backup operations for this application may be performed even if the application is in a foreground-equivalent state. Use with caution! Setting this flag to true can impact app behavior while the user is interacting with the device.

If unspecified, the default value of this attribute is false, which means that the OS will avoid backing up the application while it is running in the foreground (such as a music app that is actively playing music via a service in the startForeground() state).

May be a boolean value, such as "true" or "false".

Value: 16844058
Added in API level 21
static val banner: Int

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

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

Value: 16843762

baseline

Added in API level 11
static val baseline: Int

The offset of the baseline within this view. See {see android.view.View#getBaseline} for details

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843548

baselineAlignBottom

Added in API level 1
static val baselineAlignBottom: Int

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

May be a boolean value, such as "true" or "false".

Value: 16843042

baselineAligned

Added in API level 1
static val baselineAligned: Int

When set to false, prevents the layout from aligning its children's baselines. This attribute is particularly useful when the children use different values for gravity. The default value is true.

May be a boolean value, such as "true" or "false".

Value: 16843046

baselineAlignedChildIndex

Added in API level 1
static val baselineAlignedChildIndex: Int

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

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

Value: 16843047

bitmap

Added in API level 24
static val bitmap: Int

Drawable to use as the icon bitmap.

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

Value: 16844054

borderlessButtonStyle

Added in API level 11
static val borderlessButtonStyle: Int

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

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

Value: 16843563

bottom

Added in API level 1
static val bottom: Int

Amount of bottom padding inside the gradient shape.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843184

bottomBright

Added in API level 1
static val bottomBright: Int

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

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

Value: 16842957

bottomDark

Added in API level 1
static val bottomDark: Int

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

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

Value: 16842953

bottomLeftRadius

Added in API level 1
static val bottomLeftRadius: Int

Radius of the bottom left corner.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843179

bottomMedium

Added in API level 1
static val bottomMedium: Int

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

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

Value: 16842958

bottomOffset

Added in API level 3
static val bottomOffset: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843351

bottomRightRadius

Added in API level 1
static val bottomRightRadius: Int

Radius of the bottom right corner.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843180
Added in API level 11
static val breadCrumbShortTitle: Int

The short title for the bread crumb of this item.

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

Value: 16843524
Added in API level 11
static val breadCrumbTitle: Int

The title for the bread crumb of this item.

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

Value: 16843523

breakStrategy

Added in API level 23
static val breakStrategy: Int

Break strategy (control over paragraph layout).

Must be one of the following constant values.

Constant Value Description
balanced 2 Line breaking strategy balances line lengths.
high_quality 1 Line breaking uses high-quality strategy, including hyphenation.
simple 0 Line breaking uses simple strategy.
Value: 16843997

bufferType

Added in API level 1
static val bufferType: Int

Determines the minimum type that getText() will return. The default is "normal". Note that EditText and LogTextBox always return Editable, even if you specify something less powerful here.

Must be one of the following constant values.

Constant Value Description
editable 2 Can only return Spannable and Editable.
normal 0 Can return any CharSequence, possibly a Spanned one if the source text was Spanned.
spannable 1 Can only return Spannable.
Value: 16843086

button

Added in API level 1
static val button: Int

Drawable used for the button graphic (for example, checkbox and radio button).

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

Value: 16843015

buttonBarButtonStyle

Added in API level 11
static val buttonBarButtonStyle: Int

Style for buttons within button bars.

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

Value: 16843567

buttonBarNegativeButtonStyle

Added in API level 21
static val buttonBarNegativeButtonStyle: Int

Style for the "negative" buttons within button bars.

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

Value: 16843915

buttonBarNeutralButtonStyle

Added in API level 21
static val buttonBarNeutralButtonStyle: Int

Style for the "neutral" buttons within button bars.

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

Value: 16843914

buttonBarPositiveButtonStyle

Added in API level 21
static val buttonBarPositiveButtonStyle: Int

Style for the "positive" buttons within button bars.

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

Value: 16843913

buttonBarStyle

Added in API level 11
static val buttonBarStyle: Int

Style for button bars.

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

Value: 16843566

buttonCornerRadius

Added in API level 28
static val buttonCornerRadius: Int

Corner radius of buttons.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844149

buttonGravity

Added in API level 24
static val buttonGravity: Int

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

Constant Value Description
bottom 50 Push object to the bottom of its container, not changing its size.
top 30 Push object to the top of its container, not changing its size.
Value: 16844030

buttonStyle

Added in API level 1
static val buttonStyle: Int

Normal Button style.

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

Value: 16842824

buttonStyleInset

Added in API level 1
static val buttonStyleInset: Int

Button style to inset into an EditText.

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

Value: 16842826

buttonStyleSmall

Added in API level 1
static val buttonStyleSmall: Int

Small Button style.

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

Value: 16842825

buttonStyleToggle

Added in API level 1
static val buttonStyleToggle: Int

ToggleButton style.

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

Value: 16842827

buttonTint

Added in API level 21
static val buttonTint: Int

Tint to apply to the button graphic.

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

Value: 16843887

buttonTintMode

Added in API level 21
static val buttonTintMode: Int

Blending mode used to apply the button graphic tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16843888

cacheColorHint

Added in API level 1
static val cacheColorHint: Int

Indicates that this list will always be drawn on top of solid, single-color opaque background. This allows the list to optimize drawing.

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

Value: 16843009

calendarTextColor

Added in API level 21
static val calendarTextColor: Int

The text color list of the calendar.

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

Value: 16843931

calendarViewShown

Added in API level 11
static val calendarViewShown: Int

Whether the calendar view is shown. Only valid for "spinner" mode.

May be a boolean value, such as "true" or "false".

Value: 16843596

calendarViewStyle

Added in API level 11
static val calendarViewStyle: Int

The CalendarView style.

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

Value: 16843613

canControlMagnification

Added in API level 24
static val canControlMagnification: Int

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

May be a boolean value, such as "true" or "false".

Value: 16844039

canDisplayOnRemoteDevices

Added in API level 33
static val canDisplayOnRemoteDevices: Int

Indicates whether the activity can be displayed on a display that may belong to a remote device which may or may not be running Android.

May be a boolean value, such as "true" or "false".

Value: 16844368

canPauseRecording

Added in API level 31
static val canPauseRecording: Int

Attribute whether the TV input service can pause recording programs. This value can be changed at runtime by calling android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo) .

May be a boolean value, such as "true" or "false".

Value: 16844314

canPerformGestures

Added in API level 24
static val canPerformGestures: Int

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

May be a boolean value, such as "true" or "false".

Value: 16844045

canRecord

Added in API level 24
static val canRecord: Int

Attribute whether the TV input service can record programs. This value can be changed at runtime by calling android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo).

May be a boolean value, such as "true" or "false".

Value: 16844060

canRequestEnhancedWebAccessibility

Added in API level 18
Deprecated in API level 26
static val canRequestEnhancedWebAccessibility: Int

Deprecated: Deprecated in Java.

Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements. {@deprecated Not used by the framework}

May be a boolean value, such as "true" or "false".

Value: 16843736

canRequestFilterKeyEvents

Added in API level 18
static val canRequestFilterKeyEvents: Int

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

Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS flag.

May be a boolean value, such as "true" or "false".

Value: 16843737

canRequestFingerprintGestures

Added in API level 26
static val canRequestFingerprintGestures: Int

Attribute whether the accessibility service wants to be able to capture gestures from the fingerprint sensor.

Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES flag to have any effect.

May be a boolean value, such as "true" or "false".

Value: 16844109

canRequestTouchExplorationMode

Added in API level 18
static val canRequestTouchExplorationMode: Int

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

Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE flag.

May be a boolean value, such as "true" or "false".

Value: 16843735

canRetrieveWindowContent

Added in API level 14
static val canRetrieveWindowContent: Int

Attribute whether the accessibility service wants to be able to retrieve the active window content. This setting cannot be changed at runtime.

Required to allow setting the #AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS flag.

May be a boolean value, such as "true" or "false".

Value: 16843653

canTakeScreenshot

Added in API level 30
static val canTakeScreenshot: Int

Attribute whether the accessibility service wants to be able to take screenshot.

May be a boolean value, such as "true" or "false".

Value: 16844303

candidatesTextStyleSpans

Added in API level 3
static val candidatesTextStyleSpans: Int

A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. The text itself will be ignored, but the style spans will be applied to the candidate text as it is edited.

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

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

Value: 16843312

cantSaveState

Added in API level 28
static val cantSaveState: Int

Declare that this application can't participate in the normal state save/restore mechanism. Since it is not able to save and restore its state on demand, it can not participate in the normal activity lifecycle. It will not be killed while in the background; the user must explicitly quit it. Only one such app can be running at a time; if the user tries to launch a second such app, they will be prompted to quit the first before doing so. While the application is running, the user will be informed of this.

May be a boolean value, such as "true" or "false".

Value: 16844142

capability

Added in API level 34
static val capability: Int

An individual capability declared by the provider.

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

Value: 16844423

capitalize

Added in API level 1
Deprecated in API level 15
static val capitalize: Int

Deprecated: Deprecated in Java.

If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. The default is "none". {@deprecated Use inputType instead.}

Must be one of the following constant values.

Constant Value Description
characters 3 Capitalize every character.
none 0 Don't automatically capitalize anything.
sentences 1 Capitalize the first word of each sentence.
words 2 Capitalize the first letter of every word.
Value: 16843113

category

Added in API level 19
static val category: Int

The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly. Additionally, when a category is specified, Android will ensure that either all AIDs in this group are routed to this application, or none at all. This attribute is optional.

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

Value: 16843752

centerBright

Added in API level 1
static val centerBright: Int

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

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

Value: 16842956

centerColor

Added in API level 1
static val centerColor: Int

Optional center color. For linear gradients, use centerX or centerY to place the center color.

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

Value: 16843275

centerDark

Added in API level 1
static val centerDark: Int

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

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

Value: 16842952

centerMedium

Added in API level 1
static val centerMedium: Int

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

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

Value: 16842959

centerX

Added in API level 1
static val centerX: Int

X-position of the center point of the gradient within the shape as a fraction of the width. The default value is 0.5.

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Value: 16843170

centerY

Added in API level 1
static val centerY: Int

Y-position of the center point of the gradient within the shape as a fraction of the height. The default value is 0.5.

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Value: 16843171

certDigest

Added in API level 26
static val certDigest: Int

Optional SHA-256 digest of the package signing certificate.

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

Value: 16844104

checkBoxPreferenceStyle

Added in API level 1
static val checkBoxPreferenceStyle: Int

Default style for CheckBoxPreference.

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

Value: 16842895

checkMark

Added in API level 1
static val checkMark: Int

Drawable used for the check mark graphic.

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

Value: 16843016

checkMarkTint

Added in API level 21
static val checkMarkTint: Int

Tint to apply to the check mark.

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

Value: 16843943

checkMarkTintMode

Added in API level 21
static val checkMarkTintMode: Int

Blending mode used to apply the check mark tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16843944

checkable

Added in API level 1
static val checkable: Int

Whether the item is capable of displaying a check mark.

May be a boolean value, such as "true" or "false".

Value: 16843237

checkableBehavior

Added in API level 1
static val checkableBehavior: Int

Whether the items are capable of displaying a check mark.

Must be one of the following constant values.

Constant Value Description
all 1 The items are all checkable.
none 0 The items are not checkable.
single 2 The items are checkable and there will only be a single checked item in this group.
Value: 16843232

checkboxStyle

Added in API level 1
static val checkboxStyle: Int

Default Checkbox style.

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

Value: 16842860

checked

Added in API level 1
static val checked: Int

Indicates the initial checked state of this button.

May be a boolean value, such as "true" or "false".

Value: 16843014

checkedButton

Added in API level 1
static val checkedButton: Int

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

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

Value: 16843080

checkedTextViewStyle

Added in API level 17
static val checkedTextViewStyle: Int

Default CheckedTextView style.

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

Value: 16843720

childDivider

Added in API level 1
static val childDivider: Int

Drawable or color that is used as a divider for children. (It will drawn below and above child items.) The height of this will be the same as the height of the normal list item divider.

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

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

Value: 16843025

childIndicator

Added in API level 1
static val childIndicator: Int

Indicator shown beside the child View. This can be a stateful Drawable.

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

Value: 16843020

childIndicatorEnd

Added in API level 18
static val childIndicatorEnd: Int

The end bound for a child's indicator.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843732

childIndicatorLeft

Added in API level 1
static val childIndicatorLeft: Int

The left bound for a child's indicator.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843023

childIndicatorRight

Added in API level 1
static val childIndicatorRight: Int

The right bound for a child's indicator.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843024

childIndicatorStart

Added in API level 18
static val childIndicatorStart: Int

The start bound for a child's indicator.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843731

choiceMode

Added in API level 1
static val choiceMode: Int

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 android.widget.AbsListView.MultiChoiceModeListener using android.widget.AbsListView#setMultiChoiceModeListener to control the selection mode. This uses the android.view.ActionMode API.

Must be one of the following constant values.

Constant Value Description
multipleChoice 2 The list allows multiple choices.
multipleChoiceModal 3 The list allows multiple choices in a custom selection mode.
none 0 Normal list that does not indicate choices.
singleChoice 1 The list allows up to one choice.
Value: 16843051

classLoader

Added in API level 27
static val classLoader: Int

The classname of the classloader used to load the application's classes from its APK. The APK in question can either be the 'base' APK or any of the application's 'split' APKs if it's using a feature split.

The supported values for this attribute are dalvik.system.PathClassLoader and dalvik.system.DelegateLastClassLoader. If unspecified, the default value of this attribute is dalvik.system.PathClassLoader. If an unknown classloader is provided, a PackageManagerException with cause PackageManager.INSTALL_PARSE_FAILED_MANIFEST_MALFORMED will be thrown and the app will not be installed.

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

Value: 16844139

clearTaskOnLaunch

Added in API level 1
static val clearTaskOnLaunch: Int

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 android.R.attr#allowTaskReparenting, the allowTaskReparenting trumps the clear. That is, all activities above the root activity of the task will be removed: those that have an affinity will be moved to the task they are associated with, otherwise they will simply be dropped as described here.

May be a boolean value, such as "true" or "false".

Value: 16842773

clickable

Added in API level 1
static val clickable: Int

Defines whether this view reacts to click events.

May be a boolean value, such as "true" or "false".

Value: 16842981

clipChildren

Added in API level 1
static val clipChildren: Int

Defines whether a child is limited to draw inside of its bounds or not. This is useful with animations that scale the size of the children to more than 100% for instance. In such a case, this property should be set to false to allow the children to draw outside of their bounds. The default value of this property is true.

May be a boolean value, such as "true" or "false".

Value: 16842986

clipOrientation

Added in API level 1
static val clipOrientation: Int

The orientation for the clip.

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

Constant Value Description
horizontal 1 Clip the drawable horizontally.
vertical 2 Clip the drawable vertically.
Value: 16843274

clipToOutline

Added in API level 31
static val clipToOutline: Int

Whether the View's Outline should be used to clip the contents of the View.

Only a single non-rectangular clip can be applied on a View at any time. Circular clips from a android.view.ViewAnimationUtils#createCircularReveal(View, int, int, float, * float) circular reveal animation take priority over Outline clipping, and child Outline clipping takes priority over Outline clipping done by a parent.

Note that this flag will only be respected if the View's Outline returns true from android.graphics.Outline#canClip().

May be a boolean value, such as "true" or "false".

Value: 16844328

clipToPadding

Added in API level 1
static val clipToPadding: Int

Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero. This property is set to true by default.

May be a boolean value, such as "true" or "false".

Value: 16842987

closeIcon

Added in API level 21
static val closeIcon: Int

Close button icon.

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

Value: 16843905

codes

Added in API level 3
Deprecated in API level 29
static val codes: Int

Deprecated: Deprecated in Java.

The unicode value or comma-separated values that this key outputs. {@deprecated Copy this definition into your own application project.}

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

Value: 16843330

collapseColumns

Added in API level 1
static val collapseColumns: Int

The zero-based index of the columns to collapse. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored.

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

Value: 16843083

collapseContentDescription

Added in API level 22
static val collapseContentDescription: Int

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

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

Value: 16843984

collapseIcon

Added in API level 24
static val collapseIcon: Int

Icon drawable to use for the collapse button.

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

Value: 16844031

color

Added in API level 1
static val color: Int

Solid color for the gradient shape.

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

Value: 16843173

colorAccent

Added in API level 21
static val colorAccent: Int

Bright complement to the primary branding color. By default, this is the color applied to framework controls (via colorControlActivated).

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

Value: 16843829

colorActivatedHighlight

Added in API level 14
static val colorActivatedHighlight: Int

Default highlight color for items that are activated. (Activated meaning persistent selection.)

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

Value: 16843664

colorBackground

Added in API level 1
static val colorBackground: Int

Default color of background imagery, ex. full-screen windows.

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

Value: 16842801

colorBackgroundCacheHint

Added in API level 5
static val colorBackgroundCacheHint: Int

This is a hint for a solid color that can be used for caching rendered views. This should be the color of the background when there is a solid background color; it should be null when the background is a texture or translucent. When a device is able to use accelerated drawing (thus setting state_accelerated), the cache hint is ignored and always assumed to be transparent.

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

Value: 16843435

colorBackgroundFloating

Added in API level 23
static val colorBackgroundFloating: Int

Default color of background imagery for floating components, ex. dialogs, popups, and cards.

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

Value: 16844002

colorButtonNormal

Added in API level 21
static val colorButtonNormal: Int

The color applied to framework buttons in their normal state.

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

Value: 16843819

colorControlActivated

Added in API level 21
static val colorControlActivated: Int

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

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

Value: 16843818

colorControlHighlight

Added in API level 21
static val colorControlHighlight: Int

The color applied to framework control highlights (ex. ripples, list selectors).

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

Value: 16843820

colorControlNormal

Added in API level 21
static val colorControlNormal: Int

The color applied to framework controls in their normal state.

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

Value: 16843817

colorEdgeEffect

Added in API level 21
static val colorEdgeEffect: Int

The color applied to the edge effect on scrolling containers.

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

Value: 16843982

colorError

Added in API level 26
static val colorError: Int

Color used for error states and things that need to be drawn to the users attention..

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

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844099

colorFocusedHighlight

Added in API level 14
static val colorFocusedHighlight: Int

Default highlight color for items that are focused. (Focused meaning cursor-based selection.)

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843663

colorForeground

Added in API level 1
static val colorForeground: Int

Default color of foreground imagery.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16842800

colorForegroundInverse

Added in API level 1
static val colorForegroundInverse: Int

Default color of foreground imagery on an inverted background.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843270

colorLongPressedHighlight

Added in API level 14
static val colorLongPressedHighlight: Int

Default highlight color for items that are long-pressed.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843662

colorMode

Added in API level 26
static val colorMode: Int

Specify the color mode the activity desires. The requested color mode may be ignored depending on the capabilities of the display the activity is displayed on.

Must be one of the following constant values.

Constant Value Description
default 0 The default color mode (typically sRGB, low-dynamic range).
hdr 2 High dynamic range color mode.
wideColorGamut 1 Wide color gamut color mode.
Value: 16844106

colorMultiSelectHighlight

Added in API level 14
static val colorMultiSelectHighlight: Int

Default highlight color for items in multiple selection mode.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843665

colorPressedHighlight

Added in API level 14
static val colorPressedHighlight: Int

Default highlight color for items that are pressed.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843661

colorPrimary

Added in API level 21
static val colorPrimary: Int

The primary branding color for the app. By default, this is the color applied to the action bar background.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843827

colorPrimaryDark

Added in API level 21
static val colorPrimaryDark: Int

Dark variant of the primary branding color. By default, this is the color applied to the status bar (via statusBarColor) and navigation bar (via navigationBarColor).

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843828

colorSecondary

Added in API level 25
static val colorSecondary: Int

The secondary branding color for the app.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844080

columnCount

Added in API level 14
static val columnCount: Int

The maximum number of columns to create when automatically positioning children.

May be an integer value, such as "100".

Value: 16843639

columnDelay

Added in API level 1
static val columnDelay: Int

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.

Value: 16843215

columnOrderPreserved

Added in API level 14
static val columnOrderPreserved: Int

When set to true, forces column boundaries to appear in the same order as column indices. The default is true. See android.widget.GridLayout#setColumnOrderPreserved(boolean).

May be a boolean value, such as "true" or "false".

Value: 16843640

columnWidth

Added in API level 1
static val columnWidth: Int

Specifies the fixed width for each column.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843031

commitIcon

Added in API level 21
static val commitIcon: Int

Commit icon shown in the query suggestion row.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843909

compatibleWidthLimitDp

Added in API level 13
static val compatibleWidthLimitDp: Int

Starting with android.os.Build.VERSION_CODES#HONEYCOMB_MR2, this is the new way to specify the largest screens an application is compatible with. This attribute provides the maximum "smallest screen width" (as per the -swNNNdp resource configuration) that the application is designed for. If this value is smaller than the "smallest screen width" of the device it is running on, the user is offered to run it in a compatibility mode that emulates a smaller screen and zooms it to fit the screen. Currently the compatibility mode only emulates phone screens with a 320dp width, so compatibility mode is not applied if the value for compatibleWidthLimitDp is larger than 320.

May be an integer value, such as "100".

Value: 16843621

completionHint

Added in API level 1
static val completionHint: Int

Defines the hint displayed in the drop down menu.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843122

completionHintView

Added in API level 1
static val completionHintView: Int

Defines the hint view displayed in the drop down menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843123

completionThreshold

Added in API level 1
static val completionThreshold: Int

Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu.

May be an integer value, such as "100".

Value: 16843124

configChanges

Added in API level 1
static val configChanges: Int

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 android.content.pm.ActivityInfo and include/utils/ResourceTypes.h.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
assetsPaths 80000000 The assets paths have changed. For example a runtime overlay is installed and enabled. Corresponds to android.content.pm.ActivityInfo#CONFIG_ASSETS_PATHS.
colorMode 4000 The color mode of the screen has changed (color gamut or dynamic range).
density 1000 The display density has changed. This might be caused by the user specifying a different display scale, or it might be caused by a different display being activated.
fontScale 40000000 The font scaling factor has changed, that is the user has selected a new global font size.
fontWeightAdjustment 10000000 The font weight adjustment value has changed. Used to reflect the user increasing font weight.
grammaticalGender 8000 The grammatical gender has changed, for example the user set the grammatical gender from the UI.
keyboard 10 The keyboard type has changed, for example the user has plugged in an external keyboard.
keyboardHidden 20 The keyboard or navigation accessibility has changed, for example the user has slid the keyboard out to expose it. Note that despite its name, this applied to any accessibility: keyboard or navigation.
layoutDirection 2000 The layout direction has changed. For example going from LTR to RTL.
locale 4 The locale has changed, that is the user has selected a new language that text should be displayed in.
mcc 1 The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code. By default from Android O, we don't recreate the activity even the app doesn't specify mcc in configChanges. If the app wants to recreate the activity, specify mcc in recreateOnConfigChanges.
mnc 2 The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code. By default from Android O, we don't recreate the activity even the app doesn't specify mnc in configChanges. If the app wants to recreate the acvitity, specify mnc in recreateOnConfigChanges.
navigation 40 The navigation type has changed. Should never normally happen.
orientation 80 The screen orientation has changed, that is the user has rotated the device.
resourcesUnused 8000000 This is probably not the flag you want, the resources compiler supports a less dangerous version of it, 'allKnown', that only suppresses all currently existing configuration change restarts depending on your target SDK rather than whatever the latest SDK supports, allowing the application to work with resources on future Platform versions. Activity doesn't use Android Resources at all and doesn't need to be restarted on any configuration changes. This overrides all other flags, and this is recommended to be used individually. Corresponds to android.content.pm.ActivityInfo#CONFIG_RESOURCES_UNUSED.
screenLayout 100 The screen layout has changed. This might be caused by a different display being activated.
screenSize 400 The current available screen size has changed. If applications don't target at least android.os.Build.VERSION_CODES#HONEYCOMB_MR2 then the activity will always handle this itself (the change will not result in a restart). This represents a change in the currently available size, so will change when the user switches between landscape and portrait.
smallestScreenSize 800 The physical screen size has changed. If applications don't target at least android.os.Build.VERSION_CODES#HONEYCOMB_MR2 then the activity will always handle this itself (the change will not result in a restart). This represents a change in size regardless of orientation, so will only change when the actual physical screen size has changed such as switching to an external display.
touchscreen 8 The touchscreen has changed. Should never normally happen.
uiMode 200 The global user interface mode has changed. For example, going in or out of car mode, night mode changing, etc.
Value: 16842783

configure

Added in API level 3
static val configure: Int

A class name in the AppWidget's package to be launched to configure. If not supplied, then no activity will be launched.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843357

constantSize

Added in API level 1
static val constantSize: Int

If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. If false, the size will vary based on the current state.

May be a boolean value, such as "true" or "false".

Value: 16843158

content

Added in API level 3
static val content: Int

Identifier for the child that represents the drawer's content.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843355

contentAgeHint

Added in API level 21
static val contentAgeHint: Int

The age associated with the content rating. The content of this rating is suitable for people of this age or above.

May be an integer value, such as "100".

Value: 16843961

contentAuthority

Added in API level 5
static val contentAuthority: Int

the authority of a content provider.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843408

contentDescription

Added in API level 4
static val contentDescription: Int

The content description associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843379

contentInsetEnd

Added in API level 21
static val contentInsetEnd: Int

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843860

contentInsetEndWithActions

Added in API level 24
static val contentInsetEndWithActions: Int

Minimum inset for content views within a bar when actions from a menu are present. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844067

contentInsetLeft

Added in API level 21
static val contentInsetLeft: Int

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843861

contentInsetRight

Added in API level 21
static val contentInsetRight: Int

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843862

contentInsetStart

Added in API level 21
static val contentInsetStart: Int

Minimum inset for content views within a bar. Navigation buttons and menu views are excepted. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843859

contentInsetStartWithNavigation

Added in API level 24
static val contentInsetStartWithNavigation: Int

Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844066

contentSensitivity

Added in API level 35
static val contentSensitivity: Int

Must be one of the following constant values.

Constant Value Description
auto 0 Let the Android System use its heuristics to determine if the view renders sensitive content.
notSensitive 2 This view doesn't render sensitive content.
sensitive 1 This view renders sensitive content.
Value: 16844446

contextClickable

Added in API level 23
static val contextClickable: Int

Defines whether this view reacts to context click events.

May be a boolean value, such as "true" or "false".

Value: 16844007

contextDescription

Added in API level 25
static val contextDescription: Int

Title of the uri that specifies a link for further context of this wallpaper, for example, Explore collection.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844078

contextPopupMenuStyle

Added in API level 24
static val contextPopupMenuStyle: Int

Default context menu PopupMenu style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844033

contextUri

Added in API level 25
static val contextUri: Int

Uri that specifies a link for further context of this wallpaper, for example, http://www.picasso.org.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844077

controlX1

Added in API level 21
static val controlX1: Int

The x coordinate of the first control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Value: 16843772

controlX2

Added in API level 21
static val controlX2: Int

The x coordinate of the second control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Value: 16843774

controlY1

Added in API level 21
static val controlY1: Int

The y coordinate of the first control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Value: 16843773

controlY2

Added in API level 21
static val controlY2: Int

The y coordinate of the second control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Value: 16843775

countDown

Added in API level 24
static val countDown: Int

Specifies whether this Chronometer counts down or counts up from the base. If not specified this is false and the Chronometer counts up.

May be a boolean value, such as "true" or "false".

Value: 16844059

country

Added in API level 21
static val country: Int

The country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843962

cropToPadding

Added in API level 1
static val cropToPadding: Int

If true, the image will be cropped to fit within its padding.

May be a boolean value, such as "true" or "false".

Value: 16843043

crossProfile

Added in API level 30
static val crossProfile: Int

If true indicates that this application is capable of presenting a unified interface representing multiple profiles. The default value is false.

May be a boolean value, such as "true" or "false".

Value: 16844302

cursorVisible

Added in API level 1
static val cursorVisible: Int

Makes the cursor visible (the default) or invisible.

May be a boolean value, such as "true" or "false".

Value: 16843090

customNavigationLayout

Added in API level 11
static val customNavigationLayout: Int

Specifies a layout for custom navigation. Overrides navigationMode.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843474

customTokens

Added in API level 11
static val customTokens: Int

Account handles its own token storage and permissions. Default to false

May be a boolean value, such as "true" or "false".

Value: 16843579

cycles

Added in API level 1
static val cycles: Int

May be a floating point value, such as "1.2".

Value: 16843220

dashGap

Added in API level 1
static val dashGap: Int

Gap between dashes in the stroke.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843175

dashWidth

Added in API level 1
static val dashWidth: Int

Length of a dash in the stroke.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843174

data

Added in API level 1
static val data: Int

The data URI to assign to the Intent, as per Intent.setData().

Note: scheme and host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, URIs here should always be normalized to use lower case letters for these elements (as well as other proper Uri normalization).

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16842798

dataExtractionRules

Added in API level 31
static val dataExtractionRules: Int

Applications can set this attribute to an xml resource within their app where they specified the rules determining which files and directories can be copied from the device as part of backup or transfer operations. See the Changes in backup and restore document for the format of the XML file.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844350

datePickerDialogTheme

Added in API level 21
static val datePickerDialogTheme: Int

The DatePicker dialog theme.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843948

datePickerMode

Added in API level 21
static val datePickerMode: Int

Defines the look of the widget. Prior to the L release, the only choice was spinner. As of L, with the Material theme selected, the default layout is calendar, but this attribute can be used to force spinner to be used instead.

Must be one of the following constant values.

Constant Value Description
calendar 2 Date picker with calendar to select the date.
spinner 1 Date picker with spinner controls to select the date.
Value: 16843955

datePickerStyle

Added in API level 11
static val datePickerStyle: Int

The DatePicker style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843612

dateTextAppearance

Added in API level 11
static val dateTextAppearance: Int

The text appearance for the day numbers in the calendar grid.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843593

dayOfWeekBackground

Added in API level 21
Deprecated in API level 23
static val dayOfWeekBackground: Int

Deprecated: Deprecated in Java.

The background color for the header's day of week. {@deprecated No longer displayed.}

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843924

dayOfWeekTextAppearance

Added in API level 21
Deprecated in API level 23
static val dayOfWeekTextAppearance: Int

Deprecated: Deprecated in Java.

The text color for the header's day of week. {@deprecated No longer displayed.}

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843925

debuggable

Added in API level 1
static val debuggable: Int

Flag indicating whether the application can be debugged, even when running on a device that is running in user mode.

May be a boolean value, such as "true" or "false".

Value: 16842767

defaultFocusHighlightEnabled

Added in API level 26
static val defaultFocusHighlightEnabled: Int

Whether this View should use a default focus highlight when it gets focused but doesn't have android.R.attr#state_focused defined in its background.

May be a boolean value, such as "true" or "false".

Value: 16844130

defaultHeight

Added in API level 24
static val defaultHeight: Int

Default height of the activity. Can be either a fixed value or fraction, in which case the height will be constructed as a fraction of the total available height.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Value: 16844021

defaultLocale

Added in API level 35
static val defaultLocale: Int

The IETF BCP47 language tag the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844424

defaultToDeviceProtectedStorage

Added in API level 24
static val defaultToDeviceProtectedStorage: Int

May be a boolean value, such as "true" or "false".

Value: 16844036

defaultValue

Added in API level 1
static val defaultValue: Int

The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

May be a boolean value, such as "true" or "false".

May be a floating point value, such as "1.2".

Value: 16843245

defaultWidth

Added in API level 24
static val defaultWidth: Int

Default width of the activity. Can be either a fixed value or fraction, in which case the width will be constructed as a fraction of the total available width.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Value: 16844020

delay

Added in API level 1
static val delay: Int

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.

Value: 16843212

dependency

Added in API level 1
static val dependency: Int

The key of another Preference that this Preference will depend on. If the other Preference is not set or is off, this Preference will be disabled.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843244

descendantFocusability

Added in API level 1
static val descendantFocusability: Int

Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.

Must be one of the following constant values.

Constant Value Description
afterDescendants 1 The ViewGroup will get focus only if none of its descendants want it.
beforeDescendants 0 The ViewGroup will get focus before any of its descendants.
blocksDescendants 2 The ViewGroup will block its descendants from receiving focus.
Value: 16842993

description

Added in API level 1
static val description: Int

Descriptive text for the associated data.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842784

detachWallpaper

Added in API level 5
static val detachWallpaper: Int

Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it.

May be a boolean value, such as "true" or "false".

Value: 16843430

detailColumn

Added in API level 5
static val detailColumn: Int

Column in data table that contains details for this data.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843427

detailSocialSummary

Added in API level 5
static val detailSocialSummary: Int

Flag indicating that detail should be built from SocialProvider.

May be a boolean value, such as "true" or "false".

Value: 16843428

detailsElementBackground

Added in API level 11
static val detailsElementBackground: Int

Background that can be used behind parts of a UI that provide details on data the user is selecting. For example, this is the background element of PreferenceActivity's embedded preference fragment.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843598

dial

Added in API level 1
static val dial: Int

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843010

dialTint

Added in API level 31
static val dialTint: Int

Tint to apply to the dial graphic.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844342

dialTintMode

Added in API level 31
static val dialTintMode: Int

Blending mode used to apply the dial graphic tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16844343

dialogCornerRadius

Added in API level 28
static val dialogCornerRadius: Int

Corner radius of dialogs.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844145

dialogIcon

Added in API level 1
static val dialogIcon: Int

The icon for the dialog.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843252

dialogLayout

Added in API level 1
static val dialogLayout: Int

A layout to be used as the content View for the dialog. By default, this shouldn't be needed. If a custom DialogPreference is required, this should be set. For example, the EditTextPreference uses a layout with an EditText as this attribute.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843255

dialogMessage

Added in API level 1
static val dialogMessage: Int

The message in the dialog. If a dialogLayout is provided and contains a TextView with ID android:id/message, this message will be placed in there.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843251

dialogPreferenceStyle

Added in API level 1
static val dialogPreferenceStyle: Int

Default style for DialogPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842897

dialogPreferredPadding

Added in API level 22
static val dialogPreferredPadding: Int

Preferred padding for dialog content.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843987

dialogTheme

Added in API level 11
static val dialogTheme: Int

Theme to use for dialogs spawned from this theme.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843528

dialogTitle

Added in API level 1
static val dialogTitle: Int

The title in the dialog.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843250

digits

Added in API level 1
static val digits: Int

If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. If this is set, numeric is implied to be true. The default is false.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843110

directBootAware

Added in API level 24
static val directBootAware: Int

Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

May be a boolean value, such as "true" or "false".

Value: 16844037

direction

Added in API level 1
static val direction: Int

Direction of the animation in the grid.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
bottom_to_top 2 Animates rows from bottom to top.
left_to_right 0 Animates columns from left to right.
right_to_left 1 Animates columns from right to left.
top_to_bottom 0 Animates rows from top to bottom.
Value: 16843217

directionDescriptions

Added in API level 14
Deprecated in API level 23
static val directionDescriptions: Int

Deprecated: Removed. Reference to an array resource that be used to announce the directions with targets around the circle. {@deprecated Removed.}

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843681

directionPriority

Added in API level 1
static val directionPriority: Int

Priority of the rows and columns. When the priority is none, both rows and columns have the same priority. When the priority is column, the animations will be applied on the columns first. The same goes for rows.

Must be one of the following constant values.

Constant Value Description
column 1 Columns are animated first.
none 0 Rows and columns are animated at the same time.
row 2 Rows are animated first.
Value: 16843218

disableDependentsState

Added in API level 1
static val disableDependentsState: Int

The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.

May be a boolean value, such as "true" or "false".

Value: 16843249

disabledAlpha

Added in API level 1
static val disabledAlpha: Int

Default disabled alpha for widgets that set enabled/disabled alpha programmatically.

May be a floating point value, such as "1.2".

Value: 16842803

displayOptions

Added in API level 11
static val displayOptions: Int

Options affecting how the action bar is displayed.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
disableHome 20
homeAsUp 4
none 0
showCustom 10
showHome 2
showTitle 8
useLogo 1
Value: 16843472

dither

Added in API level 1
static val dither: Int

Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).

May be a boolean value, such as "true" or "false".

Value: 16843036

divider

Added in API level 1
static val divider: Int

Drawable or color to draw between list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843049

dividerHeight

Added in API level 1
static val dividerHeight: Int

Height of the divider. Will use the intrinsic height of the divider if this is not specified.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843050

dividerHorizontal

Added in API level 11
static val dividerHorizontal: Int

Drawable to use for generic horizontal dividers.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843564

dividerPadding

Added in API level 11
static val dividerPadding: Int

Size of padding on either end of a divider.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843562

dividerVertical

Added in API level 11
static val dividerVertical: Int

Drawable to use for generic vertical dividers.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843530

documentLaunchMode

Added in API level 21
static val documentLaunchMode: Int

This attribute specifies that an activity shall become the root activity of a new task each time it is launched. Using this attribute permits the user to have multiple documents from the same applications appear in the recent tasks list.

Such a document is any kind of item for which an application may want to maintain multiple simultaneous instances. Examples might be text files, web pages, spreadsheets, or emails. Each such document will be in a separate task in the recent tasks list.

This attribute is equivalent to adding the flag android.content.Intent#FLAG_ACTIVITY_NEW_DOCUMENT to every Intent used to launch the activity.

The documentLaunchMode attribute may be assigned one of four values, "none", "intoExisting", "always" and "never", described in detail below. For values other than none and never the activity must be defined with android.R.attr#launchMode standard. If this attribute is not specified, none will be used. Note that none can be overridden at run time if the Intent used to launch it contains the flag Intent.FLAG_ACTIVITY_NEW_DOCUMENT. Similarly intoExisting will be overridden by the flag Intent.FLAG_ACTIVITY_NEW_DOCUMENT combined with Intent.FLAG_ACTIVITY_MULTIPLE_TASK. If the value of documentLaunchModes is never then any use of Intent.FLAG_ACTIVITY_NEW_DOCUMENT to launch this activity will be ignored.

Must be one of the following constant values.

Constant Value Description
always 2 A new task rooted at this activity will be created. This will happen whether or not there is an existing task whose ComponentName and data URI match that of the launcing intent This is the equivalent of launching an activity with Intent.FLAG_ACTIVITY_NEW_DOCUMENT and Intent.FLAG_ACTIVITY_MULTIPLE_TASK both set.
intoExisting 1 All tasks will be searched for one whose base Intent's ComponentName and data URI match those of the launching Intent. If such a task is found that task will be cleared and restarted with the root activity receiving a call to android.app.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.

never 3 This activity will not be launched into a new document even if the Intent contains Intent.FLAG_ACTIVITY_NEW_DOCUMENT. This gives the activity writer ultimate control over how their activity is used. Note that applications prior to api 21 will default to documentLaunchMode="none" so only activities that explicitly opt out with "never" may do so.
none 0 The default mode, which will create a new task only when Intent.FLAG_ACTIVITY_NEW_TASK is set.
Value: 16843845

drawSelectorOnTop

Added in API level 1
static val drawSelectorOnTop: Int

When set to true, the selector will be drawn over the selected item. Otherwise the selector is drawn behind the selected item. The default value is false.

May be a boolean value, such as "true" or "false".

Value: 16843004

drawable

Added in API level 1
static val drawable: Int

Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843161

drawableBottom

Added in API level 1
static val drawableBottom: Int

The drawable to be drawn below the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843118

drawableEnd

Added in API level 14
static val drawableEnd: Int

The drawable to be drawn to the end of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843667

drawableLeft

Added in API level 1
static val drawableLeft: Int

The drawable to be drawn to the left of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843119

drawablePadding

Added in API level 1
static val drawablePadding: Int

The padding between the drawables and the text.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843121

drawableRight

Added in API level 1
static val drawableRight: Int

The drawable to be drawn to the right of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843120

drawableStart

Added in API level 14
static val drawableStart: Int

The drawable to be drawn to the start of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843666

drawableTint

Added in API level 23
static val drawableTint: Int

Tint to apply to the compound (left, top, etc.) drawables.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843990

drawableTintMode

Added in API level 23
static val drawableTintMode: Int

Blending mode used to apply the compound (left, top, etc.) drawables tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16843991

drawableTop

Added in API level 1
static val drawableTop: Int

The drawable to be drawn above the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843117

drawingCacheQuality

Added in API level 1
static val drawingCacheQuality: Int

Defines the quality of translucent drawing caches. This property is used only when the drawing cache is enabled and translucent. The default value is auto. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.

Must be one of the following constant values.

Constant Value Description
auto 0 Lets the framework decide what quality level should be used for the drawing cache. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.
high 2 High quality. When set to high quality, the drawing cache uses a higher color depth but uses more memory. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.
low 1 Low quality. When set to low quality, the drawing cache uses a lower color depth, thus losing precision in rendering gradients, but uses less memory. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.
Value: 16842984
Added in API level 3
static val dropDownAnchor: Int

View to anchor the auto-complete dropdown to. If not specified, the text view itself is used.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843363
Added in API level 4
static val dropDownHeight: Int

Specifies the basic height of the dropdown. Its value may be a dimension (such as "12dip") for a constant height, fill_parent or match_parent to fill the height of the screen, or wrap_content to match the height of the content of the drop down.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.

Constant Value Description
fill_parent ffffffff The dropdown should fit the height of the screen. This constant is deprecated starting from API Level 8 and is replaced by match_parent.
match_parent ffffffff The dropdown should fit the height of the screen. Introduced in API Level 8.
wrap_content fffffffe The dropdown should fit the height of the content.
Value: 16843395
Added in API level 1
static val dropDownHintAppearance: Int

Default style for drop down hints.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842888
Added in API level 5
static val dropDownHorizontalOffset: Int

Amount of pixels by which the drop down should be offset horizontally.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843436
Added in API level 1
static val dropDownItemStyle: Int

Default style for drop down items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842886
Added in API level 1
static val dropDownListViewStyle: Int

Default ListView style for drop downs.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842861
Added in API level 1
static val dropDownSelector: Int

Selector in a drop down list.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843125
Added in API level 11
static val dropDownSpinnerStyle: Int

Default dropdown Spinner style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843478
Added in API level 5
static val dropDownVerticalOffset: Int

Amount of pixels by which the drop down should be offset vertically.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843437
Added in API level 3
static val dropDownWidth: Int

Specifies the basic width of the dropdown. Its value may be a dimension (such as "12dip") for a constant width, fill_parent or match_parent to match the width of the screen, or wrap_content to match the width of the anchored view.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.

Constant Value Description
fill_parent ffffffff The dropdown should fill the width of the screen. This constant is deprecated starting from API Level 8 and is replaced by match_parent.
match_parent ffffffff The dropdown should fit the width of the screen. Introduced in API Level 8.
wrap_content fffffffe The dropdown should fit the width of its anchor.
Value: 16843362

duplicateParentState

Added in API level 1
static val duplicateParentState: Int

When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.

May be a boolean value, such as "true" or "false".

Value: 16842985

duration

Added in API level 1
static val duration: Int

Amount of time (in milliseconds) to display this frame.

May be an integer value, such as "100".

Value: 16843160

editTextBackground

Added in API level 11
static val editTextBackground: Int

EditText background drawable.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843602

editTextColor

Added in API level 11
static val editTextColor: Int

EditText text foreground color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843601

editTextPreferenceStyle

Added in API level 1
static val editTextPreferenceStyle: Int

Default style for EditTextPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842898

editTextStyle

Added in API level 1
static