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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 be 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 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 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

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

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

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

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

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

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

Properties
static Int

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

static Int

Specify whether the SDK is optional.

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

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

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

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

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

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

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 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 val editTextStyle: Int

Default EditText style.

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

Value: 16842862

editable

Added in API level 1
Deprecated in API level 15
static val editable: Int

Deprecated: Deprecated in Java.

If set, specifies that this TextView has an input method. It will be a textual one unless it has otherwise been specified. For TextView, this is false by default. For EditText, it is true by default. {@deprecated Use inputType instead.}

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

Value: 16843115

editorExtras

Added in API level 3
static val editorExtras: 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. This simply fills in the EditorInfo.extras field when the input method is connected.

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

Value: 16843300

effectColor

Added in API level 31
static val effectColor: Int

Color applied to effects.

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

Value: 16844361

elegantTextHeight

Added in API level 21
static val elegantTextHeight: Int

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

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

Value: 16843869

elevation

Added in API level 21
static val elevation: Int

base z depth of the view.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843840

ellipsize

Added in API level 1
static val ellipsize: Int

Where to ellipsize text.

Must be one of the following constant values.

Constant Value Description
end 3
marquee 4
middle 2
none 0
start 1
Value: 16842923

ems

Added in API level 1
static val ems: Int

Makes the TextView be exactly this many ems wide.

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

Value: 16843096

enableOnBackInvokedCallback

Added in API level 33
static val enableOnBackInvokedCallback: Int

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

If true, those events will be replaced by a call to android.window.OnBackInvokedCallback#onBackInvoked on the focused window.

By default, the behavior is configured by the same attribute in application.

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

Value: 16844396

enableTextStylingShortcuts

Added in API level 34
static val enableTextStylingShortcuts: Int

Enables styling shortcuts, e.g. Ctrl+B for bold. This is off by default.

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

Value: 16844408

enableVrMode

Added in API level 24
static val enableVrMode: 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. This is equivalent to calling android.app.Activity#setVrModeEnabled with the the given component name within the Activity that this attribute is set for. Declaring this will prevent the system from leaving VR mode during an Activity transition from one VR activity to another.

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

Value: 16844069

enabled

Added in API level 1
Deprecated in API level 15
static val enabled: Int

Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. For example, a non-enabled EditText prevents the user from editing the contained text, and a non-enabled Button prevents the user from tapping the button. The appearance of enabled and non-enabled widgets may differ, if the drawables referenced from evaluating state_enabled differ.

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

Value: 16842766

end

Added in API level 23
static val end: Int

End inset to apply to the layer. Overrides left or right depending on layout direction.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843996

endColor

Added in API level 1
static val endColor: Int

End color of the gradient.

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

Value: 16843166

endX

Added in API level 24
static val endX: Int

X coordinate of the end point origin of the gradient. Defined in same coordinates as the path itself

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

Value: 16844050

endY

Added in API level 24
static val endY: Int

Y coordinate of the end point of the gradient within the shape. Defined in same coordinates as the path itself

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

Value: 16844051

endYear

Added in API level 1
Deprecated in API level 16
static val endYear: Int

Deprecated: Deprecated in Java.

{@deprecated Use maxDate instead.} The last year (inclusive), for example "2010". {@deprecated Use maxDate instead.}

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

Value: 16843133

enforceNavigationBarContrast

Added in API level 29
static val enforceNavigationBarContrast: Int

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

If set to this value, the system will determine whether a scrim is necessary to ensure that the navigation bar has enough contrast with the contents of this app, and set an appropriate effective bar background color accordingly.

When the navigation bar color has a non-zero alpha value, the value of this attribute has no effect.

If the app does not target at least Q, this attribute is ignored.

Value: 16844293

enforceStatusBarContrast

Added in API level 29
static val enforceStatusBarContrast: Int

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

If set to this value, the system will determine whether a scrim is necessary to ensure that the status bar has enough contrast with the contents of this app, and set an appropriate effective bar background color accordingly.

When the status bar color has a non-zero alpha value, the value of this attribute has no effect.

If the app does not target at least Q, this attribute is ignored.

Value: 16844292

enterFadeDuration

Added in API level 11
static val enterFadeDuration: Int

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

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

Value: 16843532

entries

Added in API level 1
static val entries: Int

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

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

Value: 16842930

entryValues

Added in API level 1
static val entryValues: Int

The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.

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

Value: 16843256

eventsInterceptionEnabled

Added in API level 4
static val eventsInterceptionEnabled: Int

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

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

Value: 16843389

excludeClass

Added in API level 21
static val excludeClass: Int

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

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

Value: 16843842

excludeFromRecents

Added in API level 1
static val excludeFromRecents: Int

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

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

Value: 16842775

excludeId

Added in API level 21
static val excludeId: Int

The id of a target to exclude from this transition.

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

Value: 16843841

excludeName

Added in API level 21
static val excludeName: Int

The transitionName of the target to exclude from this transition.

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

Value: 16843854

exitFadeDuration

Added in API level 11
static val exitFadeDuration: Int

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

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

Value: 16843533

expandableListPreferredChildIndicatorLeft

Added in API level 1
static val expandableListPreferredChildIndicatorLeft: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842834

expandableListPreferredChildIndicatorRight

Added in API level 1
static val expandableListPreferredChildIndicatorRight: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842835

expandableListPreferredChildPaddingLeft

Added in API level 1
static val expandableListPreferredChildPaddingLeft: Int

The preferred left padding for an expandable list item that is a child. If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842831

expandableListPreferredItemIndicatorLeft

Added in API level 1
static val expandableListPreferredItemIndicatorLeft: Int

The preferred left bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorLeft.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842832

expandableListPreferredItemIndicatorRight

Added in API level 1
static val expandableListPreferredItemIndicatorRight: Int

The preferred right bound for an expandable list item's indicator. For a child-specific indicator, use expandableListPreferredChildIndicatorRight.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842833

expandableListPreferredItemPaddingLeft

Added in API level 1
static val expandableListPreferredItemPaddingLeft: Int

The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). This takes into account the indicator that will be shown to next to the item.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842830

expandableListViewStyle

Added in API level 1
static val expandableListViewStyle: Int

Default ExpandableListView style.

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

Value: 16842863

expandableListViewWhiteStyle

Added in API level 8
static val expandableListViewWhiteStyle: Int

ExpandableListView with white background.

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

Value: 16843446

exported

Added in API level 1
static val exported: Int

Flag indicating whether the given application component is available to other applications. If false, it can only be accessed by applications with its same user id (which usually means only by code in its own package). If true, it can be invoked by external entities, though which ones can do so may be controlled through permissions. The default value is false for activity, receiver, and service components that do not specify any intent filters; it is true for activity, receiver, and service components that do have intent filters (implying they expect to be invoked by others who do not know their particular component name) and for all content providers.

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

Value: 16842768

externalService

Added in API level 24
static val externalService: 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. The service must also be android.R.attr#exported if this flag is set.

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

Value: 16844046

extraTension

Added in API level 4
static val extraTension: Int

This is the amount by which to multiply the tension.

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

Value: 16843371

extractNativeLibs

Added in API level 23
static val extractNativeLibs: Int

When set installer will extract native libraries. If set to false libraries in the apk must be stored and page-aligned.

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

Value: 16844010

factor

Added in API level 1
static val factor: Int

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

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

Value: 16843219

fadeDuration

Added in API level 4
static val fadeDuration: Int

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

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

Value: 16843384

fadeEnabled

Added in API level 4
static val fadeEnabled: Int

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

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

Value: 16843390

fadeOffset

Added in API level 4
static val fadeOffset: Int

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

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

Value: 16843383

fadeScrollbars

Added in API level 5
static val fadeScrollbars: Int

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

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

Value: 16843434

fadingEdge

Added in API level 1
Deprecated in API level 15
static val fadingEdge: Int

This attribute is ignored in API level 14 (android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH) and higher. Using fading edges may introduce noticeable performance degradations and should be used only when required by the application's visual design. To request fading edges with API level 14 and above, use the android:requiresFadingEdge attribute instead.

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

Constant Value Description
horizontal 1000 Fades horizontal edges only.
none 0 No edge is faded.
vertical 2000 Fades vertical edges only.
Value: 16842975

fadingEdgeLength

Added in API level 1
static val fadingEdgeLength: Int

Defines the length of the fading edges.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842976

fadingMode

Added in API level 19
static val fadingMode: Int

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

Must be one of the following constant values.

Constant Value Description
fade_in 1 Fade will only fade appearing items in.
fade_in_out 3 Fade will fade appearing items in and disappearing items out.
fade_out 2 Fade will only fade disappearing items out.
Value: 16843745

fallbackLineSpacing

Added in API level 28
static val fallbackLineSpacing: Int

Whether to respect the ascent and descent of the fallback fonts that are used in displaying the text. When true, fallback fonts that end up getting used can increase the ascent and descent of the lines that they are used on.

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

Value: 16844155

fastScrollAlwaysVisible

Added in API level 11
static val fastScrollAlwaysVisible: Int

When set to true, the list will always show the fast scroll interface. This setting implies fastScrollEnabled.

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

Value: 16843573

fastScrollEnabled

Added in API level 3
static val fastScrollEnabled: Int

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

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

Value: 16843302

fastScrollOverlayPosition

Added in API level 11
static val fastScrollOverlayPosition: Int

Position of the fast scroll index overlay window.

Must be one of the following constant values.

Constant Value Description
aboveThumb 2
atThumb 1
floating 0
Value: 16843578

fastScrollPreviewBackgroundLeft

Added in API level 11
static val fastScrollPreviewBackgroundLeft: Int

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

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

Value: 16843575

fastScrollPreviewBackgroundRight

Added in API level 11
static val fastScrollPreviewBackgroundRight: Int

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

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

Value: 16843576

fastScrollStyle

Added in API level 21
static val fastScrollStyle: Int

Specifies the style of the fast scroll decorations.

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

Value: 16843767

fastScrollTextColor

Added in API level 11
static val fastScrollTextColor: Int

Text color for the fast scroll index overlay. Make sure it plays nicely with fastScrollPreviewBackground[Left|Right].

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

Value: 16843609

fastScrollThumbDrawable

Added in API level 11
static val fastScrollThumbDrawable: Int

Drawable to use as the fast scroll thumb.

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

Value: 16843574

fastScrollTrackDrawable

Added in API level 11
static val fastScrollTrackDrawable: Int

Drawable to use as the track for the fast scroll thumb. This may be null.

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

Value: 16843577

fillAfter

Added in API level 1
static val fillAfter: Int

When set to true, the animation transformation is applied after the animation is over. The default value is false. If fillEnabled is not set to true and the animation is not set on a View, fillAfter is assumed to be true.

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

Value: 16843197

fillAlpha

Added in API level 21
static val fillAlpha: Int

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

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

Value: 16843980

fillBefore

Added in API level 1
static val fillBefore: Int

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

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

Value: 16843196

fillColor

Added in API level 21
static val fillColor: Int

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

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

Value: 16843780

fillEnabled

Added in API level 3
static val fillEnabled: Int

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

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

Value: 16843343

fillType

Added in API level 24
static val fillType: Int

sets the fillType for a path. It is the same as SVG's "fill-rule" properties. For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty.

Must be one of the following constant values.

Constant Value Description
evenOdd 1
nonZero 0
Value: 16844062

fillViewport

Added in API level 1
static val fillViewport: Int

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

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

Value: 16843130

filter

Added in API level 1
static val filter: Int

Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its appearance. Default value is true.

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

Value: 16843035

filterTouchesWhenObscured

Added in API level 9
static val filterTouchesWhenObscured: Int

Specifies whether to filter touches when the view's window is obscured by another visible window. When set to true, the view will not receive touches whenever a toast, dialog or other window appears above the view's window. Refer to the android.view.View security documentation for more details.

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

Value: 16843460

fingerprintAuthDrawable

Added in API level 23
static val fingerprintAuthDrawable: Int

Icon that should be used to indicate that an app is waiting for a fingerprint scan. This should be used whenever an app is requesting the user to place a finger on the fingerprint sensor. It can be combined with other drawables such as colored circles, so the appearance matches the branding of the app requesting the fingerprint scan.

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

Value: 16844008

finishOnCloseSystemDialogs

Added in API level 5
static val finishOnCloseSystemDialogs: Int

Specify whether an activity should be finished when a "close system windows" request has been made. This happens, for example, when the home key is pressed, when the device is locked, when a system dialog showing recent applications is displayed, etc.

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

Value: 16843431

finishOnTaskLaunch

Added in API level 1
static val finishOnTaskLaunch: Int

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

If both this option and android.R.attr#allowTaskReparenting are specified, the finish trumps the affinity: the affinity will be ignored and the activity simply finished.

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

Value: 16842772

firstBaselineToTopHeight

Added in API level 28
static val firstBaselineToTopHeight: Int

Distance from the top of the TextView to the first text baseline. If set, this overrides the value set for paddingTop.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844157

firstDayOfWeek

Added in API level 11
static val firstDayOfWeek: Int

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

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

Value: 16843581

fitsSystemWindows

Added in API level 1
static val fitsSystemWindows: Int

Boolean internal attribute to adjust view layout based on system windows such as the status bar. If true, adjusts the padding of this view to leave space for the system windows. Will only take effect if this view is in a non-embedded activity.

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

Value: 16842973

flipInterval

Added in API level 1
static val flipInterval: Int

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

Value: 16843129

focusable

Added in API level 1
static val focusable: Int

Controls whether a view can take focus. By default, this is "auto" which lets the framework determine whether a user can move focus to a view. By setting this attribute to true the view is allowed to take focus. By setting it to "false" the view will not take focus. This value does not impact the behavior of directly calling android.view.View#requestFocus, which will always request focus regardless of this view. It only impacts where focus navigation will try to move focus.

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

Must be one of the following constant values.

Constant Value Description
auto 10
Value: 16842970

focusableInTouchMode

Added in API level 1
static val focusableInTouchMode: Int

Boolean that controls whether a view can take focus while in touch mode. If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.

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

Value: 16842971

focusedByDefault

Added in API level 26
static val focusedByDefault: Int

Whether this view is a default-focus view. Only one view per keyboard navigation cluster can have this attribute set to true. See android.view.View#setFocusedByDefault(boolean).

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

Value: 16844100

focusedMonthDateColor

Added in API level 11
Deprecated in API level 23
static val focusedMonthDateColor: Int

Deprecated: The color for the dates of the focused month.

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

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

Value: 16843587

focusedSearchResultHighlightColor

Added in API level 34
static val focusedSearchResultHighlightColor: Int

Color of focused search result highlight. This color is typically used when TextView/EditText shows search result in-app text search invoked with Ctrl+F.

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

Value: 16844419

font

Added in API level 26
static val font: Int

The reference to the font file to be used. This should be a file in the res/font folder and should therefore have an R reference value. E.g. @font/myfont

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

Value: 16844082

fontFamily

Added in API level 16
static val fontFamily: Int

Default font family.

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

Value: 16843692

fontFeatureSettings

Added in API level 21
static val fontFeatureSettings: Int

Font feature settings.

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

Value: 16843959

fontProviderAuthority

Added in API level 26
Deprecated in API level 31
static val fontProviderAuthority: Int

Deprecated: Deprecated in Java.

The authority of the Font Provider to be used for the request. {@deprecated Use app:fontProviderAuthority with Jetpack Core library instead for * consistent behavior across all devices.}

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

Value: 16844112

fontProviderCerts

Added in API level 26
Deprecated in API level 31
static val fontProviderCerts: Int

Deprecated: Deprecated in Java.

The sets of hashes for the certificates the provider should be signed with. This is used to verify the identity of the provider, and is only required if the provider is not part of the system image. This value may point to one list or a list of lists, where each individual list represents one collection of signature hashes. Refer to your font provider's documentation for these values. {@deprecated Use app:fontProviderCerts with Jetpack Core library instead.}

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

Value: 16844125

fontProviderPackage

Added in API level 26
Deprecated in API level 31
static val fontProviderPackage: Int

Deprecated: Deprecated in Java.

The package for the Font Provider to be used for the request. This is used to verify the identity of the provider. {@deprecated Use app:fontProviderPackage with Jetpack Core library instead.}

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

Value: 16844119

fontProviderQuery

Added in API level 26
Deprecated in API level 31
static val fontProviderQuery: Int

Deprecated: Deprecated in Java.

The query to be sent over to the provider. Refer to your font provider's documentation on the format of this string. {@deprecated Use app:fontProviderQuery with Jetpack Core library instead.}

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

Value: 16844113

fontProviderSystemFontFamily

Added in API level 31
static val fontProviderSystemFontFamily: Int

Provides the system font family name to check before downloading the font. For example if the fontProviderQuery asked for "Sans Serif", it is possible to define fontProviderSystemFontFamily as "sans-serif" to tell the system to use "sans-serif" font family if it exists on the system.

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

Value: 16844322

fontStyle

Added in API level 26
static val fontStyle: Int

The style of the given font file. This will be used when the font is being loaded into the font stack and will override any style information in the font's header tables. If unspecified, the value in the font's header tables will be used.

Must be one of the following constant values.

Constant Value Description
italic 1
normal 0
Value: 16844095

fontVariationSettings

Added in API level 28
static val fontVariationSettings: Int

The variation settings to be applied to the font. The string should be in the following format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be used, or the font used does not support variation settings, this attribute needs not be specified.

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

Value: 16844144

fontWeight

Added in API level 26
static val fontWeight: Int

The weight of the given font file. This will be used when the font is being loaded into the font stack and will override any weight information in the font's header tables. Must be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most common values are 400 for regular weight and 700 for bold weight. If unspecified, the value in the font's header tables will be used.

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

Value: 16844083

footerDividersEnabled

Added in API level 3
static val footerDividersEnabled: Int

When set to false, the ListView will not draw the divider before each footer view. The default value is true.

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

Value: 16843311

forceDarkAllowed

Added in API level 29
static val forceDarkAllowed: Int

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

Setting this to false will disable the auto-dark feature on this View draws including any descendants.

Setting this to true will allow this view to be automatically made dark, however a value of 'true' will not override any 'false' value in its parent chain nor will it prevent any 'false' in any of its children.

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

Value: 16844172

forceHasOverlappingRendering

Added in API level 24
static val forceHasOverlappingRendering: Int

Whether this view has elements that may overlap when drawn. See android.view.View#forceHasOverlappingRendering(boolean).

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

Value: 16844065

forceQueryable

Added in API level 30
static val forceQueryable: Int

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

Value: 16844296

forceUriPermissions

Added in API level 29
static val forceUriPermissions: 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. This is useful for a content provider that dynamically enforces permissions on calls in to the provider, instead of through the manifest: the system needs to know that it should always apply permission grants, even if it looks like the target of the grant would already have access to the URI.

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

Value: 16844191

foreground

Added in API level 1
static val foreground: Int

Defines the drawable to draw over the content. This can be used as an overlay. The foreground drawable participates in the padding of the content if the gravity is set to fill.

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

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

Value: 16843017

foregroundGravity

Added in API level 1
static val foregroundGravity: Int

Defines the gravity to apply to the foreground drawable. The gravity defaults to fill.

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

Constant Value Description
bottom 50 Push object to the bottom of its container, not changing its size.
center 11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal 1 Place object in the horizontal center of its container, not changing its size.
center_vertical 10 Place object in the vertical center of its container, not changing its size.
clip_horizontal 8 Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical 80 Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges.
fill 77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal 7 Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical 70 Grow the vertical size of the object if needed so it completely fills its container.
left 3 Push object to the left of its container, not changing its size.
right 5 Push object to the right of its container, not changing its size.
top 30 Push object to the top of its container, not changing its size.
Value: 16843264

foregroundServiceType

Added in API level 29
static val foregroundServiceType: Int

Specify the type of foreground service. Multiple types can be specified by ORing the flags together.

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

Constant Value Description
camera 40 Use the camera device or record video.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#R and above, a foreground service will not be able to access the camera if this type is not specified in the manifest and in android.app.Service#startForeground(int, android.app.Notification, int).

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission android.Manifest.permission#FOREGROUND_SERVICE_CAMERA and android.Manifest.permission#CAMERA.

connectedDevice 10 Auto, bluetooth, TV or other devices connection, monitoring and interaction.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission android.Manifest.permission#FOREGROUND_SERVICE_CONNECTED_DEVICE and one of the following permissions: android.Manifest.permission#BLUETOOTH_CONNECT, android.Manifest.permission#CHANGE_NETWORK_STATE, android.Manifest.permission#CHANGE_WIFI_STATE, android.Manifest.permission#CHANGE_WIFI_MULTICAST_STATE, android.Manifest.permission#NFC, android.Manifest.permission#TRANSMIT_IR, or has been granted the access to one of the attached USB devices/accessories.

dataSync 1 Data (photo, file, account) upload/download, backup/restore, import/export, fetch, transfer over network between device and cloud.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, this type should NOT be used: calling android.app.Service#startForeground(int, android.app.Notification, int) with this type on devices running android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE is still allowed, but calling it with this type on devices running future platform releases may get a android.app.InvalidForegroundServiceTypeException.

health 100 Health, wellness and fitness.

Requires the app to hold the permission android.Manifest.permission#FOREGROUND_SERVICE_HEALTH and one of the following permissions android.Manifest.permission#ACTIVITY_RECOGNITION, android.Manifest.permission#BODY_SENSORS, android.Manifest.permission#HIGH_SAMPLING_RATE_SENSORS.

location 8 GPS, map, navigation location update.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission android.Manifest.permission#FOREGROUND_SERVICE_LOCATION and one of the following permissions: android.Manifest.permission#ACCESS_COARSE_LOCATION, android.Manifest.permission#ACCESS_FINE_LOCATION.

mediaPlayback 2 Music, video, news or other media play.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission android.Manifest.permission#FOREGROUND_SERVICE_MEDIA_PLAYBACK.

mediaProcessing 2000 Media processing use cases such as video or photo editing and processing.

Requires the app to hold the permission android.Manifest.permission#FOREGROUND_SERVICE_MEDIA_PROCESSING in order to use this type.

mediaProjection 20 Managing a MediaProjection session, e.g., for screen recording or takingscreenshots.

To capture through android.media.projection.MediaProjection, an app must start a foreground service with the type corresponding to this constant. This type should only be used for android.media.projection.MediaProjection. Capturing screen contents via createVirtualDisplay conveniently allows recording, presenting screen contents into a meeting, taking screenshots, or several other scenarios.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission android.Manifest.permission#FOREGROUND_SERVICE_MEDIA_PROJECTION, and the user must have allowed the screen capture request from this app.

microphone 80 Use the microphone device or record audio.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#R and above, a foreground service will not be able to access the microphone if this type is not specified in the manifest and in android.app.Service#startForeground(int, android.app.Notification, int).

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission android.Manifest.permission#FOREGROUND_SERVICE_MICROPHONE and one of the following permissions: android.Manifest.permission#CAPTURE_AUDIO_OUTPUT, android.Manifest.permission#RECORD_AUDIO.

phoneCall 4 Ongoing operations related to phone calls, video conferencing, or similar interactive communication.

For apps with targetSdkVersion android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission android.Manifest.permission#FOREGROUND_SERVICE_PHONE_CALL and android.Manifest.permission#MANAGE_OWN_CALLS or holding the default dialer role.

remoteMessaging 200 Messaging use cases which host local server to relay messages across devices.

Requires the app to hold the permission android.Manifest.permission#FOREGROUND_SERVICE_REMOTE_MESSAGING in order to use this type.

shortService 800 "Short service" foreground service type. See android.content.pm.ServiceInfo#FOREGROUND_SERVICE_TYPE_SHORT_SERVICE. for more details.
specialUse 40000000 Use cases that can't be categorized into any other foreground service types, but also can't use @link android.app.job.JobInfo.Builder} APIs. See android.content.pm.ServiceInfo#FOREGROUND_SERVICE_TYPE_SPECIAL_USE for the best practice of the use of this type.

Requires the app to hold the permission android.Manifest.permission#FOREGROUND_SERVICE_SPECIAL_USE in order to use this type.

systemExempted 400 The system exempted foreground service use cases.

Requires the app to hold the permission android.Manifest.permission#FOREGROUND_SERVICE_SYSTEM_EXEMPTED in order to use this type. Apps are allowed to use this type only in the use cases listed in android.content.pm.ServiceInfo#FOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED.

Value: 16844185

foregroundTint

Added in API level 21
static val foregroundTint: Int

Tint to apply to the foreground.

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

Value: 16843885

foregroundTintMode

Added in API level 21
static val foregroundTintMode: Int

Blending mode used to apply the foreground 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: 16843886

format

Added in API level 1
static val format: 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. If no format string is specified, the Chronometer will simply display "MM:SS" or "H:MM:SS".

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

Value: 16843013

format12Hour

Added in API level 17
static val format12Hour: Int

Specifies the formatting pattern used to show the time and/or date in 12-hour mode. Please refer to android.text.format.DateFormat for a complete description of accepted formatting patterns. The default pattern is a locale-appropriate equivalent of "h:mm a".

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

Value: 16843722

format24Hour

Added in API level 17
static val format24Hour: Int

Specifies the formatting pattern used to show the time and/or date in 24-hour mode. Please refer to android.text.format.DateFormat for a complete description of accepted formatting patterns. The default pattern is a locale-appropriate equivalent of "H:mm".

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

Value: 16843723

fraction

Added in API level 23
static val fraction: Int

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

Value: 16843992

fragment

Added in API level 11
static val fragment: Int

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

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

Value: 16843491

fragmentAllowEnterTransitionOverlap

Added in API level 21
static val fragmentAllowEnterTransitionOverlap: Int

Sets whether the enter and exit transitions should overlap when transitioning forward. Corresponds to android.app.Fragment#setAllowEnterTransitionOverlap( * boolean)

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

Value: 16843976

fragmentAllowReturnTransitionOverlap

Added in API level 21
static val fragmentAllowReturnTransitionOverlap: Int

Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack. Corresponds to android.app.Fragment#setAllowReturnTransitionOverlap( * boolean)

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

Value: 16843977

fragmentCloseEnterAnimation

Added in API level 11
static val fragmentCloseEnterAnimation: 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: 16843495

fragmentCloseExitAnimation

Added in API level 11
static val fragmentCloseExitAnimation: 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: 16843496

fragmentEnterTransition

Added in API level 21
static val fragmentEnterTransition: Int

The Transition that will be used to move Views into the initial scene. Corresponds to android.app.Fragment#setEnterTransition( * android.transition.Transition)

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

Value: 16843971

fragmentExitTransition

Added in API level 21
static val fragmentExitTransition: 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. Corresponds to android.app.Fragment#setExitTransition( * android.transition.Transition)

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

Value: 16843970

fragmentFadeEnterAnimation

Added in API level 11
static val fragmentFadeEnterAnimation: 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: 16843497

fragmentFadeExitAnimation

Added in API level 11
static val fragmentFadeExitAnimation: 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: 16843498

fragmentOpenEnterAnimation

Added in API level 11
static val fragmentOpenEnterAnimation: 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: 16843493

fragmentOpenExitAnimation

Added in API level 11
static val fragmentOpenExitAnimation: 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: 16843494

fragmentReenterTransition

Added in API level 21
static val fragmentReenterTransition: Int

The Transition that will be used to move Views in to the scene when returning due to popping a back stack. Corresponds to android.app.Fragment#setReenterTransition( * android.transition.Transition)

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

Value: 16843975

fragmentReturnTransition

Added in API level 21
static val fragmentReturnTransition: 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. Corresponds to android.app.Fragment#setReturnTransition( * android.transition.Transition)

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

Value: 16843973

fragmentSharedElementEnterTransition

Added in API level 21
static val fragmentSharedElementEnterTransition: Int

The Transition that will be used for shared elements transferred into the content Scene. Corresponds to android.app.Fragment#setSharedElementEnterTransition( * android.transition.Transition)

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

Value: 16843972

fragmentSharedElementReturnTransition

Added in API level 21
static val fragmentSharedElementReturnTransition: Int

The Transition that will be used for shared elements transferred back during a pop of the back stack. This Transition acts in the leaving Fragment. Corresponds to android.app.Fragment#setSharedElementReturnTransition( * android.transition.Transition)

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

Value: 16843974

freezesText

Added in API level 1
static val freezesText: 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. By default this is disabled; it can be useful when the contents of a text view is not stored in a persistent place such as a content provider. For android.widget.EditText it is always enabled, regardless of the value of the attribute.

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

Value: 16843116

fromAlpha

Added in API level 1
static val fromAlpha: Int

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

Value: 16843210

fromDegrees

Added in API level 1
static val fromDegrees: Int

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

Value: 16843187

fromExtendBottom

Added in API level 33
static val fromExtendBottom: 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.

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: 16844386

fromExtendLeft

Added in API level 33
static val fromExtendLeft: 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.

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: 16844383

fromExtendRight

Added in API level 33
static val fromExtendRight: 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.

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: 16844385

fromExtendTop

Added in API level 33
static val fromExtendTop: 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.

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: 16844384

fromId

Added in API level 21
static val fromId: Int

Keyframe identifier for the starting state.

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

Value: 16843850

fromScene

Added in API level 19
static val fromScene: Int

The originating scene in this scene change.

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

Value: 16843741

fromXDelta

Added in API level 1
static val fromXDelta: Int

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: 16843206

fromXScale

Added in API level 1
static val fromXScale: Int

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: 16843202

fromYDelta

Added in API level 1
static val fromYDelta: Int

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: 16843208

fromYScale

Added in API level 1
static val fromYScale: Int

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: 16843204

fullBackupContent

Added in API level 23
static val fullBackupContent: Int

Applications will set this in their manifest to opt-in to or out of full app data back-up and restore. Alternatively they can set it to an xml resource within their app that will be parsed by the BackupAgent to selectively backup files indicated within that xml.

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

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

Value: 16844011

fullBackupOnly

Added in API level 21
static val fullBackupOnly: 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. This lets the app rely on full-data backups while still participating in the backup and restore process via the BackupAgent's full-data backup APIs. When this attribute is true the app's BackupAgent overrides of the onBackup() and onRestore() callbacks can be empty stubs.

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

Value: 16843891

fullBright

Added in API level 1
static val fullBright: 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: 16842954

fullDark

Added in API level 1
static val fullDark: 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: 16842950

functionalTest

Added in API level 1
static val functionalTest: Int

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

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

Value: 16842787

galleryItemBackground

Added in API level 1
static val galleryItemBackground: Int

The preferred background for gallery items. This should be set as the background of any Views you provide from the Adapter.

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

Value: 16842828

galleryStyle

Added in API level 1
static val galleryStyle: Int

Default Gallery 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: 16842864

gestureColor

Added in API level 4
static val gestureColor: Int

Color used to draw a gesture.

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

Value: 16843381

gestureStrokeAngleThreshold

Added in API level 4
static val gestureStrokeAngleThreshold: Int

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

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

Value: 16843388

gestureStrokeLengthThreshold

Added in API level 4
static val gestureStrokeLengthThreshold: Int

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

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

Value: 16843386

gestureStrokeSquarenessThreshold

Added in API level 4
static val gestureStrokeSquarenessThreshold: Int

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

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

Value: 16843387

gestureStrokeType

Added in API level 4
static val gestureStrokeType: Int

Defines the type of strokes that define a gesture.

Must be one of the following constant values.

Constant Value Description
multiple 1 A gesture is made of multiple strokes.
single 0 A gesture is made of only one stroke.
Value: 16843385

gestureStrokeWidth

Added in API level 4
static val gestureStrokeWidth: Int

Width of the stroke used to draw the gesture.

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

Value: 16843380

glEsVersion

Added in API level 4
static val glEsVersion: Int

The GLES driver version number needed by an application. The higher 16 bits represent the major number and the lower 16 bits represent the minor number. For example for GL 1.2 referring to 0x00000102, the actual value should be set as 0x00010002.

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

Value: 16843393

goIcon

Added in API level 21
static val goIcon: Int

Go button icon.

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

Value: 16843906

gradientRadius

Added in API level 1
static val gradientRadius: Int

Radius of the gradient, used only with radial gradient. May be an explicit dimension or a fractional value relative to the shape's minimum dimension.

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: 16843172

grantUriPermissions

Added in API level 1
static val grantUriPermissions: 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. If you are supporting this feature, you must be sure to call android.content.Context#revokeUriPermission when URIs are deleted from your provider.

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

Value: 16842779

gravity

Added in API level 1
static val gravity: Int

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

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

Constant Value Description
bottom 50 Push object to the bottom of its container, not changing its size.
center 11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal 1 Place object in the horizontal center of its container, not changing its size.
center_vertical 10 Place object in the vertical center of its container, not changing its size.
clip_horizontal 8 Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical 80 Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end 800005 Push object to the end of its container, not changing its size.
fill 77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal 7 Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical 70 Grow the vertical size of the object if needed so it completely fills its container.
left 3 Push object to the left of its container, not changing its size.
right 5 Push object to the right of its container, not changing its size.
start 800003 Push object to the beginning of its container, not changing its size.
top 30 Push object to the top of its container, not changing its size.
Value: 16842927

gridViewStyle

Added in API level 1
static val gridViewStyle: Int

Default GridView 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: 16842865

groupIndicator

Added in API level 1
static val groupIndicator: Int

Indicator shown beside the group 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: 16843019

gwpAsanMode

Added in API level 30
static val gwpAsanMode: Int

Enable sampled memory bug detection in this process. When enabled, a very small, random subset of native memory allocations are protected with guard pages, providing an ASan-like error report in case of a memory corruption bug. GWP-ASan is a recursive acronym. It stands for “GWP-ASan Will Provide Allocation SANity”. See the LLVM documentation for more information about this feature.

This attribute can be applied to a process tag, or to an application tag (to supply a default setting for all application components).

Must be one of the following constant values.

Constant Value Description
always 1 Always enable GwpAsan.
default ffffffff Default behavior: GwpAsan is disabled in user apps, randomly enabled in system apps.
never 0 Never enable GwpAsan.
Value: 16844310

hand_hour

Added in API level 1
static val hand_hour: 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: 16843011

hand_hourTint

Added in API level 31
static val hand_hourTint: Int

Tint to apply to the hour hand graphic.

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

Value: 16844344

hand_hourTintMode

Added in API level 31
static val hand_hourTintMode: Int

Blending mode used to apply the hour hand 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: 16844345

hand_minute

Added in API level 1
static val hand_minute: 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: 16843012

hand_minuteTint

Added in API level 31
static val hand_minuteTint: Int

Tint to apply to the minute hand graphic.

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

Value: 16844346

hand_minuteTintMode

Added in API level 31
static val hand_minuteTintMode: Int

Blending mode used to apply the minute hand 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: 16844347

hand_second

Added in API level 31
static val hand_second: 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: 16844323

hand_secondTint

Added in API level 31
static val hand_secondTint: Int

Tint to apply to the second hand graphic.

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

Value: 16844348

hand_secondTintMode

Added in API level 31
static val hand_secondTintMode: Int

Blending mode used to apply the second hand 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: 16844349

handle

Added in API level 3
static val handle: Int

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

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

Value: 16843354

handleProfiling

Added in API level 1
static val handleProfiling: 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. This allows it to target profiling data at a specific set of operations.

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

Value: 16842786

handwritingBoundsOffsetBottom

Added in API level 34
static val handwritingBoundsOffsetBottom: 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.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See android.view.View#setHandwritingBoundsOffsets

The default value is 40dp for android.widget.TextView and android.widget.EditText, and 0dp for all other views.

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: 16844406

handwritingBoundsOffsetLeft

Added in API level 34
static val handwritingBoundsOffsetLeft: 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.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See android.view.View#setHandwritingBoundsOffsets

The default value is 10dp for android.widget.TextView and android.widget.EditText, and 0dp for other views.

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: 16844403

handwritingBoundsOffsetRight

Added in API level 34
static val handwritingBoundsOffsetRight: 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.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See android.view.View#setHandwritingBoundsOffsets

The default value is 10dp for android.widget.TextView and android.widget.EditText, and 0dp for other views.

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: 16844405

handwritingBoundsOffsetTop

Added in API level 34
static val handwritingBoundsOffsetTop: 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.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See android.view.View#setHandwritingBoundsOffsets

The default value is 40dp for android.widget.TextView and android.widget.EditText, and 0dp for other views.

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: 16844404

hapticFeedbackEnabled

Added in API level 3
static val hapticFeedbackEnabled: Int

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

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

Value: 16843358

hardwareAccelerated

Added in API level 11
static val hardwareAccelerated: Int

Flag indicating whether the application's rendering should be hardware accelerated if possible. This flag is turned on by default for applications that are targeting android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH or later.

This flag can be set on the application and any activity declared in the manifest. When enabled for the application, each activity is automatically assumed to be hardware accelerated. This flag can be overridden in the activity tags, either turning it off (if on for the application) or on (if off for the application.)

When this flag is turned on for an activity (either directly or via the application tag), every window created from the activity, including the activity's own window, will be hardware accelerated, if possible.

Please refer to the documentation of android.view.WindowManager.LayoutParams#FLAG_HARDWARE_ACCELERATED for more information on how to control this flag programmatically.

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

Value: 16843475

hasCode

Added in API level 1
static val hasCode: Int

Indicate whether this application contains code. If set to false, there is no code associated with it and thus the system will not try to load its code when launching components. The default is true for normal behavior.

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

Value: 16842764

hasFragileUserData

Added in API level 29
static val hasFragileUserData: Int

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

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

Value: 16844186

headerAmPmTextAppearance

Added in API level 21
Deprecated in API level 23
static val headerAmPmTextAppearance: Int

Deprecated: Use headerTextColor instead.

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

The text appearance for the AM/PM header.

Value: 16843936

headerBackground

Added in API level 1
static val headerBackground: Int

Default background for the menu header.

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

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

Value: 16843055

headerDayOfMonthTextAppearance

Added in API level 21
Deprecated in API level 23
static val headerDayOfMonthTextAppearance: Int

Deprecated: Deprecated in Java.

The text appearance for the day of month (ex. 28) in the selected date header. {@deprecated Use headerTextColor instead.}

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

Value: 16843927

headerDividersEnabled

Added in API level 3
static val headerDividersEnabled: Int

When set to false, the ListView will not draw the divider after each header view. The default value is true.

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

Value: 16843310

headerMonthTextAppearance

Added in API level 21
Deprecated in API level 23
static val headerMonthTextAppearance: Int

Deprecated: Deprecated in Java.

The text appearance for the month (ex. May) in the selected date header. {@deprecated Use headerTextColor instead.}

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

Value: 16843926

headerTimeTextAppearance

Added in API level 21
Deprecated in API level 23
static val headerTimeTextAppearance: Int

Deprecated: Use headerTextColor instead.

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

The text appearance for the time header.

Value: 16843935

headerYearTextAppearance

Added in API level 21
Deprecated in API level 23
static val headerYearTextAppearance: Int

Deprecated: Deprecated in Java.

The text appearance for the year (ex. 2014) in the selected date header. {@deprecated Use headerTextColor instead.}

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

Value: 16843928

height

Added in API level 1
static val height: Int

Makes the TextView be exactly this tall. You could get the same effect by specifying this number in the layout parameters.

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: 16843093

hideOnContentScroll

Added in API level 21
static val hideOnContentScroll: Int

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

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

Value: 16843843

hint

Added in API level 1
static val hint: Int

Hint text to display when the text is empty.

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

Value: 16843088

homeAsUpIndicator

Added in API level 11
static val homeAsUpIndicator: Int

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

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

Value: 16843531

homeLayout

Added in API level 11
static val homeLayout: Int

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

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

Value: 16843549

horizontalDivider

Added in API level 1
static val horizontalDivider: Int

Default horizontal divider between rows of menu items.

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

Value: 16843053

horizontalGap

Added in API level 3
Deprecated in API level 29
static val horizontalGap: Int

Deprecated: Deprecated in Java.

Default horizontal gap between keys. {@deprecated Copy this definition into your own application project.}

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: 16843327

horizontalScrollViewStyle

Added in API level 11
static val horizontalScrollViewStyle: Int

Default HorizontalScrollView 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: 16843603

horizontalSpacing

Added in API level 1
static val horizontalSpacing: Int

Defines the default horizontal spacing between columns.

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: 16843028

host

Added in API level 1
static val host: Int

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

Note: host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, host names here should always use lower case letters.

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

Value: 16842792

hotSpotX

Added in API level 24
static val hotSpotX: Int

X coordinate of the icon hot spot.

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: 16844055

hotSpotY

Added in API level 24
static val hotSpotY: Int

Y coordinate of the icon hot spot.

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: 16844056

htmlDescription

Added in API level 30
static val htmlDescription: Int

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

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

Value: 16844299

hyphenationFrequency

Added in API level 23
static val hyphenationFrequency: Int

Frequency of automatic hyphenation.

Must be one of the following constant values.

Constant Value Description
full 2 Standard amount of hyphenation, useful for running text and for screens with limited space for text.
fullFast 4 Same to hyphenationFrequency="full" but using faster algorithm for measuring hyphenation break points. To make text rendering faster with hyphenation, this algorithm ignores some hyphen character related typographic features, e.g. kerning.
none 0 No hyphenation.
normal 1 Less frequent hyphenation, useful for informal use cases, such as chat messages.
normalFast 3 Same to hyphenationFrequency="normal" but using faster algorithm for measuring hyphenation break points. To make text rendering faster with hyphenation, this algorithm ignores some hyphen character related typographic features, e.g. kerning.
Value: 16843998

icon

Added in API level 1
static val icon: Int

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

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

Value: 16842754

iconPreview

Added in API level 3
Deprecated in API level 29
static val iconPreview: Int

Deprecated: Deprecated in Java.

The icon to show in the popup preview. {@deprecated Copy this definition into your own application project.}

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

Value: 16843337

iconSpaceReserved

Added in API level 26
static val iconSpaceReserved: Int

Whether the space for the preference icon view will be reserved. By default, preference icon view visibility will be set to GONE when there is no icon provided, so the default value of this attribute is false.

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

Value: 16844129

iconTint

Added in API level 26
static val iconTint: Int

Tint to apply to the icon.

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

Value: 16844126

iconTintMode

Added in API level 26
static val iconTintMode: Int

Blending mode used to apply the icon tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the icon with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the icon, but with the icon’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the icon. The icon’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the icon. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16844127

iconifiedByDefault

Added in API level 11
static val iconifiedByDefault: Int

The default state of the SearchView. If true, it will be iconified when not in use and expanded when clicked.

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

Value: 16843514

id

Added in API level 1
static val id: Int

Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById(). This must be a resource reference; typically you set this using the @+ syntax to create a new ID resources. For example: android:id="@+id/my_id" which allows you to later retrieve the view with findViewById(R.id.my_id).

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

Value: 16842960

identifier

Added in API level 29
static val identifier: Int

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

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

Value: 16844294

ignoreGravity

Added in API level 1
static val ignoreGravity: Int

Indicates what view should not be affected by gravity.

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

Value: 16843263

imageButtonStyle

Added in API level 1
static val imageButtonStyle: Int

The style resource to use for an ImageButton.

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

Value: 16842866

imageWellStyle

Added in API level 1
static val imageWellStyle: Int

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

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

Value: 16842867

imeActionId

Added in API level 3
static val imeActionId: Int

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

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

Value: 16843366

imeActionLabel

Added in API level 3
static val imeActionLabel: Int

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

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

Value: 16843365

imeExtractEnterAnimation

Added in API level 3
static val imeExtractEnterAnimation: Int

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

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

Value: 16843368

imeExtractExitAnimation

Added in API level 3
static val imeExtractExitAnimation: Int

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

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

Value: 16843369

imeFullscreenBackground

Added in API level 3
static val imeFullscreenBackground: 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. This allows, for example, the candidate view to be hidden while in fullscreen mode without having the application show through behind it.

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

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

Value: 16843308

imeOptions

Added in API level 3
static val imeOptions: Int

Additional features you can enable in an IME associated with an editor to improve the integration with your application. The constants here correspond to those defined by android.view.inputmethod.EditorInfo#imeOptions.

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

Constant Value Description
actionDone 6 The action key performs a "done" operation, closing the soft input method. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_DONE.
actionGo 2 The action key performs a "go" operation to take the user to the target of the text they typed. Typically used, for example, when entering a URL. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_GO.
actionNext 5 The action key performs a "next" operation, taking the user to the next field that will accept text. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_NEXT.
actionNone 1 This editor has no action associated with it. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_NONE.
actionPrevious 7 The action key performs a "previous" operation, taking the user to the previous field that will accept text. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS.
actionSearch 3 The action key performs a "search" operation, taking the user to the results of searching for the text the have typed (in whatever context is appropriate). Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH.
actionSend 4 The action key performs a "send" operation, delivering the text to its target. This is typically used when composing a message. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_SEND.
actionUnspecified 0 There is no specific action associated with this editor, let the editor come up with its own if it can. Corresponds to android.view.inputmethod.EditorInfo#IME_NULL.
flagForceAscii 80000000 Used to request that the IME should be capable of inputting ASCII characters. The intention of this flag is to ensure that the user can type Roman alphabet characters in a android.widget.TextView used for, typically, account ID or password input. It is expected that IMEs normally are able to input ASCII even without being told so (such IMEs already respect this flag in a sense), but there could be some cases they aren't when, for instance, only non-ASCII input languages like Arabic, Greek, Hebrew, Russian are enabled in the IME. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. However, it is strongly recommended for IME authors to respect this flag especially when their IME could end up with a state that has only non-ASCII input languages enabled.

Corresponds to android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII.

flagNavigateNext 8000000 Used to specify that there is something interesting that a forward navigation can focus on. This is like using actionNext, except allows the IME to be multiline (with an enter key) as well as provide forward navigation. Note that some IMEs may not be able to do this, especially when running on a small screen where there is little space. In that case it does not need to present a UI for this option. Like actionNext, if the user selects the IME's facility to forward navigate, this will show up in the application at InputConnection.performEditorAction(int).

Corresponds to android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT.

flagNavigatePrevious 4000000 Like flagNavigateNext, but specifies there is something interesting that a backward navigation can focus on. If the user selects the IME's facility to backward navigate, this will show up in the application as an actionPrevious at InputConnection.performEditorAction(int).

Corresponds to android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_PREVIOUS.

flagNoAccessoryAction 20000000 Used in conjunction with a custom action, this indicates that the action should not be available as an accessory button when the input method is full-screen. Note that by setting this flag, there can be cases where the action is simply never available to the user. Setting this generally means that you think showing text being edited is more important than the action you have supplied.

Corresponds to android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION.

flagNoEnterAction 40000000 Used in conjunction with a custom action, this indicates that the action should not be available in-line as a replacement for the "enter" key. Typically this is because the action has such a significant impact or is not recoverable enough that accidentally hitting it should be avoided, such as sending a message. Note that android.widget.TextView will automatically set this flag for you on multi-line text views.

Corresponds to android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION.

flagNoExtractUi 10000000 Used to specify that the IME does not need to show its extracted text UI. For input methods that may be fullscreen, often when in landscape mode, this allows them to be smaller and let part of the application be shown behind. Though there will likely be limited access to the application available from the user, it can make the experience of a (mostly) fullscreen IME less jarring. Note that when this flag is specified the IME may not be set up to be able to display text, so it should only be used in situations where this is not needed.

Corresponds to android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI.

flagNoFullscreen 2000000 Used to request that the IME never go into fullscreen mode. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it.

Corresponds to android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN.

flagNoPersonalizedLearning 1000000 Used to request that the IME should not update any personalized data such as typing history and personalized language model based on what the user typed on this text editing object. Typical use cases are:
  • When the application is in a special mode, where user's activities are expected to be not recorded in the application's history. Some web browsers and chat applications may have this kind of modes.
  • When storing typing history does not make much sense. Specifying this flag in typing games may help to avoid typing history from being filled up with words that the user is less likely to type in their daily life. Another example is that when the application already knows that the expected input is not a valid word (e.g. a promotion code that is not a valid word in any natural language).

Applications need to be aware that the flag is not a guarantee, and some IMEs may not respect it.

normal 0 There are no special semantics associated with this editor.
Value: 16843364

imeSubtypeExtraValue

Added in API level 11
static val imeSubtypeExtraValue: Int

The extra value of the subtype. This string can be any string and will be passed to the IME when the framework calls the IME with the subtype.

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

Value: 16843502

imeSubtypeLocale

Added in API level 11
static val imeSubtypeLocale: Int

The locale of the subtype. This string should be a locale (for example en_US and fr_FR) and will be passed to the IME when the framework calls the IME with the subtype. This is also used by the framework to know the supported locales of the IME.

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

Value: 16843500

imeSubtypeMode

Added in API level 11
static val imeSubtypeMode: Int

The mode of the subtype. This string can be a mode (for example, voice and keyboard) and this string will be passed to the IME when the framework calls the IME with the subtype. android.view.inputmethod.InputMethodSubtype#getLocale() returns the value specified in this attribute.

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

Value: 16843501

immersive

Added in API level 11
static val immersive: Int

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

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

Value: 16843456

importantForAccessibility

Added in API level 16
static val importantForAccessibility: Int

Describes whether or not this view is important for accessibility. If it is important, the view fires accessibility events and is reported to accessibility services that query the screen. Note: While not recommended, an accessibility service may decide to ignore this attribute and operate on all views in the view tree.

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

Must be one of the following constant values.

Constant Value Description
auto 0 The system determines whether the view is important for accessibility - default (recommended).
no 2 The view is not important for accessibility.
noHideDescendants 4 The view is not important for accessibility, nor are any of its descendant views.
yes 1 The view is important for accessibility.
Value: 16843690

importantForAutofill

Added in API level 26
static val importantForAutofill: Int

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

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

Constant Value Description
auto 0 Let the Android System use its heuristics to determine if the view is important for autofill.
no 2 Hint the Android System that this view is *not* important for autofill, but its children (if any) will be traversed..
noExcludeDescendants 8 Hint the Android System that this view is *not* important for autofill, and its children (if any) will not be traversed.
yes 1 Hint the Android System that this view is important for autofill, and its children (if any) will be traversed..
yesExcludeDescendants 4 Hint the Android System that this view is important for autofill, but its children (if any) will not be traversed.
Value: 16844120

importantForContentCapture

Added in API level 30
static val importantForContentCapture: Int

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

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

Constant Value Description
auto 0 Let the Android System use its heuristics to determine if the view is important for content capture.
no 2 Hint the Android System that this view is *not* important for content capture, but its children (if any) will be traversed..
noExcludeDescendants 8 Hint the Android System that this view is *not* important for content capture, and its children (if any) will not be traversed.
yes 1 Hint the Android System that this view is important for content capture, and its children (if any) will be traversed..
yesExcludeDescendants 4 Hint the Android System that this view is important for content capture, but its children (if any) will not be traversed.
Value: 16844295

inAnimation

Added in API level 1
static val inAnimation: Int

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

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

Value: 16843127

includeFontPadding

Added in API level 1
static val includeFontPadding: Int

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

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

Value: 16843103

includeInGlobalSearch

Added in API level 4
static val includeInGlobalSearch: Int

If provided and true, this searchable activity will be included in any global lists of search targets. The default value is false. Optional attribute..

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

Value: 16843374

indeterminate

Added in API level 1
static val indeterminate: Int

Allows to enable the indeterminate mode. In this mode the progress bar plays an infinite looping animation.

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

Value: 16843065

indeterminateBehavior

Added in API level 1
static val indeterminateBehavior: Int

Defines how the indeterminate mode should behave when the progress reaches max. Only affects the indeterminate animation if the indeterminate Drawable does not implement android.graphics.drawable.Animatable.

Must be one of the following constant values.

Constant Value Description
cycle 2 Progress keeps the current value and goes back to 0.
repeat 1 Progress starts over from 0.
Value: 16843070

indeterminateDrawable

Added in API level 1
static val indeterminateDrawable: Int

Drawable used for the indeterminate mode. One that implements Animatable offers more control over the animation.

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

Value: 16843067

indeterminateDuration

Added in API level 1
static val indeterminateDuration: Int

Duration of the indeterminate animation. Only affects the indeterminate animation if the indeterminate Drawable does not implement android.graphics.drawable.Animatable.

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

Value: 16843069

indeterminateOnly

Added in API level 1
static val indeterminateOnly: Int

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

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

Value: 16843066

indeterminateProgressStyle

Added in API level 11
static val indeterminateProgressStyle: Int

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

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

Value: 16843544

indeterminateTint

Added in API level 21
static val indeterminateTint: Int

Tint to apply to the indeterminate progress indicator.

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

Value: 16843881

indeterminateTintMode

Added in API level 21
static val indeterminateTintMode: Int

Blending mode used to apply the indeterminate progress indicator 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: 16843882

indicatorEnd

Added in API level 18
static val indicatorEnd: Int

The end bound for an item's indicator. To specify a right bound specific to children, use childIndicatorEnd.

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: 16843730

indicatorLeft

Added in API level 1
static val indicatorLeft: Int

The left bound for an item's indicator. To specify a left bound specific to children, use childIndicatorLeft.

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: 16843021

indicatorRight

Added in API level 1
static val indicatorRight: Int

The right bound for an item's indicator. To specify a right bound specific to children, use childIndicatorRight.

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: 16843022

indicatorStart

Added in API level 18
static val indicatorStart: Int

The start bound for an item's indicator. To specify a start bound specific to children, use childIndicatorStart.

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: 16843729

inflatedId

Added in API level 1
static val inflatedId: Int

Overrides the id of the inflated View with this value.

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

Value: 16842995

inheritShowWhenLocked

Added in API level 29
static val inheritShowWhenLocked: 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. That is, this activity is only visible on the lock screen if there is another activity with the android.R.attr#showWhenLocked attribute visible at the same time on the lock screen. A use case for this is permission dialogs, that should only be visible on the lock screen if their requesting activity is also visible.

The default value of this attribute is false.

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

Value: 16844188

initOrder

Added in API level 1
static val initOrder: Int

Specify the order in which content providers hosted by a process are instantiated when that process is created. Not needed unless you have providers with dependencies between each other, to make sure that they are created in the order needed by those dependencies. The value is a simple integer, with higher numbers being initialized first.

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

Value: 16842778

initialKeyguardLayout

Added in API level 17
static val initialKeyguardLayout: Int

A resource id of a layout.

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

Value: 16843714

initialLayout

Added in API level 3
static val initialLayout: Int

A resource id of a layout.

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

Value: 16843345

innerRadius

Added in API level 3
static val innerRadius: Int

Inner radius of the ring. When defined, innerRadiusRatio is ignored.

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: 16843359

innerRadiusRatio

Added in API level 1
static val innerRadiusRatio: Int

Inner radius of the ring expressed as a ratio of the ring's width. For instance, if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. This value is ignored if innerRadius is defined. Default value is 9.

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

Value: 16843163

inputMethod

Added in API level 1
Deprecated in API level 15
static val inputMethod: Int

Deprecated: Deprecated in Java.

If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name). {@deprecated Use inputType instead.}

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

Value: 16843112

inputType

Added in API level 3
static val inputType: 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. The constants here correspond to those defined by android.text.InputType. Generally you can select a single value, though some can be combined together as indicated. Setting this attribute to anything besides none also implies that the text is editable.

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

Constant Value Description
date 14 For entering a date. Corresponds to android.text.InputType#TYPE_CLASS_DATETIME | android.text.InputType#TYPE_DATETIME_VARIATION_DATE.
datetime 4 For entering a date and time. Corresponds to android.text.InputType#TYPE_CLASS_DATETIME | android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL.
none 0 There is no content type. The text is not editable.
number 2 A numeric only field. Corresponds to android.text.InputType#TYPE_CLASS_NUMBER | android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL.
numberDecimal 2002 Can be combined with number and its other options to allow a decimal (fractional) number. Corresponds to android.text.InputType#TYPE_CLASS_NUMBER | android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL.
numberPassword 12 A numeric password field. Corresponds to android.text.InputType#TYPE_CLASS_NUMBER | android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD.
numberSigned 1002 Can be combined with number and its other options to allow a signed number. Corresponds to android.text.InputType#TYPE_CLASS_NUMBER | android.text.InputType#TYPE_NUMBER_FLAG_SIGNED.
phone 3 For entering a phone number. Corresponds to android.text.InputType#TYPE_CLASS_PHONE.
text 1 Just plain old text. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_NORMAL.
textAutoComplete 10001 Can be combined with text and its variations to specify that this field will be doing its own auto-completion and talking with the input method appropriately. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE.
textAutoCorrect 8001 Can be combined with text and its variations to request auto-correction of text being input. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT.
textCapCharacters 1001 Can be combined with text and its variations to request capitalization of all characters. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS.
textCapSentences 4001 Can be combined with text and its variations to request capitalization of the first character of every sentence. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES.
textCapWords 2001 Can be combined with text and its variations to request capitalization of the first character of every word. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS.
textEmailAddress 21 Text that will be used as an e-mail address. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS.
textEmailSubject 31 Text that is being supplied as the subject of an e-mail. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT.
textEnableTextConversionSuggestions 100001 Can be combined with text and its variations to indicate that if there is extra information, the IME should provide android.view.inputmethod.TextAttribute. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_ENABLE_TEXT_CONVERSION_SUGGESTIONS.
textFilter b1 Text that is filtering some other data. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_FILTER.
textImeMultiLine 40001 Can be combined with text and its variations to indicate that though the regular text view should not be multiple lines, the IME should provide multiple lines if it can. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE.
textLongMessage 51 Text that is the content of a long message. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE.
textMultiLine 20001 Can be combined with text and its variations to allow multiple lines of text in the field. If this flag is not set, the text field will be constrained to a single line. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE. Note: If this flag is not set and the text field doesn't have max length limit, the framework automatically set maximum length of the characters to 5000 for the performance reasons.
textNoSuggestions 80001 Can be combined with text and its variations to indicate that the IME should not show any dictionary-based word suggestions. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS.
textPassword 81 Text that is a password. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD.
textPersonName 61 Text that is the name of a person. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME.
textPhonetic c1 Text that is for phonetic pronunciation, such as a phonetic name field in a contact entry. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC.
textPostalAddress 71 Text that is being supplied as a postal mailing address. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS.
textShortMessage 41 Text that is the content of a short message. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE.
textUri 11 Text that will be used as a URI. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_URI.
textVisiblePassword 91 Text that is a password that should be visible. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD.
textWebEditText a1 Text that is being supplied as text in a web form. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT.
textWebEmailAddress d1 Text that will be used as an e-mail address on a web form. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS.
textWebPassword e1 Text that will be used as a password on a web form. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD.
time 24 For entering a time. Corresponds to android.text.InputType#TYPE_CLASS_DATETIME | android.text.InputType#TYPE_DATETIME_VARIATION_TIME.
Value: 16843296

inset

Added in API level 21
static val inset: Int

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: 16843957

insetBottom

Added in API level 1
static val insetBottom: Int

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: 16843194

insetLeft

Added in API level 1
static val insetLeft: Int

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: 16843191

insetRight

Added in API level 1
static val insetRight: Int

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: 16843192

insetTop

Added in API level 1
static val insetTop: Int

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: 16843193

installLocation

Added in API level 8
static val installLocation: Int

The default install location defined by an application.

Must be one of the following constant values.

Constant Value Description
auto 0 Let the system decide ideal install location
internalOnly 1 Explicitly request to be installed on internal phone storage only.
preferExternal 2 Prefer to be installed on SD card. There is no guarantee that the system will honor this request. The application might end up being installed on internal storage if external media is unavailable or too full.
Value: 16843447

interactiveUiTimeout

Added in API level 29
static val interactiveUiTimeout: Int

A recommended timeout in milliseconds used in android.view.accessibility.AccessibilityManager.getRecommendedTimeoutMillis(int, int) to return a suitable value for interactive controls. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

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

Value: 16844181

interpolator

Added in API level 1
static val interpolator: Int

Sets the acceleration curve for the indeterminate animation. Defaults to a linear interpolation. Only affects the indeterminate animation if the indeterminate Drawable does not implement android.graphics.drawable.Animatable.

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

Value: 16843073

intro

Added in API level 33
static val intro: Int

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

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

Value: 16844395

isAccessibilityTool

Added in API level 31
static val isAccessibilityTool: Int

Attribute indicating whether the accessibility service is used to assist users with disabilities. This criteria might be defined by the installer. The default is false.

Note: If this flag is false, system will show a notification after a duration to inform the user about the privacy implications of the service.

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

Value: 16844353

isAlwaysSyncable

Added in API level 11
static val isAlwaysSyncable: 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. Defaults to false.

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

Value: 16843571

isAsciiCapable

Added in API level 19
static val isAsciiCapable: Int

Set to true if this subtype is ASCII capable. If the subtype is ASCII capable, it should guarantee that the user can input ASCII characters with this subtype. This is important because many password fields only allow ASCII-characters.

Note: In order to avoid some known system issues on android.os.Build.VERSION_CODES#P and prior OSes, you may want to include "AsciiCapable" in android.R.styleable#InputMethod_Subtype_imeSubtypeExtraValue when you specify true to this attribute.

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

Value: 16843753

isAuxiliary

Added in API level 14
static val isAuxiliary: Int

Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the input method selection list in the settings app. InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it chooses a target subtype.

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

Value: 16843647

isCredential

Added in API level 34
static val isCredential: Int

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

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

Value: 16844417

isDefault

Added in API level 3
static val isDefault: Int

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

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

Value: 16843297

isFeatureSplit

Added in API level 26
static val isFeatureSplit: 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. This distinguishes this split APK from a 'configuration' split, which provides resource overrides for a particular 'feature' split. Only useful when the base APK specifies android:isolatedSplits="true".

The default value of this attribute is false.

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

Value: 16844123

isGame

Added in API level 21
static val isGame: Int

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

This information can be used by the system to group together applications that are classified as games, and display them separately from the other applications.

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

Value: 16843764

isIndicator

Added in API level 1
static val isIndicator: Int

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

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

Value: 16843079

isLightTheme

Added in API level 29
static val isLightTheme: Int

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

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

Value: 16844176

isModifier

Added in API level 3
Deprecated in API level 29
static val isModifier: Int

Deprecated: Deprecated in Java.

Whether this is a modifier key such as Alt or Shift. {@deprecated Copy this definition into your own application project.}

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

Value: 16843334

isRepeatable

Added in API level 3
Deprecated in API level 29
static val isRepeatable: Int

Deprecated: Deprecated in Java.

Whether long-pressing on this key will make it repeat. {@deprecated Copy this definition into your own application project.}

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

Value: 16843336

isScrollContainer

Added in API level 3
static val isScrollContainer: 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. If not set, the default value will be true if "scrollbars" has the vertical scrollbar set, else it will be false.

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

Value: 16843342

isSplitRequired

Added in API level 29
Deprecated in API level 33
static val isSplitRequired: Int

Deprecated: Use android.R.attr#requiredSplitTypes instead.

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

{@deprecated Use requiredSplitTypes instead.} Flag to specify if this APK requires at least one split [either feature or resource] to be present in order to function. Default value is false.

Value: 16844177

isStatic

Added in API level 26
static val isStatic: Int

Whether the given RRO is static or not.

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

Value: 16844122

isSticky

Added in API level 3
Deprecated in API level 29
static val isSticky: Int

Deprecated: Deprecated in Java.

Whether this is a toggle key. {@deprecated Copy this definition into your own application project.}

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

Value: 16843335

isolatedProcess

Added in API level 16
static val isolatedProcess: Int

If set to true, this service will run under a special process that is isolated from the rest of the system. The only communication with it is through the Service API (binding and starting).

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

Value: 16843689

isolatedSplits

Added in API level 26
static val isolatedSplits: 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.

The default value of this attribute is false.

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

Value: 16844107

itemBackground

Added in API level 1
static val itemBackground: Int

Default background for each menu item.

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

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

Value: 16843056

itemIconDisabledAlpha

Added in API level 1
static val itemIconDisabledAlpha: Int

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

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

Value: 16843057

itemPadding

Added in API level 11
static val itemPadding: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843565

itemTextAppearance

Added in API level 1
static val itemTextAppearance: Int

Default appearance of menu item text.

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

Value: 16843052

justificationMode

Added in API level 26
static val justificationMode: Int

Mode for justification.

Must be one of the following constant values.

Constant Value Description
inter_word 1 Justification by stretching word spacing.
none 0 No justification.
Value: 16844135

keepScreenOn

Added in API level 1
static val keepScreenOn: Int

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

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

Value: 16843286

key

Added in API level 1
static val key: Int

The key to store the Preference value.

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

Value: 16843240

keyBackground

Added in API level 3
Deprecated in API level 29
static val keyBackground: Int

Deprecated: Deprecated in Java.

Image for the key. This image needs to be a StateListDrawable, with the following possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, checkable+checked+pressed. {@deprecated Copy this definition into your own application project.}

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

Value: 16843315

keyEdgeFlags

Added in API level 3
Deprecated in API level 29
static val keyEdgeFlags: Int

Deprecated: Deprecated in Java.

Key edge flags. {@deprecated Copy this definition into your own application project.}

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

Constant Value Description
left 1 Key is anchored to the left of the keyboard. {@deprecated Copy this definition into your own application project.}
right 2 Key is anchored to the right of the keyboard. {@deprecated Copy this definition into your own application project.}
Value: 16843333

keyHeight

Added in API level 3
Deprecated in API level 29
static val keyHeight: Int

Deprecated: Deprecated in Java.

Default height of a key, in pixels or percentage of display width. {@deprecated Copy this definition into your own application project.}

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: 16843326

keyIcon

Added in API level 3
Deprecated in API level 29
static val keyIcon: Int

Deprecated: Deprecated in Java.

The icon to display on the key instead of the label. {@deprecated Copy this definition into your own application project.}

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

Value: 16843340

keyLabel

Added in API level 3
Deprecated in API level 29
static val keyLabel: Int

Deprecated: Deprecated in Java.

The label to display on the key. {@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;

Value: 16843339

keyOutputText

Added in API level 3
Deprecated in API level 29
static val keyOutputText: Int

Deprecated: Deprecated in Java.

The string of characters to output when this key is pressed. {@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;

Value: 16843338

keyPreviewHeight

Added in API level 3
Deprecated in API level 29
static val keyPreviewHeight: Int

Deprecated: Deprecated in Java.

Height of the key press feedback popup. {@deprecated Copy this definition into your own application project.}

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: 16843321

keyPreviewLayout

Added in API level 3
Deprecated in API level 29
static val keyPreviewLayout: Int

Deprecated: Deprecated in Java.

Layout resource for key press feedback. {@deprecated Copy this definition into your own application project.}

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

Value: 16843319

keyPreviewOffset

Added in API level 3
Deprecated in API level 29
static val keyPreviewOffset: Int

Deprecated: Deprecated in Java.

Vertical offset of the key press feedback from the key. {@deprecated Copy this definition into your own application project.}

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: 16843320

keySet

Added in API level 19
static val keySet: Int

Groups signing keys into a KeySet for easier reference in other APIs. However, currently no APIs use this.

May be a reference to another resource, in the form "@[+][package:]type/name" or 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: 16843739

keyTextColor

Added in API level 3
Deprecated in API level 29
static val keyTextColor: Int

Deprecated: Deprecated in Java.

Color to use for the label in a key. {@deprecated Copy this definition into your own application project.}

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

Value: 16843318

keyTextSize

Added in API level 3
Deprecated in API level 29
static val keyTextSize: Int

Deprecated: Deprecated in Java.

Size of the text for character keys. {@deprecated Copy this definition into your own application project.}

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: 16843316

keyWidth

Added in API level 3
Deprecated in API level 29
static val keyWidth: Int

Deprecated: Deprecated in Java.

Default width of a key, in pixels or percentage of display width. {@deprecated Copy this definition into your own application project.}

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: 16843325

keyboardLayout

Added in API level 16
static val keyboardLayout: Int

The key character map file resource.

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

Value: 16843691

keyboardLayoutType

Added in API level 34
static val keyboardLayoutType: Int

The layout type of the given keyboardLayout. NOTE: The enum to int value mapping must remain stable

Must be one of the following constant values.

Constant Value Description
azerty 3 Azerty-based keyboard layout.
colemak 5 Colemak keyboard layout.
dvorak 4 Dvorak keyboard layout.
extended 9 Keyboard layout that has been enhanced with a large number of extra characters.
qwerty 1 Qwerty-based keyboard layout.
qwertz 2 Qwertz-based keyboard layout.
turkish_f 8 Turkish-F keyboard layout.
turkish_q 7 Turkish-Q keyboard layout.
workman 6 Workman keyboard layout.
Value: 16844415

keyboardLocale

Added in API level 34
static val keyboardLocale: Int

The locales the given keyboard layout corresponds to. This is a list of BCP-47 conformant language tags separated by the delimiter ',' or '|'. Some examples of language tags are: en-US, zh-Hans-CN, el-Grek-polyton. It includes information for language code, country code, variant, and script code like ‘Latn’, ‘Cyrl’, etc.

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

Value: 16844414

keyboardMode

Added in API level 3
Deprecated in API level 29
static val keyboardMode: Int

Deprecated: Deprecated in Java.

Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the row will be skipped. {@deprecated Copy this definition into your own application project.}

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

Value: 16843341

keyboardNavigationCluster

Added in API level 26
static val keyboardNavigationCluster: Int

Whether this view is a root of a keyboard navigation cluster. See android.view.View#setKeyboardNavigationCluster(boolean).

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

Value: 16844096

keycode

Added in API level 1
static val keycode: Int

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

Must be one of the following constant values.

Constant Value Description
KEYCODE_0 7
KEYCODE_1 8
KEYCODE_11 e3
KEYCODE_12 e4
KEYCODE_2 9
KEYCODE_3 a
KEYCODE_3D_MODE ce
KEYCODE_4 b
KEYCODE_5 c
KEYCODE_6 d
KEYCODE_7 e
KEYCODE_8 f
KEYCODE_9 10
KEYCODE_A 1d
KEYCODE_ALL_APPS 11c
KEYCODE_ALT_LEFT 39
KEYCODE_ALT_RIGHT 3a
KEYCODE_APOSTROPHE 4b
KEYCODE_APP_SWITCH bb
KEYCODE_ASSIST db
KEYCODE_AT 4d
KEYCODE_AVR_INPUT b6
KEYCODE_AVR_POWER b5
KEYCODE_B 1e
KEYCODE_BACK 4
KEYCODE_BACKSLASH 49
KEYCODE_BOOKMARK ae
KEYCODE_BREAK 79
KEYCODE_BRIGHTNESS_DOWN dc
KEYCODE_BRIGHTNESS_UP dd
KEYCODE_BUTTON_1 bc
KEYCODE_BUTTON_10 c5
KEYCODE_BUTTON_11 c6
KEYCODE_BUTTON_12 c7
KEYCODE_BUTTON_13 c8
KEYCODE_BUTTON_14 c9
KEYCODE_BUTTON_15 ca
KEYCODE_BUTTON_16 cb
KEYCODE_BUTTON_2 bd
KEYCODE_BUTTON_3 be
KEYCODE_BUTTON_4 bf
KEYCODE_BUTTON_5 c0
KEYCODE_BUTTON_6 c1
KEYCODE_BUTTON_7 c2
KEYCODE_BUTTON_8 c3
KEYCODE_BUTTON_9 c4
KEYCODE_BUTTON_A 60
KEYCODE_BUTTON_B 61
KEYCODE_BUTTON_C 62
KEYCODE_BUTTON_L1 66
KEYCODE_BUTTON_L2 68
KEYCODE_BUTTON_MODE 6e
KEYCODE_BUTTON_R1 67
KEYCODE_BUTTON_R2 69
KEYCODE_BUTTON_SELECT 6d
KEYCODE_BUTTON_START 6c
KEYCODE_BUTTON_THUMBL 6a
KEYCODE_BUTTON_THUMBR 6b
KEYCODE_BUTTON_X 63
KEYCODE_BUTTON_Y 64
KEYCODE_BUTTON_Z 65
KEYCODE_C 1f
KEYCODE_CALCULATOR d2
KEYCODE_CALENDAR d0
KEYCODE_CALL 5
KEYCODE_CAMERA 1b
KEYCODE_CAPS_LOCK 73
KEYCODE_CAPTIONS af
KEYCODE_CHANNEL_DOWN a7
KEYCODE_CHANNEL_UP a6
KEYCODE_CLEAR 1c
KEYCODE_COMMA 37
KEYCODE_CONTACTS cf
KEYCODE_COPY 116
KEYCODE_CTRL_LEFT 71
KEYCODE_CTRL_RIGHT 72
KEYCODE_CUT 115
KEYCODE_D 20
KEYCODE_DEL 43
KEYCODE_DEMO_APP_1 12d
KEYCODE_DEMO_APP_2 12e
KEYCODE_DEMO_APP_3 12f
KEYCODE_DEMO_APP_4 130
KEYCODE_DPAD_CENTER 17
KEYCODE_DPAD_DOWN 14
KEYCODE_DPAD_DOWN_LEFT 10d
KEYCODE_DPAD_DOWN_RIGHT 10f
KEYCODE_DPAD_LEFT 15
KEYCODE_DPAD_RIGHT 16
KEYCODE_DPAD_UP 13
KEYCODE_DPAD_UP_LEFT 10c
KEYCODE_DPAD_UP_RIGHT 10e
KEYCODE_DVR ad
KEYCODE_E 21
KEYCODE_EISU d4
KEYCODE_ENDCALL 6
KEYCODE_ENTER 42
KEYCODE_ENVELOPE 41
KEYCODE_EQUALS 46
KEYCODE_ESCAPE 6f
KEYCODE_EXPLORER 40
KEYCODE_F 22
KEYCODE_F1 83
KEYCODE_F10 8c
KEYCODE_F11 8d
KEYCODE_F12 8e
KEYCODE_F2 84
KEYCODE_F3 85
KEYCODE_F4 86
KEYCODE_F5 87
KEYCODE_F6 88
KEYCODE_F7 89
KEYCODE_F8 8a
KEYCODE_F9 8b
KEYCODE_FEATURED_APP_1 129
KEYCODE_FEATURED_APP_2 12a
KEYCODE_FEATURED_APP_3 12b
KEYCODE_FEATURED_APP_4 12c
KEYCODE_FOCUS 50
KEYCODE_FORWARD 7d
KEYCODE_FORWARD_DEL 70
KEYCODE_FUNCTION 77
KEYCODE_G 23
KEYCODE_GRAVE 44
KEYCODE_GUIDE ac
KEYCODE_H 24
KEYCODE_HEADSETHOOK 4f
KEYCODE_HELP 103
KEYCODE_HENKAN d6
KEYCODE_HOME 3
KEYCODE_I 25
KEYCODE_INFO a5
KEYCODE_INSERT 7c
KEYCODE_J 26
KEYCODE_K 27
KEYCODE_KANA da
KEYCODE_KATAKANA_HIRAGANA d7
KEYCODE_L 28
KEYCODE_LANGUAGE_SWITCH cc
KEYCODE_LAST_CHANNEL e5
KEYCODE_LEFT_BRACKET 47
KEYCODE_M 29
KEYCODE_MANNER_MODE cd
KEYCODE_MEDIA_AUDIO_TRACK de
KEYCODE_MEDIA_CLOSE 80
KEYCODE_MEDIA_EJECT 81
KEYCODE_MEDIA_FAST_FORWARD 5a
KEYCODE_MEDIA_NEXT 57
KEYCODE_MEDIA_PAUSE 7f
KEYCODE_MEDIA_PLAY 7e
KEYCODE_MEDIA_PLAY_PAUSE 55
KEYCODE_MEDIA_PREVIOUS 58
KEYCODE_MEDIA_RECORD 82
KEYCODE_MEDIA_REWIND 59
KEYCODE_MEDIA_SKIP_BACKWARD 111
KEYCODE_MEDIA_SKIP_FORWARD 110
KEYCODE_MEDIA_SLEEP df
KEYCODE_MEDIA_STEP_BACKWARD 113
KEYCODE_MEDIA_STEP_FORWARD 112
KEYCODE_MEDIA_STOP 56
KEYCODE_MEDIA_TOP_MENU e2
KEYCODE_MEDIA_WAKEUP e0
KEYCODE_MENU 52
KEYCODE_META_LEFT 75
KEYCODE_META_RIGHT 76
KEYCODE_MINUS 45
KEYCODE_MOVE_END 7b
KEYCODE_MOVE_HOME 7a
KEYCODE_MUHENKAN d5
KEYCODE_MUSIC d1
KEYCODE_MUTE 5b
KEYCODE_N 2a
KEYCODE_NAVIGATE_IN 106
KEYCODE_NAVIGATE_NEXT 105
KEYCODE_NAVIGATE_OUT 107
KEYCODE_NAVIGATE_PREVIOUS 104
KEYCODE_NOTIFICATION 53
KEYCODE_NUM 4e
KEYCODE_NUMPAD_0 90
KEYCODE_NUMPAD_1 91
KEYCODE_NUMPAD_2 92
KEYCODE_NUMPAD_3 93
KEYCODE_NUMPAD_4 94
KEYCODE_NUMPAD_5 95
KEYCODE_NUMPAD_6 96
KEYCODE_NUMPAD_7 97
KEYCODE_NUMPAD_8 98
KEYCODE_NUMPAD_9 99
KEYCODE_NUMPAD_ADD 9d
KEYCODE_NUMPAD_COMMA 9f
KEYCODE_NUMPAD_DIVIDE 9a
KEYCODE_NUMPAD_DOT 9e
KEYCODE_NUMPAD_ENTER a0
KEYCODE_NUMPAD_EQUALS a1
KEYCODE_NUMPAD_LEFT_PAREN a2
KEYCODE_NUMPAD_MULTIPLY 9b
KEYCODE_NUMPAD_RIGHT_PAREN a3
KEYCODE_NUMPAD_SUBTRACT 9c
KEYCODE_NUM_LOCK 8f
KEYCODE_O 2b
KEYCODE_P 2c
KEYCODE_PAGE_DOWN 5d
KEYCODE_PAGE_UP 5c
KEYCODE_PAIRING e1
KEYCODE_PASTE 117
KEYCODE_PERIOD 38
KEYCODE_PICTSYMBOLS 5e
KEYCODE_PLUS 51
KEYCODE_POUND 12
KEYCODE_POWER 1a
KEYCODE_PROFILE_SWITCH 120
KEYCODE_PROG_BLUE ba
KEYCODE_PROG_GRED b7
KEYCODE_PROG_GREEN b8
KEYCODE_PROG_YELLOW b9
KEYCODE_Q 2d
KEYCODE_R 2e
KEYCODE_REFRESH 11d
KEYCODE_RIGHT_BRACKET 48
KEYCODE_RO d9
KEYCODE_S 2f
KEYCODE_SCROLL_LOCK 74
KEYCODE_SEARCH 54
KEYCODE_SEMICOLON 4a
KEYCODE_SETTINGS b0
KEYCODE_SHIFT_LEFT 3b
KEYCODE_SHIFT_RIGHT 3c
KEYCODE_SLASH 4c
KEYCODE_SOFT_LEFT 1
KEYCODE_SOFT_RIGHT 2
KEYCODE_SOFT_SLEEP 114
KEYCODE_SPACE 3e
KEYCODE_STAR 11
KEYCODE_STB_INPUT b4
KEYCODE_STB_POWER b3
KEYCODE_STEM_1 109
KEYCODE_STEM_2 10a
KEYCODE_STEM_3 10b
KEYCODE_STEM_PRIMARY 108
KEYCODE_SWITCH_CHARSET 5f
KEYCODE_SYM 3f
KEYCODE_SYSRQ 78
KEYCODE_SYSTEM_NAVIGATION_DOWN 119
KEYCODE_SYSTEM_NAVIGATION_LEFT 11a
KEYCODE_SYSTEM_NAVIGATION_RIGHT 11b
KEYCODE_SYSTEM_NAVIGATION_UP 118
KEYCODE_T 30
KEYCODE_TAB 3d
KEYCODE_THUMBS_DOWN 11f
KEYCODE_THUMBS_UP 11e
KEYCODE_TV aa
KEYCODE_TV_ANTENNA_CABLE f2
KEYCODE_TV_AUDIO_DESCRIPTION fc
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN fe
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP fd
KEYCODE_TV_CONTENTS_MENU 100
KEYCODE_TV_DATA_SERVICE e6
KEYCODE_TV_INPUT b2
KEYCODE_TV_INPUT_COMPONENT_1 f9
KEYCODE_TV_INPUT_COMPONENT_2 fa
KEYCODE_TV_INPUT_COMPOSITE_1 f7
KEYCODE_TV_INPUT_COMPOSITE_2 f8
KEYCODE_TV_INPUT_HDMI_1 f3
KEYCODE_TV_INPUT_HDMI_2 f4
KEYCODE_TV_INPUT_HDMI_3 f5
KEYCODE_TV_INPUT_HDMI_4 f6
KEYCODE_TV_INPUT_VGA_1 fb
KEYCODE_TV_MEDIA_CONTEXT_MENU 101
KEYCODE_TV_NETWORK f1
KEYCODE_TV_NUMBER_ENTRY ea
KEYCODE_TV_POWER b1
KEYCODE_TV_RADIO_SERVICE e8
KEYCODE_TV_SATELLITE ed
KEYCODE_TV_SATELLITE_BS ee
KEYCODE_TV_SATELLITE_CS ef
KEYCODE_TV_SATELLITE_SERVICE f0
KEYCODE_TV_TELETEXT e9
KEYCODE_TV_TERRESTRIAL_ANALOG eb
KEYCODE_TV_TERRESTRIAL_DIGITAL ec
KEYCODE_TV_TIMER_PROGRAMMING 102
KEYCODE_TV_ZOOM_MODE ff
KEYCODE_U 31
KEYCODE_UNKNOWN 0
KEYCODE_V 32
KEYCODE_VIDEO_APP_1 121
KEYCODE_VIDEO_APP_2 122
KEYCODE_VIDEO_APP_3 123
KEYCODE_VIDEO_APP_4 124
KEYCODE_VIDEO_APP_5 125
KEYCODE_VIDEO_APP_6 126
KEYCODE_VIDEO_APP_7 127
KEYCODE_VIDEO_APP_8 128
KEYCODE_VOICE_ASSIST e7
KEYCODE_VOLUME_DOWN 19
KEYCODE_VOLUME_MUTE a4
KEYCODE_VOLUME_UP 18
KEYCODE_W 33
KEYCODE_WINDOW ab
KEYCODE_X 34
KEYCODE_Y 35
KEYCODE_YEN d8
KEYCODE_Z 36
KEYCODE_ZENKAKU_HANKAKU d3
KEYCODE_ZOOM_IN a8
KEYCODE_ZOOM_OUT a9
Value: 16842949

killAfterRestore

Added in API level 5
static val killAfterRestore: Int

Whether the application in question should be terminated after its settings have been restored during a full-system restore operation. Single-package restore operations will never cause the application to be shut down. Full-system restore operations typically only occur once, when the phone is first set up. Third-party applications will not usually need to use this attribute.

The default is true, which means that after the application has finished processing its data during a full-system restore, it will be terminated.

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

Value: 16843420

knownActivityEmbeddingCerts

Added in API level 33
static val knownActivityEmbeddingCerts: 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. If the client is not signed with one of the certificates in the set, and the activity does not allow embedding by untrusted hosts via android.R.attr#allowUntrustedActivityEmbedding flag, the embedding request will fail.

The digest should be computed over the DER encoding of the trusted certificate using the SHA-256 digest algorithm.

If only a single signer is declared this can also be a string resource, or the digest can be declared inline as the value for this attribute.

If the attribute is declared both on the application and the activity level, the value on the activity level takes precedence.

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: 16844394

knownCerts

Added in API level 31
static val knownCerts: Int

A reference to an array resource containing the signing certificate digests to be granted this permission when using the knownSigner protection flag. The digest should be computed over the DER encoding of the trusted certificate using the SHA-256 digest algorithm.

If only a single signer is declared this can also be a string resource, or the digest can be declared inline as the value for 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".

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

Value: 16844330

lStar

Added in API level 31
static val lStar: Int

Perceptual luminance of a color, in accessibility friendly color space. From 0 to 100.

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

Value: 16844359

label

Added in API level 1
static val label: Int

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or 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: 16842753

labelFor

Added in API level 17
static val labelFor: Int

Specifies the id of a view for which this view serves as a label for accessibility purposes. For example, a TextView before an EditText in the UI usually specifies what information is contained in the EditText. Hence, the TextView is a label for the 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: 16843718

labelTextSize

Added in API level 3
Deprecated in API level 29
static val labelTextSize: Int

Deprecated: Deprecated in Java.

Size of the text for custom keys with some text and no icon. {@deprecated Copy this definition into your own application project.}

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: 16843317

languageTag

Added in API level 24
static val languageTag: Int

The BCP-47 Language Tag of the subtype. This replaces android.R.styleable#InputMethod_Subtype_imeSubtypeLocale.

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

Value: 16844040

largeHeap

Added in API level 11
static val largeHeap: Int

Request that your application's processes be created with a large Dalvik heap. This applies to all processes created for the application. It only applies to the first application loaded into a process; if using a sharedUserId to allow multiple applications to use a process, they all must use this option consistently or will get unpredictable results.

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

Value: 16843610

largeScreens

Added in API level 4
static val largeScreens: Int

Indicates whether the application supports larger screen form-factors. A large screen is defined as a screen that is significantly larger than a normal phone screen, and thus may require some special care on the application's part to make good use of it. An example would be a VGA normal density screen, though even larger screens are certainly possible. An application that does not support large screens will be placed as a postage stamp on such a screen, so that it retains the dimensions it was originally designed for.

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

Value: 16843398

largestWidthLimitDp

Added in API level 13
static val largestWidthLimitDp: Int

Starting with android.os.Build.VERSION_CODES#HONEYCOMB_MR2, this is the new way to specify the screens an application is compatible with. This attribute provides the maximum "smallest screen width" (as per the -swNNNdp resource configuration) that the application can work well on. If this value is smaller than the "smallest screen width" of the device it is running on, the application will be forced in to screen compatibility mode with no way for the user to turn it off. Currently the compatibility mode only emulates phone screens with a 320dp width, so compatibility mode is not applied if the value for largestWidthLimitDp is larger than 320.

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

Value: 16843622

lastBaselineToBottomHeight

Added in API level 28
static val lastBaselineToBottomHeight: Int

Distance from the bottom of the TextView to the last text baseline. If set, this overrides the value set for paddingBottom.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844158

launchMode

Added in API level 1
static val launchMode: Int

Specify how an activity should be launched. See the Tasks and Back Stack document for important information on how these options impact the behavior of your application.

If this attribute is not specified, standard launch mode will be used. Note that the particular launch behavior can be changed in some ways at runtime through the android.content.Intent flags android.content.Intent#FLAG_ACTIVITY_SINGLE_TOP, android.content.Intent#FLAG_ACTIVITY_NEW_TASK, and android.content.Intent#FLAG_ACTIVITY_MULTIPLE_TASK.

Must be one of the following constant values.

Constant Value Description
singleInstance 3 Only allow one instance of this activity to ever be running. This activity gets a unique task with only itself running in it; if it is ever launched again with the same Intent, then that task will be brought forward and its Activity.onNewIntent() method called. If this activity tries to start a new activity, that new activity will be launched in a separate task. See the Tasks and Back Stack document for more details about tasks.
singleInstancePerTask 4 The activity can only be running as the root activity of the task, the first activity that created the task, and therefore there will only be one instance of this activity in a task. In contrast to the singleTask launch mode, this activity can be started in multiple instances in different tasks if the FLAG_ACTIVITY_MULTIPLE_TASK or FLAG_ACTIVITY_NEW_DOCUMENT is set.
singleTask 2 If, when starting the activity, there is already a task running that starts with this activity, then instead of starting a new instance the current task is brought to the front. The existing instance will receive a call to Activity.onNewIntent() with the new Intent that is being started, and with the Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set. This is a superset of the singleTop mode, where if there is already an instance of the activity being started at the top of the stack, it will receive the Intent as described there (without the FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set). See the Tasks and Back Stack document for more details about tasks.
singleTop 1 If, when starting the activity, there is already an instance of the same activity class in the foreground that is interacting with the user, then re-use that instance. This existing instance will receive a call to Activity.onNewIntent() with the new Intent that is being started.
standard 0 The default mode, which will usually create a new instance of the activity when it is started, though this behavior may change with the introduction of other options such as Intent.FLAG_ACTIVITY_NEW_TASK.
Value: 16842781

launchTaskBehindSourceAnimation

Added in API level 21
static val launchTaskBehindSourceAnimation: 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 old task (which is already on the screen and then stays on).

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

Value: 16843922

launchTaskBehindTargetAnimation

Added in API level 21
static val launchTaskBehindTargetAnimation: 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).

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

Value: 16843921

layerType

Added in API level 11
static val layerType: Int

Specifies the type of layer backing this view. The default value is none. Refer to android.view.View#setLayerType(int, android.graphics.Paint) for more information.

Must be one of the following constant values.

Constant Value Description
hardware 2 Use a hardware layer. Refer to android.view.View#setLayerType(int, android.graphics.Paint) for more information.
none 0 Don't use a layer.
software 1 Use a software layer. Refer to android.view.View#setLayerType(int, android.graphics.Paint) for more information.
Value: 16843604

layout

Added in API level 1
static val layout: Int

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.

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

Value: 16842994

layoutAnimation

Added in API level 1
static val layoutAnimation: Int

Defines the layout animation to use the first time the ViewGroup is laid out. Layout animations can also be started manually after the first layout.

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

Value: 16842988

layoutDirection

Added in API level 17
static val layoutDirection: Int

Defines the direction of layout drawing. This typically is associated with writing direction of the language script used. The possible values are "ltr" for Left-to-Right, "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction used in "en-US". The default for this attribute is "inherit".

Must be one of the following constant values.

Constant Value Description
inherit 2 Inherit from parent.
locale 3 Locale.
ltr 0 Left-to-Right.
rtl 1 Right-to-Left.
Value: 16843698

layoutMode

Added in API level 18
static val layoutMode: Int

Defines the layout mode of this ViewGroup.

Must be one of the following constant values.

Constant Value Description
clipBounds 0 Use the children's clip bounds when laying out this container.
opticalBounds 1 Use the children's optical bounds when laying out this container.
Value: 16843738

layout_above

Added in API level 1
static val layout_above: Int

Positions the bottom edge of this view above the given anchor view ID. Accommodates bottom margin of this view and top margin of anchor view.

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

Value: 16843140

layout_alignBaseline

Added in API level 1
static val layout_alignBaseline: Int

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

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

Value: 16843142

layout_alignBottom

Added in API level 1
static val layout_alignBottom: Int

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

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

Value: 16843146

layout_alignEnd

Added in API level 17
static val layout_alignEnd: Int

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

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

Value: 16843706

layout_alignLeft

Added in API level 1
static val layout_alignLeft: Int

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

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

Value: 16843143

layout_alignParentBottom

Added in API level 1
static val layout_alignParentBottom: Int

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

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

Value: 16843150

layout_alignParentEnd

Added in API level 17
static val layout_alignParentEnd: Int

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

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

Value: 16843708

layout_alignParentLeft

Added in API level 1
static val layout_alignParentLeft: Int

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

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

Value: 16843147

layout_alignParentRight

Added in API level 1
static val layout_alignParentRight: Int

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

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

Value: 16843149

layout_alignParentStart

Added in API level 17
static val layout_alignParentStart: Int

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

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

Value: 16843707

layout_alignParentTop

Added in API level 1
static val layout_alignParentTop: Int

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

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

Value: 16843148

layout_alignRight

Added in API level 1
static val layout_alignRight: Int

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

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

Value: 16843145

layout_alignStart

Added in API level 17
static val layout_alignStart: Int

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

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

Value: 16843705

layout_alignTop

Added in API level 1
static val layout_alignTop: Int

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

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

Value: 16843144

layout_alignWithParentIfMissing

Added in API level 1
static val layout_alignWithParentIfMissing: 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.

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

Value: 16843154

layout_below

Added in API level 1
static val layout_below: Int

Positions the top edge of this view below the given anchor view ID. Accommodates top margin of this view and bottom margin of anchor view.

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

Value: 16843141

layout_centerHorizontal

Added in API level 1
static val layout_centerHorizontal: Int

If true, centers this child horizontally within its parent.

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

Value: 16843152

layout_centerInParent

Added in API level 1
static val layout_centerInParent: Int

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

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

Value: 16843151

layout_centerVertical

Added in API level 1
static val layout_centerVertical: Int

If true, centers this child vertically within its parent.

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

Value: 16843153

layout_column

Added in API level 1
static val layout_column: Int

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

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

Value: 16843084

layout_columnSpan

Added in API level 14
static val layout_columnSpan: Int

The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view. The default is one. See android.widget.GridLayout.Spec.

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

Value: 16843645

layout_columnWeight

Added in API level 21
static val layout_columnWeight: Int

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

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

Value: 16843865

layout_gravity

Added in API level 1
static val layout_gravity: Int

Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.

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

Constant Value Description
bottom 50 Push object to the bottom of its container, not changing its size.
center 11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal 1 Place object in the horizontal center of its container, not changing its size.
center_vertical 10 Place object in the vertical center of its container, not changing its size.
clip_horizontal 8 Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical 80 Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end 800005 Push object to the end of its container, not changing its size.
fill 77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal 7 Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical 70 Grow the vertical size of the object if needed so it completely fills its container.
left 3 Push object to the left of its container, not changing its size.
right 5 Push object to the right of its container, not changing its size.
start 800003 Push object to the beginning of its container, not changing its size.
top 30 Push object to the top of its container, not changing its size.
Value: 16842931

layout_height

Added in API level 1
static val layout_height: Int

Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.

Constant Value Description
fill_parent ffffffff The view should be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by match_parent.
match_parent ffffffff The view should be as big as its parent (minus padding). Introduced in API Level 8.
wrap_content fffffffe The view should be only big enough to enclose its content (plus padding).
Value: 16842997

layout_margin

Added in API level 1
static val layout_margin: Int

Specifies extra space on the left, top, right and bottom sides of this view. If both layout_margin and any of layout_marginLeft, layout_marginRight, layout_marginStart, layout_marginEnd, layout_marginTop, and layout_marginBottom are also specified, the layout_margin value will take precedence over the edge-specific values. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842998

layout_marginBottom

Added in API level 1
static val layout_marginBottom: Int

Specifies extra space on the bottom side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843002

layout_marginEnd

Added in API level 17
static val layout_marginEnd: Int

Specifies extra space on the end side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843702

layout_marginHorizontal

Added in API level 26
static val layout_marginHorizontal: Int

Specifies extra space on the left and right sides of this view. Specifying layout_marginHorizontal is equivalent to specifying layout_marginLeft and layout_marginRight. If both layout_marginHorizontal and either/both of layout_marginLeft and layout_marginRight are also specified, the layout_marginHorizontal value will take precedence over the edge-specific values. Also, layout_margin will always take precedence over any of these values, including layout_marginHorizontal. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844091

layout_marginLeft

Added in API level 1
static val layout_marginLeft: Int

Specifies extra space on the left side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842999

layout_marginRight

Added in API level 1
static val layout_marginRight: Int

Specifies extra space on the right side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843001

layout_marginStart

Added in API level 17
static val layout_marginStart: Int

Specifies extra space on the start side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843701

layout_marginTop

Added in API level 1
static val layout_marginTop: Int

Specifies extra space on the top side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843000

layout_marginVertical

Added in API level 26
static val layout_marginVertical: Int

Specifies extra space on the top and bottom sides of this view. Specifying layout_marginVertical is equivalent to specifying layout_marginTop and layout_marginBottom with that same value. If both layout_marginVertical and either/both of layout_marginTop and layout_marginBottom are also specified, the layout_marginVertical value will take precedence over the edge-specific values. Also, layout_margin will always take precedence over any of these values, including layout_marginVertical. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844092

layout_row

Added in API level 14
static val layout_row: Int

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

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

Value: 16843643

layout_rowSpan

Added in API level 14
static val layout_rowSpan: Int

The row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view. The default is one. See android.widget.GridLayout.Spec.

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

Value: 16843644

layout_rowWeight

Added in API level 21
static val layout_rowWeight: Int

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

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

Value: 16843864

layout_scale

Added in API level 1
static val layout_scale: Int

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

Value: 16843155

layout_span

Added in API level 1
static val layout_span: Int

Defines how many columns this child should span. Must be >= 1.

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

Value: 16843085

layout_toEndOf

Added in API level 17
static val layout_toEndOf: Int

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

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

Value: 16843704

layout_toLeftOf

Added in API level 1
static val layout_toLeftOf: Int

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

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

Value: 16843138

layout_toRightOf

Added in API level 1
static val layout_toRightOf: Int

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

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

Value: 16843139

layout_toStartOf

Added in API level 17
static val layout_toStartOf: Int

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

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

Value: 16843703

layout_weight

Added in API level 1
static val layout_weight: Int

Indicates how much of the extra space in the LinearLayout is allocated to the view associated with these LayoutParams. Specify 0 if the view should not be stretched. Otherwise the extra pixels will be pro-rated among all views whose weight is greater than 0.

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

Value: 16843137

layout_width

Added in API level 1
static val layout_width: Int

Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.

Constant Value Description
fill_parent ffffffff The view should be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by match_parent.
match_parent ffffffff The view should be as big as its parent (minus padding). Introduced in API Level 8.
wrap_content fffffffe The view should be only big enough to enclose its content (plus padding).
Value: 16842996

layout_x

Added in API level 1
static val layout_x: Int

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: 16843135

layout_y

Added in API level 1
static val layout_y: Int

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: 16843136

left

Added in API level 1
static val left: Int

Amount of left 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: 16843181

letterSpacing

Added in API level 21
static val letterSpacing: Int

Text letter-spacing.

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

Value: 16843958

level

Added in API level 24
static val level: Int

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

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

Value: 16844032

lineBreakStyle

Added in API level 33
static val lineBreakStyle: Int

Specifies the line-break strategies for text wrapping.

Must be one of the following constant values.

Constant Value Description
loose 1 The least restrictive line-break rules are used for line breaking.
none 0 No line-break rules are used for line breaking.
normal 2 The most common line-break rules are used for line breaking.
strict 3 The most strict line-break rules are used for line breaking.
Value: 16844398

lineBreakWordStyle

Added in API level 33
static val lineBreakWordStyle: Int

Specifies the line-break word strategies for text wrapping.

Must be one of the following constant values.

Constant Value Description
none 0 No line-break word style is used for line breaking.
phrase 1 Line breaking is based on phrases, which results in text wrapping only on meaningful words.
Value: 16844399

lineHeight

Added in API level 28
static val lineHeight: Int

Explicit height between lines of text. If set, this will override the values set for lineSpacingExtra and lineSpacingMultiplier.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844159

lineSpacingExtra

Added in API level 1
static val lineSpacingExtra: Int

Extra spacing between lines of text. The value will not be applied for the last line of 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: 16843287

lineSpacingMultiplier

Added in API level 1
static val lineSpacingMultiplier: Int

Extra spacing between lines of text, as a multiplier. The value will not be applied for the last line of text.

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

Value: 16843288

lines

Added in API level 1
static val lines: Int

Makes the TextView be exactly this many lines tall.

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

Value: 16843092

linksClickable

Added in API level 1
static val linksClickable: 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.

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

Value: 16842929

listChoiceBackgroundIndicator

Added in API level 11
static val listChoiceBackgroundIndicator: Int

Drawable used as a background for selected list items.

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

Value: 16843504

listChoiceIndicatorMultiple

Added in API level 1
static val listChoiceIndicatorMultiple: Int

Drawable to use for multiple choice indicators.

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

Value: 16843290

listChoiceIndicatorSingle

Added in API level 1
static val listChoiceIndicatorSingle: Int

Drawable to use for single choice indicators.

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

Value: 16843289

listDivider

Added in API level 1
static val listDivider: Int

The drawable for the list divider.

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

Value: 16843284

listDividerAlertDialog

Added in API level 11
static val listDividerAlertDialog: Int

The list divider used in alert dialogs.

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

Value: 16843525

listMenuViewStyle

Added in API level 24
static val listMenuViewStyle: Int

Default menu-style ListView style.

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

Value: 16844018

listPopupWindowStyle

Added in API level 11
static val listPopupWindowStyle: Int

Default ListPopupWindow 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: 16843519

listPreferredItemHeight

Added in API level 1
static val listPreferredItemHeight: Int

The preferred list item height.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842829

listPreferredItemHeightLarge

Added in API level 14
static val listPreferredItemHeightLarge: Int

A larger, more robust list item height.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843654

listPreferredItemHeightSmall

Added in API level 14
static val listPreferredItemHeightSmall: Int

A smaller, sleeker list item height.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843655

listPreferredItemPaddingEnd

Added in API level 17
static val listPreferredItemPaddingEnd: Int

The preferred padding along the end edge of list items.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843710

listPreferredItemPaddingLeft

Added in API level 14
static val listPreferredItemPaddingLeft: Int

The preferred padding along the left edge of list items.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843683

listPreferredItemPaddingRight

Added in API level 14
static val listPreferredItemPaddingRight: Int

The preferred padding along the right edge of list items.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843684

listPreferredItemPaddingStart

Added in API level 17
static val listPreferredItemPaddingStart: Int

The preferred padding along the start edge of list items.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843709

listSelector

Added in API level 1
static val listSelector: Int

Drawable used to indicate the currently selected item in the 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: 16843003

listSeparatorTextViewStyle

Added in API level 1
static val listSeparatorTextViewStyle: Int

TextView style for list separators.

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

Value: 16843272

listViewStyle

Added in API level 1
static val listViewStyle: Int

Default ListView style.

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

Value: 16842868

listViewWhiteStyle

Added in API level 1
static val listViewWhiteStyle: Int

ListView with white background.

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

Value: 16842869

localeConfig

Added in API level 33
static val localeConfig: Int

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

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

Value: 16844379

lockTaskMode

Added in API level 23
static val lockTaskMode: Int

This value indicates how tasks rooted at this activity will behave in lockTask mode. While in lockTask mode the system will not launch non-permitted tasks until lockTask mode is disabled.

While in lockTask mode with multiple permitted tasks running, each launched task is permitted to finish, transitioning to the previous locked task, until there is only one task remaining. At that point the last task running is not permitted to finish, unless it uses the value always.

Must be one of the following constant values.

Constant Value Description
always 2 Tasks rooted at this activity will always launch into lockTask mode. If the system is already in lockTask mode when this task is launched then the new task will be launched on top of the current task. Tasks launched in this mode are capable of exiting lockTask mode using android.app.Activity#finish().

Note: This mode is only available to system and privileged applications. Non-privileged apps with this value will be treated as normal.

if_whitelisted 3 If the DevicePolicyManager (DPM) authorizes this package (android.app.admin.DevicePolicyManager#setLockTaskPackages) then this mode is identical to always, except that the activity needs to call android.app.Activity#stopLockTask before being able to finish if it is the last locked task. If the DPM does not authorize this package then this mode is identical to normal.
never 1 Tasks will not launch into lockTask mode and cannot be placed there using android.app.Activity#startLockTask or be pinned from the Overview screen. If the system is already in lockTask mode when a new task rooted at this activity is launched that task will not be started.

Note: This mode is only available to system and privileged applications. Non-privileged apps with this value will be treated as normal.

normal 0 This is the default value. Tasks will not launch into lockTask mode but can be placed there by calling android.app.Activity#startLockTask. If a task with this mode has been allowlisted using android.app.admin.DevicePolicyManager#setLockTaskPackages then calling android.app.Activity#startLockTask will enter lockTask mode immediately, otherwise the user will be presented with a dialog to approve entering pinned mode.

If the system is already in lockTask mode when a new task rooted at this activity is launched that task will or will not start depending on whether the package of this activity has been allowlisted.

Tasks rooted at this activity can only exit lockTask mode using android.app.Activity#stopLockTask.

Value: 16844013
Added in API level 11
static val logo: Int

A Drawable resource providing an extended graphical logo for its associated item. Use with the application tag (to supply a default logo for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific logo for that component). It may also be used with the intent-filter tag to supply a logo to show to the user when an activity is being selected based on a particular Intent.

The given logo will be used to display to the user a graphical representation of its associated component; for example as the header in the Action Bar. The primary differences between an icon and a logo are that logos are often wider and more detailed, and are used without an accompanying text caption. 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: 16843454

logoDescription

Added in API level 23
static val logoDescription: Int

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

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

Value: 16844009

longClickable

Added in API level 1
static val longClickable: Int

Defines whether this view reacts to long click events.

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

Value: 16842982

loopViews

Added in API level 11
static val loopViews: Int

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

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

Value: 16843527

manageSpaceActivity

Added in API level 1
static val manageSpaceActivity: Int

Name of the activity to be launched to manage application's space on device. The specified activity gets automatically launched when the application's space needs to be managed and is usually invoked through user actions. Applications can thus provide their own custom behavior for managing space for various scenarios like out of memory conditions. This is an optional attribute and applications can choose not to specify a default activity to manage space.

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

Value: 16842756

mapViewStyle

Added in API level 1
static val mapViewStyle: Int

Default MapView 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: 16842890

marqueeRepeatLimit

Added in API level 2
static val marqueeRepeatLimit: Int

The number of times to repeat the marquee animation. Only applied if the TextView has marquee enabled.

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

Must be one of the following constant values.

Constant Value Description
marquee_forever ffffffff Indicates that marquee should repeat indefinitely.
Value: 16843293

matchOrder

Added in API level 21
static val matchOrder: Int

The match order to use for the transition. This is a comma-separated list of values, containing one or more of the following: id, itemId, name, instance. These correspond to android.transition.Transition#MATCH_ID, android.transition.Transition#MATCH_ITEM_ID, android.transition.Transition#MATCH_NAME, and android.transition.Transition#MATCH_INSTANCE, respectively. This corresponds to android.transition.Transition#setMatchOrder(int...).

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

Value: 16843855

max

Added in API level 1
static val max: Int

Defines the maximum value.

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

Value: 16843062

maxAspectRatio

Added in API level 26
static val maxAspectRatio: Int

This value indicates the maximum aspect ratio the activity supports. If the app runs on a device with a wider aspect ratio, the system automatically letterboxes the app, leaving portions of the screen unused so the app can run at its specified maximum aspect ratio.

Maximum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal form. For example, if the maximum aspect ratio is 7:3, set value to 2.33.

Value needs to be greater or equal to 1.0, otherwise it is ignored.

NOTE: This attribute is ignored if the activity has android.R.attr#resizeableActivity set to true.

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

Value: 16844128

maxButtonHeight

Added in API level 24
static val maxButtonHeight: Int

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: 16844029

maxDate

Added in API level 11
static val maxDate: Int

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

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

Value: 16843584

maxEms

Added in API level 1
static val maxEms: Int

Makes the TextView be at most this many ems wide.

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

Value: 16843095

maxHeight

Added in API level 1
static val maxHeight: Int

An optional argument to supply a maximum height for this view. See {see android.widget.ImageView#setMaxHeight} 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: 16843040

maxItemsPerRow

Added in API level 1
static val maxItemsPerRow: Int

Defines the maximum number of items per row.

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

Value: 16843060

maxLength

Added in API level 1
static val maxLength: Int

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

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

Value: 16843104

maxLevel

Added in API level 1
static val maxLevel: Int

The maximum level allowed for this item.

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

Value: 16843186

maxLines

Added in API level 1
static val maxLines: Int

Makes the TextView be at most this many lines tall. When used on an editable text, the inputType attribute's value must be combined with the textMultiLine flag for the maxLines attribute to apply.

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

Value: 16843091

maxLongVersionCode

Added in API level 28
static val maxLongVersionCode: Int

The max version code of the package for which compatibility mode is requested. This corresponds to the long value returned by android.content.pm.PackageInfo#getLongVersionCode() for the target package.

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

Value: 16844163

maxRecents

Added in API level 21
static val maxRecents: Int

The maximum number of entries of tasks rooted at this activity in the recent task list. When this number of entries is reached the least recently used instance of this activity will be removed from recents. The value will be clamped between 1 and 100 inclusive. The default value for this if it is not specified is 15.

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

Value: 16843846

maxResizeHeight

Added in API level 31
static val maxResizeHeight: Int

Maximum height that the AppWidget can be resized to.

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: 16844339

maxResizeWidth

Added in API level 31
static val maxResizeWidth: Int

Maximum width that the AppWidget can be resized to.

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: 16844338

maxRows

Added in API level 1
static val maxRows: Int

Defines the maximum number of rows displayed.

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

Value: 16843059

maxSdkVersion

Added in API level 4
static val maxSdkVersion: Int

Optional: specify the maximum version of the Android OS for which the application wishes to request the permission. When running on a version of Android higher than the number given here, the permission will not be requested.

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

Value: 16843377

maxWidth

Added in API level 1
static val maxWidth: Int

An optional argument to supply a maximum width for this view. See {see android.widget.ImageView#setMaxWidth} 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: 16843039

maximumAngle

Added in API level 21
static val maximumAngle: Int

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

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

Value: 16843903

measureAllChildren

Added in API level 1
static val measureAllChildren: Int

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

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

Value: 16843018

measureWithLargestChild

Added in API level 11
static val measureWithLargestChild: Int

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

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

Value: 16843476

mediaRouteButtonStyle

Added in API level 16
static val mediaRouteButtonStyle: Int

Default style for the MediaRouteButton widget.

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

Value: 16843693

mediaRouteTypes

Added in API level 16
static val mediaRouteTypes: Int

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

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

Must be one of the following constant values.

Constant Value Description
liveAudio 1 Allow selection of live audio routes.
user 800000 Allow selection of user (app-specified) routes.
Value: 16843694

memtagMode

Added in API level 31
static val memtagMode: Int

Enable hardware memory tagging (ARM MTE) in this process. When enabled, heap memory bugs like use-after-free and buffer overflow are detected and result in an immediate ("sync" mode) or delayed ("async" mode) crash instead of a silent memory corruption. Sync mode, while slower, provides enhanced bug reports including stack traces at the time of allocation and deallocation of memory, similar to AddressSanitizer. See the ARM announcement for more details.

This attribute can be applied to a process tag, or to an application tag (to supply a default setting for all application components).

Must be one of the following constant values.

Constant Value Description
async 1
default ffffffff
off 0
sync 2
Value: 16844324
Added in API level 1
static val menuCategory: Int

The category applied to all items within this group. (This will be or'ed with the orderInCategory attribute.)

Must be one of the following constant values.

Constant Value Description
alternative 40000 Items are alternative actions.
container 10000 Items are part of a container.
secondary 30000 Items are user-supplied secondary (infrequently used).
system 20000 Items are provided by the system.
Value: 16843230

mimeGroup

Added in API level 30
static val mimeGroup: Int

Specify a group of MIME types that are handled. MIME types can be added and removed to a package's MIME group via the PackageManager.

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

Value: 16844309

mimeType

Added in API level 1
static val mimeType: Int

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

Note: MIME type matching in the Android framework is case-sensitive, unlike formal RFC MIME types. As a result, MIME types here should always use lower case letters.

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

Value: 16842790

min

Added in API level 26
static val min: Int

Defines the minimum value.

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

Value: 16844089

minAspectRatio

Added in API level 29
static val minAspectRatio: Int

This value indicates the minimum aspect ratio the activity supports. If the app runs on a device with a narrower aspect ratio, the system automatically letterboxes the app, leaving portions of the screen unused so the app can run at its specified minimum aspect ratio.

Minimum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal form. For example, if the minimum aspect ratio is 4:3, set value to 1.33.

Value needs to be greater or equal to 1.0, otherwise it is ignored.

NOTE: This attribute is ignored if the activity has android.R.attr#resizeableActivity set to true.

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

Value: 16844187

minDate

Added in API level 11
static val minDate: Int

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

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

Value: 16843583

minEms

Added in API level 1
static val minEms: Int

Makes the TextView be at least this many ems wide.

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

Value: 16843098

minHeight

Added in API level 1
static val minHeight: Int

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: 16843072

minLevel

Added in API level 1
static val minLevel: Int

The minimum level allowed for this item.

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

Value: 16843185

minLines

Added in API level 1
static val minLines: Int

Makes the TextView be at least this many lines tall. When used on an editable text, the inputType attribute's value must be combined with the textMultiLine flag for the minLines attribute to apply.

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

Value: 16843094

minResizeHeight

Added in API level 14
static val minResizeHeight: Int

Minimum height that the AppWidget can be resized to.

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: 16843670

minResizeWidth

Added in API level 14
static val minResizeWidth: Int

Minimum width that the AppWidget can be resized to.

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: 16843669

minSdkVersion

Added in API level 1
static val minSdkVersion: Int

This is the minimum SDK version number that the application requires. This number is an abstract integer, from the list in android.os.Build.VERSION_CODES If not supplied, the application will work on any SDK. This may also be string (such as "Donut") if the application was built against a development branch, in which case it will only work against the development builds.

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: 16843276

minWidth

Added in API level 1
static val minWidth: Int

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: 16843071

minimumHorizontalAngle

Added in API level 21
static val minimumHorizontalAngle: Int

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

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

Value: 16843901

minimumVerticalAngle

Added in API level 21
static val minimumVerticalAngle: Int

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

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

Value: 16843902

mipMap

Added in API level 18
static val mipMap: Int

Enables or disables the mipmap hint. See android.graphics.Bitmap#setHasMipMap(boolean) for more information. Default value is false.

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

Value: 16843725

mirrorForRtl

Added in API level 18
static val mirrorForRtl: Int

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

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

Value: 16843726

mode

Added in API level 1
static val mode: Int

Must be one of the following constant values.

Constant Value Description
collapsing 2 When selected show both lines, otherwise show only the first line. This is the default mode.
oneLine 1 Always show only the first line.
twoLine 3 Always show both lines.
Value: 16843134

moreIcon

Added in API level 1
static val moreIcon: Int

'More' 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: 16843061

multiArch

Added in API level 21
static val multiArch: Int

Declare that code from this application will need to be loaded into other applications' processes. On devices that support multiple instruction sets, this implies the code might be loaded into a process that's using any of the devices supported instruction sets.

The system might treat such applications specially, for eg., by extracting the application's native libraries for all supported instruction sets or by compiling the application's dex code for all supported instruction sets.

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

Value: 16843918

multiprocess

Added in API level 1
static val multiprocess: Int

Specify whether a component is allowed to have multiple instances of itself running in different processes. Use with the activity and provider tags.

Normally the system will ensure that all instances of a particular component are only running in a single process. You can use this attribute to disable that behavior, allowing the system to create instances wherever they are used (provided permissions allow it). This is most often used with content providers, so that instances of a provider can be created in each client process, allowing them to be used without performing IPC.

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

Value: 16842771

name

Added in API level 1
static val name: Int

A unique name for the given item. This must use a Java-style naming convention to ensure the name is unique, for example "com.mycompany.MyName".

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

Value: 16842755

nativeHeapZeroInitialized

Added in API level 31
static val nativeHeapZeroInitialized: Int

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

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

Value: 16844325
Added in API level 21
static val navigationBarColor: Int

The color for the navigation bar. If the color is not opaque, consider setting android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE and android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION. For this to take effect, the window must be drawing the system bar backgrounds with android.R.attr#windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with android.R.attr#windowTranslucentNavigation. Corresponds to android.view.Window#setNavigationBarColor(int).

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

Value: 16843858
Added in API level 27
static val navigationBarDividerColor: Int

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

For this to take effect, the window must be drawing the system bar backgrounds with android.R.attr#windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with android.R.attr#windowTranslucentNavigation. Corresponds to android.view.Window#setNavigationBarDividerColor(int).

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

Value: 16844141
Added in API level 21
static val navigationContentDescription: Int

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

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

Value: 16843969
Added in API level 21
static val navigationIcon: Int

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

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

Value: 16843968
Added in API level 11
static val navigationMode: Int

The type of navigation to use.

Must be one of the following constant values.

Constant Value Description
listMode 1 The action bar will use a selection list for navigation.
normal 0 Normal static title text.
tabMode 2 The action bar will use a series of horizontal tabs for navigation.
Value: 16843471

negativeButtonText

Added in API level 1
static val negativeButtonText: Int

The negative button text for the dialog. Set to @null to hide the negative button.

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

Value: 16843254

nestedScrollingEnabled

Added in API level 21
static val nestedScrollingEnabled: Int

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

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

Value: 16843830

networkSecurityConfig

Added in API level 24
static val networkSecurityConfig: Int

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

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

Value: 16844071

nextClusterForward

Added in API level 26
static val nextClusterForward: Int

Defines the next keyboard navigation cluster. 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.

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

Value: 16844098

nextFocusDown

Added in API level 1
static val nextFocusDown: 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.

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

Value: 16842980

nextFocusForward

Added in API level 11
static val nextFocusForward: 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.

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

Value: 16843580

nextFocusLeft

Added in API level 1
static val nextFocusLeft: Int

Defines the next view to give focus to when the next focus is android.view.View#FOCUS_LEFT. 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.

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

Value: 16842977

nextFocusRight

Added in API level 1
static val nextFocusRight: 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.

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

Value: 16842978

nextFocusUp

Added in API level 1
static val nextFocusUp: 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.

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

Value: 16842979

noHistory

Added in API level 3
static val noHistory: Int

Specify whether an activity should be kept in its history stack. If this attribute is set, then as soon as the user navigates away from the activity it will be finished and they will no longer be able to return to it.

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

Value: 16843309

nonInteractiveUiTimeout

Added in API level 29
static val nonInteractiveUiTimeout: 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. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

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

Value: 16844175

normalScreens

Added in API level 4
static val normalScreens: Int

Indicates whether an application supports the normal screen form-factors. Traditionally this is an HVGA normal density screen, but WQVGA low density and WVGA high density are also considered to be normal. This attribute is true by default, and applications currently should leave it that way.

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

Value: 16843397

notificationTimeout

Added in API level 14
static val notificationTimeout: Int

The minimal period in milliseconds between two accessibility events of the same type are sent to this service. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

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

Value: 16843651

numColumns

Added in API level 1
static val numColumns: Int

Defines how many columns to show.

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

Must be one of the following constant values.

Constant Value Description
auto_fit ffffffff Display as many columns as possible to fill the available space.
Value: 16843032

numStars

Added in API level 1
static val numStars: Int

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

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

Value: 16843076

numberPickerStyle

Added in API level 24
static val numberPickerStyle: Int

NumberPicker 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: 16844068

numbersBackgroundColor

Added in API level 21
static val numbersBackgroundColor: Int

The background color for the hours/minutes numbers.

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

Value: 16843938

numbersInnerTextColor

Added in API level 23
static val numbersInnerTextColor: Int

The color for the inner hours numbers used in 24-hour mode. This should be a color state list where the activated state will be used when the number is active.

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

Value: 16844001

numbersSelectorColor

Added in API level 21
static val numbersSelectorColor: Int

The color for the hours/minutes selector.

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

Value: 16843939

numbersTextColor

Added in API level 21
static val numbersTextColor: Int

The color for the hours/minutes numbers. This should be a color state list where the activated state will be used when the number is active.

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

Value: 16843937

numeric

Added in API level 1
Deprecated in API level 15
static val numeric: Int

Deprecated: Deprecated in Java.

If set, specifies that this TextView has a numeric input method. The default is false. {@deprecated Use inputType instead.}

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

Constant Value Description
decimal 5 Input is numeric, with decimals allowed.
integer 1 Input is numeric.
signed 3 Input is numeric, with sign allowed.
Value: 16843109

numericModifiers

Added in API level 26
static val numericModifiers: Int

The numeric modifier key. This is the modifier when using a numeric (for example, 12-key) keyboard. The values should be kept in sync with KeyEvent

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

Constant Value Description
ALT 2
CTRL 1000
FUNCTION 8
META 10000
SHIFT 1
SYM 4
Value: 16844111

numericShortcut

Added in API level 1
static val numericShortcut: Int

The numeric shortcut key. This is the shortcut when using a numeric (for example, 12-key) keyboard.

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

Value: 16843236

offset

Added in API level 24
static val offset: Int

The offset (or ratio) of this current color item inside the gradient. The value is only meaningful when it is between 0 and 1.

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

Value: 16844052

onClick

Added in API level 4
Deprecated in API level 31
static val onClick: Int

Deprecated: Deprecated in Java.

Name of the method in this View's context to invoke when the view is clicked. This name must correspond to a public method that takes exactly one parameter of type View. For instance, if you specify android:onClick="sayHello", you must declare a public void sayHello(View v) method of your context (typically, your Activity). {@deprecated View actually traverses the Context * hierarchy looking for the relevant method, which is fragile (an intermediate * ContextWrapper adding a same-named method would change behavior) and restricts * bytecode optimizers such as R8. Instead, use View.setOnClickListener.}

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

Value: 16843375

oneshot

Added in API level 1
static val oneshot: Int

If true, the animation will only run a single time and then stop. If false (the default), it will continually run, restarting at the first frame after the last has finished.

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

Value: 16843159

opacity

Added in API level 11
static val opacity: Int

Indicates the opacity of the layer. This can be useful to allow the system to enable drawing optimizations. The default value is translucent.

Must be one of the following constant values.

Constant Value Description
opaque ffffffff Indicates that the layer is opaque and contains no transparent nor translucent pixels.
translucent fffffffd The layer has translucent pixels.
transparent fffffffe The layer is completely transparent (no pixel will be drawn).
Value: 16843550

opticalInsetBottom

Added in API level 29
static val opticalInsetBottom: Int

Bottom optical inset.

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: 16844171

opticalInsetLeft

Added in API level 29
static val opticalInsetLeft: Int

Left optical inset.

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: 16844168

opticalInsetRight

Added in API level 29
static val opticalInsetRight: Int

Right optical inset.

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: 16844170

opticalInsetTop

Added in API level 29
static val opticalInsetTop: Int

Top optical inset.

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: 16844169

order

Added in API level 1
static val order: Int

The order for the Preference (lower values are to be ordered first). If this is not specified, the default ordering will be alphabetic.

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

Value: 16843242

orderInCategory

Added in API level 1
static val orderInCategory: Int

The order within the category applied to all items within this group. (This will be or'ed with the category attribute.)

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

Value: 16843231

ordering

Added in API level 11
static val ordering: Int

Name of the property being animated.

Must be one of the following constant values.

Constant Value Description
sequentially 1 child animations should be played sequentially, in the same order as the xml.
together 0 child animations should be played together.
Value: 16843490

orderingFromXml

Added in API level 1
static val orderingFromXml: Int

Whether to order the Preference under this group as they appear in the XML file. If this is false, the ordering will follow the Preference order attribute and default to alphabetic for those without the order attribute.

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

Value: 16843239

orientation

Added in API level 1
static val orientation: Int

Standard orientation constant.

Must be one of the following constant values.

Constant Value Description
horizontal 0 Defines an horizontal widget.
vertical 1 Defines a vertical widget.
Value: 16842948

outAnimation

Added in API level 1
static val outAnimation: Int

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

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

Value: 16843128

outlineAmbientShadowColor

Added in API level 28
static val outlineAmbientShadowColor: Int

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

By default the shadow color is black. Generally, this color will be opaque so the intensity of the shadow is consistent between different views with different colors.

The opacity of the final ambient shadow is a function of the shadow caster height, the alpha channel of the outlineAmbientShadowColor (typically opaque), and the android.R.attr#ambientShadowAlpha theme attribute.

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

Value: 16844162

outlineProvider

Added in API level 21
static val outlineProvider: Int

ViewOutlineProvider used to determine the View's Outline.

Must be one of the following constant values.

Constant Value Description
background 0 Default, background drawable-driven outline.
bounds 2 Generates an opaque outline for the bounds of the view.
none 1 No outline provider.
paddedBounds 3 Generates an opaque outline for the padded bounds of the view.
Value: 16843960

outlineSpotShadowColor

Added in API level 28
static val outlineSpotShadowColor: Int

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

By default the shadow color is black. Generally, this color will be opaque so the intensity of the shadow is consistent between different views with different colors.

The opacity of the final spot shadow is a function of the shadow caster height, the alpha channel of the outlineSpotShadowColor (typically opaque), and the android.R.attr#spotShadowAlpha theme attribute.

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

Value: 16844161

overScrollFooter

Added in API level 9
static val overScrollFooter: Int

Drawable to draw below list content.

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: 16843459

overScrollHeader

Added in API level 9
static val overScrollHeader: Int

Drawable to draw above list content.

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: 16843458

overScrollMode

Added in API level 9
static val overScrollMode: Int

Defines over-scrolling behavior. This property is used only if the View is scrollable. Over-scrolling is the ability for the user to receive feedback when attempting to scroll beyond meaningful content.

Must be one of the following constant values.

Constant Value Description
always 0 Always show over-scroll effects, even if the content fits entirely within the available space.
ifContentScrolls 1 Only show over-scroll effects if the content is large enough to meaningfully scroll.
never 2 Never show over-scroll effects.
Value: 16843457

overlapAnchor

Added in API level 21
static val overlapAnchor: Int

Whether the popup window should overlap its anchor view.

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

Value: 16843874

overridesImplicitlyEnabledSubtype

Added in API level 14
static val overridesImplicitlyEnabledSubtype: Int

Set true when this subtype should be selected by default if no other subtypes are selected explicitly. Note that a subtype with this parameter being true will not be shown in the subtypes list.

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

Value: 16843682

packageNames

Added in API level 14
static val packageNames: Int

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

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

Value: 16843649

packageType

Added in API level 29
static val packageType: Int

Required type of association with the package, for example "android.package.ad_service" if it provides an advertising service. This should use the standard scoped naming convention as used for other things such as package names, based on the Java naming convention.

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

Value: 16844167

padding

Added in API level 1
static val padding: Int

Sets the padding, in pixels, of all four edges. Padding is defined as space between the edges of the view and the view's content. This value will take precedence over any of the edge-specific values (paddingLeft, paddingTop, paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will not override paddingStart or paddingEnd, if set. A view's size will include its padding. If a android.R.attr#background is provided, the padding will initially be set to that (0 if the drawable does not have padding). Explicitly setting a padding value will override the corresponding padding found in the background.

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: 16842965

paddingBottom

Added in API level 1
static val paddingBottom: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842969

paddingEnd

Added in API level 17
static val paddingEnd: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843700

paddingHorizontal

Added in API level 26
static val paddingHorizontal: Int

Sets the padding, in pixels, of the left and right edges; see android.R.attr#padding. This value will take precedence over paddingLeft and paddingRight, but not paddingStart or paddingEnd (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: 16844093

paddingLeft

Added in API level 1
static val paddingLeft: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842966

paddingMode

Added in API level 21
static val paddingMode: Int

Indicates how layer padding should affect the bounds of subsequent layers. The default padding mode value is nest.

Must be one of the following constant values.

Constant Value Description
nest 0 Nest each layer inside the padding of the previous layer.
stack 1 Stack each layer directly atop the previous layer.
Value: 16843863

paddingRight

Added in API level 1
static val paddingRight: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842968

paddingStart

Added in API level 17
static val paddingStart: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843699

paddingTop

Added in API level 1
static val paddingTop: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842967

paddingVertical

Added in API level 26
static val paddingVertical: Int

Sets the padding, in pixels, of the top and bottom edges; see android.R.attr#padding. This value will take precedence over paddingTop and paddingBottom, 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: 16844094

panelBackground

Added in API level 1
static val panelBackground: Int

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

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

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

Value: 16842846

panelColorBackground

Added in API level 1
static val panelColorBackground: Int

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

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: 16842849

panelColorForeground

Added in API level 1
static val panelColorForeground: Int

Default color of foreground panel imagery.

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: 16842848

panelFullBackground

Added in API level 1
static val panelFullBackground: Int

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

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

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

Value: 16842847

panelTextAppearance

Added in API level 1
static val panelTextAppearance: Int

Default appearance of panel 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: 16842850

parentActivityName

Added in API level 16
static val parentActivityName: Int

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

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

Value: 16843687

password

Added in API level 1
Deprecated in API level 15
static val password: Int

Deprecated: Deprecated in Java.

Whether the characters of the field are displayed as password dots instead of themselves. {@deprecated Use inputType instead.}

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

Value: 16843100

passwordsActivity

Added in API level 31
static val passwordsActivity: Int

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

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

Value: 16844351

path

Added in API level 1
static val path: Int

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

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

Value: 16842794

pathAdvancedPattern

Added in API level 31
static val pathAdvancedPattern: Int

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

Value: 16844320

pathData

Added in API level 21
static val pathData: Int

The specification of the operations that define the path.

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

Value: 16843781

pathPattern

Added in API level 1
static val pathPattern: Int

Specify a URI path that matches a simple pattern, as per android.os.PatternMatcher with android.os.PatternMatcher#PATTERN_SIMPLE_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

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

Value: 16842796

pathPrefix

Added in API level 1
static val pathPrefix: Int

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

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

Value: 16842795

pathSuffix

Added in API level 31
static val pathSuffix: Int

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

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

Value: 16844318

patternPathData

Added in API level 21
static val patternPathData: Int

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

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

Value: 16843978

permission

Added in API level 1
static val permission: Int

Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security and Permissions document for more information on permissions.

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

Value: 16842758

permissionFlags

Added in API level 17
static val permissionFlags: Int

Flags indicating more context for a permission.

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

Constant Value Description
costsMoney 1 Set to indicate that this permission allows an operation that may cost the user money. Such permissions may be highlighted when shown to the user with this additional information.
hardRestricted 4 This permission is restricted by the platform and it would be grantable only to apps that meet special criteria per platform policy.
immutablyRestricted 10 This permission is restricted immutably which means that its restriction state may be specified only on the first install of the app and will stay in this initial allowlist state until the app is uninstalled.
installerExemptIgnored 20 Modifier for permission restriction. This permission cannot be exempted by the installer.
removed 2 Additional flag from base permission type: this permission has been removed and it is no longer enforced. It shouldn't be shown in the UI. Removed permissions are kept as normal permissions for backwards compatibility as apps may be checking them before calling an API.
softRestricted 8 This permission is restricted by the platform and it would be grantable in its full form to apps that meet special criteria per platform policy. Otherwise, a weaker form of the permission would be granted. The weak grant depends on the permission.

What weak grant means is described in the documentation of the permissions.

Value: 16843719

permissionGroup

Added in API level 1
static val permissionGroup: Int

Specified the name of a group that this permission is associated with. The group must have been defined with the permission-group tag.

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

Value: 16842762

permissionGroupFlags

Added in API level 17
static val permissionGroupFlags: Int

Flags indicating more context for a permission group.

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

Constant Value Description
personalInfo 1 Set to indicate that this permission group contains permissions protecting access to some information that is considered personal to the user (such as contacts, e-mails, etc).
Value: 16843717

persistableMode

Added in API level 21
static val persistableMode: Int

Define how an activity persist across reboots. Activities defined as "never" will not be persisted. Those defined as "always" will be persisted. Those defined as "taskOnly" will persist the root activity of the task only. See below for more detail as to what gets persisted.

Must be one of the following constant values.

Constant Value Description
persistAcrossReboots 2 If this activity forms the root of a task then the task and this activity will be persisted across reboots. If the activity above this activity is also tagged with the attribute "persist" then it will be persisted as well. And so on up the task stack until either an activity without the persistableMode="persistAcrossReboots" attribute or one that was launched with the flag Intent.FLAG_CLEAR_TASK_WHEN_RESET is encountered.

Activities that are declared with the persistAcrossReboots attribute will be provided with a PersistableBundle in onSavedInstanceState(), These activities may use this PeristableBundle to save their state. Then, following a reboot, that PersistableBundle will be provided back to the activity in its onCreate() method.

persistNever 1 If this activity forms the root of a task then that task will not be persisted across reboots
persistRootOnly 0 The default. If this activity forms the root of a task then that task will be persisted across reboots but only the launching intent will be used. If the task relinquishes its identity then the intent used is that of the topmost inherited identity. All activities above this activity in the task will not be persisted. In addition this activity will not be passed a PersistableBundle into which it could have stored its state.
Value: 16843821

persistent

Added in API level 1
static val persistent: Int

Flag to control special persistent mode of an application. This should not normally be used by applications; it requires that the system keep your application running at all times.

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

Value: 16842765

persistentDrawingCache

Added in API level 1
static val persistentDrawingCache: Int

Defines the persistence of the drawing cache. The drawing cache might be enabled by a ViewGroup for all its children in specific situations (for instance during a scrolling.) This property lets you persist the cache in memory after its initial usage. Persisting the cache consumes more memory but may prevent frequent garbage collection if the cache is created over and over again. By default the persistence is set to scrolling. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.

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

Constant Value Description
all 3 The drawing cache is always persisted.
animation 1 The drawing cache is persisted after a layout animation.
none 0 The drawing cache is not persisted after use.
scrolling 2 The drawing cache is persisted after a scroll.
Value: 16842990

persistentWhenFeatureAvailable

Added in API level 26
static val persistentWhenFeatureAvailable: Int

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

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

Value: 16844131

phoneNumber

Added in API level 1
Deprecated in API level 15
static val phoneNumber: Int

Deprecated: Deprecated in Java.

If set, specifies that this TextView has a phone number input method. The default is false. {@deprecated Use inputType instead.}

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

Value: 16843111

physicalKeyboardHintLanguageTag

Added in API level 34
static val physicalKeyboardHintLanguageTag: Int

The BCP-47 Language Tag of the preferred physical keyboard of the subtype. If it's not specified, android.R.styleable#InputMethod_Subtype_languageTag will be used. See also android.view.inputmethod.InputMethodSubtype#getPhysicalKeyboardHintLanguageTag.

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

Value: 16844411

physicalKeyboardHintLayoutType

Added in API level 34
static val physicalKeyboardHintLayoutType: Int

The layout type of the preferred physical keyboard of the subtype. It matches the layout type string in the keyboard layout definition. See also android.view.inputmethod.InputMethodSubtype#getPhysicalKeyboardHintLayoutType.

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

Value: 16844412

pivotX

Added in API level 1
static val pivotX: Int

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: 16843189

pivotY

Added in API level 1
static val pivotY: Int

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: 16843190

pointerIcon

Added in API level 24
static val pointerIcon: Int

Must be one of the following constant values.

Constant Value Description
alias 3f2 Pointer icon of 'alias', indicating an alias of/shortcut to something is to be created.
all_scroll 3f5 Pointer icon of four-way arrows, indicating scrolling all direction.
arrow 3e8 The default icon of arrow pointer.
cell 3ee Pointer icon for cell and grid.
context_menu 3e9 Pointer icon indicating context-menu will appear.
copy 3f3 Pointer icon of 'copy', used for drag/drop.
crosshair 3ef Pointer icon of crosshair, indicating to spot a location.
grab 3fc Pointer icon of a hand sign to grab something.
grabbing 3fd Pointer icon of a hand sign while grabbing something.
hand 3ea Pointer icon of a hand with the index finger.
handwriting 3fe Pointer icon indicating handwriting.
help 3eb Pointer icon indicating help.
horizontal_double_arrow 3f6 Pointer icon of horizontal double arrow, indicating horizontal resize.
no_drop 3f4 Pointer icon of 'no-drop', indicating the drop will not be accepted at the current location.
none 0 Null icon, pointer becomes invisible.
text 3f0 Pointer icon of I-beam, usually for text.
top_left_diagonal_double_arrow 3f9 Pointer icon of diagonal double arrow, starting from top-left to bottom-right. Indicating freeform resize.
top_right_diagonal_double_arrow 3f8 Pointer icon of diagonal double arrow, starting from top-right to bottom-left. Indicating freeform resize.
vertical_double_arrow 3f7 Pointer icon of vertical double arrow, indicating vertical resize.
vertical_text 3f1 Pointer icon of I-beam with 90-degree rotated, for vertical text.
wait 3ec Pointer icon indicating something is going on and waiting.
zoom_in 3fa Pointer icon indicating zoom-in.
zoom_out 3fb Pointer icon indicating zoom-out.
Value: 16844041

popupAnimationStyle

Added in API level 9
static val popupAnimationStyle: Int

The animation style to use for the popup window.

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

Value: 16843465

popupBackground

Added in API level 1
static val popupBackground: Int

The background to use for the popup window.

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

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

Value: 16843126

popupCharacters

Added in API level 3
Deprecated in API level 29
static val popupCharacters: Int

Deprecated: Deprecated in Java.

The characters to display in the popup keyboard. {@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;

Value: 16843332

popupElevation

Added in API level 21
static val popupElevation: Int

Window elevation to use for the popup window.

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: 16843916

popupEnterTransition

Added in API level 24
static val popupEnterTransition: Int

Transition used to move views into the popup window.

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

Value: 16844063

popupExitTransition

Added in API level 24
static val popupExitTransition: Int

Transition used to move views out of the popup window.

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

Value: 16844064

popupKeyboard

Added in API level 3
Deprecated in API level 29
static val popupKeyboard: Int

Deprecated: Deprecated in Java.

The XML keyboard layout of any popup keyboard. {@deprecated Copy this definition into your own application project.}

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

Value: 16843331

popupLayout

Added in API level 3
Deprecated in API level 29
static val popupLayout: Int

Deprecated: Deprecated in Java.

Layout resource for popup keyboards. {@deprecated Copy this definition into your own application project.}

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

Value: 16843323

popupMenuStyle

Added in API level 11
static val popupMenuStyle: Int

Default PopupMenu style.

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

Value: 16843520

popupTheme

Added in API level 21
static val popupTheme: Int

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

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

Value: 16843945

popupWindowStyle

Added in API level 1
static val popupWindowStyle: Int

Default PopupWindow style.

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

Value: 16842870

port

Added in API level 1
static val port: Int

Specify a URI authority port that is handled, as per IntentFilter.addDataAuthority(). If a host is supplied but not a port, any port is matched.

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

Value: 16842793

positiveButtonText

Added in API level 1
static val positiveButtonText: Int

The positive button text for the dialog. Set to @null to hide the positive button.

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

Value: 16843253

preferKeepClear

Added in API level 33
static val preferKeepClear: Int

Sets a preference to keep the bounds of this view clear from floating windows above this view's window. This informs the system that the view is considered a vital area for the user and that ideally it should not be covered. Setting this is only appropriate for UI where the user would likely take action to uncover it.

The system will try to respect this, but when not possible will ignore it.

This is equivalent to android.view.View#setPreferKeepClear.

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

Value: 16844381

preferMinimalPostProcessing

Added in API level 30
static val preferMinimalPostProcessing: Int

Indicates whether the activity wants the connected display to do minimal post processing on the produced image or video frames. This will only be requested if this activity's main window is visible on the screen.

This setting should be used when low latency has a higher priority than image enhancement processing (e.g. for games or video conferencing).

If the Display sink is connected via HDMI, the device will begin to send infoframes with Auto Low Latency Mode enabled and Game Content Type. This will switch the connected display to a minimal image processing mode (if available), which reduces latency, improving the user experience for gaming or video conferencing applications. For more information, see HDMI 2.1 specification.

If the Display sink has an internal connection or uses some other protocol than HDMI, effects may be similar but implementation-defined.

The ability to switch to a mode with minimal post proessing may be disabled by a user setting in the system settings menu. In that case, this field is ignored and the display will remain in its current mode.

See android.content.pm.ActivityInfo#FLAG_PREFER_MINIMAL_POST_PROCESSING

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

Value: 16844300

preferenceCategoryStyle

Added in API level 1
static val preferenceCategoryStyle: Int

Default style for PreferenceCategory.

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

Value: 16842892

preferenceFragmentStyle

Added in API level 24
static val preferenceFragmentStyle: Int

Default style for Headers pane in PreferenceActivity.

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

Value: 16844038

preferenceInformationStyle

Added in API level 1
static val preferenceInformationStyle: Int

Default style for informational Preference.

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

Value: 16842893

preferenceLayoutChild

Added in API level 1
static val preferenceLayoutChild: Int

The preference layout that has the child/tabbed effect.

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

Value: 16842900

preferenceScreenStyle

Added in API level 1
static val preferenceScreenStyle: Int

Default style for PreferenceScreen.

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

Value: 16842891

preferenceStyle

Added in API level 1
static val preferenceStyle: Int

Default style for Preference.

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

Value: 16842894

presentationTheme

Added in API level 17
static val presentationTheme: Int

Theme to use for presentations 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: 16843712

preserveLegacyExternalStorage

Added in API level 30
static val preserveLegacyExternalStorage: Int

If true this app would like to preserve the legacy storage model from a previously installed version. Note that this may not always be respected due to policy or backwards compatibility reasons.

This has no effect on the first install of an app on a device. For an updating app, setting this to true will preserve the legacy behaviour configured by the requestLegacyExternalStorage flag. If on an update, this flag is set to false then the legacy access is not preserved, such an app can only have legacy access with the requestLegacyExternalStorage flag.

The default value is false.

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

Value: 16844308

previewImage

Added in API level 11
static val previewImage: Int

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

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

Value: 16843482

previewLayout

Added in API level 31
static val previewLayout: Int

The layout resource id of a preview of what the AppWidget will look like after it's configured. Unlike previewImage, previewLayout can better showcase AppWidget in different locales, system themes, display sizes & density etc. If supplied, this will take precedence over the previewImage on supported widget hosts. Otherwise, previewImage 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: 16844327

primaryContentAlpha

Added in API level 26
static val primaryContentAlpha: Int

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

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

Value: 16844114

priority

Added in API level 1
static val priority: Int

Specify the relative importance or ability in handling a particular Intent. For receivers, this controls the order in which they are executed to receive a broadcast (note that for asynchronous broadcasts, this order is ignored). For activities, this provides information about how good an activity is handling an Intent; when multiple activities match an intent and have different priorities, only those with the higher priority value will be considered a match.

Only use if you really need to impose some specific order in which the broadcasts are received, or want to forcibly place an activity to always be preferred over others. The value is a single integer, with higher numbers considered to be better.

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

Value: 16842780

privateImeOptions

Added in API level 3
static val privateImeOptions: 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. This simply fills in the EditorInfo.privateImeOptions field when the input method is connected.

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

Value: 16843299

process

Added in API level 1
static val process: Int

Specify a specific process that the associated code is to run in. Use with the application tag (to supply a default process for all application components), or with the activity, receiver, service, or provider tag (to supply a specific icon for that component).

Application components are normally run in a single process that is created for the entire application. You can use this tag to modify where they run. If the process name begins with a ':' character, a new process private to that application will be created when needed to run that component (allowing you to spread your application across multiple processes). If the process name begins with a lower-case character, the component will be run in a global process of that name, provided that you have permission to do so, allowing multiple applications to share one process to reduce resource usage.

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

Value: 16842769

progress

Added in API level 1
static val progress: Int

Defines the default progress value, between 0 and max.

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

Value: 16843063

progressBackgroundTint

Added in API level 21
static val progressBackgroundTint: Int

Tint to apply to the progress indicator background.

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

Value: 16843877

progressBackgroundTintMode

Added in API level 21
static val progressBackgroundTintMode: Int

Blending mode used to apply the progress indicator 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: 16843878

progressBarPadding

Added in API level 11
static val progressBarPadding: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843545

progressBarStyle

Added in API level 1
static val progressBarStyle: Int

Default ProgressBar style. This is a medium circular progress bar.

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

Value: 16842871

progressBarStyleHorizontal

Added in API level 1
static val progressBarStyleHorizontal: Int

Horizontal ProgressBar style. This is a horizontal progress bar.

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

Value: 16842872

progressBarStyleInverse

Added in API level 4
static val progressBarStyleInverse: Int

Inverse ProgressBar style. This is a medium circular progress bar.

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

Value: 16843399

progressBarStyleLarge

Added in API level 1
static val progressBarStyleLarge: Int

Large ProgressBar style. This is a large circular progress bar.

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

Value: 16842874

progressBarStyleLargeInverse

Added in API level 4
static val progressBarStyleLargeInverse: Int

Large inverse ProgressBar style. This is a large circular progress bar.

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

Value: 16843401

progressBarStyleSmall

Added in API level 1
static val progressBarStyleSmall: Int

Small ProgressBar style. This is a small circular progress bar.

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

Value: 16842873

progressBarStyleSmallInverse

Added in API level 4
static val progressBarStyleSmallInverse: Int

Small inverse ProgressBar style. This is a small circular progress bar.

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

Value: 16843400

progressBarStyleSmallTitle

Added in API level 1
static val progressBarStyleSmallTitle: Int

Small ProgressBar in title style. This is a small circular progress bar that will be placed in title 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: 16843279

progressDrawable

Added in API level 1
static val progressDrawable: Int

Drawable used for the progress 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: 16843068

progressTint

Added in API level 21
static val progressTint: Int

Tint to apply to the progress indicator.

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

Value: 16843875

progressTintMode

Added in API level 21
static val progressTintMode: Int

Blending mode used to apply the progress indicator 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: 16843876

prompt

Added in API level 1
static val prompt: Int

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

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

Value: 16843131

propertyName

Added in API level 11
static val propertyName: Int

Name of the property being animated.

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

Value: 16843489

propertyXName

Added in API level 21
static val propertyXName: Int

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

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

Value: 16843892

propertyYName

Added in API level 21
static val propertyYName: Int

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

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

Value: 16843893

protectionLevel

Added in API level 1
static val protectionLevel: 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. have a predefined and permanent protectionLevel. If you are creating a custom permission in an application, you can define a protectionLevel attribute with one of the values listed below. If no protectionLevel is defined for a custom permission, the system assigns the default ("normal").

Each protection level consists of a base permission type and zero or more flags. Use the following functions to extract those.

int basePermissionType = permissionInfo.getProtection();
  int permissionFlags = permissionInfo.getProtectionFlags();
  

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

Constant Value Description
appPredictor 200000 Additional flag from base permission type: this permission can be automatically granted to the system app predictor
appop 40 Additional flag from base permission type: this permission is closely associated with an app op for controlling access.
companion 800000 Additional flag from base permission type: this permission can be automatically granted to the system companion device manager service
configurator 80000 Additional flag from base permission type: this permission automatically granted to device configurator
dangerous 1 Base permission type: a higher-risk permission that would give a requesting application access to private user data or control over the device that can negatively impact the user. Because this type of permission introduces potential risk, the system may not automatically grant it to the requesting application. For example, any dangerous permissions requested by an application may be displayed to the user and require confirmation before proceeding, or some other approach may be taken to avoid the user automatically allowing the use of such facilities.
development 20 Additional flag from base permission type: this permission can also (optionally) be granted to development applications. Although undocumented, the permission state used to be shared by all users (including future users), but it is managed per-user since API level 31.
incidentReportApprover 100000 Additional flag from base permission type: this permission designates the app that will approve the sharing of incident reports.
installer 100 Additional flag from base permission type: this permission can be automatically granted to system apps that install packages.
instant 1000 Additional flag from base permission type: this permission can be granted to instant apps
internal 4 Base permission type: a permission that is managed internally by the system and only granted according to the protection flags.
knownSigner 8000000 Additional flag from base permission type: this permission can also be granted if the requesting application is signed by, or has in its signing lineage, any of the certificate digests declared in android.R.attr#knownCerts.
module 400000 Additional flag from base permission type: this permission can also be granted if the requesting application is included in the mainline module}.
normal 0 Base permission type: a lower-risk permission that gives an application access to isolated application-level features, with minimal risk to other applications, the system, or the user. The system automatically grants this type of permission to a requesting application at installation, without asking for the user's explicit approval (though the user always has the option to review these permissions before installing).
oem 4000 Additional flag from base permission type: this permission can be granted only if its protection level is signature, the requesting app resides on the OEM partition, and the OEM has allowlisted the app to receive this permission by the OEM.
pre23 80 Additional flag from base permission type: this permission can be automatically granted to apps that target API levels below android.os.Build.VERSION_CODES#M (before runtime permissions were introduced).
preinstalled 400 Additional flag from base permission type: this permission can be automatically granted any application pre-installed on the system image (not just privileged apps).
privileged 10 Additional flag from base permission type: this permission can also be granted to any applications installed as privileged apps on the system image. Please avoid using this option, as the signature protection level should be sufficient for most needs and works regardless of exactly where applications are installed. This permission flag is used for certain special situations where multiple vendors have applications built in to a system image which need to share specific features explicitly because they are being built together.
recents 2000000 Additional flag from base permission type: this permission will be granted to the recents app.
retailDemo 1000000 Additional flag from base permission type: this permission will be granted to the retail demo app, as defined by the OEM.
role 4000000 Additional flag from base permission type: this permission is managed by role.
runtime 2000 Additional flag from base permission type: this permission can only be granted to apps that target runtime permissions (android.os.Build.VERSION_CODES#M and above)
setup 800 Additional flag from base permission type: this permission can be automatically granted to the setup wizard app
signature 2 Base permission type: a permission that the system is to grant only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval.
signatureOrSystem 3 Old synonym for "signature|privileged". Deprecated in API level 23. Base permission type: a permission that the system is to grant only to packages in the Android system image or that are signed with the same certificates. Please avoid using this option, as the signature protection level should be sufficient for most needs and works regardless of exactly where applications are installed. This permission is used for certain special situations where multiple vendors have applications built in to a system image which need to share specific features explicitly because they are being built together.
system 10 Old synonym for "privileged". Deprecated in API level 23.
textClassifier 10000 Additional flag from base permission type: this permission can be automatically granted to the system default text classifier
vendorPrivileged 8000 Additional flag from base permission type: this permission can be granted to privileged apps in vendor partition.
verifier 200 Additional flag from base permission type: this permission can be automatically granted to system apps that verify packages.
Value: 16842761

publicKey

Added in API level 14
static val publicKey: Int

The attribute that holds a Base64-encoded public key.

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

Value: 16843686

queryActionMsg

Added in API level 1
static val queryActionMsg: Int

If you wish to handle an action key during normal search query entry, you must define an action string here. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). Optional attribute.

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

Value: 16843227

queryAfterZeroResults

Added in API level 4
static val queryAfterZeroResults: Int

If provided and true, this searchable activity will be invoked for all queries in a particular session. If set to false and the activity returned zero results for a query, it will not be invoked again in that session for supersets of that zero-results query. For example, if the activity returned zero results for "bo", it would not be queried again for "bob". The default value is false. Optional attribute..

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

Value: 16843394

queryBackground

Added in API level 21
static val queryBackground: Int

Background for the section containing the search query.

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

Value: 16843911

queryHint

Added in API level 11
static val queryHint: Int

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

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

Value: 16843608

quickContactBadgeStyleSmallWindowLarge

Added in API level 6
static val quickContactBadgeStyleSmallWindowLarge: Int

Default quickcontact badge style with large quickcontact window.

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

Value: 16843443

quickContactBadgeStyleSmallWindowMedium

Added in API level 6
static val quickContactBadgeStyleSmallWindowMedium: Int

Default quickcontact badge style with medium quickcontact window.

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

Value: 16843442

quickContactBadgeStyleSmallWindowSmall

Added in API level 6
static val quickContactBadgeStyleSmallWindowSmall: Int

Default quickcontact badge style with small quickcontact window.

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

Value: 16843441

quickContactBadgeStyleWindowLarge

Added in API level 6
static val quickContactBadgeStyleWindowLarge: Int

Default quickcontact badge style with large quickcontact window.

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

Value: 16843440

quickContactBadgeStyleWindowMedium

Added in API level 6
static val quickContactBadgeStyleWindowMedium: Int

Default quickcontact badge style with medium quickcontact window.

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

Value: 16843439

quickContactBadgeStyleWindowSmall

Added in API level 6
static val quickContactBadgeStyleWindowSmall: Int

Default quickcontact badge style with small quickcontact window.

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

Value: 16843438

radioButtonStyle

Added in API level 1
static val radioButtonStyle: Int

Default RadioButton style.

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

Value: 16842878

radius

Added in API level 1
static val radius: Int

Defines the radius of the four corners.

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: 16843176

rating

Added in API level 1
static val rating: Int

The rating to set by default.

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

Value: 16843077

ratingBarStyle

Added in API level 1
static val ratingBarStyle: Int

Default RatingBar style.

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

Value: 16842876

ratingBarStyleIndicator

Added in API level 1
static val ratingBarStyleIndicator: Int

Indicator RatingBar style.

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

Value: 16843280

ratingBarStyleSmall

Added in API level 1
static val ratingBarStyleSmall: Int

Small indicator RatingBar style.

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

Value: 16842877

readPermission

Added in API level 1
static val readPermission: Int

A specific android.R.attr#permission name for read-only access to a android.content.ContentProvider. See the Security and Permissions document for more information on permissions.

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

Value: 16842759

recognitionService

Added in API level 21
static val recognitionService: Int

The service that provides voice recognition. This is required. On Android 11 and earlier, this must be a valid RecognitionService.

From Android 12 onward, this attribute does nothing. However, we still require it to be set to something to reduce the risk that an app with an unspecified value gets pushed to older platform versions, where it will cause a boot loop. To make sure developers don't miss it, the system will reset the current assistant if this isn't specified.

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

Value: 16843932

recreateOnConfigChanges

Added in API level 26
static val recreateOnConfigChanges: Int

Specify the configuration changes that trigger the system to recreate the current activity if any of these configuration changes happen in the system. The valid configuration changes include mcc and mnc which are the same with those in configChanges. By default from Android O, we don't recreate the activity even the app doesn't specify mcc or mnc in configChanges. If the app wants to be recreated, specify them in recreateOnConfigChanges.

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

Constant Value Description
mcc 1 The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code.
mnc 2 The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code.
Value: 16844103

recycleEnabled

Added in API level 26
static val recycleEnabled: Int

Whether the preference has enabled to have its view recycled when used in the list view. This is true by default.

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

Value: 16844121

relinquishTaskIdentity

Added in API level 21
static val relinquishTaskIdentity: Int

Tasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task. If the next activity also has this attribute set to true then it will yield the baseIntent to any activity that it launches in the same task. This continues until an activity is encountered which has this attribute set to false. False is the default. This attribute set to true also permits activity's use of the TaskDescription to change labels, colors and icons in the recent task list.

NOTE: Setting this flag to true will not change the affinity of the task, which is used for intent resolution during activity launch. The task's root activity will always define its affinity.

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

Value: 16843894

reparent

Added in API level 21
static val reparent: Int

Tells ChangeTransform to track parent changes. Default is true. Corresponds to android.transition.ChangeTransform#setReparent(boolean).

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

Value: 16843964

reparentWithOverlay

Added in API level 21
static val reparentWithOverlay: Int

A parent change should use an overlay or affect the transform of the transitionining View. Default is true. Corresponds to android.transition.ChangeTransform#setReparentWithOverlay(boolean).

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

Value: 16843965

repeatCount

Added in API level 1
static val repeatCount: Int

Defines how many times the animation should repeat. The default value is 0.

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

Must be one of the following constant values.

Constant Value Description
infinite ffffffff
Value: 16843199

repeatMode

Added in API level 1
static val repeatMode: Int

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

Must be one of the following constant values.

Constant Value Description
restart 1 The animation starts again from the beginning.
reverse 2 The animation plays backward.
Value: 16843200

reqFiveWayNav

Added in API level 3
static val reqFiveWayNav: Int

Application's requirement for five way navigation

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

Value: 16843314

reqHardKeyboard

Added in API level 3
static val reqHardKeyboard: Int

Application's requirement for a hard keyboard

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

Value: 16843305

reqKeyboardType

Added in API level 3
static val reqKeyboardType: Int

The input method preferred by an application.

Must be one of the following constant values.

Constant Value Description
nokeys 1
qwerty 2
twelvekey 3
undefined 0
Value: 16843304

reqNavigation

Added in API level 3
static val reqNavigation: Int

The navigation device preferred by an application.

Must be one of the following constant values.

Constant Value Description
dpad 2
nonav 1
trackball 3
undefined 0
wheel 4
Value: 16843306

reqTouchScreen

Added in API level 3
static val reqTouchScreen: Int

The touch screen type used by an application.

Must be one of the following constant values.

Constant Value Description
finger 3
notouch 1
stylus 2
undefined 0
Value: 16843303

requestLegacyExternalStorage

Added in API level 29
static val requestLegacyExternalStorage: Int

If true this app would like to run under the legacy storage model. Note that this may not always be respected due to policy or backwards compatibility reasons.

Apps not requesting legacy storage can continue to discover and read media belonging to other apps via MediaStore.

The default value is: - false for apps with targetSdkVersion >= 29 (Q). - true for apps with targetSdkVersion < 29.

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

Value: 16844291

requestRawExternalStorageAccess

Added in API level 31
static val requestRawExternalStorageAccess: Int

If true this app would like raw external storage access.

This flag can only be used by apps holding

When the flag is set, all file path access on external storage will bypass database operations that update MediaStore collection. Raw external storage access as a side effect can improve performance of bulk file path operations but can cause unexpected behavior in apps due to inconsistencies in MediaStore collection and lower file system. When the flag is set, app should scan the file after file path operations to ensure consistency of MediaStore collection.

The flag can be set to false if the app doesn't do many bulk file path operations or if app prefers the system to ensure the consistency of the MediaStore collection for file path operations without scanning the file.

The default value is true if

false otherwise.

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

Value: 16844357

requireDeviceScreenOn

Added in API level 31
static val requireDeviceScreenOn: Int

Whether the device must be screen on before routing data to this service. The default is true.

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

Value: 16844317

requireDeviceUnlock

Added in API level 19
static val requireDeviceUnlock: Int

Whether the device must be unlocked before routing data to this service. The default is false.

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

Value: 16843756

required

Added in API level 5
static val required: Int

Specify whether this feature is required for the application. The default is true, meaning the application requires the feature, and does not want to be installed on devices that don't support it. If you set this to false, then this will not impose a restriction on where the application can be installed.

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

Value: 16843406

requiredAccountType

Added in API level 18
static val requiredAccountType: Int

Declare that this application requires an account of a certain type. The default value is null and indicates that the application can work without any accounts. The type should correspond to the account authenticator type, such as "com.google".

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

Value: 16843734

requiredDisplayCategory

Added in API level 34
static val requiredDisplayCategory: Int

Specifies the required display category of the activity. Upon creation, a display can specify which display categories it supports and one of the categories must be present in the <activity> element to allow this activity to run. The default value is null, which indicates the activity does not have a required display category and thus can only run on a display that didn't specify any display categories. Each activity can only specify one required category but a display can accommodate multiple display categories.

This field should be formatted as a Java-language-style free form string(for example, com.google.automotive_entertainment), which may contain uppercase or lowercase letters ('A' through 'Z'), numbers, and underscores ('_') but may only start with letters.

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

Value: 16844409

requiredFeature

Added in API level 26
static val requiredFeature: Int

Optional: the system must support this feature for the permission to be requested. If it doesn't support the feature, it will be as if the manifest didn't request it at all.

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

Value: 16844116

requiredForAllUsers

Added in API level 18
static val requiredForAllUsers: Int

Flag to specify if this application needs to be present for all users. Only pre-installed applications can request this feature. Default value is false.

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

Value: 16843728

requiredNotFeature

Added in API level 26
static val requiredNotFeature: Int

Optional: the system must NOT support this feature for the permission to be requested. If it does support the feature, it will be as if the manifest didn't request it at all.

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

Value: 16844117

requiredSplitTypes

Added in API level 33
static val requiredSplitTypes: Int

List of split types required by this APK to be present in order to function properly, separated by commas. The platform will reject installation of an app that is missing any required split types. Each split type is a string, and is only used for matching requiredSplitTypes and splitTypes. As an example, if this APK requires localized string resources, screen density resources, and native code this value could be "language,density,abi". Default value is null to indicate no split types are required.

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

Value: 16844366

requiresFadingEdge

Added in API level 14
static val requiresFadingEdge: Int

Defines which edges should be faded on scrolling.

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

Constant Value Description
horizontal 1000 Fades horizontal edges only.
none 0 No edge is faded.
vertical 2000 Fades vertical edges only.
Value: 16843685

requiresSmallestWidthDp

Added in API level 13
static val requiresSmallestWidthDp: 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. This attribute provides the required minimum "smallest screen width" (as per the -swNNNdp resource configuration) that the application can run on. For example, a typical phone screen is 320, a 7" tablet 600, and a 10" tablet 720. If the smallest screen width of the device is below the value supplied here, then the application is considered incompatible with that device. If not supplied, then any old smallScreens, normalScreens, largeScreens, or xlargeScreens attributes will be used instead.

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

Value: 16843620

resetEnabledSettingsOnAppDataCleared

Added in API level 33
static val resetEnabledSettingsOnAppDataCleared: 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. The default value is false.

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

Value: 16844370

resizeClip

Added in API level 22
static val resizeClip: Int

Resize the view by adjusting the clipBounds rather than changing the dimensions of the view itself. The default value is false.

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

Value: 16843983

resizeMode

Added in API level 12
static val resizeMode: Int

Optional parameter which indicates if and how this widget can be resized. Supports combined values using | operator.

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

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

Constant Value Description
horizontal 1
none 0
vertical 2
Value: 16843619

resizeable

Added in API level 4
static val resizeable: Int

Indicates whether the application can resize itself to newer screen sizes. This is mostly used to distinguish between old applications that may not be compatible with newly introduced screen sizes and newer applications that should be; it will be set for you automatically based on whether you are targeting a newer platform that supports more screens.

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

Value: 16843405

resizeableActivity

Added in API level 24
static val resizeableActivity: Int

Hint to platform that the activity works well in multi-window mode. Intended for a multi-window device where there can be multiple activities of various sizes on the screen at the same time.

The default value is false for applications with targetSdkVersion lesser than android.os.Build.VERSION_CODES#N and true otherwise.

Setting this flag to false lets the system know that the app may not be tested or optimized for multi-window environment. The system may still put such activity in multi-window with compatibility mode applied. It also does not guarantee that there will be no other apps in multi-window visible on screen (e.g. picture-in-picture) or on other displays. Therefore, this flag cannot be used to assure an exclusive resource access.

NOTE: A task's root activity value is applied to all additional activities launched in the task. That is if the root activity of a task is resizeable then the system will treat all other activities in the task as resizeable and will not if the root activity isn't resizeable.

NOTE: The value of android.R.attr#screenOrientation is ignored for resizeable activities when in multi-window mode before Android 12.

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

Value: 16844022

resource

Added in API level 1
static val resource: Int

Resource identifier to assign to this piece of named meta-data. The resource identifier can later be retrieved from the meta data Bundle through android.os.Bundle#getInt.

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

Value: 16842789

resourcesMap

Added in API level 30
static val resourcesMap: Int

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

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

Value: 16844297

restoreAnyVersion

Added in API level 8
static val restoreAnyVersion: 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. Setting this attribute to true will permit the Backup Manager to attempt restore even when a version mismatch suggests that the data are incompatible. Use with caution!

The default value of this attribute is false.

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

Value: 16843450

restoreNeedsApplication

Added in API level 5
Deprecated in API level 15
static val restoreNeedsApplication: Int

Deprecated: This attribute is not used by the Android operating system.

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

Value: 16843421

restrictedAccountType

Added in API level 18
static val restrictedAccountType: Int

Declare that this application requires access to restricted accounts of a certain type. The default value is null and restricted accounts won\'t be visible to this application. The type should correspond to the account authenticator type, such as "com.google".

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

Value: 16843733

restrictionType

Added in API level 21
static val restrictionType: Int

Must be one of the following constant values.

Constant Value Description
bool 1
bundle 7
bundle_array 8
choice 2
hidden 0
integer 5
multi-select 4
string 6
Value: 16843923

resumeWhilePausing

Added in API level 21
static val resumeWhilePausing: 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. Use this with caution: your activity can not acquire any exclusive resources (such as opening the camera or recording audio) when it launches, or it may conflict with the previous activity and fail.

The default value of this attribute is false.

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

Value: 16843954

reversible

Added in API level 21
static val reversible: Int

Whether this transition is reversible.

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

Value: 16843851

revisionCode

Added in API level 22
static val revisionCode: Int

Internal revision code. This number is the number used to determine whether one APK is more recent than another: it has no other meaning than that higher numbers are more recent. This value is only meaningful when the two android.R.attr#versionCode values are already identical. When an app is delivered as multiple split APKs, each APK may have a different revisionCode value.

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

Value: 16843989
Added in API level 1
static val right: Int

Amount of right 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: 16843183

ringtonePreferenceStyle

Added in API level 1
static val ringtonePreferenceStyle: Int

Default style for RingtonePreference.

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

Value: 16842899

ringtoneType

Added in API level 1
static val ringtoneType: Int

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

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

Constant Value Description
alarm 4 Alarm sounds.
all 7 All available ringtone sounds.
notification 2 Notification sounds.
ringtone 1 Ringtones.
Value: 16843257

rollbackDataPolicy

Added in API level 31
static val rollbackDataPolicy: Int

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

Must be one of the following constant values.

Constant Value Description
restore 0 User data will be restored during rollback.
retain 2 User data will remain unchanged during rollback.
wipe 1 User data will be wiped out during rollback.
Value: 16844311

rotation

Added in API level 11
static val rotation: Int

rotation of the view, in degrees.

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

Value: 16843558

rotationAnimation

Added in API level 26
static val rotationAnimation: Int

Flag that specifies the activity's preferred screen rotation animation. Valid values are "rotate", "crossfade", "jumpcut", and "seamless" as described in android.view.WindowManager.LayoutParams#rotationAnimation. Specifying your rotation animation in WindowManager.LayoutParams may be racy with app startup and update transitions that occur during application startup; and so, specify the animation in the manifest attribute.

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

Constant Value Description
crossfade 1
jumpcut 2
rotate 0
seamless 3
Value: 16844090

rotationX

Added in API level 11
static val rotationX: Int

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

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

Value: 16843559

rotationY

Added in API level 11
static val rotationY: Int

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

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

Value: 16843560

roundIcon

Added in API level 25
static val roundIcon: Int

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default round icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific round icon for that component). It may also be used with the intent-filter tag to supply a round icon to show to the user when an activity is being selected based on a particular Intent.

The given round icon will be used to display to the user a graphical representation of its associated component; for example, as the round icon for main activity that is displayed in the 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: 16844076

rowCount

Added in API level 14
static val rowCount: Int

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

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

Value: 16843637

rowDelay

Added in API level 1
static val rowDelay: Int

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

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: 16843216

rowEdgeFlags

Added in API level 3
Deprecated in API level 29
static val rowEdgeFlags: Int

Deprecated: Deprecated in Java.

Row edge flags. {@deprecated Copy this definition into your own application project.}

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

Constant Value Description
bottom 8 Row is anchored to the bottom of the keyboard. {@deprecated Copy this definition into your own application project.}
top 4 Row is anchored to the top of the keyboard. {@deprecated Copy this definition into your own application project.}
Value: 16843329

rowHeight

Added in API level 1
static val rowHeight: Int

Defines the height of each row.

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: 16843058

rowOrderPreserved

Added in API level 14
static val rowOrderPreserved: Int

When set to true, forces row boundaries to appear in the same order as row indices. The default is true. See android.widget.GridLayout#setRowOrderPreserved(boolean).

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

Value: 16843638

saveEnabled

Added in API level 1
static val saveEnabled: Int

If false, no state will be saved for this view when it is being frozen. The default is true, allowing the view to be saved (however it also must have an ID assigned to it for its state to be saved). Setting this to false only disables the state for this view, not for its children which may still be saved.

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

Value: 16842983

scaleGravity

Added in API level 1
static val scaleGravity: Int

Specifies where the drawable is positioned after scaling. The default value is left.

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

Constant Value Description
bottom 50 Push object to the bottom of its container, not changing its size.
center 11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal 1 Place object in the horizontal center of its container, not changing its size.
center_vertical 10 Place object in the vertical center of its container, not changing its size.
clip_horizontal 8 Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical 80 Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end 800005 Push object to the end of its container, not changing its size.
fill 77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal 7 Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical 70 Grow the vertical size of the object if needed so it completely fills its container.
left 3 Push object to the left of its container, not changing its size.
right 5 Push object to the right of its container, not changing its size.
start 800003 Push object to the beginning of its container, not changing its size.
top 30 Push object to the top of its container, not changing its size.
Value: 16843262

scaleHeight

Added in API level 1
static val scaleHeight: Int

Scale height, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.

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

Value: 16843261

scaleType

Added in API level 1
static val scaleType: Int

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

Must be one of the following constant values.

Constant Value Description
center 5 Center the image in the view, but perform no scaling.
centerCrop 6 Scale the image uniformly (maintain the image's aspect ratio) so both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). The image is then centered in the view.
centerInside 7 Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). The image is then centered in the view.
fitCenter 3 Scale the image using android.graphics.Matrix.ScaleToFit#CENTER.
fitEnd 4 Scale the image using android.graphics.Matrix.ScaleToFit#END.
fitStart 2 Scale the image using android.graphics.Matrix.ScaleToFit#START.
fitXY 1 Scale the image using android.graphics.Matrix.ScaleToFit#FILL.
matrix 0 Scale using the image matrix when drawing. See android.widget.ImageView#setImageMatrix(Matrix).
Value: 16843037

scaleWidth

Added in API level 1
static val scaleWidth: Int

Scale width, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.

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

Value: 16843260

scaleX

Added in API level 11
static val scaleX: Int

scale of the view in the x direction.

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

Value: 16843556

scaleY

Added in API level 11
static val scaleY: Int

scale of the view in the y direction.

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

Value: 16843557

scheme

Added in API level 1
static val scheme: Int

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

Note: scheme matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, schemes here should always use lower case letters.

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

Value: 16842791

screenDensity

Added in API level 9
static val screenDensity: Int

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

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

Must be one of the following constant values.

Constant Value Description
hdpi f0 A high density screen, approximately 240dpi.
ldpi 78 A low density screen, approximately 120dpi.
mdpi a0 A medium density screen, approximately 160dpi.
xhdpi 140 An extra high density screen, approximately 320dpi.
xxhdpi 1e0 An extra extra high density screen, approximately 480dpi.
xxxhdpi 280 An extra extra extra high density screen, approximately 640dpi.
Value: 16843467

screenOrientation

Added in API level 1
static val screenOrientation: Int

Specify the orientation an activity should be run in. If not specified, it will run in the current preferred orientation of the screen.

This attribute is supported by the <activity> element.

Must be one of the following constant values.

Constant Value Description
behind 3 Keep the screen in the same orientation as whatever is behind this activity. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_BEHIND.
fullSensor a Orientation is determined by a physical orientation sensor: the display will rotate based on how the user moves the device. This allows any of the 4 possible rotations, regardless of what the device will normally do (for example some devices won't normally use 180 degree rotation). Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_FULL_SENSOR.
fullUser d Respect the user's sensor-based rotation preference, but if sensor-based rotation is enabled then allow the screen to rotate in all 4 possible directions regardless of what the device will normally do (for example some devices won't normally use 180 degree rotation). Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_FULL_USER.
landscape 0 Would like to have the screen in a landscape orientation: that is, with the display wider than it is tall, ignoring sensor data. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_LANDSCAPE.
locked e Screen is locked to its current rotation, whatever that is. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_LOCKED.
nosensor 5 Always ignore orientation determined by orientation sensor: the display will not rotate when the user moves the device. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_NOSENSOR.
portrait 1 Would like to have the screen in a portrait orientation: that is, with the display taller than it is wide, ignoring sensor data. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_PORTRAIT.
reverseLandscape 8 Would like to have the screen in landscape orientation, turned in the opposite direction from normal landscape. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_REVERSE_LANDSCAPE.
reversePortrait 9 Would like to have the screen in portrait orientation, turned in the opposite direction from normal portrait. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_REVERSE_PORTRAIT.
sensor 4 Orientation is determined by a physical orientation sensor: the display will rotate based on how the user moves the device. Ignores user's setting to turn off sensor-based rotation. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_SENSOR.
sensorLandscape 6 Would like to have the screen in landscape orientation, but can use the sensor to change which direction the screen is facing. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_SENSOR_LANDSCAPE.
sensorPortrait 7 Would like to have the screen in portrait orientation, but can use the sensor to change which direction the screen is facing. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_SENSOR_PORTRAIT.
unspecified ffffffff No preference specified: let the system decide the best orientation. This will either be the orientation selected by the activity below, or the user's preferred orientation if this activity is the bottom of a task. If the user explicitly turned off sensor based orientation through settings sensor based device rotation will be ignored. If not by default sensor based orientation will be taken into account and the orientation will changed based on how the user rotates the device. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_UNSPECIFIED.
user 2 Use the user's current preferred orientation of the handset. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_USER.
userLandscape b Would like to have the screen in landscape orientation, but if the user has enabled sensor-based rotation then we can use the sensor to change which direction the screen is facing. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_USER_LANDSCAPE.
userPortrait c Would like to have the screen in portrait orientation, but if the user has enabled sensor-based rotation then we can use the sensor to change which direction the screen is facing. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_USER_PORTRAIT.
Value: 16842782

screenReaderFocusable

Added in API level 28
static val screenReaderFocusable: Int

Whether this view should be treated as a focusable unit by screen reader accessibility tools. See android.view.View#setScreenReaderFocusable(boolean). The default value, false, leaves the screen reader to consider other signals, such as focusability or the presence of text, to decide what it focus.

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

Value: 16844148

screenSize

Added in API level 9
static val screenSize: Int

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

Must be one of the following constant values.

Constant Value Description
large 190 A large screen configuration, at least 400x530dp.
normal 12c A normal screen configuration, at least 320x480dp.
small c8 A small screen configuration, at least 240x320dp.
xlarge 1f4 An extra large screen configuration, at least 600x800dp.
Value: 16843466

scrollHorizontally

Added in API level 1
static val scrollHorizontally: Int

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

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

Value: 16843099

scrollIndicators

Added in API level 23
static val scrollIndicators: Int

Defines which scroll indicators should be displayed when the view can be scrolled. Multiple values may be combined using logical OR, for example "top|bottom".

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

Constant Value Description
bottom 2 Displays bottom scroll indicator when vew can be scrolled down.
end 20 Displays right scroll indicator when vew can be scrolled in the end direction.
left 4 Displays left scroll indicator when vew can be scrolled left.
none 0 No scroll indicators are displayed.
right 8 Displays right scroll indicator when vew can be scrolled right.
start 10 Displays right scroll indicator when vew can be scrolled in the start direction.
top 1 Displays top scroll indicator when view can be scrolled up.
Value: 16844006

scrollViewStyle

Added in API level 1
static val scrollViewStyle: Int

Default ScrollView 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: 16842880

scrollX

Added in API level 1
static val scrollX: Int

The initial horizontal scroll offset, in pixels.

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: 16842962

scrollY

Added in API level 1
static val scrollY: Int

The initial vertical scroll offset, in pixels.

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: 16842963

scrollbarAlwaysDrawHorizontalTrack

Added in API level 1
static val scrollbarAlwaysDrawHorizontalTrack: Int

Defines whether the horizontal scrollbar track should always be drawn.

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

Value: 16842856

scrollbarAlwaysDrawVerticalTrack

Added in API level 1
static val scrollbarAlwaysDrawVerticalTrack: Int

Defines whether the vertical scrollbar track should always be drawn.

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

Value: 16842857

scrollbarDefaultDelayBeforeFade

Added in API level 5
static val scrollbarDefaultDelayBeforeFade: Int

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

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

Value: 16843433

scrollbarFadeDuration

Added in API level 5
static val scrollbarFadeDuration: Int

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

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

Value: 16843432

scrollbarSize

Added in API level 1
static val scrollbarSize: Int

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

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: 16842851

scrollbarStyle

Added in API level 1
static val scrollbarStyle: Int

Controls the scrollbar style and position. The scrollbars can be overlaid or inset. When inset, they add to the padding of the view. And the scrollbars can be drawn inside the padding area or on the edge of the view. For example, if a view has a background drawable and you want to draw the scrollbars inside the padding specified by the drawable, you can use insideOverlay or insideInset. If you want them to appear at the edge of the view, ignoring the padding, then you can use outsideOverlay or outsideInset.

Must be one of the following constant values.

Constant Value Description
insideInset 1000000 Inside the padding and inset.
insideOverlay 0 Inside the padding and overlaid.
outsideInset 3000000 Edge of the view and inset.
outsideOverlay 2000000 Edge of the view and overlaid.
Value: 16842879

scrollbarThumbHorizontal

Added in API level 1
static val scrollbarThumbHorizontal: Int

Defines the horizontal scrollbar thumb 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: 16842852

scrollbarThumbVertical

Added in API level 1
static val scrollbarThumbVertical: Int

Defines the vertical scrollbar thumb 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: 16842853

scrollbarTrackHorizontal

Added in API level 1
static val scrollbarTrackHorizontal: Int

Defines the horizontal scrollbar track 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: 16842854

scrollbarTrackVertical

Added in API level 1
static val scrollbarTrackVertical: Int

Defines the vertical scrollbar track 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: 16842855

scrollbars

Added in API level 1
static val scrollbars: Int

Defines which scrollbars should be displayed on scrolling or not.

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

Constant Value Description
horizontal 100 Displays horizontal scrollbar only.
none 0 No scrollbar is displayed.
vertical 200 Displays vertical scrollbar only.
Value: 16842974

scrollingCache

Added in API level 1
static val scrollingCache: Int

When set to true, the list uses a drawing cache during scrolling. This makes the rendering faster but uses more memory. The default value is true.

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

Value: 16843006

searchButtonText

Added in API level 1
Deprecated in API level 15
static val searchButtonText: Int

Deprecated: Deprecated in Java.

If supplied, this string will be displayed as the text of the "Search" button. Optional attribute. {@deprecated This will create a non-standard UI appearance, because the search bar UI is * changing to use only icons for its buttons.}

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

Value: 16843269

searchHintIcon

Added in API level 22
static val searchHintIcon: Int

Search icon displayed as a text field hint.

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

Value: 16843988

searchIcon

Added in API level 21
static val searchIcon: Int

Search icon.

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

Value: 16843907

searchMode

Added in API level 1
static val searchMode: Int

Additional features are controlled by mode bits in this field. Omitting this field, or setting to zero, provides default behavior. Optional attribute.

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

Constant Value Description
queryRewriteFromData 10 If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to be considered as the text for suggestion query rewriting. This should only be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user inspection and editing - typically, HTTP/HTTPS Uri's.
queryRewriteFromText 20 If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to be considered as the text for suggestion query rewriting. This should be used for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA values are not suitable for user inspection and editing.
showSearchIconAsBadge 8 This is deprecated.
The default application icon is now always used, so this option is obsolete.
showSearchLabelAsBadge 4 If set, this flag enables the display of the search target (label) within the search bar. If neither bad mode is selected, no badge will be shown.
Value: 16843221

searchResultHighlightColor

Added in API level 34
static val searchResultHighlightColor: Int

Color of search results highlight. This color is typically used when TextView/EditText shows search result in-app text search invoked with Ctrl+F.

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

Value: 16844418

searchSettingsDescription

Added in API level 4
static val searchSettingsDescription: Int

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

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

Value: 16843402

searchSuggestAuthority

Added in API level 1
static val searchSuggestAuthority: Int

If provided, this is the trigger indicating that the searchable activity provides suggestions as well. The value must be a fully-qualified content provider authority (for example, "com.example.android.apis.SuggestionProvider") and should match the "android:authorities" tag in your content provider's manifest entry. Optional attribute.

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

Value: 16843222

searchSuggestIntentAction

Added in API level 1
static val searchSuggestIntentAction: 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. Optional attribute.

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

Value: 16843225

searchSuggestIntentData

Added in API level 1
static val searchSuggestIntentData: 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. Optional attribute.

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

Value: 16843226

searchSuggestPath

Added in API level 1
static val searchSuggestPath: Int

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

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

Value: 16843223

searchSuggestSelection

Added in API level 1
static val searchSuggestSelection: Int

If provided, suggestion queries will be passed into your query function as the selection parameter. Typically this will be a WHERE clause for your database, and will contain a single question mark, which represents the actual query string that has been typed by the user. If not provided, then the user query text will be appended to the query Uri (after an additional "/".) Optional attribute.

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

Value: 16843224

searchSuggestThreshold

Added in API level 4
static val searchSuggestThreshold: Int

If provided, this is the minimum number of characters needed to trigger search suggestions. The default value is 0. Optional attribute.

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

Value: 16843373

searchViewStyle

Added in API level 21
static val searchViewStyle: Int

Style for the search query widget.

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

Value: 16843904

secondaryContentAlpha

Added in API level 26
static val secondaryContentAlpha: Int

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

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

Value: 16844115

secondaryProgress

Added in API level 1
static val secondaryProgress: Int

Defines the secondary progress value, between 0 and max. This progress is drawn between the primary progress and the background. It can be ideal for media scenarios such as showing the buffering progress while the default progress shows the play progress.

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

Value: 16843064

secondaryProgressTint

Added in API level 21
static val secondaryProgressTint: Int

Tint to apply to the secondary progress indicator.

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

Value: 16843879

secondaryProgressTintMode

Added in API level 21
static val secondaryProgressTintMode: Int

Blending mode used to apply the secondary progress indicator 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: 16843880

secureElementName

Added in API level 29
static val secureElementName: Int

Secure Element which the AIDs should be routed to

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

Value: 16844290

seekBarStyle

Added in API level 1
static val seekBarStyle: Int

Default SeekBar style.

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

Value: 16842875

segmentedButtonStyle

Added in API level 11
static val segmentedButtonStyle: Int

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

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

Value: 16843568

selectAllOnFocus

Added in API level 1
static val selectAllOnFocus: Int

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

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

Value: 16843102

selectable

Added in API level 1
static val selectable: Int

Whether the Preference is selectable.

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

Value: 16843238

selectableAsDefault

Added in API level 31
static val selectableAsDefault: Int

Flag indicating whether a recognition service can be selected as default. The default value of this flag is true.

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

Value: 16844352

selectableItemBackground

Added in API level 11
static val selectableItemBackground: Int

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

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

Value: 16843534

selectableItemBackgroundBorderless

Added in API level 21
static val selectableItemBackgroundBorderless: Int

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

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

Value: 16843868

selectedDateVerticalBar

Added in API level 11
Deprecated in API level 23
static val selectedDateVerticalBar: Int

Deprecated: Drawable for the vertical bar shown at the beginning and at the end of the selected date.

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

Value: 16843591

selectedWeekBackgroundColor

Added in API level 11
Deprecated in API level 23
static val selectedWeekBackgroundColor: Int

Deprecated: The background color for the selected week.

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: 16843586

selectionDividerHeight

Added in API level 29
static val selectionDividerHeight: Int

The height of the selection 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: 16844184

sessionService

Added in API level 21
static val sessionService: Int

The service that hosts active voice interaction sessions. This is required.

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

Value: 16843837

settingsActivity

Added in API level 3
static val settingsActivity: Int

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

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

Value: 16843301

settingsSliceUri

Added in API level 29
static val settingsSliceUri: Int

Uri that specifies a settings Slice for this wallpaper.

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

Value: 16844179

settingsSubtitle

Added in API level 34
static val settingsSubtitle: 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. For longer strings it will be truncated.

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

Value: 16844422

setupActivity

Added in API level 21
static val setupActivity: Int

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

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

Value: 16843766

shadowColor

Added in API level 1
static val shadowColor: Int

Place a blurred shadow of text underneath the text, drawn with the specified color. The text shadow produced does not interact with properties on View that are responsible for real time shadows, elevation and translationZ.

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

Value: 16843105

shadowDx

Added in API level 1
static val shadowDx: Int

Horizontal offset of the text shadow.

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

Value: 16843106

shadowDy

Added in API level 1
static val shadowDy: Int

Vertical offset of the text shadow.

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

Value: 16843107

shadowRadius

Added in API level 1
static val shadowRadius: Int

Blur radius of the text shadow.

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

Value: 16843108

shape

Added in API level 1
static val shape: Int

Indicates what shape to fill with a gradient.

Must be one of the following constant values.

Constant Value Description
line 2 Line shape.
oval 1 Oval shape.
rectangle 0 Rectangle shape, with optional rounder corners.
ring 3 Ring shape.
Value: 16843162

shareInterpolator

Added in API level 1
static val shareInterpolator: Int

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

Value: 16843195

sharedUserId

Added in API level 1
Deprecated in API level 29
static val sharedUserId: Int

Deprecated: Shared user IDs cause non-deterministic behavior within the package manager. As such, its use is strongly discouraged and may be removed in a future version of Android. Instead, apps should use proper communication mechanisms, such as services and content providers, to facilitate interoperability between shared components. Note that existing apps cannot remove this value, as migrating off a shared user ID is not supported.

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

Specify the name of a user ID that will be shared between multiple packages. By default, each package gets its own unique user-id. By setting this value on two or more packages, each of these packages will be given a single shared user ID, so they can for example run in the same process. Note that for them to actually get the same user ID, they must also be signed with the same signature.

Value: 16842763

sharedUserLabel

Added in API level 3
Deprecated in API level 29
static val sharedUserLabel: Int

Deprecated: There is no replacement for this attribute. android.R.attr#sharedUserId has been deprecated making this attribute unnecessary.

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

Specify a label for the shared user UID of this package. This is only used if you have also used android:sharedUserId. This must be a reference to a string resource; it can not be an explicit string.

Value: 16843361

sharedUserMaxSdkVersion

Added in API level 33
static val sharedUserMaxSdkVersion: Int

The maximum device SDK version for which the application will remain in the user ID defined in sharedUserId. Used when the application wants to migrate out of using shared user ID, but has to maintain backwards compatibility with the API level specified and before.

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

Value: 16844365

shell

Added in API level 29
static val shell: 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.

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

Value: 16844180

shortcutDisabledMessage

Added in API level 25
static val shortcutDisabledMessage: 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: 16844075

shortcutId

Added in API level 25
static val shortcutId: Int

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

Value: 16844072

shortcutLongLabel

Added in API level 25
static val shortcutLongLabel: 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: 16844074

shortcutShortLabel

Added in API level 25
static val shortcutShortLabel: 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: 16844073

shouldDisableView

Added in API level 1
static val shouldDisableView: Int

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

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

Value: 16843246

shouldUseDefaultUnfoldTransition

Added in API level 32
static val shouldUseDefaultUnfoldTransition: 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). When this value is set to true android.service.wallpaper.WallpaperService.Engine could receive zoom updates before or after changing the device state. Wallpapers receive zoom updates using android.service.wallpaper.WallpaperService.Engine#onZoomChanged(float) and zoom rendering should be handled manually. Zoom updates are delivered only when android.service.wallpaper.WallpaperService.Engine is created and not destroyed. Default value is true. Corresponds to android.app.WallpaperInfo#shouldUseDefaultUnfoldTransition()

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

Value: 16844364

showAsAction

Added in API level 11
static val showAsAction: Int

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

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

Constant Value Description
always 2 Always show this item in an actionbar, even if it would override the system's limits of how much stuff to put there. This may make your action bar look bad on some screens. In most cases you should use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never".
collapseActionView 8 This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container.
ifRoom 1 Show this item in an action bar if there is room for it as determined by the system. Favor this option over "always" where possible. Mutually exclusive with "never" and "always".
never 0 Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always".
withText 4 When this item is shown as an action in the action bar, show a text label with it even if it has an icon representation.
Value: 16843481

showBackdrop

Added in API level 33
static val showBackdrop: Int

Special option for window animations: whether to show a background behind the animating windows. By default the window's background is used unless overridden by the animation.

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

Value: 16844380

showClockAndComplications

Added in API level 33
static val showClockAndComplications: Int

Whether to show clock and other complications such as weather in the overlay. Default to true. Note that the overlay on dreams is currently only supported on tablets.

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

Value: 16844372

showDefault

Added in API level 1
static val showDefault: Int

Whether to show an item for a default sound.

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

Value: 16843258

showDividers

Added in API level 11
static val showDividers: Int

Setting for which dividers to show.

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

Constant Value Description
beginning 1
end 4
middle 2
none 0
Value: 16843561

showForAllUsers

Added in API level 23
static val showForAllUsers: Int

Specify that an Activity should be shown even if the current/foreground user is different from the user of the Activity. This will also force the android.view.LayoutParams.FLAG_SHOW_WHEN_LOCKED flag to be set for all windows of this activity

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

Value: 16844015

showInInputMethodPicker

Added in API level 31
static val showInInputMethodPicker: Int

Specifies whether the IME wants to be shown in the Input Method picker. Defaults to true. Set this to false if the IME is intended to be accessed programmatically.

Note: This functions as a hint to the system, which may choose to ignore this preference in certain situations or in future releases.

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

Value: 16844360

showMetadataInPreview

Added in API level 25
static val showMetadataInPreview: Int

Whether to show any metadata when previewing the wallpaper. If this value is set to true, any component that shows a preview of this live wallpaper should also show accompanying information like the title, the description, the author and the context description of this wallpaper so the user gets to know further information about this wallpaper.

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

Value: 16844079

showOnLockScreen

Added in API level 17
Deprecated in API level 23
static val showOnLockScreen: Int

Deprecated: use android.R.attr#showForAllUsers instead.

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

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

Value: 16843721

showSilent

Added in API level 1
static val showSilent: Int

Whether to show an item for 'Silent'.

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

Value: 16843259

showText

Added in API level 21
static val showText: Int

Whether to draw on/off text.

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

Value: 16843949

showWeekNumber

Added in API level 11
Deprecated in API level 23
static val showWeekNumber: Int

Deprecated: Whether do show week numbers.

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

Value: 16843582

showWhenLocked

Added in API level 27
static val showWhenLocked: 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. Normally an activity will be transitioned to the stopped state if it is started while the lockscreen is up, but with this flag set the activity will remain in the resumed state visible on-top of the lock screen.

This should be used instead of android.view.WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED flag set for Windows. When using the Window flag during activity startup, there may not be time to add it before the system stops your activity for being behind the lock-screen. This leads to a double life-cycle as it is then restarted.

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

Value: 16844137

shownWeekCount

Added in API level 11
Deprecated in API level 23
static val shownWeekCount: Int

Deprecated: The number of weeks to be shown.

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

Value: 16843585

shrinkColumns

Added in API level 1
static val shrinkColumns: Int

The zero-based index of the columns to shrink. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can shrink all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.

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

Value: 16843082

singleLine

Added in API level 1
Deprecated in API level 15
static val singleLine: Int

Deprecated: Deprecated in Java.

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. The default value is false (multi-line wrapped text mode) for non-editable text, but if you specify any value for inputType, the default is true (single-line input field mode). {@deprecated This attribute is deprecated. Use maxLines instead to change * the layout of a static text, and use the textMultiLine flag in the * inputType attribute instead for editable text views (if both singleLine and inputType * are supplied, the inputType flags will override the value of singleLine). }

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

Value: 16843101

singleLineTitle

Added in API level 26
static val singleLineTitle: Int

Whether to use single line for the preference title text. By default, preference title will be constrained to one line, so the default value of this attribute is true.

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

Value: 16844124

singleUser

Added in API level 17
static val singleUser: Int

If set to true, a single instance of this component will run for all users. That instance will run as user 0, the default/primary user. When the app running is in processes for other users and interacts with this component (by binding to a service for example) those processes will always interact with the instance running for user 0. Enabling single user mode forces "exported" of the component to be false, to help avoid introducing multi-user security bugs. This feature is only available to applications built in to the system image; you must hold the permission INTERACT_ACROSS_USERS in order to use this feature. This flag can only be used with services, receivers, and providers; it can not be used with activities.

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

Value: 16843711

slideEdge

Added in API level 21
static val slideEdge: Int

Must be one of the following constant values.

Constant Value Description
bottom 50 Slide to and from the bottom edge of the Scene.
end 800005 Slide to and from the x-axis position at the end of the Scene root.
left 3 Slide to and from the left edge of the Scene.
right 5 Slide to and from the right edge of the Scene.
start 800003 Slide to and from the x-axis position at the start of the Scene root.
top 30 Slide to and from the top edge of the Scene.
Value: 16843824

smallIcon

Added in API level 5
static val smallIcon: Int

Smaller icon of the authenticator.

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

Value: 16843422

smallScreens

Added in API level 4
static val smallScreens: Int

Indicates whether the application supports smaller screen form-factors. A small screen is defined as one with a smaller aspect ratio than the traditional HVGA screen; that is, for a portrait screen, less tall than an HVGA screen. In practice, this means a QVGA low density or VGA high density screen. An application that does not support small screens will not be available for small screen devices, since there is little the platform can do to make such an application work on a smaller screen.

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

Value: 16843396

smoothScrollbar

Added in API level 3
static val smoothScrollbar: 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. This property is set to true by default but should be set to false if your adapter will display items of varying heights. When this property is set to true and your adapter displays items of varying heights, the scrollbar thumb will change size as the user scrolls through the list. When set to false, the list will use only the number of items in the adapter and the number of items visible on screen to determine the scrollbar's properties.

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

Value: 16843313

soundEffectsEnabled

Added in API level 1
static val soundEffectsEnabled: Int

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

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

Value: 16843285

spacing

Added in API level 1
static val spacing: Int

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: 16843027

spinnerDropDownItemStyle

Added in API level 1
static val spinnerDropDownItemStyle: Int

Default style for spinner 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: 16842887

spinnerItemStyle

Added in API level 1
static val spinnerItemStyle: Int

Default spinner item 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: 16842889

spinnerMode

Added in API level 11
static val spinnerMode: Int

Display mode for spinner options.

Must be one of the following constant values.

Constant Value Description
dialog 0 Spinner options will be presented to the user as a dialog window.
dropdown 1 Spinner options will be presented to the user as an inline dropdown anchored to the spinner widget itself.
Value: 16843505

spinnerStyle

Added in API level 1
static val spinnerStyle: Int

Default Spinner style.

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

Value: 16842881

spinnersShown

Added in API level 11
static val spinnersShown: Int

Whether the spinners are shown. Only valid for "spinner" mode.

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

Value: 16843595

splashScreenTheme

Added in API level 31
static val splashScreenTheme: 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: 16844337

splitMotionEvents

Added in API level 11
static val splitMotionEvents: Int

Sets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch. If false (default prior to HONEYCOMB), touch events will be dispatched to the child view where the first pointer went down until the last pointer goes up. If true (default for HONEYCOMB and later), touch events may be dispatched to multiple children. MotionEvents for each pointer will be dispatched to the child view where the initial ACTION_DOWN event happened. See android.view.ViewGroup#setMotionEventSplittingEnabled(boolean) for more information.

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

Value: 16843503

splitName

Added in API level 26
static val splitName: Int

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

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

Value: 16844105

splitTrack

Added in API level 21
static val splitTrack: Int

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

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

Value: 16843852

splitTypes

Added in API level 33
static val splitTypes: Int

List of split types offered by this APK, separated by commas. Each split type is a string, and is only used for matching requiredSplitTypes and splitTypes. As an example, if this split offers localized string resources, and screen density resources the value could be "language,density". Default value is null to indicate no split types are offered.

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

Value: 16844367

spotShadowAlpha

Added in API level 21
static val spotShadowAlpha: Int

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

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

Value: 16843967

src

Added in API level 1
static val src: Int

Sets a drawable as the content of this ImageView.

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: 16843033

ssp

Added in API level 19
static val ssp: Int

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

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

Value: 16843747

sspAdvancedPattern

Added in API level 31
static val sspAdvancedPattern: Int

Specify a URI scheme specific part that matches an advanced pattern, as per IntentFilter.addDataSchemeSpecificPart() with android.os.PatternMatcher#PATTERN_ADVANCED_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

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

Value: 16844321

sspPattern

Added in API level 19
static val sspPattern: Int

Specify a URI scheme specific part that matches a simple pattern, as per IntentFilter.addDataSchemeSpecificPart() with android.os.PatternMatcher#PATTERN_SIMPLE_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

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

Value: 16843749

sspPrefix

Added in API level 19
static val sspPrefix: Int

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

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

Value: 16843748

sspSuffix

Added in API level 31
static val sspSuffix: Int

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

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

Value: 16844319

stackFromBottom

Added in API level 1
static val stackFromBottom: Int

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

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

Value: 16843005

stackViewStyle

Added in API level 21
static val stackViewStyle: Int

Default StackView 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: 16843838

starStyle

Added in API level 1
static val starStyle: Int

Default Star 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: 16842882

start

Added in API level 23
static val start: Int

Start inset to apply to the layer. Overrides left or right depending on layout direction.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843995

startColor

Added in API level 1
static val startColor: Int

Start color of the gradient.

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

Value: 16843165

startDelay

Added in API level 19
static val startDelay: Int

Delay in milliseconds before the transition starts.

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

Value: 16843746

startOffset

Added in API level 1
static val startOffset: Int

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

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

Value: 16843198

startX

Added in API level 24
static val startX: Int

X coordinate of the start point origin of the gradient. Defined in same coordinates as the path itself

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

Value: 16844048

startY

Added in API level 24
static val startY: Int

Y coordinate of the start point of the gradient within the shape. Defined in same coordinates as the path itself

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

Value: 16844049

startYear

Added in API level 1
Deprecated in API level 16
static val startYear: Int

Deprecated: Deprecated in Java.

{@deprecated Use minDate instead.} The first year (inclusive), for example "1940". {@deprecated Use minDate instead.}

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

Value: 16843132

stateListAnimator

Added in API level 21
static val stateListAnimator: Int

Sets the state-based animator for the View.

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

Value: 16843848

stateNotNeeded

Added in API level 1
static val stateNotNeeded: 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.

This is used by the Home activity to make sure it does not get removed if it crashes for some reason.

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

Value: 16842774

state_above_anchor

Added in API level 1
static val state_above_anchor: Int

State identifier indicating the popup will be above the anchor.

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

Value: 16842922

state_accelerated

Added in API level 11
static val state_accelerated: Int

State value for StateListDrawable, indicating that the Drawable is in a view that is hardware accelerated. This means that the device can at least render a full-screen scaled bitmap with one layer of text and bitmaps composited on top of it at 60fps. When this is set, the colorBackgroundCacheHint will be ignored even if it specifies a solid color, since that optimization is not needed.

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

Value: 16843547

state_activated

Added in API level 11
static val state_activated: 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. This is an alternative representation of state_checked for when the state should be propagated down the view hierarchy.

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

Value: 16843518

state_active

Added in API level 1
static val state_active: Int

State value for StateListDrawable, set when a view or drawable is considered "active" by its host. Actual usage may vary between views. Consult the host view documentation for details.

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

Value: 16842914

state_checkable

Added in API level 1
static val state_checkable: Int

State identifier indicating that the object may display a check mark. See android.R.attr#state_checked for the identifier that indicates whether it is actually checked.

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

Value: 16842911

state_checked

Added in API level 1
static val state_checked: Int

State identifier indicating that the object is currently checked. See android.R.attr#state_checkable for an additional identifier that can indicate if any object may ever display a check, regardless of whether state_checked is currently set.

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

Value: 16842912

state_drag_can_accept

Added in API level 14
static val state_drag_can_accept: 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.

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

Value: 16843624

state_drag_hovered

Added in API level 14
static val state_drag_hovered: 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.

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

Value: 16843625

state_empty

Added in API level 1
static val state_empty: Int

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

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

Value: 16842921

state_enabled

Added in API level 1
static val state_enabled: Int

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

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

Value: 16842910

state_expanded

Added in API level 1
static val state_expanded: Int

State identifier indicating the group is expanded.

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

Value: 16842920

state_first

Added in API level 1
static val state_first: Int

State value for StateListDrawable, set when a view or drawable is in the first position in an ordered set. Actual usage may vary between views. Consult the host view documentation for details.

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

Value: 16842916

state_focused

Added in API level 1
static val state_focused: Int

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

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

Value: 16842908

state_hovered

Added in API level 14
static val state_hovered: Int

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

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

Value: 16843623

state_last

Added in API level 1
static val state_last: Int

State value for StateListDrawable, set when a view or drawable is in the last position in an ordered set. Actual usage may vary between views. Consult the host view documentation for details.

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

Value: 16842918

state_long_pressable

Added in API level 3
Deprecated in API level 29
static val state_long_pressable: Int

Deprecated: Deprecated in Java.

State for KeyboardView key preview background. {@deprecated Copy this definition into your own application project.}

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

Value: 16843324

state_middle

Added in API level 1
static val state_middle: Int

State value for StateListDrawable, set when a view or drawable is in the middle position in an ordered set. Actual usage may vary between views. Consult the host view documentation for details.

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

Value: 16842917

state_multiline

Added in API level 11
static val state_multiline: Int

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

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

Value: 16843597

state_pressed

Added in API level 1
static val state_pressed: Int

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

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

Value: 16842919

state_selected

Added in API level 1
static val state_selected: Int

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

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

Value: 16842913

state_single

Added in API level 1
static val state_single: Int

State value for StateListDrawable, set when a view or drawable is considered "single" by its host. Actual usage may vary between views. Consult the host view documentation for details.

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

Value: 16842915

state_window_focused

Added in API level 1
static val state_window_focused: Int

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

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

Value: 16842909

staticWallpaperPreview

Added in API level 11
static val staticWallpaperPreview: Int

A resource id of a static 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: 16843569

statusBarColor

Added in API level 21
static val statusBarColor: Int

The color for the status bar. If the color is not opaque, consider setting android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE and android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN. For this to take effect, the window must be drawing the system bar backgrounds with android.R.attr#windowDrawsSystemBarBackgrounds and the status bar must not have been requested to be translucent with android.R.attr#windowTranslucentStatus. Corresponds to android.view.Window#setStatusBarColor(int).

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

Value: 16843857

stepSize

Added in API level 1
static val stepSize: Int

The step size of the rating.

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

Value: 16843078

stopWithTask

Added in API level 14
static val stopWithTask: 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. The default is false.

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

Value: 16843626

streamType

Added in API level 1
static val streamType: Int

Different audio stream types.

Must be one of the following constant values.

Constant Value Description
alarm 4
music 3
ring 2
system 1
voice 0
Value: 16843273

stretchColumns

Added in API level 1
static val stretchColumns: Int

The zero-based index of the columns to stretch. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can stretch all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.

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

Value: 16843081

stretchMode

Added in API level 1
static val stretchMode: Int

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

Must be one of the following constant values.

Constant Value Description
columnWidth 2 Each column is stretched equally.
none 0 Stretching is disabled.
spacingWidth 1 The spacing between each column is stretched.
spacingWidthUniform 3 The spacing between each column is uniformly stretched..
Value: 16843030

strokeAlpha

Added in API level 21
static val strokeAlpha: Int

The opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque).

May be a floating point value, such as "1.2".

Value: 16843979

strokeColor

Added in API level 21
static val strokeColor: Int

The color to stroke the path if not defined implies no stroke.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843782

strokeLineCap

Added in API level 21
static val strokeLineCap: Int

sets the linecap for a stroked path.

Must be one of the following constant values.

Constant Value Description
butt 0
round 1
square 2
Value: 16843787

strokeLineJoin

Added in API level 21
static val strokeLineJoin: Int

sets the lineJoin for a stroked path.

Must be one of the following constant values.

Constant Value Description
bevel 2
miter 0
round 1
Value: 16843788

strokeMiterLimit

Added in API level 21
static val strokeMiterLimit: Int

sets the Miter limit for a stroked path.

May be a floating point value, such as "1.2".

Value: 16843789

strokeWidth

Added in API level 21
static val strokeWidth: Int

The width a path stroke.

May be a floating point value, such as "1.2".

Value: 16843783

stylusHandwritingSettingsActivity

Added in API level 34
static val stylusHandwritingSettingsActivity: Int

Class name of an activity that allows the user to modify the stylus handwriting settings for this service

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844420
Added in API level 24
static val subMenuArrow: Int

Drawable for the arrow icon indicating a particular item is a submenu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844019

submitBackground

Added in API level 21
static val submitBackground: Int

Background for the section containing the action (for example, voice search).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843912

subtitle

Added in API level 11
static val subtitle: Int

Specifies subtitle text used for navigationMode="normal".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843473

subtitleTextAppearance

Added in API level 21
static val subtitleTextAppearance: 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: 16843823

subtitleTextColor

Added in API level 23
static val subtitleTextColor: Int

A color to apply to the subtitle string.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844004

subtitleTextStyle

Added in API level 11
static val subtitleTextStyle: Int

Specifies a style to use for subtitle text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843513

subtypeExtraValue

Added in API level 14
static val subtypeExtraValue: Int

The extra value of the subtype. This string can be any string and will be passed to the SpellChecker.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843674

subtypeId

Added in API level 17
static val subtypeId: Int

The unique id for the subtype. The input method framework keeps track of enabled subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even if other attributes are different. If the ID is unspecified (by calling the other constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead.

May be an integer value, such as "100".

Value: 16843713

subtypeLocale

Added in API level 14
static val subtypeLocale: Int

The locale of the subtype. This string should be a locale (for example, en_US and fr_FR). This is also used by the framework to know the supported locales of the spell checker. android.view.textservice.SpellCheckerSubtype#getLocale() returns the value specified in this attribute.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843673

suggestActionMsg

Added in API level 1
static val suggestActionMsg: Int

If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this. If all of your suggestions can handle the action key, you can simply define the action message using this attribute. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). Optional attribute.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843228

suggestActionMsgColumn

Added in API level 1
static val suggestActionMsgColumn: 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. First, you must define a column (and name it here) where your suggestions will include the action string. Then, in your content provider, you must provide this column, and when desired, provide data in this column. The search manager will look at your suggestion cursor, using the string provided here in order to select a column, and will use that to select a string from the cursor. That string will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). If the data does not exist for the selection suggestion, the action key will be ignored.Optional attribute.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843229

suggestionRowLayout

Added in API level 21
static val suggestionRowLayout: Int

Layout for query suggestion rows.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843910

summary

Added in API level 1
static val summary: Int

The summary for the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843241

summaryColumn

Added in API level 5
static val summaryColumn: Int

Column in data table that summarizes this data.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843426

summaryOff

Added in API level 1
static val summaryOff: Int

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked. If separate on/off summaries are not needed, the summary attribute can be used instead.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843248

summaryOn

Added in API level 1
static val summaryOn: Int

The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked. If separate on/off summaries are not needed, the summary attribute can be used instead.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843247

supportedTypes

Added in API level 33
static val supportedTypes: Int

The interactive app types that the TV interactive app service supports. Reference to a string array resource that describes the supported types, e.g. HbbTv, Ginga.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844369

supportsAssist

Added in API level 23
static val supportsAssist: Int

Flag indicating whether this voice interaction service is capable of handling the assist action.

May be a boolean value, such as "true" or "false".

Value: 16844016

supportsBatteryGameMode

Added in API level 33
static val supportsBatteryGameMode: Int

Set true to opt in BATTERY mode.

May be a boolean value, such as "true" or "false".

Value: 16844374

supportsInlineSuggestions

Added in API level 30
static val supportsInlineSuggestions: Int

Specifies whether the AutofillService supports inline suggestions

May be a boolean value, such as "true" or "false".

Value: 16844301

supportsInlineSuggestionsWithTouchExploration

Added in API level 33
static val supportsInlineSuggestionsWithTouchExploration: Int

Specifies whether the IME supports showing inline suggestions when touch exploration is enabled. This does nothing if supportsInlineSuggestions is false. The default value is false and most IMEs should not set this to true since the older menu-style Autofill works better with touch exploration. This attribute should be set to true in special situations, such as if this is an accessibility-focused IME which blocks user interaction with the app window while the IME is displayed.

May be a boolean value, such as "true" or "false".

Value: 16844397

supportsLaunchVoiceAssistFromKeyguard

Added in API level 23
static val supportsLaunchVoiceAssistFromKeyguard: Int

Flag indicating whether this voice interaction service is capable of being launched from the keyguard.

May be a boolean value, such as "true" or "false".

Value: 16844017

supportsLocalInteraction

Added in API level 24
static val supportsLocalInteraction: Int

Flag indicating whether this voice interaction service can handle local voice interaction requests from an Activity. This flag is new in android.os.Build.VERSION_CODES#N and not used in previous versions.

May be a boolean value, such as "true" or "false".

Value: 16844047

supportsMultipleDisplays

Added in API level 29
static val supportsMultipleDisplays: Int

Indicates that this wallpaper service can support multiple engines to render on each surface independently. An example use case is a multi-display set-up where the wallpaper service can render surfaces to each of the connected displays. Corresponds to android.app.WallpaperInfo#supportsMultipleDisplays()

May be a boolean value, such as "true" or "false".

Value: 16844182

supportsPerformanceGameMode

Added in API level 33
static val supportsPerformanceGameMode: Int

Set true to opt in PERFORMANCE mode.

May be a boolean value, such as "true" or "false".

Value: 16844375

supportsPictureInPicture

Added in API level 24
static val supportsPictureInPicture: Int

Indicates that the activity specifically supports the picture-in-picture form of multi-window. If true, this activity will support entering picture-in-picture, but will only support split-screen and other forms of multi-window if android.R.attr#resizeableActivity is also set to true. Note that your activity may still be resized even if this attribute is true and android.R.attr#resizeableActivity is false.

The default value is false.

May be a boolean value, such as "true" or "false".

Value: 16844023

supportsRtl

Added in API level 17
static val supportsRtl: Int

Declare that your application will be able to deal with RTL (right to left) layouts. The default value is false.

May be a boolean value, such as "true" or "false".

Value: 16843695

supportsStylusHandwriting

Added in API level 33
static val supportsStylusHandwriting: Int

Specifies whether the IME supports Handwriting using stylus. Defaults to false. When IME implements support for stylus handwriting, on every ACTION_DOWN with stylus on an editor, android.inputmethodservice.InputMethodService#onStartStylusHandwriting() is called. If IME is ready for stylus input, it must return true for Handwriting sessions to start. IME should attach it's View that renders Ink on screen to stylus handwriting inking window android.inputmethodservice.InputMethodService#getStylusHandwritingWindow(). IME will then receive Stylus MotionEvent(s) on DecorView i.e. the Inking view android.view.View#onTouchEvent(MotionEvent) attached by IME to Ink window. Handwriting mode can be finished by calling android.inputmethodservice.InputMethodService#finishStylusHandwriting() or will be finished by framework on next android.inputmethodservice.InputMethodService#onFinishInput().

May be a boolean value, such as "true" or "false".

Value: 16844371

supportsSwitchingToNextInputMethod

Added in API level 19
static val supportsSwitchingToNextInputMethod: Int

Set to true if this input method supports ways to switch to a next input method (for example, a globe key.). When this is true and InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() accordingly.

Note that the system determines the most appropriate next input method and subtype in order to provide the consistent user experience in switching between IMEs and subtypes.

May be a boolean value, such as "true" or "false".

Value: 16843755

supportsUploading

Added in API level 5
static val supportsUploading: Int

May be a boolean value, such as "true" or "false".

Value: 16843419

suppressesSpellChecker

Added in API level 31
static val suppressesSpellChecker: Int

Specifies whether the IME suppresses system spell checker. The default value is false. If an IME sets this attribute to true, the system spell checker will be disabled while the IME has an active input session.

May be a boolean value, such as "true" or "false".

Value: 16844355

switchMinWidth

Added in API level 14
static val switchMinWidth: Int

Minimum width for the switch component.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843632

switchPadding

Added in API level 14
static val switchPadding: Int

Minimum space between the switch and caption text.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843633

switchPreferenceStyle

Added in API level 14
static val switchPreferenceStyle: Int

Default style for switch preferences.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843629

switchStyle

Added in API level 21
static val switchStyle: Int

Default style for the Switch widget.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843839

switchTextAppearance

Added in API level 14
static val switchTextAppearance: Int

TextAppearance style for text displayed on the switch thumb.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843630

switchTextOff

Added in API level 14
static val switchTextOff: Int

The text used on the switch itself when in the "off" state. This should be a very SHORT string, as it appears in a small space.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843628

switchTextOn

Added in API level 14
static val switchTextOn: Int

The text used on the switch itself when in the "on" state. This should be a very SHORT string, as it appears in a small space.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843627

syncable

Added in API level 1
static val syncable: Int

Flag indicating whether this content provider would like to participate in data synchronization.

May be a boolean value, such as "true" or "false".

Value: 16842777

tabStripEnabled

Added in API level 8
static val tabStripEnabled: Int

Determines whether the strip under the tab indicators is drawn or not.

May be a boolean value, such as "true" or "false".

Value: 16843453

tabStripLeft

Added in API level 8
static val tabStripLeft: Int

Drawable used to draw the left part of the strip underneath the tabs.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843451

tabStripRight

Added in API level 8
static val tabStripRight: Int

Drawable used to draw the right part of the strip underneath the tabs.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843452

tabWidgetStyle

Added in API level 1
static val tabWidgetStyle: Int

Default TabWidget 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: 16842883

tag

Added in API level 1
static val tag: Int

Supply a tag for this view containing a String, to be retrieved later with android.view.View#getTag or searched for with View.findViewWithTag(). It is generally preferable to use IDs (through the android:id attribute) instead of tags because they are faster and allow for compile-time type checking.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16842961

targetActivity

Added in API level 1
static val targetActivity: Int

Fully qualified class name of an activity that allows the user to view their entire wallet

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843266

targetCellHeight

Added in API level 31
static val targetCellHeight: Int

Default height of the AppWidget in units of launcher grid cells.

May be an integer value, such as "100".

Value: 16844341

targetCellWidth

Added in API level 31
static val targetCellWidth: Int

Default width of the AppWidget in units of launcher grid cells.

May be an integer value, such as "100".

Value: 16844340

targetClass

Added in API level 1
static val targetClass: Int

The class part of the ComponentName to assign to the Intent, as per Intent.setComponent().

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16842799

targetDescriptions

Added in API level 14
Deprecated in API level 23
static val targetDescriptions: Int

Deprecated: Removed. Reference to an array resource that be used as description for the 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: 16843680

targetId

Added in API level 19
static val targetId: Int

The id of a target on which this transition will animate changes.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843740

targetName

Added in API level 21
static val targetName: Int

The transitionName of the target on which this transition will animation changes.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843853

targetPackage

Added in API level 1
static val targetPackage: Int

The name of the application package that an Instrumentation object will run against.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16842785

targetProcesses

Added in API level 26
static val targetProcesses: Int

The name of an application's processes that an Instrumentation object will run against. If not specified, only runs in the main process of the targetPackage. Can either be a comma-separated list of process names or '*' for any process that launches to run targetPackage code.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844097

targetSandboxVersion

Added in API level 26
Deprecated in API level 29
static val targetSandboxVersion: Int

Deprecated: The security properties have been moved to Build.VERSION 27 and 28.

May be an integer value, such as "100".

Specifies the target sandbox this app wants to use. Higher sandbox versions will have increasing levels of security.

The default value of this attribute is 1.

Value: 16844108

targetSdkVersion

Added in API level 4
static val targetSdkVersion: Int

This is the SDK version number that the application is targeting. It is able to run on older versions (down to minSdkVersion), but was explicitly tested to work with the version specified here. Specifying this version allows the platform to disable compatibility code that are not required or enable newer features that are not available to older applications. This may also be a string (such as "Donut") if this is built against a development branch, in which case minSdkVersion is also forced to be that string.

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: 16843376

taskAffinity

Added in API level 1
static val taskAffinity: Int

Specify a task name that activities have an "affinity" to. Use with the application tag (to supply a default affinity for all activities in the application), or with the activity tag (to supply a specific affinity for that component).

The default value for this attribute is the same as the package name, indicating that all activities in the manifest should generally be considered a single "application" to the user. You can use this attribute to modify that behavior: either giving them an affinity for another task, if the activities are intended to be part of that task from the user's perspective, or using an empty string for activities that have no affinity to a task.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16842770

taskCloseEnterAnimation

Added in API level 1
static val taskCloseEnterAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842942

taskCloseExitAnimation

Added in API level 1
static val taskCloseExitAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842943

taskOpenEnterAnimation

Added in API level 1
static val taskOpenEnterAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842940

taskOpenExitAnimation

Added in API level 1
static val taskOpenExitAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842941

taskToBackEnterAnimation

Added in API level 1
static val taskToBackEnterAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842946

taskToBackExitAnimation

Added in API level 1
static val taskToBackExitAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842947

taskToFrontEnterAnimation

Added in API level 1
static val taskToFrontEnterAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842944

taskToFrontExitAnimation

Added in API level 1
static val taskToFrontExitAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842945

tension

Added in API level 4
static val tension: Int

This is the amount of tension.

May be a floating point value, such as "1.2".

Value: 16843370

testOnly

Added in API level 4
static val testOnly: Int

Option to indicate this application is only for testing purposes. For example, it may expose functionality or data outside of itself that would cause a security hole, but is useful for testing. This kind of application can not be installed without the INSTALL_ALLOW_TEST flag, which means only through adb install.

May be a boolean value, such as "true" or "false".

Value: 16843378

text

Added in API level 1
static val text: Int

Text to display.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843087

textAlignment

Added in API level 17
static val textAlignment: Int

Defines the alignment of the text.

May be an integer value, such as "100".

Must be one of the following constant values.

Constant Value Description
center 4 Center the paragraph, for example: ALIGN_CENTER.
gravity 1 Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s text direction.
inherit 0 Default.
textEnd 3 Align to the end of the paragraph, for example: ALIGN_OPPOSITE.
textStart 2 Align to the start of the paragraph, for example: ALIGN_NORMAL.
viewEnd 6 Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise.
viewStart 5 Align to the start of the view, which is ALIGN_LEFT if the view’s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise.
Value: 16843697

textAllCaps

Added in API level 14
static val textAllCaps: Int

Present the text in ALL CAPS. This may use a small-caps form when available.

May be a boolean value, such as "true" or "false".

Value: 16843660

textAppearance

Added in API level 1
static val textAppearance: Int

Default appearance of text: color, typeface, size, and 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: 16842804

textAppearanceButton

Added in API level 1
static val textAppearanceButton: Int

Text color, typeface, size, and style for the text inside of a 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: 16843271

textAppearanceInverse

Added in API level 1
static val textAppearanceInverse: Int

Default appearance of text against an inverted background: color, typeface, size, and 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: 16842805

textAppearanceLarge

Added in API level 1
static val textAppearanceLarge: Int

Text color, typeface, size, and style for "large" text. Defaults to primary text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842816

textAppearanceLargeInverse

Added in API level 1
static val textAppearanceLargeInverse: Int

Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842819

textAppearanceLargePopupMenu

Added in API level 11
static val textAppearanceLargePopupMenu: Int

Text color, typeface, size, and style for the text inside of a popup menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843521

textAppearanceListItem

Added in API level 14
static val textAppearanceListItem: Int

The preferred TextAppearance for the primary text of list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843678

textAppearanceListItemSecondary

Added in API level 21
static val textAppearanceListItemSecondary: Int

The preferred TextAppearance for the secondary text of list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843826

textAppearanceListItemSmall

Added in API level 14
static val textAppearanceListItemSmall: Int

The preferred TextAppearance for the primary text of small list items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843679

textAppearanceMedium

Added in API level 1
static val textAppearanceMedium: Int

Text color, typeface, size, and style for "medium" text. Defaults to primary text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842817

textAppearanceMediumInverse

Added in API level 1
static val textAppearanceMediumInverse: Int

Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842820

textAppearancePopupMenuHeader

Added in API level 24
static val textAppearancePopupMenuHeader: Int

Text color, typeface, size, and style for header text inside of a popup menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844034

textAppearanceSearchResultSubtitle

Added in API level 5
static val textAppearanceSearchResultSubtitle: Int

Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843424

textAppearanceSearchResultTitle

Added in API level 5
static val textAppearanceSearchResultTitle: Int

Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843425

textAppearanceSmall

Added in API level 1
static val textAppearanceSmall: Int

Text color, typeface, size, and style for "small" text. Defaults to secondary text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842818

textAppearanceSmallInverse

Added in API level 1
static val textAppearanceSmallInverse: Int

Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842821

textAppearanceSmallPopupMenu

Added in API level 11
static val textAppearanceSmallPopupMenu: Int

Text color, typeface, size, and style for small text inside of a popup menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843522

textCheckMark

Added in API level 1
static val textCheckMark: Int

Drawable to use for check marks.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842822

textCheckMarkInverse

Added in API level 1
static val textCheckMarkInverse: 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: 16842823

textColor

Added in API level 1
static val textColor: Int

Color of text (usually same as colorForeground).

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: 16842904

textColorAlertDialogListItem

Added in API level 11
static val textColorAlertDialogListItem: Int

Color of list item text in alert dialogs.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843526

textColorHighlight

Added in API level 1
static val textColorHighlight: Int

Color of highlighted 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: 16842905

textColorHighlightInverse

Added in API level 11
static val textColorHighlightInverse: Int

Color of highlighted text, when used in a light theme.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843599

textColorHint

Added in API level 1
static val textColorHint: Int

Color of hint text (displayed when the field is empty).

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: 16842906

textColorHintInverse

Added in API level 1
static val textColorHintInverse: Int

Inverse hint text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16842815
Added in API level 1
static val textColorLink: Int

Color of link text (URLs).

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: 16842907

textColorLinkInverse

Added in API level 11
static val textColorLinkInverse: Int

Color of link text (URLs), when used in a light theme.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843600

textColorPrimary

Added in API level 1
static val textColorPrimary: Int

The most prominent text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16842806

textColorPrimaryDisableOnly

Added in API level 1
static val textColorPrimaryDisableOnly: Int

Bright text color. Only differentiates based on the disabled state.

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: 16842807

textColorPrimaryInverse

Added in API level 1
static val textColorPrimaryInverse: Int

Primary inverse text color, useful for inverted backgrounds.

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: 16842809

textColorPrimaryInverseDisableOnly

Added in API level 4
static val textColorPrimaryInverseDisableOnly: Int

Bright inverse text color. Only differentiates based on the disabled state.

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: 16843403

textColorPrimaryInverseNoDisable

Added in API level 1
static val textColorPrimaryInverseNoDisable: Int

Bright inverse text color. This does not differentiate the disabled state.

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: 16842813

textColorPrimaryNoDisable

Added in API level 1
static val textColorPrimaryNoDisable: Int

Bright text color. This does not differentiate the disabled state. As an example, buttons use this since they display the disabled state via the background and not the foreground text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16842811

textColorSecondary

Added in API level 1
static val textColorSecondary: Int

Secondary text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16842808

textColorSecondaryInverse

Added in API level 1
static val textColorSecondaryInverse: Int

Secondary inverse text color, useful for inverted backgrounds.

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: 16842810

textColorSecondaryInverseNoDisable

Added in API level 1
static val textColorSecondaryInverseNoDisable: Int

Dim inverse text color. This does not differentiate the disabled state.

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: 16842814

textColorSecondaryNoDisable

Added in API level 1
static val textColorSecondaryNoDisable: Int

Dim text color. This does not differentiate the disabled state.

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: 16842812

textColorTertiary

Added in API level 1
static val textColorTertiary: Int

Tertiary text color.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843282

textColorTertiaryInverse

Added in API level 1
static val textColorTertiaryInverse: Int

Tertiary inverse text color, useful for inverted backgrounds.

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: 16843283

textCursorDrawable

Added in API level 12
static val textCursorDrawable: Int

Reference to a drawable that will be drawn under the insertion cursor.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843618

textDirection

Added in API level 17
static val textDirection: Int

Defines the direction of the text.

May be an integer value, such as "100".

Must be one of the following constant values.

Constant Value Description
anyRtl 2 The paragraph direction is RTL if it contains any strong RTL character, otherwise it is LTR if it contains any strong LTR characters. If there are neither, the paragraph direction is the view’s resolved layout direction.
firstStrong 1 Default for the root view. The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is the view’s resolved layout direction.
firstStrongLtr 6 The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is LTR.
firstStrongRtl 7 The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is RTL.
inherit 0 Default.
locale 5 The paragraph direction is coming from the system Locale.
ltr 3 The paragraph direction is left to right.
rtl 4 The paragraph direction is right to left.
Value: 16843696

textEditNoPasteWindowLayout

Added in API level 11
static val textEditNoPasteWindowLayout: Int

Variation of textEditPasteWindowLayout displayed when the clipboard is empty.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843541

textEditPasteWindowLayout

Added in API level 11
static val textEditPasteWindowLayout: Int

The layout of the view that is displayed on top of the cursor to paste inside a TextEdit field.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843540

textEditSideNoPasteWindowLayout

Added in API level 11
static val textEditSideNoPasteWindowLayout: Int

Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843615

textEditSidePasteWindowLayout

Added in API level 11
static val textEditSidePasteWindowLayout: 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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843614

textEditSuggestionItemLayout

Added in API level 14
static val textEditSuggestionItemLayout: Int

Layout of the TextView item that will populate the suggestion popup window.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843636

textFilterEnabled

Added in API level 1
static val textFilterEnabled: Int

When set to true, the list will filter results as the user types. The List's adapter must support the Filterable interface for this to work.

May be a boolean value, such as "true" or "false".

Value: 16843007

textFontWeight

Added in API level 28
static val textFontWeight: Int

Weight for the font used in the TextView.

May be an integer value, such as "100".

Value: 16844165

textIsSelectable

Added in API level 11
static val textIsSelectable: Int

Indicates that the content of a non-editable TextView can be selected. Default value is false. EditText content is always selectable.

May be a boolean value, such as "true" or "false".

Value: 16843542

textLocale

Added in API level 29
static val textLocale: Int

Specifies the android.os.LocaleList for the text in this TextView. If not given, the system default will be used. May be a string value, which is a comma-separated language tag list, such as "ja-JP,zh-CN". When not specified or an empty string is given, it will fallback to the default one. {@see android.os.LocaleList#forLanguageTags(String)} {@see android.widget.TextView#setTextLocales(android.os.LocaleList)}

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844178

textOff

Added in API level 1
static val textOff: Int

The text for the button when it is not checked.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843045

textOn

Added in API level 1
static val textOn: Int

The text for the button when it is checked.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843044

textScaleX

Added in API level 1
static val textScaleX: Int

Sets the horizontal scaling factor for the text.

May be a floating point value, such as "1.2".

Value: 16843089

textSelectHandle

Added in API level 9
static val textSelectHandle: Int

Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within 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: 16843463

textSelectHandleLeft

Added in API level 9
static val textSelectHandleLeft: Int

Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843461

textSelectHandleRight

Added in API level 9
static val textSelectHandleRight: Int

Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843462

textSelectHandleWindowStyle

Added in API level 9
static val textSelectHandleWindowStyle: Int

Reference to a style that will be used for the window containing a text selection anchor.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843464

textSize

Added in API level 1
static val textSize: Int

Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). Supported values include the following:

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: 16842901

textStyle

Added in API level 1
static val textStyle: Int

Default text typeface style.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
bold 1
italic 2
normal 0
Value: 16842903

textSuggestionsWindowStyle

Added in API level 14
static val textSuggestionsWindowStyle: Int

Reference to a style that will be used for the window containing a list of possible text suggestions in 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: 16843635

textViewStyle

Added in API level 1
static val textViewStyle: Int

Default TextView 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: 16842884

theme

Added in API level 1
static val theme: Int

The overall theme to use for an activity. Use with either the application tag (to supply a default theme for all activities) or the activity tag (to supply a specific theme for that activity).

This automatically sets your activity's Context to use this theme, and may also be used for "starting" animations prior to the activity being launched (to better match what the activity actually looks like). It is a reference to a style resource defining the theme. If not set, the default system 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: 16842752

thickness

Added in API level 3
static val thickness: Int

Thickness of the ring. When defined, thicknessRatio is ignored.

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: 16843360

thicknessRatio

Added in API level 1
static val thicknessRatio: Int

Thickness of the ring expressed as a ratio of the ring's width. For instance, if thicknessRatio=3, then the thickness equals the ring's width divided by 3. This value is ignored if innerRadius is defined. Default value is 3.

May be a floating point value, such as "1.2".

Value: 16843164

thumb

Added in API level 1
static val thumb: Int

Draws the thumb on a seekbar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843074

thumbOffset

Added in API level 1
static val thumbOffset: Int

An offset for the thumb that allows it to extend out of the range of the track.

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: 16843075

thumbPosition

Added in API level 23
static val thumbPosition: Int

Position of thumb in relation to the track.

Must be one of the following constant values.

Constant Value Description
inside 1 The thumb is entirely inside the track. At its extremes, the thumb will be contained entirely within the track.
midpoint 0 The thumb's midpoint is anchored to the track. At its extremes, the thumb will extend half-way outside the track.
Value: 16844005

thumbTextPadding

Added in API level 14
static val thumbTextPadding: Int

Amount of padding on either side of text within the switch thumb.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843634

thumbTint

Added in API level 21
static val thumbTint: Int

Tint to apply to the thumb drawable.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843889

thumbTintMode

Added in API level 21
static val thumbTintMode: Int

Blending mode used to apply the thumb tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16843890

thumbnail

Added in API level 5
static val thumbnail: Int

Reference to the wallpaper's thumbnail 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: 16843429

tickMark

Added in API level 24
static val tickMark: Int

Drawable displayed at each progress position on a seekbar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844042

tickMarkTint

Added in API level 24
static val tickMarkTint: Int

Tint to apply to the tick mark drawable.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844043

tickMarkTintMode

Added in API level 24
static val tickMarkTintMode: Int

Blending mode used to apply the tick mark tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16844044

tileMode

Added in API level 1
static val tileMode: Int

Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled. Default value is "disabled".

Must be one of the following constant values.

Constant Value Description
clamp 0 Replicates the edge color.
disabled ffffffff Do not tile the bitmap. This is the default value.
mirror 2 Repeats the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.
repeat 1 Repeats the bitmap in both direction.
Value: 16843265

tileModeX

Added in API level 21
static val tileModeX: Int

Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled. Default value is "disabled".

Must be one of the following constant values.

Constant Value Description
clamp 0 Replicates the edge color.
disabled ffffffff Do not tile the bitmap. This is the default value.
mirror 2 Repeats the shader's image horizontally, alternating mirror images so that adjacent images always seam.
repeat 1 Repeats the bitmap horizontally.
Value: 16843895

tileModeY

Added in API level 21
static val tileModeY: Int

Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled. Default value is "disabled".

Must be one of the following constant values.

Constant Value Description
clamp 0 Replicates the edge color.
disabled ffffffff Do not tile the bitmap. This is the default value.
mirror 2 Repeats the shader's image vertically, alternating mirror images so that adjacent images always seam.
repeat 1 Repeats the bitmap vertically.
Value: 16843896

tileService

Added in API level 33
static val tileService: Int

Fully qualified class name of android.service.quicksettings.TileService is associated with this accessibility shortcut target for one to one mapping. It is used by system settings to remind users this accessibility service has a android.service.quicksettings.TileService.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844391

timePickerDialogTheme

Added in API level 21
static val timePickerDialogTheme: Int

The TimePicker 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: 16843934

timePickerMode

Added in API level 21
static val timePickerMode: 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 clock, but this attribute can be used to force spinner to be used instead.

Must be one of the following constant values.

Constant Value Description
clock 2 Time picker with clock face to select the time.
spinner 1 Time picker with spinner controls to select the time.
Value: 16843956

timePickerStyle

Added in API level 21
static val timePickerStyle: Int

The TimePicker 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: 16843933

timeZone

Added in API level 17
static val timeZone: Int

Specifies the time zone to use. When this attribute is specified, the TextClock will ignore the time zone of the system. To use the user's time zone, do not specify this attribute. The default value is the user's time zone. Please refer to java.util.TimeZone for more information about time zone ids.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843724

tint

Added in API level 1
static val tint: Int

The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. Please note that for compatibility reasons, this is NOT consistent with the default SRC_IN tint mode used by android.widget.ImageView#setImageTintList and by similar tint attributes on other views.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843041

tintMode

Added in API level 21
static val tintMode: Int

When a tint color is set, specifies its Porter-Duff blending mode. The default value is src_in, which treats the drawable as an alpha mask.

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: 16843771

title

Added in API level 1
static val title: Int

The title associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843233

titleCondensed

Added in API level 1
static val titleCondensed: Int

The condensed title associated with the item. This is used in situations where the normal title may be too long to be displayed.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843234

titleMargin

Added in API level 24
static val titleMargin: Int

Specifies extra space on the left, start, right and end sides of the toolbar's title. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844024

titleMarginBottom

Added in API level 24
static val titleMarginBottom: Int

Specifies extra space on the bottom side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844028

titleMarginEnd

Added in API level 24
static val titleMarginEnd: Int

Specifies extra space on the end side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844026

titleMarginStart

Added in API level 24
static val titleMarginStart: Int

Specifies extra space on the start side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844025

titleMarginTop

Added in API level 24
static val titleMarginTop: Int

Specifies extra space on the top side of the toolbar's title. If both this attribute and titleMargin are specified, then this attribute takes precedence. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16844027

titleTextAppearance

Added in API level 21
static val titleTextAppearance: 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: 16843822

titleTextColor

Added in API level 23
static val titleTextColor: Int

A color to apply to the title string.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844003

titleTextStyle

Added in API level 11
static val titleTextStyle: Int

Specifies a style to use for title text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843512

toAlpha

Added in API level 1
static val toAlpha: Int

May be a floating point value, such as "1.2".

Value: 16843211

toDegrees

Added in API level 1
static val toDegrees: Int

May be a floating point value, such as "1.2".

Value: 16843188

toExtendBottom

Added in API level 33
static val toExtendBottom: 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.

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: 16844390

toExtendLeft

Added in API level 33
static val toExtendLeft: 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.

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: 16844387

toExtendRight

Added in API level 33
static val toExtendRight: 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.

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: 16844389

toExtendTop

Added in API level 33
static val toExtendTop: 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.

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: 16844388

toId

Added in API level 21
static val toId: Int

Keyframe identifier for the ending state.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843849

toScene

Added in API level 19
static val toScene: Int

The destination scene in this scene change.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843742

toXDelta

Added in API level 1
static val toXDelta: Int

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: 16843207

toXScale

Added in API level 1
static val toXScale: Int

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: 16843203

toYDelta

Added in API level 1
static val toYDelta: Int

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: 16843209

toYScale

Added in API level 1
static val toYScale: Int

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: 16843205

toolbarStyle

Added in API level 21
static val toolbarStyle: Int

Default Toolbar style.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843946

tooltipText

Added in API level 26
static val tooltipText: Int

The tooltip text associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844084

top

Added in API level 1
static val top: Int

Amount of top 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: 16843182

topBright

Added in API level 1
static val topBright: 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: 16842955

topDark

Added in API level 1
static val topDark: 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: 16842951

topLeftRadius

Added in API level 1
static val topLeftRadius: Int

Radius of the top 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: 16843177

topOffset

Added in API level 3
static val topOffset: Int

Extra offset for the handle at the top 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: 16843352

topRightRadius

Added in API level 1
static val topRightRadius: Int

Radius of the top 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: 16843178

touchscreenBlocksFocus

Added in API level 21
static val touchscreenBlocksFocus: Int

Set to true if this ViewGroup blocks focus in the presence of a touchscreen.

May be a boolean value, such as "true" or "false".

Value: 16843919

track

Added in API level 14
static val track: Int

Drawable to use as the "track" that the switch thumb slides within.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843631

trackTint

Added in API level 23
static val trackTint: Int

Tint to apply to the track.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843993

trackTintMode

Added in API level 23
static val trackTintMode: Int

Blending mode used to apply the track tint.

Must be one of the following constant values.

Constant Value Description
add 10 Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D)
multiply e Multiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc]
screen f [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
src_atop 9 The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]
src_in 5 The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da]
src_over 3 The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Value: 16843994

transcriptMode

Added in API level 1
static val transcriptMode: Int

Sets the transcript mode for the list. In transcript mode, the list scrolls to the bottom to make new items visible when they are added.

Must be one of the following constant values.

Constant Value Description
alwaysScroll 2 The list will automatically scroll to the bottom, no matter what items are currently visible.
disabled 0 Disables transcript mode. This is the default value.
normal 1 The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen.
Value: 16843008

transformPivotX

Added in API level 11
static val transformPivotX: Int

x location of the pivot point around which the view will rotate and scale. This xml attribute sets the pivotX property of the View.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843552

transformPivotY

Added in API level 11
static val transformPivotY: Int

y location of the pivot point around which the view will rotate and scale. This xml attribute sets the pivotY property of the View.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16843553

transition

Added in API level 19
static val transition: Int

The id of a transition to be used in a particular scene change.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843743

transitionGroup

Added in API level 21
static val transitionGroup: Int

Sets whether or not this ViewGroup should be treated as a single entity when doing an Activity transition. Typically, the elements inside a ViewGroup are each transitioned from the scene individually. The default for a ViewGroup is false unless it has a background. See android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, * android.view.View, String) for more information. Corresponds to android.view.ViewGroup#setTransitionGroup(boolean).

May be a boolean value, such as "true" or "false".

Value: 16843777

transitionName

Added in API level 21
static val transitionName: Int

Names a View such that it can be identified for Transitions. Names should be unique in the View hierarchy.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843776

transitionOrdering

Added in API level 19
static val transitionOrdering: Int

Must be one of the following constant values.

Constant Value Description
sequential 1 child transitions should be played sequentially, in the same order as the xml.
together 0 child transitions should be played together.
Value: 16843744

transitionVisibilityMode

Added in API level 21
static val transitionVisibilityMode: Int

Changes whether the transition supports appearing and/or disappearing Views. Corresponds to android.transition.Visibility#setMode(int).

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
mode_in 1 Only appearing Views will be supported.
mode_out 2 Only disappearing Views will be supported.
Value: 16843900

translateX

Added in API level 21
static val translateX: Int

The amount to translate the group on X coordinate.

May be a floating point value, such as "1.2".

Value: 16843866

translateY

Added in API level 21
static val translateY: Int

The amount to translate the group on Y coordinate.

May be a floating point value, such as "1.2".

Value: 16843867

translationX

Added in API level 11
static val translationX: Int

translation in x of the view. This value is added post-layout to the left property of the view, which is set by its layout.

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: 16843554

translationY

Added in API level 11
static val translationY: Int

translation in y of the view. This value is added post-layout to the top property of the view, which is set by its layout.

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: 16843555

translationZ

Added in API level 21
static val translationZ: Int

translation in z of the view. This value is added to its elevation.

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: 16843770

trimPathEnd

Added in API level 21
static val trimPathEnd: Int

The fraction of the path to trim from the end from 0 to 1 .

May be a floating point value, such as "1.2".

Value: 16843785

trimPathOffset

Added in API level 21
static val trimPathOffset: Int

Shift trim region (allows visible region to include the start and end) from 0 to 1.

May be a floating point value, such as "1.2".

Value: 16843786

trimPathStart

Added in API level 21
static val trimPathStart: Int

The fraction of the path to trim from the start from 0 to 1.

May be a floating point value, such as "1.2".

Value: 16843784

ttcIndex

Added in API level 28
static val ttcIndex: Int

The index of the font in the ttc (TrueType Collection) font file. If the font file referenced is not in the ttc format, this attribute needs not be specified. android.graphics.Typeface.Builder#setTtcIndex(int). The default value is 0. More details about the TrueType Collection font format can be found here: https://en.wikipedia.org/wiki/TrueType#TrueType_Collection.

May be an integer value, such as "100".

Value: 16844143

tunerCount

Added in API level 24
static val tunerCount: Int

The number of tuners that the TV input service is associated with. This value can be changed at runtime by calling android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo).

May be an integer value, such as "100".

Value: 16844061

turnScreenOn

Added in API level 27
static val turnScreenOn: Int

Specifies whether the screen should be turned on when the android.app.Activity is resumed. Normally an activity will be transitioned to the stopped state if it is started while the screen if off, but with this flag set the activity will cause the screen to turn on if the activity will be visible and resumed due to the screen coming on. The screen will not be turned on if the activity won't be visible after the screen is turned on. This flag is normally used in conjunction with the android.R.attr#showWhenLocked flag to make sure the activity is visible after the screen is turned on when the lockscreen is up. In addition, if this flag is set and the activity calls android.app.KeyguardManager#requestDismissKeyguard the screen will turn on.

This should be used instead of android.view.WindowManager.LayoutParams#FLAG_TURN_SCREEN_ON flag set for Windows. When using the Window flag during activity startup, there may not be time to add it before the system stops your activity because the screen has not yet turned on. This leads to a double life-cycle as it is then restarted.

May be a boolean value, such as "true" or "false".

Value: 16844138

type

Added in API level 1
static val type: Int

Type of gradient. The default type is linear.

Must be one of the following constant values.

Constant Value Description
linear 0 Linear gradient extending across the center point.
radial 1 Radial gradient extending from the center point outward.
sweep 2 Sweep (or angular) gradient sweeping counter-clockwise around the center point.
Value: 16843169

typeface

Added in API level 1
static val typeface: Int

Default text typeface.

Must be one of the following constant values.

Constant Value Description
monospace 3
normal 0
sans 1
serif 2
Value: 16842902

uiOptions

Added in API level 14
static val uiOptions: Int

Extra options for an activity's UI. Applies to either the <activity> or <application> tag. If specified on the <application> tag these will be considered defaults for all activities in the application.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
none 0 No extra UI options. This is the default.
splitActionBarWhenNarrow 1 Split the options menu into a separate bar at the bottom of the screen when severely constrained for horizontal space. (e.g. portrait mode on a phone.) Instead of a small number of action buttons appearing in the action bar at the top of the screen, the action bar will split into the top navigation section and the bottom menu section. Menu items will not be split across the two bars; they will always appear together.
Value: 16843672

uncertainGestureColor

Added in API level 4
static val uncertainGestureColor: Int

Color used to draw the user's strokes until we are sure it's a gesture.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843382

unfocusedMonthDateColor

Added in API level 11
Deprecated in API level 23
static val unfocusedMonthDateColor: Int

Deprecated: The color for the dates of an unfocused month.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843588

unselectedAlpha

Added in API level 1
static val unselectedAlpha: Int

Sets the alpha on the items that are not selected.

May be a floating point value, such as "1.2".

Value: 16843278

updatePeriodMillis

Added in API level 3
static val updatePeriodMillis: Int

Update period in milliseconds, or 0 if the AppWidget will update itself.

May be an integer value, such as "100".

Value: 16843344

use32bitAbi

Added in API level 24
static val use32bitAbi: Int

Specify whether the 32 bit version of the ABI should be used in a multiArch application. If both abioverride flag (i.e. using abi option of abd install) and use32bitAbi are used, then use32bit is ignored.

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: 16844053

useAppZygote

Added in API level 29
static val useAppZygote: 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.

The Application Zygote will first pre-initialize the application's class loader. Then, if the application has defined the android.R.attr#zygotePreloadName attribute, the Application Zygote will call into that class to allow it to perform application-specific preloads (such as loading a shared library). Therefore, spawning from the Application Zygote will typically reduce the service launch time and reduce its memory usage. The downside of using this flag is that you will have an additional process (the app zygote itself) that is taking up memory. Whether actual memory usage is improved therefore strongly depends on the number of isolated services that an application starts, and how much memory those services save by preloading and sharing memory with the app zygote. Therefore, it is recommended to measure memory usage under typical workloads to determine whether it makes sense to use this flag.

There is a limit to the number of isolated services that can be spawned from the Application Zygote; the absolute limit is 100, but due to potential delays in service process cleanup, a much safer limit to use in practice is 50.

May be a boolean value, such as "true" or "false".

Value: 16844183

useDefaultMargins

Added in API level 14
static val useDefaultMargins: Int

When set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters. The default value is false. See android.widget.GridLayout#setUseDefaultMargins(boolean).

May be a boolean value, such as "true" or "false".

Value: 16843641

useEmbeddedDex

Added in API level 29
static val useEmbeddedDex: Int

Flag to specify if this app wants to run the dex within its APK but not extracted or locally compiled variants. This keeps the dex code protected by the APK signature. Such apps will always run in JIT mode (same when they are first installed), and the system will never generate ahead-of-time compiled code for them. Depending on the app's workload, there may be some run time performance change, noteably the cold start time.

May be a boolean value, such as "true" or "false".

Value: 16844190

useIntrinsicSizeAsMinimum

Added in API level 11
static val useIntrinsicSizeAsMinimum: Int

Use the drawable's intrinsic width and height as minimum size values. Useful if the target drawable is a 9-patch or otherwise should not be scaled down beyond a minimum size.

May be a boolean value, such as "true" or "false".

Value: 16843536

useLevel

Added in API level 1
static val useLevel: Int

Whether the drawable level value (see android.graphics.drawable.Drawable#getLevel()) is used to scale the gradient. Scaling behavior varies based on gradient type. For "linear", adjusts the ending position along the gradient's axis of orientation. For "radial", adjusts the outer radius. For "sweep", adjusts the ending angle. The default value is false.

May be a boolean value, such as "true" or "false".

Value: 16843167

userVisible

Added in API level 5
static val userVisible: Int

May be a boolean value, such as "true" or "false".

Value: 16843409

usesCleartextTraffic

Added in API level 23
static val usesCleartextTraffic: 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. Defaults to true. If set to false false, the application declares that it does not intend to use cleartext network traffic, in which case platform components (e.g. HTTP stacks, DownloadManager, MediaPlayer) will refuse applications's requests to use cleartext traffic. Third-party libraries are encouraged to honor this flag as well.

May be a boolean value, such as "true" or "false".

Value: 16844012

usesPermissionFlags

Added in API level 31
static val usesPermissionFlags: Int

Optional: set of flags that should apply to this permission request. Note that these flags start at 0x4 to match PackageInfo.requestedPermissionsFlags.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
neverForLocation 10000 Strong assertion by a developer that they will never use this permission to derive the physical location of the device, even when the app has been granted the ACCESS_FINE_LOCATION and/or ACCESS_COARSE_LOCATION permissions.
Value: 16844356

value

Added in API level 1
static val value: Int

Concrete value to assign to this piece of named meta-data. The data can later be retrieved from the meta data Bundle through android.os.Bundle#getString, android.os.Bundle#getInt, android.os.Bundle#getBoolean, or android.os.Bundle#getFloat depending on the type used here.

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".

Value: 16842788

valueFrom

Added in API level 11
static val valueFrom: Int

Value the animation starts from.

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 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).

Value: 16843486

valueTo

Added in API level 11
static val valueTo: Int

Value the animation animates to.

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 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).

Value: 16843487

valueType

Added in API level 11
static val valueType: Int

The type of valueFrom and valueTo.

Must be one of the following constant values.

Constant Value Description
colorType 3 values are colors, which are integers starting with "#".
floatType 0 The given values are floats. This is the default value if valueType is unspecified. Note that if any value attribute has a color value (beginning with "#"), then this attribute is ignored and the color values are interpreted as integers.
intType 1 values are integers.
pathType 2 values are paths defined as strings. This type is used for path morphing in AnimatedVectorDrawable.
Value: 16843488

variablePadding

Added in API level 1
static val variablePadding: Int

If true, allows the drawable's padding to change based on the current state that is selected. If false, the padding will stay the same (based on the maximum padding of all the states). Enabling this feature requires that the owner of the drawable deal with performing layout when the state changes, which is often not supported.

May be a boolean value, such as "true" or "false".

Value: 16843157

vendor

Added in API level 19
static val vendor: Int

The vendor name if this print service is vendor specific.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843751

version

Added in API level 24
static val version: Int

The version of the feature that is being used.

May be an integer value, such as "100".

Value: 16844057

versionCode

Added in API level 1
static val versionCode: Int

Internal version code. This is the number used to determine whether one version is more recent than another: it has no other meaning than that higher numbers are more recent. You could use this number to encode a "x.y" in the lower and upper 16 bits, make it a build number, simply increase it by one each time a new version is released, or define it however else you want, as long as each successive version has a higher number. This is not a version number generally shown to the user, that is usually supplied with android.R.attr#versionName. When an app is delivered as multiple split APKs, each APK must have the exact same versionCode.

May be an integer value, such as "100".

Value: 16843291

versionCodeMajor

Added in API level 28
static val versionCodeMajor: Int

Internal major version code. This is essentially additional high bits for the base version code; it has no other meaning than that higher numbers are more recent. This is not a version number generally shown to the user, that is usually supplied with android.R.attr#versionName.

May be an integer value, such as "100".

Value: 16844150

versionMajor

Added in API level 28
static val versionMajor: Int

Optional minimum major version of the package that satisfies the dependency.

May be an integer value, such as "100".

Value: 16844151

versionName

Added in API level 1
static val versionName: Int

The text shown to the user to indicate the version they have. This is used for no other purpose than display to the user; the actual significant version number is given by android.R.attr#versionCode.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843292

verticalCorrection

Added in API level 3
Deprecated in API level 29
static val verticalCorrection: Int

Deprecated: Deprecated in Java.

Amount to offset the touch Y coordinate by, for bias correction. {@deprecated Copy this definition into your own application project.}

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: 16843322

verticalDivider

Added in API level 1
static val verticalDivider: Int

Default vertical divider between menu items.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843054

verticalGap

Added in API level 3
Deprecated in API level 29
static val verticalGap: Int

Deprecated: Deprecated in Java.

Default vertical gap between rows of keys. {@deprecated Copy this definition into your own application project.}

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: 16843328

verticalScrollbarPosition

Added in API level 11
static val verticalScrollbarPosition: Int

Determines which side the vertical scroll bar should be placed on.

Must be one of the following constant values.

Constant Value Description
defaultPosition 0 Place the scroll bar wherever the system default determines.
left 1 Place the scroll bar on the left.
right 2 Place the scroll bar on the right.
Value: 16843572

verticalSpacing

Added in API level 1
static val verticalSpacing: Int

Defines the default vertical spacing between rows.

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: 16843029

viewportHeight

Added in API level 21
static val viewportHeight: Int

The height of the canvas the drawing is on.

May be a floating point value, such as "1.2".

Value: 16843779

viewportWidth

Added in API level 21
static val viewportWidth: Int

The width of the canvas the drawing is on.

May be a floating point value, such as "1.2".

Value: 16843778

visibility

Added in API level 1
static val visibility: Int

Controls the initial visibility of the view.

Must be one of the following constant values.

Constant Value Description
gone 2 Completely hidden, as if the view had not been added.
invisible 1 Not displayed, but taken into account during layout (space is left for it).
visible 0 Visible on screen; the default value.
Value: 16842972

visible

Added in API level 1
static val visible: Int

Provides initial visibility state of the drawable; the default value is false. See android.graphics.drawable.Drawable#setVisible.

May be a boolean value, such as "true" or "false".

Value: 16843156

visibleToInstantApps

Added in API level 26
static val visibleToInstantApps: Int

Specify whether a component should be visible to instant apps.

May be a boolean value, such as "true" or "false".

Value: 16844081

vmSafeMode

Added in API level 8
static val vmSafeMode: Int

Flag indicating whether the application requests the VM to operate in the safe mode.

May be a boolean value, such as "true" or "false".

Value: 16843448

voiceIcon

Added in API level 21
static val voiceIcon: Int

Voice button icon.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843908

voiceLanguage

Added in API level 3
static val voiceLanguage: 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().

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843349

voiceLanguageModel

Added in API level 3
static val voiceLanguageModel: Int

If provided, this specifies the language model that should be used by the voice recognition system. See android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL for more information. If not provided, the default value android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM will be used.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843347

voiceMaxResults

Added in API level 3
static val voiceMaxResults: 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. Must be one or greater. If not provided, the recognizer will choose how many results to return.

May be an integer value, such as "100".

Value: 16843350

voicePromptText

Added in API level 3
static val voicePromptText: Int

If provided, this specifies a prompt that will be displayed during voice input.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16843348

voiceSearchMode

Added in API level 3
static val voiceSearchMode: Int

Voice search features are controlled by mode bits in this field. Omitting this field, or setting to zero, provides default behavior. If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must also be set. Optional attribute.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
launchRecognizer 4 If set, the voice search button will take the user directly to a built-in voice recording activity. This activity will prompt the user to speak, transcribe the spoken text, and forward the resulting query text to the searchable activity, just as if the user had typed it into the search UI and clicked the search button.
launchWebSearch 2 If set, the voice search button will take the user directly to a built-in voice web search activity. Most applications will not use this flag, as it will take the user away from the activity in which search was invoked.
showVoiceSearchButton 1 If set, display a voice search button. This only takes effect if voice search is available on the device.
Value: 16843346

wallpaperCloseEnterAnimation

Added in API level 5
static val wallpaperCloseEnterAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843413

wallpaperCloseExitAnimation

Added in API level 5
static val wallpaperCloseExitAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843414

wallpaperIntraCloseEnterAnimation

Added in API level 5
static val wallpaperIntraCloseEnterAnimation: 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). The wallpaper remains static behind the animation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843417

wallpaperIntraCloseExitAnimation

Added in API level 5
static val wallpaperIntraCloseExitAnimation: 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). The wallpaper remains static behind the animation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843418

wallpaperIntraOpenEnterAnimation

Added in API level 5
static val wallpaperIntraOpenEnterAnimation: 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). The wallpaper remains static behind the animation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843415

wallpaperIntraOpenExitAnimation

Added in API level 5
static val wallpaperIntraOpenExitAnimation: 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). The wallpaper remains static behind the animation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843416

wallpaperOpenEnterAnimation

Added in API level 5
static val wallpaperOpenEnterAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843411

wallpaperOpenExitAnimation

Added in API level 5
static val wallpaperOpenExitAnimation: 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).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843412

webTextViewStyle

Added in API level 8
static val webTextViewStyle: Int

Default WebTextView 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: 16843449

webViewStyle

Added in API level 1
static val webViewStyle: Int

Default WebView 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: 16842885

weekDayTextAppearance

Added in API level 11
static val weekDayTextAppearance: Int

The text appearance for the week day abbreviation in the calendar header.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843592

weekNumberColor

Added in API level 11
Deprecated in API level 23
static val weekNumberColor: Int

Deprecated: The color for the week numbers.

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: 16843589

weekSeparatorLineColor

Added in API level 11
Deprecated in API level 23
static val weekSeparatorLineColor: Int

Deprecated: The color for the separator line between weeks.

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: 16843590

weightSum

Added in API level 1
static val weightSum: Int

Defines the maximum weight sum. If unspecified, the sum is computed by adding the layout_weight of all of the children. This can be used for instance to give a single child 50% of the total available space by giving it a layout_weight of 0.5 and setting the weightSum to 1.0.

May be a floating point value, such as "1.2".

Value: 16843048

widgetCategory

Added in API level 17
static val widgetCategory: Int

Optional parameter which indicates where this widget can be shown, ie. home screen, keyguard, search bar or any combination thereof. Supports combined values using | operator.

May be an integer value, such as "100".

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
home_screen 1
keyguard 2
searchbox 4
Value: 16843716

widgetFeatures

Added in API level 28
static val widgetFeatures: Int

Flags indicating various features supported by the widget. These are hints to the widget host, and do not actually change the behavior of the widget.

May be an integer value, such as "100".

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
configuration_optional 4 The widget provides a default configuration. The host may decide not to launch the provided configuration activity.
hide_from_picker 2 The widget is added directly by the app, and does not need to appear in the global list of available widgets
reconfigurable 1 The widget can be reconfigured anytime after it is bound
Value: 16844153

widgetLayout

Added in API level 1
static val widgetLayout: Int

The layout for the controllable widget portion of a Preference. This is inflated into the layout for a Preference and should be used more frequently than the layout attribute. For example, a checkbox preference would specify a custom layout (consisting of just the CheckBox) here.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843243

width

Added in API level 1
static val width: Int

Makes the TextView be exactly this wide. You could get the same effect by specifying this number in the layout parameters.

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: 16843097

windowActionBar

Added in API level 11
static val windowActionBar: Int

Flag indicating whether this window should have an Action Bar in place of the usual title bar.

May be a boolean value, such as "true" or "false".

Value: 16843469

windowActionBarOverlay

Added in API level 11
static val windowActionBarOverlay: Int

Flag indicating whether this window's Action Bar should overlay application content. Does nothing if the window would not have an Action Bar.

May be a boolean value, such as "true" or "false".

Value: 16843492

windowActionModeOverlay

Added in API level 11
static val windowActionModeOverlay: Int

Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).

May be a boolean value, such as "true" or "false".

Value: 16843485

windowActivityTransitions

Added in API level 21
static val windowActivityTransitions: Int

Flag indicating whether this window allows Activity Transitions. Corresponds to android.view.Window#FEATURE_ACTIVITY_TRANSITIONS.

May be a boolean value, such as "true" or "false".

Value: 16843981

windowAllowEnterTransitionOverlap

Added in API level 21
static val windowAllowEnterTransitionOverlap: Int

Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. Corresponds to android.view.Window#setAllowEnterTransitionOverlap(boolean). The default value is true.

May be a boolean value, such as "true" or "false".

Value: 16843836

windowAllowReturnTransitionOverlap

Added in API level 21
static val windowAllowReturnTransitionOverlap: Int

Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. Corresponds to android.view.Window#setAllowReturnTransitionOverlap(boolean). The default value is true.

May be a boolean value, such as "true" or "false".

Value: 16843835

windowAnimationStyle

Added in API level 1
static val windowAnimationStyle: 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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842926

windowBackground

Added in API level 1
static val windowBackground: Int

Drawable to use as the overall window background. As of android.os.Build.VERSION_CODES#HONEYCOMB, this may be a selector that uses state_accelerated to pick a non-solid color when running on devices that can draw such a bitmap with complex compositing on top at 60fps.

There are a few special considerations to use when setting this drawable:

  • This information will be used to infer the pixel format for your window's surface. If the drawable has any non-opaque pixels, your window will be translucent (32 bpp).
  • If you want to draw the entire background yourself, you should set this drawable to some solid color that closely matches that background (so the system's preview of your window will match), and then in code manually set your window's background to null so it will not be drawn.

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: 16842836

windowBackgroundBlurRadius

Added in API level 31
static val windowBackgroundBlurRadius: Int

Blur the screen behind the window with the bounds of the window. The radius defines the size of the neighbouring area, from which pixels will be averaged to form the final color for each pixel in the region. A radius of 0 means no blur. The higher the radius, the denser the blur. Corresponds to android.view.Window#setBackgroundBlurRadius.

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: 16844331

windowBackgroundFallback

Added in API level 24
static val windowBackgroundFallback: Int

Drawable to draw selectively within the inset areas when the windowBackground has been set to null. This protects against seeing visual garbage in the surface when the app has not drawn any content into this area. One example is when the user is resizing a window of an activity in multi-window mode.

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: 16844035

windowBlurBehindEnabled

Added in API level 31
static val windowBlurBehindEnabled: Int

If set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.

May be a boolean value, such as "true" or "false".

Value: 16844316

windowBlurBehindRadius

Added in API level 31
static val windowBlurBehindRadius: Int

When windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window. The range is from 0, which means no blur, to 150.

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: 16844315

windowClipToOutline

Added in API level 21
static val windowClipToOutline: Int

Whether to clip window content to the outline of the window background.

May be a boolean value, such as "true" or "false".

Value: 16843947

windowCloseOnTouchOutside

Added in API level 11
static val windowCloseOnTouchOutside: Int

Control whether a container should automatically close itself if the user touches outside of it. This only applies to activities and dialogs.

Note: this attribute will only be respected for applications that are targeting android.os.Build.VERSION_CODES#HONEYCOMB or later.

May be a boolean value, such as "true" or "false".

Value: 16843611

windowContentOverlay

Added in API level 1
static val windowContentOverlay: Int

This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842841

windowContentTransitionManager

Added in API level 21
static val windowContentTransitionManager: Int

Reference to a TransitionManager XML resource defining the desired transitions between different window 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: 16843769

windowContentTransitions

Added in API level 21
static val windowContentTransitions: Int

Flag indicating whether this window requests that content changes be performed as scene changes with transitions. Corresponds to android.view.Window#FEATURE_CONTENT_TRANSITIONS.

May be a boolean value, such as "true" or "false".

Value: 16843768

windowDisablePreview

Added in API level 3
static val windowDisablePreview: Int

Flag allowing you to disable the splash screen for a window. The default value is false; if set to true, the system can never use the window's theme to show a splash screen before your actual instance is shown to the user.

May be a boolean value, such as "true" or "false".

Value: 16843298

windowDrawsSystemBarBackgrounds

Added in API level 21
static val windowDrawsSystemBarBackgrounds: Int

Flag indicating whether this Window is responsible for drawing the background for the system bars. If true and the window is not floating, the system bars are drawn with a transparent background and the corresponding areas in this window are filled with the colors specified in android.R.attr#statusBarColor and android.R.attr#navigationBarColor. Corresponds to android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS.

May be a boolean value, such as "true" or "false".

Value: 16843856

windowElevation

Added in API level 21
static val windowElevation: Int

Elevation to use for the window.

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: 16843920

windowEnableSplitTouch

Added in API level 11
static val windowEnableSplitTouch: Int

Flag indicating that this window should allow touches to be split across other windows that also support split touch. The default value is true for applications with a targetSdkVersion of Honeycomb or newer; false otherwise. When this flag is false, the first pointer that goes down determines the window to which all subsequent touches go until all pointers go up. When this flag is true, each pointer (not necessarily the first) that goes down determines the window to which all subsequent touches of that pointer will go until that pointers go up thereby enabling touches with multiple pointers to be split across multiple windows.

May be a boolean value, such as "true" or "false".

Value: 16843543

windowEnterAnimation

Added in API level 1
static val windowEnterAnimation: Int

The animation used when a window is being added.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842932

windowEnterTransition

Added in API level 21
static val windowEnterTransition: Int

Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. Corresponds to android.view.Window#setEnterTransition(android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843831

windowExitAnimation

Added in API level 1
static val windowExitAnimation: Int

The animation used when a window is being 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: 16842933

windowExitTransition

Added in API level 21
static val windowExitTransition: 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. Corresponds to android.view.Window#setExitTransition(android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843832

windowFrame

Added in API level 1
static val windowFrame: Int

Drawable to use as a frame around the window.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842837

windowFullscreen

Added in API level 1
static val windowFullscreen: Int

Flag indicating whether this window should fill the entire screen. Corresponds to android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN.

May be a boolean value, such as "true" or "false".

Value: 16843277

windowHideAnimation

Added in API level 1
static val windowHideAnimation: Int

The animation used when a window is going from VISIBLE to INVISIBLE.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842935

windowIsFloating

Added in API level 1
static val windowIsFloating: Int

Flag indicating whether this is a floating window.

May be a boolean value, such as "true" or "false".

Value: 16842839

windowIsTranslucent

Added in API level 1
static val windowIsTranslucent: Int

Flag indicating whether this is a translucent window.

May be a boolean value, such as "true" or "false".

Value: 16842840

windowLayoutAffinity

Added in API level 31
static val windowLayoutAffinity: Int

Window layout affinity of this activity. Activities with the same window layout affinity will share the same layout record. That is, if a user is opening an activity in a new task on a display that can host freeform windows, and the user had opened a task before and that task had a root activity who had the same window layout affinity, the new task's window will be created in the same window mode and around the location which the previously opened task was in.

For example, if a user maximizes a task with root activity A and opens another activity B that has the same window layout affinity as activity A has, activity B will be created in fullscreen window mode. Similarly, if they move/resize a task with root activity C and open another activity D that has the same window layout affinity as activity C has, activity D will be in freeform window mode and as close to the position of activity C as conditions permit. It doesn't require the user to keep the task with activity A or activity C open. It won't, however, put any task into split-screen or PIP window mode on launch.

If the user is opening an activity with its window layout affinity for the first time, the window mode and position is OEM defined.

By default activity doesn't share any affinity with other activities.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844313

windowLayoutInDisplayCutoutMode

Added in API level 27
static val windowLayoutInDisplayCutoutMode: Int

Controls how the window is laid out if there is a DisplayCutout.

Defaults to default.

See also WindowManager.LayoutParams.layoutInDisplayCutoutMode, android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT, android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES, android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, and DisplayCutout

Must be one of the following constant values.

Constant Value Description
always 3

The window is always allowed to extend into the DisplayCutout areas on the all edges of the screen.

The window must make sure that no important content overlaps with the DisplayCutout.

Corresponds to LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS.

default 0

The window is allowed to extend into the DisplayCutout area, only if the DisplayCutout is fully contained within a system bar. Otherwise, the window is laid out such that it does not overlap with the DisplayCutout area.

Corresponds to LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT.

never 2

The window is never allowed to overlap with the DisplayCutout area.

This should be used with windows that transiently set SYSTEM_UI_FLAG_FULLSCREEN to avoid a relayout of the window when the flag is set or cleared.

Corresponds to LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER.

shortEdges 1

The window is always allowed to extend into the DisplayCutout areas on the short edges of the screen even if fullscreen or in landscape. The window will never extend into a DisplayCutout area on the long edges of the screen.

The window must make sure that no important content overlaps with the DisplayCutout.

Corresponds to LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES.

Value: 16844166

windowLightNavigationBar

Added in API level 27
static val windowLightNavigationBar: Int

If set, the navigation bar will be drawn such that it is compatible with a light navigation bar background.

For this to take effect, the window must be drawing the system bar backgrounds with android.R.attr#windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with android.R.attr#windowTranslucentNavigation. Corresponds to setting android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR on the decor view.

May be a boolean value, such as "true" or "false".

Value: 16844140

windowLightStatusBar

Added in API level 23
static val windowLightStatusBar: Int

If set, the status bar will be drawn such that it is compatible with a light status bar background.

For this to take effect, the window must be drawing the system bar backgrounds with android.R.attr#windowDrawsSystemBarBackgrounds and the status bar must not have been requested to be translucent with android.R.attr#windowTranslucentStatus. Corresponds to setting android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR on the decor view.

May be a boolean value, such as "true" or "false".

Value: 16844000

windowMinWidthMajor

Added in API level 11
static val windowMinWidthMajor: Int

The minimum width the window is allowed to be, along the major axis of the screen. That is, when in landscape. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Value: 16843606

windowMinWidthMinor

Added in API level 11
static val windowMinWidthMinor: Int

The minimum width the window is allowed to be, along the minor axis of the screen. That is, when in portrait. Can be either an absolute dimension or a fraction of the screen size in that dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Value: 16843607

windowNoDisplay

Added in API level 3
static val windowNoDisplay: Int

Flag indicating that this window should not be displayed at all. The default value is false; if set to true, and this window is the main window of an Activity, then it will never actually be added to the window manager. This means that your activity must immediately quit without waiting for user interaction, because there will be no such interaction coming.

May be a boolean value, such as "true" or "false".

Value: 16843294

windowNoMoveAnimation

Added in API level 34
static val windowNoMoveAnimation: Int

Flag indicating whether this window should skip movement animations. See also android.view.WindowManager.LayoutParams#setCanPlayMoveAnimation

May be a boolean value, such as "true" or "false".

Value: 16844421

windowNoTitle

Added in API level 1
static val windowNoTitle: Int

Flag indicating whether there should be no title on this window.

May be a boolean value, such as "true" or "false".

Value: 16842838

windowOverscan

Added in API level 18
Deprecated in API level 30
static val windowOverscan: Int

Deprecated: Overscan areas aren't set by any Android product anymore as of Android 11.

May be a boolean value, such as "true" or "false".

Flag indicating whether this window should extend into overscan region. Corresponds to android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN.

Value: 16843727

windowReenterTransition

Added in API level 21
static val windowReenterTransition: 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. Corresponds to android.view.Window#setReenterTransition(android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843951

windowReturnTransition

Added in API level 21
static val windowReturnTransition: 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. Corresponds to android.view.Window#setReturnTransition(android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843950

windowSharedElementEnterTransition

Added in API level 21
static val windowSharedElementEnterTransition: Int

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene. Corresponds to android.view.Window#setSharedElementEnterTransition( * android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843833

windowSharedElementExitTransition

Added in API level 21
static val windowSharedElementExitTransition: 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. Corresponds to android.view.Window#setSharedElementExitTransition( * android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843834

windowSharedElementReenterTransition

Added in API level 21
static val windowSharedElementReenterTransition: Int

Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. Corresponds to android.view.Window#setSharedElementReenterTransition( * android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843953

windowSharedElementReturnTransition

Added in API level 21
static val windowSharedElementReturnTransition: Int

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. Corresponds to android.view.Window#setSharedElementReturnTransition( * android.transition.Transition).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843952

windowSharedElementsUseOverlay

Added in API level 21
static val windowSharedElementsUseOverlay: Int

Indicates whether or not shared elements should use an overlay during transitions. The default value is true.

May be a boolean value, such as "true" or "false".

Value: 16843963

windowShowAnimation

Added in API level 1
static val windowShowAnimation: Int

The animation used when a window is going from INVISIBLE to VISIBLE.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842934

windowShowWallpaper

Added in API level 5
static val windowShowWallpaper: Int

Flag indicating that this window's background should be the user's current wallpaper. Corresponds to android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER.

May be a boolean value, such as "true" or "false".

Value: 16843410

windowSoftInputMode

Added in API level 3
static val windowSoftInputMode: Int

Defines the default soft input state that this window would like when it is displayed. Corresponds to android.view.WindowManager.LayoutParams#softInputMode.

Must be one or more (separated by '|') of the following constant values.

Constant Value Description
adjustNothing 30 Don't resize or pan the window to make room for the soft input area; the window is never adjusted for it.
adjustPan 20 Don't resize the window to make room for the soft input area; instead pan the contents of the window as focus moves inside of it so that the user can see what they are typing. This is generally less desireable than panning because the user may need to close the input area to get at and interact with parts of the window.
adjustResize 10 Always resize the window: the content area of the window is reduced to make room for the soft input area.
adjustUnspecified 0 The window resize/pan adjustment has not been specified, the system will automatically select between resize and pan modes, depending on whether the content of the window has any layout views that can scroll their contents. If there is such a view, then the window will be resized, with the assumption being that the resizeable area can be reduced to make room for the input UI.
stateAlwaysHidden 3 Always make the soft input area hidden when this window has input focus.
stateAlwaysVisible 5 Always make the soft input area visible when this window has input focus.
stateHidden 2 Make the soft input area hidden when normally appropriate (when the user is navigating forward to your window).
stateUnchanged 1 Leave the soft input window as-is, in whatever state it last was.
stateUnspecified 0 Not specified, use what the system thinks is best. This is the default.
stateVisible 4 Make the soft input area visible when normally appropriate (when the user is navigating forward to your window).
Value: 16843307

windowSplashScreenAnimatedIcon

Added in API level 31
static val windowSplashScreenAnimatedIcon: 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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844333

windowSplashScreenAnimationDuration

Added in API level 31
Deprecated in API level 33
static val windowSplashScreenAnimationDuration: Int

Deprecated: Not used by framework starting from API level 33. The system estimates the duration of the vector animation automatically.

May be an integer value, such as "100".

The duration, in milliseconds, of the window splash screen icon animation duration when playing the splash screen starting window. The maximum animation duration should be limited below 1000ms.

Value: 16844334

windowSplashScreenBackground

Added in API level 31
static val windowSplashScreenBackground: Int

The background color for the splash screen, if not specify then system will calculate from windowBackground.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844332

windowSplashScreenBehavior

Added in API level 33
static val windowSplashScreenBehavior: Int

Specify whether this application always wants the icon to be displayed on the splash screen.

Must be one of the following constant values.

Constant Value Description
default 0 The icon is shown when the launching activity sets the splashScreenStyle to SPLASH_SCREEN_STYLE_ICON. If the launching activity does not specify any style, follow the system behavior.
icon_preferred 1 The icon is shown unless the launching app specified SPLASH_SCREEN_STYLE_EMPTY
Value: 16844392

windowSplashScreenBrandingImage

Added in API level 31
static val windowSplashScreenBrandingImage: Int

Place a drawable image in the bottom of the starting window. The image can be used to represent the branding of the application.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844335

windowSplashScreenIconBackgroundColor

Added in API level 31
static val windowSplashScreenIconBackgroundColor: Int

Set a background behind the splash screen icon. This is useful if there is not enough contrast between the window background and the icon. Note the shape would also be masking like an icon.

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16844336

windowSplashscreenContent

Added in API level 26
Deprecated in API level 31
static val windowSplashscreenContent: Int

Deprecated: Deprecated in Java.

{@deprecated Use windowSplashscreenAnimatedIcon instead } Reference to a drawable to be used as the splash screen content of the window. This drawable will be placed on top of the android.R.attr#windowBackground with its bounds inset by the system bars. If the drawable should not be inset by the system bars, use a fullscreen theme.

Note that even if no splashscreen content is set on the theme, the system may still show a splash screen using the other attributes on the theme, like the android.R.attr#windowBackground. {@deprecated Use windowSplashscreenAnimatedIcon instead.}

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16844132

windowSwipeToDismiss

Added in API level 20
Deprecated in API level 30
static val windowSwipeToDismiss: Int

Deprecated: Swipe-to-dismiss isn't functional anymore.

May be a boolean value, such as "true" or "false".

Flag to indicate that a window can be swiped away to be dismissed. Corresponds to android.view.Window#FEATURE_SWIPE_TO_DISMISS. It will also dynamically change translucency of the window, if the windowIsTranslucent is not set. If windowIsTranslucent is set (to either true or false) it will obey that setting.

Value: 16843763

windowTitleBackgroundStyle

Added in API level 1
static val windowTitleBackgroundStyle: Int

The style resource to use for a window's title area.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842844

windowTitleSize

Added in API level 1
static val windowTitleSize: Int

The style resource to use for a window's title bar 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).

Value: 16842842

windowTitleStyle

Added in API level 1
static val windowTitleStyle: Int

The style resource to use for a window's title text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842843

windowTransitionBackgroundFadeDuration

Added in API level 21
static val windowTransitionBackgroundFadeDuration: 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. Corresponds to android.view.Window#setTransitionBackgroundFadeDuration(long).

May be an integer value, such as "100".

Value: 16843873

windowTranslucentNavigation

Added in API level 19
static val windowTranslucentNavigation: Int

Flag indicating whether this window requests a translucent navigation bar. Corresponds to android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION.

May be a boolean value, such as "true" or "false".

Value: 16843760

windowTranslucentStatus

Added in API level 19
static val windowTranslucentStatus: Int

Flag indicating whether this window requests a translucent status bar. Corresponds to android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS.

May be a boolean value, such as "true" or "false".

Value: 16843759

writePermission

Added in API level 1
static val writePermission: Int

A specific android.R.attr#permission name for write access to a android.content.ContentProvider. See the Security and Permissions document for more information on permissions.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16842760

x

Added in API level 1
static val x: Int

A coordinate in the X dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842924

xlargeScreens

Added in API level 9
static val xlargeScreens: Int

Indicates whether the application supports extra large screen form-factors.

May be a boolean value, such as "true" or "false".

Value: 16843455

y

Added in API level 1
static val y: Int

A coordinate in the Y dimension.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Value: 16842925

yearListItemTextAppearance

Added in API level 21
Deprecated in API level 23
static val yearListItemTextAppearance: Int

Deprecated: Deprecated in Java.

The list year's text appearance in the list. {@deprecated Use yearListTextColor. }

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16843929

yearListSelectorColor

Added in API level 21
Deprecated in API level 23
static val yearListSelectorColor: Int

Deprecated: Deprecated in Java.

The list year's selected circle color in the list. {@deprecated No longer displayed.}

May be a color value, in the form of "rgb", "argb", "rrggbb", or "aarrggbb".

Value: 16843930

yesNoPreferenceStyle

Added in API level 1
static val yesNoPreferenceStyle: Int

Default style for YesNoPreference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Value: 16842896

zAdjustment

Added in API level 1
static val zAdjustment: Int

Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation. The default value is normal.

Must be one of the following constant values.

Constant Value Description
bottom ffffffff The content being animated is forced under all other content for the duration of the animation.
normal 0 The content being animated be kept in its current Z order.
top 1 The content being animated is forced on top of all other content for the duration of the animation.
Value: 16843201

zygotePreloadName

Added in API level 29
static val zygotePreloadName: 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. This is a fully qualified class name (for example, com.mycompany.myapp.MyZygotePreload); as a short-hand if the first character of the class is a period then it is appended to your package name. The class must implement the android.app.ZygotePreload interface.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Value: 16844189

Public constructors

attr

attr()

Properties

defaultLocale

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;

optional

static val optional: Int

Specify whether the SDK is optional. The default is false, false means app can be installed even if the SDK library doesn't exist, and the SDK library can be uninstalled when the app is still installed.

May be a boolean value, such as "true" or "false".