lightbulb_outline Please take our October 2018 developer survey. Start survey

attr

class attr
kotlin.Any
   ↳ android.R.attr

Summary

Constants
static Int

Default AbsListView style.

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 after which this one is visited in accessibility traversal.

static Int

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

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

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

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

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

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

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 acitivty's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations.

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

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


Requires API level 11 (Android 3.0, Honeycomb)

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

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

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

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

Resource array of dimensions to be used in conjunction with autoSizeTextType set to uniform.

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

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

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

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

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

static Int

Category of the resource overlay.

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

The SHA-256 digest of the library 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

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

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

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

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


Requires API level 14 (Android 4.0, IceCreamSandwich)

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

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

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

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


Requires API level 11 (Android 3.0, Honeycomb)

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

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 this view has elements that may overlap when drawn.

static Int

Defines the drawable to draw over the content.

static Int

Defines the gravity to apply to the foreground drawable.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The category applied to all items within this group.

static Int

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

static Int

Defines the minimum value.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

static Int

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

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


Requires API level 5 (Android 2.0, Eclair)

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

rotation of the view, in degrees.

static Int

Flag allowing the activity to specify which screen rotation animation it desires.

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

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

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

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


Requires API level 11 (Android 3.0, Honeycomb)

static Int


Requires API level 11 (Android 3.0, Honeycomb)

static Int

The service that hosts active voice interaction sessions.

static Int

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

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

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;
Requires API level 25 (Android 7.1.1, Nougat)

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

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

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

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


Requires API level 11 (Android 3.0, Honeycomb)

static Int

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

static Int


Requires API level 11 (Android 3.0, Honeycomb)

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

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

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

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.

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

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

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

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

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

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 View.getTag() or searched for with View.findViewWithTag().

static Int

The name of the activity this alias should launch.

static Int

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

static Int


Requires API level 14 (Android 4.0, IceCreamSandwich)

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

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

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

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


Requires API level 11 (Android 3.0, Honeycomb)

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

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

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, STMP without STARTTLS or TLS.

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

Required specific library version.

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


Requires API level 11 (Android 3.0, Honeycomb)

static Int


Requires API level 11 (Android 3.0, Honeycomb)

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

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

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

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

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.

Public constructors

Constants

absListViewStyle

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

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.

ConstantValueDescription typeAllMaskffffffffReceives android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK i.e. all events. typeAnnouncement4000Receives android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT events. typeAssistReadingContext1000000Receives android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT events. typeContextClicked800000Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED events. typeGestureDetectionEnd80000Receives android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END events. typeGestureDetectionStart40000Receives android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START events. typeNotificationStateChanged40Receives android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED events. typeTouchExplorationGestureEnd400Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END events. typeTouchExplorationGestureStart200Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START events. typeTouchInteractionEnd200000Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END events. typeTouchInteractionStart100000Receives android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START events. typeViewAccessibilityFocusCleared10000Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED events. typeViewAccessibilityFocused8000Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED events. typeViewClicked1Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED events. typeViewFocused8Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED events. typeViewHoverEnter80Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER events. typeViewHoverExit100Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT events. typeViewLongClicked2Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED events. typeViewScrolled1000Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED events. typeViewSelected4Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED events. typeViewTextChanged10Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED events. typeViewTextSelectionChanged2000Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED events. typeViewTextTraversedAtMovementGranularity20000Receives android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY events. typeWindowContentChanged800Receives android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED events. typeWindowStateChanged20Receives android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED events. typeWindowsChanged400000Receives android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED events.
Requires API level 14 (Android 4.0, IceCreamSandwich)
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.

ConstantValueDescription feedbackAllMaskffffffffProvides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK feedback. feedbackAudible4Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE feedback. feedbackGeneric10Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC feedback. feedbackHaptic2Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC feedback. feedbackSpoken1Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN feedback. feedbackVisual8Provides android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL feedback.
Requires API level 14 (Android 4.0, IceCreamSandwich)
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.

ConstantValueDescription flagDefault1Has flag android.accessibilityservice.AccessibilityServiceInfo#DEFAULT. flagEnableAccessibilityVolume80Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME. flagIncludeNotImportantViews2Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS. flagReportViewIds10Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS. flagRequestAccessibilityButton100Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON. flagRequestEnhancedWebAccessibility8Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY. Not used by the framework. flagRequestFilterKeyEvents20Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS. flagRequestFingerprintGestures200Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES. flagRequestTouchExplorationMode4Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE. flagRetrieveInteractiveWindows40Has flag android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS.
Requires API level 14 (Android 4.0, IceCreamSandwich)
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".
Requires API level 28 (Android 8.+, P)

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.

ConstantValueDescription assertive2Accessibility services should interrupt ongoing speech to immediately announce changes to this view. none0Accessibility services should not announce changes to this view. polite1Accessibility services should announce changes to this view.
Requires API level 19 (Android 4.4, KitKat)
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;
Requires API level 28 (Android 8.+, P)

Value: 16844156

accessibilityTraversalAfter

added in API level 22
static val accessibilityTraversalAfter: Int

Sets the id of a view after which this one is visited in accessibility traversal. A screen-reader must visit the content of the other view before the content of this one. {@see android.view.View#setAccessibilityTraversalAfter(int)}

May be an integer value, such as "100".
Requires API level 22 (Android 5.1, Lollipop)

Value: 16843986

accessibilityTraversalBefore

added in API level 22
static val accessibilityTraversalBefore: Int

Sets the id of a view before which this one is visited in accessibility traversal. A screen-reader must visit the content of this view before the content of the one it precedes. {@see android.view.View#setAccessibilityTraversalBefore(int)}

May be an integer value, such as "100".
Requires API level 22 (Android 5.1, Lollipop)

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".
Requires API level 5 (Android 2.0, Eclair)

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;
Requires API level 5 (Android 2.0, Eclair)

Value: 16843407

action

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription wrap_content0
Requires API level 11 (Android 3.0, Honeycomb)
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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 14 (Android 4.0, IceCreamSandwich)

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;
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843517

activityCloseEnterAnimation

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

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

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

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;
Requires API level 19 (Android 4.4, KitKat)

Value: 16843750

addStatesFromChildren

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

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;
Requires API level 19 (Android 4.4, KitKat)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843605

alertDialogStyle

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843529

alignmentMode

added in API level 14
static val alignmentMode: Int

Alignment constants.

Must be one of the following constant values.

ConstantValueDescription alignBounds0Align the bounds of the children. See android.widget.GridLayout#ALIGN_BOUNDS. alignMargins1Align the margins of the children. See android.widget.GridLayout#ALIGN_MARGINS.
Requires API level 14 (Android 4.0, IceCreamSandwich)
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;
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843468

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843392

allowClearUserData

static val allowClearUserData: Int

Option to let applications specify that user data can/cannot be cleared. This flag is turned on by default. This attribute is usable only by applications included in the system image. Third-party apps cannot use it.

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

Value: 16842757

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".
Requires API level 20 (Android 4.4W, KitKat Wear)

Value: 16843765

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843570

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843353

allowTaskReparenting

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".
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16843999

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".
Requires API level 11 (Android 3.0, Honeycomb)

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.

ConstantValueDescription ALT2 CTRL1000 FUNCTION8 META10000 SHIFT1 SYM4
Requires API level 26 (Android 8.0, Oreo)
Value: 16844110

alphabeticShortcut

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

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

static val alwaysRetainTaskState: Int

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

Normally the system will reset a task (remove all activities from the stack and reset the root activity) in certain situations when the user re-selects that task from the home screen. Typically this will be done if the user hasn't visited that task for a certain amount of time, such as 30 minutes.

By setting this attribute, the user will always return to your task in its last state, regardless of how they get there. This is useful, for example, in an application like the web browser where there is a lot of state (such as multiple open tabs) that the application would not like to lose.

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

Value: 16843267

amPmBackgroundColor

added in API level 21
static val amPmBackgroundColor: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843941

amPmTextColor

added in API level 21
static val amPmTextColor: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843966

angle

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843356

animation

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

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

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

static val animationOrder: Int

The order in which the animations will be started.

Must be one of the following constant values.

ConstantValueDescription normal0Animations are started in the natural order. random2Animations are started randomly. reverse1Animations are started in the reverse order.
Value: 16843214

animationResolution

added in API level 11
static val animationResolution: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843546

antialias

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
static val anyDensity: Int

Indicates whether the application can accommodate any screen density. Older applications are assumed to not be able to, new ones able to. You can explicitly supply your abilities here.

May be a boolean value, such as "true" or "false".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 19 (Android 4.4, KitKat)

Value: 16843757

apiKey

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.

ConstantValueDescription audio1Apps which primarily work with audio or music, such as music players. game0Apps which are primarily games. image3Apps which primarily work with images or photos, such as camera or gallery apps. maps6Apps which are primarily maps apps, such as navigation apps. news5Apps which are primarily news apps, such as newspapers, magazines, or sports apps. productivity7Apps which are primarily productivity apps, such as cloud storage or workplace apps. social4Apps which are primarily social apps, such as messaging, communication, email, or social network apps. video2Apps which primarily work with video or movies, such as streaming video apps.
Requires API level 26 (Android 8.0, Oreo)
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;
Requires API level 28 (Android 8.+, P)

Value: 16844154

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".
Requires API level 7 (Android 2.1, Eclair)

Value: 16843444

authorities

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843535

autoCompleteTextViewStyle

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

autoLink

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.

ConstantValueDescription allfMatch all patterns (equivalent to web|email|phone|map). email2Match email addresses. map8Match map addresses. none0Match no patterns (default). phone4Match phone numbers. web1Match 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".
Requires API level 19 (Android 4.4, KitKat)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843847

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).
Requires API level 26 (Android 8.0, Oreo)

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).
Requires API level 26 (Android 8.0, Oreo)

Value: 16844088

autoSizePresetSizes

added in API level 26
static val autoSizePresetSizes: Int

Resource array of dimensions to be used in conjunction with autoSizeTextType set to uniform. Overrides autoSizeStepGranularity if set.

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.
Requires API level 26 (Android 8.0, Oreo)

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).
Requires API level 26 (Android 8.0, Oreo)

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.

ConstantValueDescription none0No auto-sizing (default). uniform1Uniform horizontal and vertical text size scaling to fit within the container.
Requires API level 26 (Android 8.0, Oreo)
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".
Requires API level 7 (Android 2.1, Eclair)

Value: 16843445

autoText

static val autoText: Int

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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;
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844136

background

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

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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
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;
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844058

banner

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".
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843548

baselineAlignBottom

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

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

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843563

bottom

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

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

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

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

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).
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843351

bottomRightRadius

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

breadCrumbShortTitle

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;
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843524

breadCrumbTitle

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;
Requires API level 11 (Android 3.0, Honeycomb)

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.

ConstantValueDescription balanced2Line breaking strategy balances line lengths. high_quality1Line breaking uses high-quality strategy, including hyphenation. simple0Line breaking uses simple strategy.
Requires API level 23 (Android 6.0, Marshmallow)
Value: 16843997

bufferType

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.

ConstantValueDescription editable2Can only return Spannable and Editable. normal0Can return any CharSequence, possibly a Spanned one if the source text was Spanned. spannable1Can only return Spannable.
Value: 16843086

button

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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).
Requires API level 28 (Android 8.+, P)

Value: 16844149

buttonGravity

added in API level 24
static val buttonGravity: Int

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

ConstantValueDescription bottom50Push object to the bottom of its container, not changing its size. top30Push object to the top of its container, not changing its size.
Requires API level 24 (Android 7.0, Nougat)
Value: 16844030

buttonStyle

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

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

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843888

cacheColorHint

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844039

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844060

canRequestEnhancedWebAccessibility

added in API level 18
static val canRequestEnhancedWebAccessibility: Int

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".
Requires API level 18 (Android 4.3, Jelly Bean)

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".
Requires API level 18 (Android 4.3, Jelly Bean)

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".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 18 (Android 4.3, Jelly Bean)

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.

May be a boolean value, such as "true" or "false".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843653

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;
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 28 (Android 8.+, P)

Value: 16844142

capitalize

static val capitalize: Int

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.

ConstantValueDescription characters3Capitalize every character. none0Don't automatically capitalize anything. sentences1Capitalize the first word of each sentence. words2Capitalize the first letter of every word.
Value: 16843113

category

added in API level 19
static val category: Int

Category of the resource overlay.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 19 (Android 4.4, KitKat)

Value: 16843752

centerBright

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

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

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

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

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

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

The SHA-256 digest of the library signing certificate.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844104

checkBoxPreferenceStyle

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843944

checkable

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

static val checkableBehavior: Int

Whether the items are capable of displaying a check mark.

Must be one of the following constant values.

ConstantValueDescription all1The items are all checkable. none0The items are not checkable. single2The items are checkable and there will only be a single checked item in this group.
Value: 16843232

checkboxStyle

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

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

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843720

childDivider

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

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).
Requires API level 18 (Android 4.3, Jelly Bean)

Value: 16843732

childIndicatorLeft

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

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).
Requires API level 18 (Android 4.3, Jelly Bean)

Value: 16843731

choiceMode

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.

ConstantValueDescription multipleChoice2The list allows multiple choices. multipleChoiceModal3The list allows multiple choices in a custom selection mode. none0Normal list that does not indicate choices. singleChoice1The 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 PackageParserException 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;
Requires API level 27 (Android 8.1, Oreo)

Value: 16844139

clearTaskOnLaunch

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

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

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

static val clipOrientation: Int

The orientation for the clip.

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

ConstantValueDescription horizontal1Clip the drawable horizontally. vertical2Clip the drawable vertically.
Value: 16843274

clipToPadding

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843905

codes

added in API level 3
static val codes: Int

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

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

May be an integer value, such as "100".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843330

collapseColumns

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;
Requires API level 22 (Android 5.1, Lollipop)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844031

color

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843664

colorBackground

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843663

colorForeground

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

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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.

ConstantValueDescription default0The default color mode (typically sRGB, low-dynamic range). hdr2High dynamic range color mode. wideColorGamut1Wide color gamut color mode.
Requires API level 26 (Android 8.0, Oreo)
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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 25 (Android 7.1.1, Nougat)

Value: 16844080

columnCount

added in API level 14
static val columnCount: Int

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

May be an integer value, such as "100".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843639

columnDelay

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843640

columnWidth

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 13 (Android 3.2, Honeycomb)

Value: 16843621

completionHint

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

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

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

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.

ConstantValueDescription colorMode4000The color mode of the screen has changed (color gamut or dynamic range). density1000The 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. fontScale40000000The font scaling factor has changed, that is the user has selected a new global font size. keyboard10The keyboard type has changed, for example the user has plugged in an external keyboard. keyboardHidden20The 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. layoutDirection2000The layout direction has changed. For example going from LTR to RTL. locale4The locale has changed, that is the user has selected a new language that text should be displayed in. mcc1The 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. mnc2The 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. navigation40The navigation type has changed. Should never normally happen. orientation80The screen orientation has changed, that is the user has rotated the device. screenLayout100The screen layout has changed. This might be caused by a different display being activated. screenSize400The 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. smallestScreenSize800The 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. touchscreen8The touchscreen has changed. Should never normally happen. uiMode200The 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;
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843357

constantSize

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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 5 (Android 2.0, Eclair)

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;
Requires API level 4 (Android 1.6, Donut)

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).
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 24 (Android 7.0, Nougat)

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).
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 25 (Android 7.1.1, Nougat)

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 25 (Android 7.1.1, Nougat)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 24 (Android 7.0, Nougat)

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843962

cropToPadding

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

cursorVisible

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843579

cycles

static val cycles: Int

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

Value: 16843220

dashGap

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

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

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription calendar2Date picker with calendar to select the date. spinner1Date picker with spinner controls to select the date.
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843593

dayOfWeekBackground

added in API level 21
static val dayOfWeekBackground: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843924

dayOfWeekTextAppearance

added in API level 21
static val dayOfWeekTextAppearance: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843925

debuggable

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".
Requires API level 26 (Android 8.0, Oreo)

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.
Requires API level 24 (Android 7.0, Nougat)

Value: 16844021

defaultToDeviceProtectedStorage

added in API level 24
static val defaultToDeviceProtectedStorage: Int

May be a boolean value, such as "true" or "false".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844036

defaultValue

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.
Requires API level 24 (Android 7.0, Nougat)

Value: 16844020

delay

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

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

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.

ConstantValueDescription afterDescendants1The ViewGroup will get focus only if none of its descendants want it. beforeDescendants0The ViewGroup will get focus before any of its descendants. blocksDescendants2The ViewGroup will block its descendants from receiving focus.
Value: 16842993

description

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".
Requires API level 5 (Android 2.0, Eclair)

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;
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843598

dial

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

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).
Requires API level 28 (Android 8.+, P)

Value: 16844145

dialogIcon

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

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

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

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).
Requires API level 22 (Android 5.1, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843528

dialogTitle

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

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844037

direction

static val direction: Int

Direction of the animation in the grid.

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

ConstantValueDescription bottom_to_top2Animates rows from bottom to top. left_to_right0Animates columns from left to right. right_to_left1Animates columns from right to left. top_to_bottom0Animates rows from top to bottom.
Value: 16843217

directionDescriptions

added in API level 14
static val directionDescriptions: Int


Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843681

directionPriority

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.

ConstantValueDescription column1Columns are animated first. none0Rows and columns are animated at the same time. row2Rows are animated first.
Value: 16843218

disableDependentsState

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

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.

ConstantValueDescription disableHome20 homeAsUp4 none0 showCustom10 showHome2 showTitle8 useLogo1
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843472

dither

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

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

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).
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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

This attribute is equivalent to adding the flag 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.

ConstantValueDescription always2A 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 and Intent.FLAG_ACTIVITY_MULTIPLE_TASK both set. intoExisting1All 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 set and without Intent.FLAG_ACTIVITY_MULTIPLE_TASK set.

never3This 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. none0The default mode, which will create a new task only when Intent.FLAG_ACTIVITY_NEW_TASK is set.
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843845

drawSelectorOnTop

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

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

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843667

drawableLeft

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

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

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 23 (Android 6.0, Marshmallow)
Value: 16843991

drawableTop

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

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.

ConstantValueDescription auto0Lets 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. high2High 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. low1Low 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

dropDownAnchor

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843363

dropDownHeight

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.

ConstantValueDescription fill_parentffffffffThe dropdown should fit the height of the screen. This constant is deprecated starting from API Level 8 and is replaced by match_parent. match_parentffffffffThe dropdown should fit the height of the screen. Introduced in API Level 8. wrap_contentfffffffeThe dropdown should fit the height of the content.
Requires API level 4 (Android 1.6, Donut)
Value: 16843395

dropDownHintAppearance

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

dropDownHorizontalOffset

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).
Requires API level 5 (Android 2.0, Eclair)

Value: 16843436

dropDownItemStyle

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

dropDownListViewStyle

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

dropDownSelector

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

dropDownSpinnerStyle

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843478

dropDownVerticalOffset

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).
Requires API level 5 (Android 2.0, Eclair)

Value: 16843437

dropDownWidth

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.

ConstantValueDescription fill_parentffffffffThe dropdown should fill the width of the screen. This constant is deprecated starting from API Level 8 and is replaced by match_parent. match_parentffffffffThe dropdown should fit the width of the screen. Introduced in API Level 8. wrap_contentfffffffeThe dropdown should fit the width of its anchor.
Requires API level 3 (Android 1.5, Cupcake)
Value: 16843362

duplicateParentState

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843601

editTextPreferenceStyle

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

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

static val editable: Int

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843300

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".
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843840

ellipsize

static val ellipsize: Int

Where to ellipsize text.

Must be one of the following constant values.

ConstantValueDescription end3 marquee4 middle2 none0 start1
Value: 16842923

ems

static val ems: Int

Makes the TextView be exactly this many ems wide.

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

Value: 16843096

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 transtion from one VR activity to another.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 24 (Android 7.0, Nougat)

Value: 16844069

enabled

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).
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16843996

endColor

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844051

endYear

static val endYear: Int

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843532

entries

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

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".
Requires API level 4 (Android 1.6, Donut)

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843842

excludeFromRecents

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843533

expandableListPreferredChildIndicatorLeft

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

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

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

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

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

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

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".
Requires API level 8 (Android 2.2, Froyo)

Value: 16843446

exported

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16844010

factor

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 5 (Android 2.0, Eclair)

Value: 16843434

fadingEdge

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.

ConstantValueDescription horizontal1000Fades horizontal edges only. none0No edge is faded. vertical2000Fades vertical edges only.
Value: 16842975

fadingEdgeLength

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.

ConstantValueDescription fade_in1Fade will only fade appearing items in. fade_in_out3Fade will fade appearing items in and disappearing items out. fade_out2Fade will only fade disappearing items out.
Requires API level 19 (Android 4.4, KitKat)
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".
Requires API level 28 (Android 8.+, P)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 3 (Android 1.5, Cupcake)

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.

ConstantValueDescription aboveThumb2 atThumb1 floating0
Requires API level 11 (Android 3.0, Honeycomb)
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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843577

fillAfter

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843980

fillBefore

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 3 (Android 1.5, Cupcake)

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.

ConstantValueDescription evenOdd1 nonZero0
Requires API level 24 (Android 7.0, Nougat)
Value: 16844062

fillViewport

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

static val filter: Int

Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its apperance. 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".
Requires API level 9 (Android 2.3, Gingerbread)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 5 (Android 2.0, Eclair)

Value: 16843431

finishOnTaskLaunch

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).
Requires API level 28 (Android 8.+, P)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843581

fitsSystemWindows

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

static val flipInterval: Int

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

Value: 16843129

focusable

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.

ConstantValueDescription auto10
Value: 16842970

focusableInTouchMode

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844100

focusedMonthDateColor

added in API level 11
static val focusedMonthDateColor: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843587

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".
Requires API level 26 (Android 8.0, Oreo)

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;
Requires API level 16 (Android 4.1, Jelly Bean)

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843959

fontProviderAuthority

added in API level 26
static val fontProviderAuthority: Int

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

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844112

fontProviderCerts

added in API level 26
static val fontProviderCerts: Int

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

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844125

fontProviderPackage

added in API level 26
static val fontProviderPackage: Int

The package for the Font Provider to be used for the request. This is used to verify the identity of the provider.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844119

fontProviderQuery

added in API level 26
static val fontProviderQuery: Int

The query to be sent over to the provider. Refer to your font provider's documentation on the format of this string.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844113

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.

ConstantValueDescription italic1 normal0
Requires API level 26 (Android 8.0, Oreo)
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;
Requires API level 28 (Android 8.+, P)

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".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843311

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844065

foreground

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

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.

ConstantValueDescription bottom50Push object to the bottom of its container, not changing its size. center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. center_horizontal1Place object in the horizontal center of its container, not changing its size. center_vertical10Place object in the vertical center of its container, not changing its size. clip_horizontal8Additional 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_vertical80Additional 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. fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container. fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container. fill_vertical70Grow the vertical size of the object if needed so it completely fills its container. left3Push object to the left of its container, not changing its size. right5Push object to the right of its container, not changing its size. top30Push object to the top of its container, not changing its size.
Value: 16843264

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843886

format

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;
Requires API level 17 (Android 4.2, Jelly Bean)

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;
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843723

fraction

added in API level 23
static val fraction: Int

May be a floating point value, such as "1.2".
Requires API level 23 (Android 6.0, Marshmallow)

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;
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843974

freezesText

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

static val fromAlpha: Int

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

Value: 16843210

fromDegrees

static val fromDegrees: Int

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

Value: 16843187

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 19 (Android 4.4, KitKat)

Value: 16843741

fromXDelta

static val fromXDelta: 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: 16843206

fromXScale

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

static val fromYDelta: 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: 16843208

fromYScale

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843891

fullBright

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

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

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

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

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 4 (Android 1.6, Donut)

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.

ConstantValueDescription multiple1A gesture is made of multiple strokes. single0A gesture is made of only one stroke.
Requires API level 4 (Android 1.6, Donut)
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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843906

gradientRadius

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

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 Context.revokeUriPermission when URIs are deleted from your provider.

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

Value: 16842779

gravity

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.

ConstantValueDescription bottom50Push object to the bottom of its container, not changing its size. center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. center_horizontal1Place object in the horizontal center of its container, not changing its size. center_vertical10Place object in the vertical center of its container, not changing its size. clip_horizontal8Additional 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_vertical80Additional 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. end800005Push object to the end of its container, not changing its size. fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container. fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container. fill_vertical70Grow the vertical size of the object if needed so it completely fills its container. left3Push object to the left of its container, not changing its size. right5Push object to the right of its container, not changing its size. start800003Push object to the beginning of its container, not changing its size. top30Push object to the top of its container, not changing its size.
Value: 16842927

gridViewStyle

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

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

hand_hour

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_minute

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

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843354

handleProfiling

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

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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843475

hasCode

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

headerAmPmTextAppearance

added in API level 21
static val headerAmPmTextAppearance: Int

The text appearance for the AM/PM header.
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843936

headerBackground

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
static val headerDayOfMonthTextAppearance: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843310

headerMonthTextAppearance

added in API level 21
static val headerMonthTextAppearance: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843926

headerTimeTextAppearance

added in API level 21
static val headerTimeTextAppearance: Int

The text appearance for the time header.
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843935

headerYearTextAppearance

added in API level 21
static val headerYearTextAppearance: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843928

height

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843843

hint

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843549

horizontalDivider

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
static val horizontalGap: Int

Default horizontal gap between keys.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843603

horizontalSpacing

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

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).
Requires API level 24 (Android 7.0, Nougat)

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).
Requires API level 24 (Android 7.0, Nougat)

Value: 16844056

hyphenationFrequency

added in API level 23
static val hyphenationFrequency: Int

Frequency of automatic hyphenation.

Must be one of the following constant values.

ConstantValueDescription full2Standard amount of hyphenation, useful for running text and for screens with limited space for text. none0No hyphenation. normal1Less frequent hyphenation, useful for informal use cases, such as chat messages.
Requires API level 23 (Android 6.0, Marshmallow)
Value: 16843998

icon

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
static val iconPreview: Int

The icon to show in the popup preview.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 26 (Android 8.0, Oreo)

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.

ConstantValueDescription add10Combines the tint and icon color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the icon with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the icon, but with the icon’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the icon. The icon’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the icon. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 26 (Android 8.0, Oreo)
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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843514

id

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

ignoreGravity

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

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

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".
Requires API level 3 (Android 1.5, Cupcake)

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;
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 3 (Android 1.5, Cupcake)

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.

ConstantValueDescription actionDone6The action key performs a "done" operation, closing the soft input method. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_DONE. actionGo2The 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. actionNext5The 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. actionNone1This editor has no action associated with it. Corresponds to android.view.inputmethod.EditorInfo#IME_ACTION_NONE. actionPrevious7The 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. actionSearch3The 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. actionSend4The 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. actionUnspecified0There 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. flagForceAscii80000000Used 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 languagaes like Arabic, Greek, Hebrew, Russian are enabled in the IME. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. However, it is strongly recommended for IME authors to respect this flag especially when their IME could end up with a state that has only non-ASCII input languages enabled.

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

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

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

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

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

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

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

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

normal0There are no special semantics associated with this editor.
Requires API level 3 (Android 1.5, Cupcake)
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;
Requires API level 11 (Android 3.0, Honeycomb)

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;
Requires API level 11 (Android 3.0, Honeycomb)

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;
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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.

ConstantValueDescription auto0The system determines whether the view is important for accessibility - default (recommended). no2The view is not important for accessibility. noHideDescendants4The view is not important for accessibility, nor are any of its descendant views. yes1The view is important for accessibility.
Requires API level 16 (Android 4.1, Jelly Bean)
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.

ConstantValueDescription auto0Let the Android System use its heuristics to determine if the view is important for autofill. no2Hint the Android System that this view is *not* important for autofill, but its children (if any) will be traversed.. noExcludeDescendants8Hint the Android System that this view is *not* important for autofill, and its children (if any) will not be traversed. yes1Hint the Android System that this view is important for autofill, and its children (if any) will be traversed.. yesExcludeDescendants4Hint the Android System that this view is important for autofill, but its children (if any) will not be traversed.
Requires API level 26 (Android 8.0, Oreo)
Value: 16844120

inAnimation

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

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843374

indeterminate

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

static val indeterminateBehavior: Int

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

Must be one of the following constant values.

ConstantValueDescription cycle2Progress keeps the current value and goes back to 0. repeat1Progress starts over from 0.
Value: 16843070

indeterminateDrawable

static val indeterminateDrawable: Int

Drawable used for the indeterminate 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: 16843067

indeterminateDuration

static val indeterminateDuration: Int

Duration of the indeterminate animation.

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

Value: 16843069

indeterminateOnly

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
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).
Requires API level 18 (Android 4.3, Jelly Bean)

Value: 16843730

indicatorLeft

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

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).
Requires API level 18 (Android 4.3, Jelly Bean)

Value: 16843729

inflatedId

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

initOrder

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".
Requires API level 17 (Android 4.2, Jelly Bean)

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".
Requires API level 3 (Android 1.5, Cupcake)

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).
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843359

innerRadiusRatio

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

static val inputMethod: Int

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.

ConstantValueDescription date14For entering a date. Corresponds to android.text.InputType#TYPE_CLASS_DATETIME | android.text.InputType#TYPE_DATETIME_VARIATION_DATE. datetime4For entering a date and time. Corresponds to android.text.InputType#TYPE_CLASS_DATETIME | android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL. none0There is no content type. The text is not editable. number2A numeric only field. Corresponds to android.text.InputType#TYPE_CLASS_NUMBER | android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL. numberDecimal2002Can 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. numberPassword12A numeric password field. Corresponds to android.text.InputType#TYPE_CLASS_NUMBER | android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD. numberSigned1002Can 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. phone3For entering a phone number. Corresponds to android.text.InputType#TYPE_CLASS_PHONE. text1Just plain old text. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_NORMAL. textAutoComplete10001Can 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. textAutoCorrect8001Can 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. textCapCharacters1001Can be combined with text and its variations to request capitalization of all characters. Corresponds to android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS. textCapSentences4001Can 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. textCapWords2001Can 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. textEmailAddress21Text 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. textEmailSubject31Text 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. textFilterb1Text that is filtering some other data. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_FILTER. textImeMultiLine40001Can 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. textLongMessage51Text that is the content of a long message. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE. textMultiLine20001Can 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. textNoSuggestions80001Can 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. textPassword81Text that is a password. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD. textPersonName61Text that is the name of a person. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME. textPhoneticc1Text 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. textPostalAddress71Text 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. textShortMessage41Text that is the content of a short message. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE. textUri11Text that will be used as a URI. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_URI. textVisiblePassword91Text that is a password that should be visible. Corresponds to android.text.InputType#TYPE_CLASS_TEXT | android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD. textWebEditTexta1Text 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. textWebEmailAddressd1Text 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. textWebPassworde1Text 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. time24For entering a time. Corresponds to android.text.InputType#TYPE_CLASS_DATETIME | android.text.InputType#TYPE_DATETIME_VARIATION_TIME.
Requires API level 3 (Android 1.5, Cupcake)
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.
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843957

insetBottom

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

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

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

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.

ConstantValueDescription auto0Let the system decide ideal install location internalOnly1Explicitly request to be installed on internal phone storage only. preferExternal2Prefer 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.
Requires API level 8 (Android 2.2, Froyo)
Value: 16843447

interpolator

static val interpolator: 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: 16843073

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".
Requires API level 11 (Android 3.0, Honeycomb)

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.

May be a boolean value, such as "true" or "false".
Requires API level 19 (Android 4.4, KitKat)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843647

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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843764

isIndicator

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

isModifier

added in API level 3
static val isModifier: Int

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

May be a boolean value, such as "true" or "false".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843334

isRepeatable

added in API level 3
static val isRepeatable: Int

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

May be a boolean value, such as "true" or "false".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843342

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844122

isSticky

added in API level 3
static val isSticky: Int

Whether this is a toggle key.

May be a boolean value, such as "true" or "false".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 16 (Android 4.1, Jelly Bean)

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844107

itemBackground

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

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).
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843565

itemTextAppearance

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.

ConstantValueDescription inter_word1Justification by stretching word spacing. none0No justification.
Requires API level 26 (Android 8.0, Oreo)
Value: 16844135

keepScreenOn

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

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
static val keyBackground: Int

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843315

keyEdgeFlags

added in API level 3
static val keyEdgeFlags: Int

Key edge flags.

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

ConstantValueDescription left1Key is anchored to the left of the keyboard. right2Key is anchored to the right of the keyboard.
Requires API level 3 (Android 1.5, Cupcake)
Value: 16843333

keyHeight

added in API level 3
static val keyHeight: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843326

keyIcon

added in API level 3
static val keyIcon: Int

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

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843340

keyLabel

added in API level 3
static val keyLabel: Int

The label to display on the key.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843339

keyOutputText

added in API level 3
static val keyOutputText: Int

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

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843338

keyPreviewHeight

added in API level 3
static val keyPreviewHeight: Int

Height of the key press feedback popup.

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

Value: 16843321

keyPreviewLayout

added in API level 3
static val keyPreviewLayout: Int

Layout resource for key press feedback.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843319

keyPreviewOffset

added in API level 3
static val keyPreviewOffset: Int

Vertical offset of the key press feedback from the key.

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

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.
Requires API level 19 (Android 4.4, KitKat)

Value: 16843739

keyTextColor

added in API level 3
static val keyTextColor: Int

Color to use for the label in a key.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843318

keyTextSize

added in API level 3
static val keyTextSize: Int

Size of the text for character keys.

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

Value: 16843316

keyWidth

added in API level 3
static val keyWidth: Int

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 16 (Android 4.1, Jelly Bean)

Value: 16843691

keyboardMode

added in API level 3
static val keyboardMode: Int

Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the row will be skipped.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844096

keycode

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.

ConstantValueDescription KEYCODE_07 KEYCODE_18 KEYCODE_11e3 KEYCODE_12e4 KEYCODE_29 KEYCODE_3a KEYCODE_3D_MODEce KEYCODE_4b KEYCODE_5c KEYCODE_6d KEYCODE_7e KEYCODE_8f KEYCODE_910 KEYCODE_A1d KEYCODE_ALL_APPS11c KEYCODE_ALT_LEFT39 KEYCODE_ALT_RIGHT3a KEYCODE_APOSTROPHE4b KEYCODE_APP_SWITCHbb KEYCODE_ASSISTdb KEYCODE_AT4d KEYCODE_AVR_INPUTb6 KEYCODE_AVR_POWERb5 KEYCODE_B1e KEYCODE_BACK4 KEYCODE_BACKSLASH49 KEYCODE_BOOKMARKae KEYCODE_BREAK79 KEYCODE_BRIGHTNESS_DOWNdc KEYCODE_BRIGHTNESS_UPdd KEYCODE_BUTTON_1bc KEYCODE_BUTTON_10c5 KEYCODE_BUTTON_11c6 KEYCODE_BUTTON_12c7 KEYCODE_BUTTON_13c8 KEYCODE_BUTTON_14c9 KEYCODE_BUTTON_15ca KEYCODE_BUTTON_16cb KEYCODE_BUTTON_2bd KEYCODE_BUTTON_3be KEYCODE_BUTTON_4bf KEYCODE_BUTTON_5c0 KEYCODE_BUTTON_6c1 KEYCODE_BUTTON_7c2 KEYCODE_BUTTON_8c3 KEYCODE_BUTTON_9c4 KEYCODE_BUTTON_A60 KEYCODE_BUTTON_B61 KEYCODE_BUTTON_C62 KEYCODE_BUTTON_L166 KEYCODE_BUTTON_L268 KEYCODE_BUTTON_MODE6e KEYCODE_BUTTON_R167 KEYCODE_BUTTON_R269 KEYCODE_BUTTON_SELECT6d KEYCODE_BUTTON_START6c KEYCODE_BUTTON_THUMBL6a KEYCODE_BUTTON_THUMBR6b KEYCODE_BUTTON_X63 KEYCODE_BUTTON_Y64 KEYCODE_BUTTON_Z65 KEYCODE_C1f KEYCODE_CALCULATORd2 KEYCODE_CALENDARd0 KEYCODE_CALL5 KEYCODE_CAMERA1b KEYCODE_CAPS_LOCK73 KEYCODE_CAPTIONSaf KEYCODE_CHANNEL_DOWNa7 KEYCODE_CHANNEL_UPa6 KEYCODE_CLEAR1c KEYCODE_COMMA37 KEYCODE_CONTACTScf KEYCODE_COPY116 KEYCODE_CTRL_LEFT71 KEYCODE_CTRL_RIGHT72 KEYCODE_CUT115 KEYCODE_D20 KEYCODE_DEL43 KEYCODE_DPAD_CENTER17 KEYCODE_DPAD_DOWN14 KEYCODE_DPAD_DOWN_LEFT10d KEYCODE_DPAD_DOWN_RIGHT10f KEYCODE_DPAD_LEFT15 KEYCODE_DPAD_RIGHT16 KEYCODE_DPAD_UP13 KEYCODE_DPAD_UP_LEFT10c KEYCODE_DPAD_UP_RIGHT10e KEYCODE_DVRad KEYCODE_E21 KEYCODE_EISUd4 KEYCODE_ENDCALL6 KEYCODE_ENTER42 KEYCODE_ENVELOPE41 KEYCODE_EQUALS46 KEYCODE_ESCAPE6f KEYCODE_EXPLORER40 KEYCODE_F22 KEYCODE_F183 KEYCODE_F108c KEYCODE_F118d KEYCODE_F128e KEYCODE_F284 KEYCODE_F385 KEYCODE_F486 KEYCODE_F587 KEYCODE_F688 KEYCODE_F789 KEYCODE_F88a KEYCODE_F98b KEYCODE_FOCUS50 KEYCODE_FORWARD7d KEYCODE_FORWARD_DEL70 KEYCODE_FUNCTION77 KEYCODE_G23 KEYCODE_GRAVE44 KEYCODE_GUIDEac KEYCODE_H24 KEYCODE_HEADSETHOOK4f KEYCODE_HELP103 KEYCODE_HENKANd6 KEYCODE_HOME3 KEYCODE_I25 KEYCODE_INFOa5 KEYCODE_INSERT7c KEYCODE_J26 KEYCODE_K27 KEYCODE_KANAda KEYCODE_KATAKANA_HIRAGANAd7 KEYCODE_L28 KEYCODE_LANGUAGE_SWITCHcc KEYCODE_LAST_CHANNELe5 KEYCODE_LEFT_BRACKET47 KEYCODE_M29 KEYCODE_MANNER_MODEcd KEYCODE_MEDIA_AUDIO_TRACKde KEYCODE_MEDIA_CLOSE80 KEYCODE_MEDIA_EJECT81 KEYCODE_MEDIA_FAST_FORWARD5a KEYCODE_MEDIA_NEXT57 KEYCODE_MEDIA_PAUSE7f KEYCODE_MEDIA_PLAY7e KEYCODE_MEDIA_PLAY_PAUSE55 KEYCODE_MEDIA_PREVIOUS58 KEYCODE_MEDIA_RECORD82 KEYCODE_MEDIA_REWIND59 KEYCODE_MEDIA_SKIP_BACKWARD111 KEYCODE_MEDIA_SKIP_FORWARD110 KEYCODE_MEDIA_SLEEPdf KEYCODE_MEDIA_STEP_BACKWARD113 KEYCODE_MEDIA_STEP_FORWARD112 KEYCODE_MEDIA_STOP56 KEYCODE_MEDIA_TOP_MENUe2 KEYCODE_MEDIA_WAKEUPe0 KEYCODE_MENU52 KEYCODE_META_LEFT75 KEYCODE_META_RIGHT76 KEYCODE_MINUS45 KEYCODE_MOVE_END7b KEYCODE_MOVE_HOME7a KEYCODE_MUHENKANd5 KEYCODE_MUSICd1 KEYCODE_MUTE5b KEYCODE_N2a KEYCODE_NAVIGATE_IN106 KEYCODE_NAVIGATE_NEXT105 KEYCODE_NAVIGATE_OUT107 KEYCODE_NAVIGATE_PREVIOUS104 KEYCODE_NOTIFICATION53 KEYCODE_NUM4e KEYCODE_NUMPAD_090 KEYCODE_NUMPAD_191 KEYCODE_NUMPAD_292 KEYCODE_NUMPAD_393 KEYCODE_NUMPAD_494 KEYCODE_NUMPAD_595 KEYCODE_NUMPAD_696 KEYCODE_NUMPAD_797 KEYCODE_NUMPAD_898 KEYCODE_NUMPAD_999 KEYCODE_NUMPAD_ADD9d KEYCODE_NUMPAD_COMMA9f KEYCODE_NUMPAD_DIVIDE9a KEYCODE_NUMPAD_DOT9e KEYCODE_NUMPAD_ENTERa0 KEYCODE_NUMPAD_EQUALSa1 KEYCODE_NUMPAD_LEFT_PARENa2 KEYCODE_NUMPAD_MULTIPLY9b KEYCODE_NUMPAD_RIGHT_PARENa3 KEYCODE_NUMPAD_SUBTRACT9c KEYCODE_NUM_LOCK8f KEYCODE_O2b KEYCODE_P2c KEYCODE_PAGE_DOWN5d KEYCODE_PAGE_UP5c KEYCODE_PAIRINGe1 KEYCODE_PASTE117 KEYCODE_PERIOD38 KEYCODE_PICTSYMBOLS5e KEYCODE_PLUS51 KEYCODE_POUND12 KEYCODE_POWER1a KEYCODE_PROG_BLUEba KEYCODE_PROG_GREDb7 KEYCODE_PROG_GREENb8 KEYCODE_PROG_YELLOWb9 KEYCODE_Q2d KEYCODE_R2e KEYCODE_REFRESH11d KEYCODE_RIGHT_BRACKET48 KEYCODE_ROd9 KEYCODE_S2f KEYCODE_SCROLL_LOCK74 KEYCODE_SEARCH54 KEYCODE_SEMICOLON4a KEYCODE_SETTINGSb0 KEYCODE_SHIFT_LEFT3b KEYCODE_SHIFT_RIGHT3c KEYCODE_SLASH4c KEYCODE_SOFT_LEFT1 KEYCODE_SOFT_RIGHT2 KEYCODE_SOFT_SLEEP114 KEYCODE_SPACE3e KEYCODE_STAR11 KEYCODE_STB_INPUTb4 KEYCODE_STB_POWERb3 KEYCODE_STEM_1109 KEYCODE_STEM_210a KEYCODE_STEM_310b KEYCODE_STEM_PRIMARY108 KEYCODE_SWITCH_CHARSET5f KEYCODE_SYM3f KEYCODE_SYSRQ78 KEYCODE_SYSTEM_NAVIGATION_DOWN119 KEYCODE_SYSTEM_NAVIGATION_LEFT11a KEYCODE_SYSTEM_NAVIGATION_RIGHT11b KEYCODE_SYSTEM_NAVIGATION_UP118 KEYCODE_T30 KEYCODE_TAB3d KEYCODE_TVaa KEYCODE_TV_ANTENNA_CABLEf2 KEYCODE_TV_AUDIO_DESCRIPTIONfc KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWNfe KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UPfd KEYCODE_TV_CONTENTS_MENU100 KEYCODE_TV_DATA_SERVICEe6 KEYCODE_TV_INPUTb2 KEYCODE_TV_INPUT_COMPONENT_1f9 KEYCODE_TV_INPUT_COMPONENT_2fa KEYCODE_TV_INPUT_COMPOSITE_1f7 KEYCODE_TV_INPUT_COMPOSITE_2f8 KEYCODE_TV_INPUT_HDMI_1f3 KEYCODE_TV_INPUT_HDMI_2f4 KEYCODE_TV_INPUT_HDMI_3f5 KEYCODE_TV_INPUT_HDMI_4f6 KEYCODE_TV_INPUT_VGA_1fb KEYCODE_TV_MEDIA_CONTEXT_MENU101 KEYCODE_TV_NETWORKf1 KEYCODE_TV_NUMBER_ENTRYea KEYCODE_TV_POWERb1 KEYCODE_TV_RADIO_SERVICEe8 KEYCODE_TV_SATELLITEed KEYCODE_TV_SATELLITE_BSee KEYCODE_TV_SATELLITE_CSef KEYCODE_TV_SATELLITE_SERVICEf0 KEYCODE_TV_TELETEXTe9 KEYCODE_TV_TERRESTRIAL_ANALOGeb KEYCODE_TV_TERRESTRIAL_DIGITALec KEYCODE_TV_TIMER_PROGRAMMING102 KEYCODE_TV_ZOOM_MODEff KEYCODE_U31 KEYCODE_UNKNOWN0 KEYCODE_V32 KEYCODE_VOICE_ASSISTe7 KEYCODE_VOLUME_DOWN19 KEYCODE_VOLUME_MUTEa4 KEYCODE_VOLUME_UP18 KEYCODE_W33 KEYCODE_WINDOWab KEYCODE_X34 KEYCODE_Y35 KEYCODE_YENd8 KEYCODE_Z36 KEYCODE_ZENKAKU_HANKAKUd3 KEYCODE_ZOOM_INa8 KEYCODE_ZOOM_OUTa9
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".
Requires API level 5 (Android 2.0, Eclair)

Value: 16843420

label

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 infomation 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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843718

labelTextSize

added in API level 3
static val labelTextSize: Int

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

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

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;
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 13 (Android 3.2, Honeycomb)

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).
Requires API level 28 (Android 8.+, P)

Value: 16844158

launchMode

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.

ConstantValueDescription singleInstance3Only 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. singleTask2If, 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. singleTop1If, 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. standard0The 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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription hardware2Use a hardware layer. Refer to android.view.View#setLayerType(int, android.graphics.Paint) for more information. none0Don't use a layer. software1Use a software layer. Refer to android.view.View#setLayerType(int, android.graphics.Paint) for more information.
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843604

layout

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

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.

ConstantValueDescription inherit2Inherit from parent. locale3Locale. ltr0Left-to-Right. rtl1Right-to-Left.
Requires API level 17 (Android 4.2, Jelly Bean)
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.

ConstantValueDescription clipBounds0Use the children's clip bounds when laying out this container. opticalBounds1Use the children's optical bounds when laying out this container.
Requires API level 18 (Android 4.3, Jelly Bean)
Value: 16843738

layout_above

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

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

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843706

layout_alignLeft

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

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843708

layout_alignParentLeft

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

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843707

layout_alignParentTop

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

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843705

layout_alignTop

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

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

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

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

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

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

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843865

layout_gravity

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.

ConstantValueDescription bottom50Push object to the bottom of its container, not changing its size. center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. center_horizontal1Place object in the horizontal center of its container, not changing its size. center_vertical10Place object in the vertical center of its container, not changing its size. clip_horizontal8Additional 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_vertical80Additional 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. end800005Push object to the end of its container, not changing its size. fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container. fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container. fill_vertical70Grow the vertical size of the object if needed so it completely fills its container. left3Push object to the left of its container, not changing its size. right5Push object to the right of its container, not changing its size. start800003Push object to the beginning of its container, not changing its size. top30Push object to the top of its container, not changing its size.
Value: 16842931

layout_height

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.

ConstantValueDescription fill_parentffffffffThe 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_parentffffffffThe view should be as big as its parent (minus padding). Introduced in API Level 8. wrap_contentfffffffeThe view should be only big enough to enclose its content (plus padding).
Value: 16842997

layout_margin

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

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).
Requires API level 17 (Android 4.2, Jelly Bean)

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).
Requires API level 26 (Android 8.0, Oreo)

Value: 16844091

layout_marginLeft

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

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).
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843701

layout_marginTop

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).
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843864

layout_scale

static val layout_scale: Int

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

Value: 16843155

layout_span

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843704

layout_toLeftOf

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

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843703

layout_weight

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

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.

ConstantValueDescription fill_parentffffffffThe 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_parentffffffffThe view should be as big as its parent (minus padding). Introduced in API Level 8. wrap_contentfffffffeThe view should be only big enough to enclose its content (plus padding).
Value: 16842996

layout_x

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

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844032

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).
Requires API level 28 (Android 8.+, P)

Value: 16844159

lineSpacingExtra

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

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

static val lines: Int

Makes the TextView be exactly this many lines tall.

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

Value: 16843092

linksClickable

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843504

listChoiceIndicatorMultiple

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

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843519

listPreferredItemHeight

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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).
Requires API level 17 (Android 4.2, Jelly Bean)

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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).
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843709

listSelector

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

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

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

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

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.

ConstantValueDescription always2Tasks 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_whitelisted3If the DevicePolicyManager (DPM) authorizes this package ( ) 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. never1Tasks 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.

normal0This 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 whitelisted using 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 whitelisted.

Tasks rooted at this activity can only exit lockTask mode using android.app.Activity#stopLockTask.


Requires API level 23 (Android 6.0, Marshmallow)
Value: 16844013

logo

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".
Requires API level 11 (Android 3.0, Honeycomb)

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;
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16844009

longClickable

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843527

manageSpaceActivity

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

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.

ConstantValueDescription marquee_foreverffffffffIndicates that marquee should repeat indefinitely.
Requires API level 2 (Android 1.1, null)
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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843855

max

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, since that means your activity supports any size.

May be a floating point value, such as "1.2".
Requires API level 26 (Android 8.0, Oreo)

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).
Requires API level 24 (Android 7.0, Nougat)

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;
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843584

maxEms

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

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

static val maxItemsPerRow: Int

Defines the maximum number of items per row.

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

Value: 16843060

maxLength

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

static val maxLevel: Int

The maximum level allowed for this item.

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

Value: 16843186

maxLines

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 for the target package.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 28 (Android 8.+, P)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843846

maxRows

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843377

maxWidth

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843903

measureAllChildren

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 16 (Android 4.1, Jelly Bean)

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.

ConstantValueDescription liveAudio1Allow selection of live audio routes. user800000Allow selection of user (app-specified) routes.
Requires API level 16 (Android 4.1, Jelly Bean)
Value: 16843694

menuCategory

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.

ConstantValueDescription alternative40000Items are alternative actions. container10000Items are part of a container. secondary30000Items are user-supplied secondary (infrequently used). system20000Items are provided by the system.
Value: 16843230

mimeType

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844089

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;
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843583

minEms

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

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

static val minLevel: Int

The minimum level allowed for this item.

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

Value: 16843185

minLines

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843669

minSdkVersion

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 18 (Android 4.3, Jelly Bean)

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".
Requires API level 18 (Android 4.3, Jelly Bean)

Value: 16843726

mode

static val mode: Int

Must be one of the following constant values.

ConstantValueDescription collapsing2When selected show both lines, otherwise show only the first line. This is the default mode. oneLine1Always show only the first line. twoLine3Always show both lines.
Value: 16843134

moreIcon

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843918

multiprocess

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

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

navigationBarColor

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843858

navigationBarDividerColor

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".
Requires API level 27 (Android 8.1, Oreo)

Value: 16844141

navigationContentDescription

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843969

navigationIcon

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843968

navigationMode

added in API level 11
static val navigationMode: Int

The type of navigation to use.

Must be one of the following constant values.

ConstantValueDescription listMode1The action bar will use a selection list for navigation. normal0Normal static title text. tabMode2The action bar will use a series of horizontal tabs for navigation.
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843471

negativeButtonText

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844098

nextFocusDown

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843580

nextFocusLeft

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

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

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843309

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843651

numColumns

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.

ConstantValueDescription auto_fitffffffffDisplay as many columns as possible to fill the available space.
Value: 16843032

numStars

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843937

numeric

static val numeric: Int

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.

ConstantValueDescription decimal5Input is numeric, with decimals allowed. integer1Input is numeric. signed3Input 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.

ConstantValueDescription ALT2 CTRL1000 FUNCTION8 META10000 SHIFT1 SYM4
Requires API level 26 (Android 8.0, Oreo)
Value: 16844111

numericShortcut

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844052

onClick

added in API level 4
static val onClick: Int

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

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 4 (Android 1.6, Donut)

Value: 16843375

oneshot

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.

ConstantValueDescription opaqueffffffffIndicates that the layer is opaque and contains no transparent nor translucent pixels. translucentfffffffdThe layer has translucent pixels. transparentfffffffeThe layer is completely transparent (no pixel will be drawn).
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843550

order

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

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.

ConstantValueDescription sequentially1child animations should be played sequentially, in the same order as the xml. together0child animations should be played together.
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843490

orderingFromXml

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

static val orientation: Int

Standard orientation constant.

Must be one of the following constant values.

ConstantValueDescription horizontal0Defines an horizontal widget. vertical1Defines a vertical widget.
Value: 16842948

outAnimation

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".
Requires API level 28 (Android 8.+, P)

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.

ConstantValueDescription background0Default, background drawable-driven outline. bounds2Generates an opaque outline for the bounds of the view. none1No outline provider. paddedBounds3Generates an opaque outline for the padded bounds of the view.
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 28 (Android 8.+, P)

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".
Requires API level 9 (Android 2.3, Gingerbread)

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".
Requires API level 9 (Android 2.3, Gingerbread)

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.

ConstantValueDescription always0Always show over-scroll effects, even if the content fits entirely within the available space. ifContentScrolls1Only show over-scroll effects if the content is large enough to meaningfully scroll. never2Never show over-scroll effects.
Requires API level 9 (Android 2.3, Gingerbread)
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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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;
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843649

padding

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

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).
Requires API level 17 (Android 4.2, Jelly Bean)

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).
Requires API level 26 (Android 8.0, Oreo)

Value: 16844093

paddingLeft

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.

ConstantValueDescription nest0Nest each layer inside the padding of the previous layer. stack1Stack each layer directly atop the previous layer.
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843863

paddingRight

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).
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843699

paddingTop

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).
Requires API level 26 (Android 8.0, Oreo)

Value: 16844094

panelBackground

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

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

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

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

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;
Requires API level 16 (Android 4.1, Jelly Bean)

Value: 16843687

password

static val password: Int

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

path

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

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843781

pathPattern

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

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

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843978

permission

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.

ConstantValueDescription costsMoney1Set 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. removed2Additional 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.
Requires API level 17 (Android 4.2, Jelly Bean)
Value: 16843719

permissionGroup

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.

ConstantValueDescription personalInfo1Set 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).
Requires API level 17 (Android 4.2, Jelly Bean)
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.

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

persistNever1If this activity forms the root of a task then that task will not be persisted across reboots persistRootOnly0The 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.
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843821

persistent

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

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

ConstantValueDescription all3The drawing cache is always persisted. animation1The drawing cache is persisted after a layout animation. none0The drawing cache is not persisted after use. scrolling2The 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;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844131

phoneNumber

static val phoneNumber: Int

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

pivotX

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

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.

ConstantValueDescription alias3f2Pointer icon of 'alias', indicating an alias of/shortcut to something is to be created. all_scroll3f5Pointer icon of four-way arrows, indicating scrolling all direction. arrow3e8The default icon of arrow pointer. cell3eePointer icon for cell and grid. context_menu3e9Pointer icon indicating context-menu will appear. copy3f3Pointer icon of 'copy', used for drag/drop. crosshair3efPointer icon of crosshair, indicating to spot a location. grab3fcPointer icon of a hand sign to grab something. grabbing3fdPointer icon of a hand sign while grabbing something. hand3eaPointer icon of a hand with the index finger. help3ebPointer icon indicating help. horizontal_double_arrow3f6Pointer icon of horizontal double arrow, indicating horizontal resize. no_drop3f4Pointer icon of 'no-drop', indicating the drop will not be accepted at the current location. none0Null icon, pointer becomes invisible. text3f0Pointer icon of I-beam, usually for text. top_left_diagonal_double_arrow3f9Pointer icon of diagonal double arrow, starting from top-left to bottom-right. Indicating freeform resize. top_right_diagonal_double_arrow3f8Pointer icon of diagonal double arrow, starting from top-right to bottom-left. Indicating freeform resize. vertical_double_arrow3f7Pointer icon of vertical double arrow, indicating vertical resize. vertical_text3f1Pointer icon of I-beam with 90-degree rotated, for vertical text. wait3ecPointer icon indicating something is going on and waiting. zoom_in3faPointer icon indicating zoom-in. zoom_out3fbPointer icon indicating zoom-out.
Requires API level 24 (Android 7.0, Nougat)
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".
Requires API level 9 (Android 2.3, Gingerbread)

Value: 16843465

popupBackground

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
static val popupCharacters: Int

The characters to display in the popup keyboard.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 3 (Android 1.5, Cupcake)

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).
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844064

popupKeyboard

added in API level 3
static val popupKeyboard: Int

The XML keyboard layout of any popup keyboard.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843331

popupLayout

added in API level 3
static val popupLayout: Int

Layout resource for popup keyboards.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843945

popupWindowStyle

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

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

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

preferenceCategoryStyle

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844038

preferenceInformationStyle

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

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

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

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843712

previewImage

added in API level 11
static val previewImage: Int

A preview of what the AppWidget will look like after it's configured. If not supplied, the AppWidget's icon 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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843482

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844114

priority

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;
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843299

process

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
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).
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843545

progressBarStyle

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

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843399

progressBarStyleLarge

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843401

progressBarStyleSmall

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843400

progressBarStyleSmallTitle

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843876

prompt

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;
Requires API level 11 (Android 3.0, Honeycomb)

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;
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843893

protectionLevel

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.

ConstantValueDescription appop40Additional flag from base permission type: this permission is closely associated with an app op for controlling access. dangerous1Base 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. development20Additional flag from base permission type: this permission can also (optionally) be granted to development applications. installer100Additional flag from base permission type: this permission can be automatically granted to system apps that install packages. instant1000Additional flag from base permission type: this permission can be granted to instant apps normal0Base 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). oem4000Additional 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 white-listed the app to receive this permission by the OEM. pre2380Additional 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). preinstalled400Additional flag from base permission type: this permission can be automatically granted any application pre-installed on the system image (not just privileged apps). privileged10Additional 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. runtime2000Additional 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) setup800Additional flag from base permission type: this permission can be automatically granted to the setup wizard app signature2Base 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. signatureOrSystem3Old 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. system10Old synonym for "privileged". Deprecated in API level 23. textClassifier10000Additional flag from base permission type: this permission can be automatically granted to the system default text classifier vendorPrivileged8000Additional flag from base permission type: this permission can be granted to privileged apps in vendor partition. verifier200Additional 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;
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843686

queryActionMsg

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 6 (Android 2.0.1, Eclair)

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".
Requires API level 6 (Android 2.0.1, Eclair)

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".
Requires API level 6 (Android 2.0.1, Eclair)

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".
Requires API level 6 (Android 2.0.1, Eclair)

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".
Requires API level 6 (Android 2.0.1, Eclair)

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".
Requires API level 6 (Android 2.0.1, Eclair)

Value: 16843438

radioButtonStyle

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

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

static val rating: Int

The rating to set by default.

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

Value: 16843077

ratingBarStyle

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

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

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

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. When the user selects this voice interaction service, they will also be implicitly selecting the component here for their recognition service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription mcc1The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code. mnc2The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code.
Requires API level 26 (Android 8.0, Oreo)
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".
Requires API level 26 (Android 8.0, Oreo)

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.

May be a boolean value, such as "true" or "false".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843965

repeatCount

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.

ConstantValueDescription infiniteffffffff
Value: 16843199

repeatMode

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.

ConstantValueDescription restart1The animation starts again from the beginning. reverse2The 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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 3 (Android 1.5, Cupcake)

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.

ConstantValueDescription nokeys1 qwerty2 twelvekey3 undefined0
Requires API level 3 (Android 1.5, Cupcake)
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.

ConstantValueDescription dpad2 nonav1 trackball3 undefined0 wheel4
Requires API level 3 (Android 1.5, Cupcake)
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.

ConstantValueDescription finger3 notouch1 stylus2 undefined0
Requires API level 3 (Android 1.5, Cupcake)
Value: 16843303

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".
Requires API level 19 (Android 4.4, KitKat)

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".
Requires API level 5 (Android 2.0, Eclair)

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;
Requires API level 18 (Android 4.3, Jelly Bean)

Value: 16843734

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;
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 18 (Android 4.3, Jelly Bean)

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;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844117

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.

ConstantValueDescription horizontal1000Fades horizontal edges only. none0No edge is faded. vertical2000Fades vertical edges only.
Requires API level 14 (Android 4.0, IceCreamSandwich)
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".
Requires API level 13 (Android 3.2, Honeycomb)

Value: 16843620

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".
Requires API level 22 (Android 5.1, Lollipop)

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.

ConstantValueDescription horizontal1 none0 vertical2
Requires API level 12 (Android 3.1, Honeycomb)
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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843405

resizeableActivity

added in API level 24
static val resizeableActivity: Int

Indicates that it is okay for this activity to be resized to any dimension. 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.

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.

May be a boolean value, such as "true" or "false".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844022

resource

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

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".
Requires API level 8 (Android 2.2, Froyo)

Value: 16843450

restoreNeedsApplication

added in API level 5
static val restoreNeedsApplication: Int


Requires API level 5 (Android 2.0, Eclair)

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;
Requires API level 18 (Android 4.3, Jelly Bean)

Value: 16843733

restrictionType

added in API level 21
static val restrictionType: Int

Must be one of the following constant values.

ConstantValueDescription bool1 bundle7 bundle_array8 choice2 hidden0 integer5 multi-select4 string6
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 22 (Android 5.1, Lollipop)

Value: 16843989

right

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

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

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.

ConstantValueDescription alarm4Alarm sounds. all7All available ringtone sounds. notification2Notification sounds. ringtone1Ringtones.
Value: 16843257

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843558

rotationAnimation

added in API level 26
static val rotationAnimation: Int

Flag allowing the activity to specify which screen rotation animation it desires. Valid values are "rotate", "crossfade", and "jumpcut" as described in android.view.WindowManager.LayoutParams#rotationAnimation. Specifying your Rotation animation in the WindowManager.LayoutParams may be racy with app startup and updattransitions occuring during application startup and thusly the manifest attribute is preferred.

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

ConstantValueDescription crossfade1 jumpcut2 rotate0 seamless3
Requires API level 26 (Android 8.0, Oreo)
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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 25 (Android 7.1.1, Nougat)

Value: 16844076

rowCount

added in API level 14
static val rowCount: Int

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

May be an integer value, such as "100".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843637

rowDelay

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
static val rowEdgeFlags: Int

Row edge flags.

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

ConstantValueDescription bottom8Row is anchored to the bottom of the keyboard. top4Row is anchored to the top of the keyboard.
Requires API level 3 (Android 1.5, Cupcake)
Value: 16843329

rowHeight

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843638

saveEnabled

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

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.

ConstantValueDescription bottom50Push object to the bottom of its container, not changing its size. center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. center_horizontal1Place object in the horizontal center of its container, not changing its size. center_vertical10Place object in the vertical center of its container, not changing its size. clip_horizontal8Additional 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_vertical80Additional 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. end800005Push object to the end of its container, not changing its size. fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container. fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container. fill_vertical70Grow the vertical size of the object if needed so it completely fills its container. left3Push object to the left of its container, not changing its size. right5Push object to the right of its container, not changing its size. start800003Push object to the beginning of its container, not changing its size. top30Push object to the top of its container, not changing its size.
Value: 16843262

scaleHeight

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

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.

ConstantValueDescription center5Center the image in the view, but perform no scaling. centerCrop6Scale 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. centerInside7Scale 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. fitCenter3Scale the image using android.graphics.Matrix.ScaleToFit#CENTER. fitEnd4Scale the image using android.graphics.Matrix.ScaleToFit#END. fitStart2Scale the image using android.graphics.Matrix.ScaleToFit#START. fitXY1Scale the image using android.graphics.Matrix.ScaleToFit#FILL. matrix0Scale using the image matrix when drawing. See android.widget.ImageView#setImageMatrix(Matrix).
Value: 16843037

scaleWidth

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843557

scheme

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.

ConstantValueDescription hdpif0A high density screen, approximately 240dpi. ldpi78A low density screen, approximately 120dpi. mdpia0A medium density screen, approximately 160dpi. xhdpi140An extra high density screen, approximately 320dpi. xxhdpi1e0An extra extra high density screen, approximately 480dpi. xxxhdpi280An extra extra extra high density screen, approximately 640dpi.
Requires API level 9 (Android 2.3, Gingerbread)
Value: 16843467

screenOrientation

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.

ConstantValueDescription behind3Keep the screen in the same orientation as whatever is behind this activity. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_BEHIND. fullSensoraOrientation 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. fullUserdRespect 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. landscape0Would 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. lockedeScreen is locked to its current rotation, whatever that is. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_LOCKED. nosensor5Always 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. portrait1Would 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. reverseLandscape8Would 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. reversePortrait9Would 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. sensor4Orientation 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. sensorLandscape6Would 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. sensorPortrait7Would 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. unspecifiedffffffffNo 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. user2Use the user's current preferred orientation of the handset. Corresponds to android.content.pm.ActivityInfo#SCREEN_ORIENTATION_USER. userLandscapebWould 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. userPortraitcWould 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".
Requires API level 28 (Android 8.+, P)

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.

ConstantValueDescription large190A large screen configuration, at least 400x530dp. normal12cA normal screen configuration, at least 320x480dp. smallc8A small screen configuration, at least 240x320dp. xlarge1f4An extra large screen configuration, at least 600x800dp.
Requires API level 9 (Android 2.3, Gingerbread)
Value: 16843466

scrollHorizontally

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.

ConstantValueDescription bottom2Displays bottom scroll indicator when vew can be scrolled down. end20Displays right scroll indicator when vew can be scrolled in the end direction. left4Displays left scroll indicator when vew can be scrolled left. none0No scroll indicators are displayed. right8Displays right scroll indicator when vew can be scrolled right. start10Displays right scroll indicator when vew can be scrolled in the start direction. top1Displays top scroll indicator when view can be scrolled up.
Requires API level 23 (Android 6.0, Marshmallow)
Value: 16844006

scrollViewStyle

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

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

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

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

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

Value: 16843432

scrollbarSize

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

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.

ConstantValueDescription insideInset1000000Inside the padding and inset. insideOverlay0Inside the padding and overlaid. outsideInset3000000Edge of the view and inset. outsideOverlay2000000Edge of the view and overlaid.
Value: 16842879

scrollbarThumbHorizontal

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

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

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

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

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.

ConstantValueDescription horizontal100Displays horizontal scrollbar only. none0No scrollbar is displayed. vertical200Displays vertical scrollbar only.
Value: 16842974

scrollingCache

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

static val searchButtonText: Int

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".
Requires API level 22 (Android 5.1, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843907

searchMode

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.

ConstantValueDescription queryRewriteFromData10If 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. queryRewriteFromText20If 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. showSearchIconAsBadge8This is deprecated.
The default application icon is now always used, so this option is obsolete. showSearchLabelAsBadge4If 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

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;
Requires API level 4 (Android 1.6, Donut)

Value: 16843402

searchSuggestAuthority

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

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

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

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

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844115

secondaryProgress

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843880

seekBarStyle

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843568

selectAllOnFocus

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

static val selectable: Int

Whether the Preference is selectable.

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

Value: 16843238

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843868

selectedDateVerticalBar

added in API level 11
static val selectedDateVerticalBar: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843591

selectedWeekBackgroundColor

added in API level 11
static val selectedWeekBackgroundColor: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843586

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843837

settingsActivity

added in API level 3
static val settingsActivity: Int

Component 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;
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843301

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843766

shadowColor

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

static val shadowDx: Int

Horizontal offset of the text shadow.

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

Value: 16843106

shadowDy

static val shadowDy: Int

Vertical offset of the text shadow.

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

Value: 16843107

shadowRadius

static val shadowRadius: Int

Blur radius of the text shadow.

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

Value: 16843108

shape

static val shape: Int

Indicates what shape to fill with a gradient.

Must be one of the following constant values.

ConstantValueDescription line2Line shape. oval1Oval shape. rectangle0Rectangle shape, with optional rounder corners. ring3Ring shape.
Value: 16843162

shareInterpolator

static val shareInterpolator: Int

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

Value: 16843195

sharedUserId

static val sharedUserId: Int

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.

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

Value: 16842763

sharedUserLabel

added in API level 3
static val sharedUserLabel: Int

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843361

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".
Requires API level 25 (Android 7.1.1, Nougat)

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;
Requires API level 25 (Android 7.1.1, Nougat)

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".
Requires API level 25 (Android 7.1.1, Nougat)

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".
Requires API level 25 (Android 7.1.1, Nougat)

Value: 16844073

shouldDisableView

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

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.

ConstantValueDescription always2Always 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". collapseActionView8This item's action view collapses to a normal menu item. When expanded, the action view takes over a larger segment of its container. ifRoom1Show 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". never0Never show this item in an action bar, show it in the overflow menu instead. Mutually exclusive with "ifRoom" and "always". withText4When this item is shown as an action in the action bar, show a text label with it even if it has an icon representation.
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843481

showDefault

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.

ConstantValueDescription beginning1 end4 middle2 none0
Requires API level 11 (Android 3.0, Honeycomb)
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".
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16844015

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".
Requires API level 25 (Android 7.1.1, Nougat)

Value: 16844079

showOnLockScreen

added in API level 17
static val showOnLockScreen: Int

Specify that an Activity should be shown over the lock screen and, in a multiuser environment, across all users' windows.
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843721

showSilent

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843949

showWeekNumber

added in API level 11
static val showWeekNumber: Int


Requires API level 11 (Android 3.0, Honeycomb)

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 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".
Requires API level 27 (Android 8.1, Oreo)

Value: 16844137

shownWeekCount

added in API level 11
static val shownWeekCount: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843585

shrinkColumns

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

static val singleLine: 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. 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".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843711

slideEdge

added in API level 21
static val slideEdge: Int

Must be one of the following constant values.

ConstantValueDescription bottom50Slide to and from the bottom edge of the Scene. end800005Slide to and from the x-axis position at the end of the Scene root. left3Slide to and from the left edge of the Scene. right5Slide to and from the right edge of the Scene. start800003Slide to and from the x-axis position at the start of the Scene root. top30Slide to and from the top edge of the Scene.
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843313

soundEffectsEnabled

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

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

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

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.

ConstantValueDescription dialog0Spinner options will be presented to the user as a dialog window. dropdown1Spinner options will be presented to the user as an inline dropdown anchored to the spinner widget itself.
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843505

spinnerStyle

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843595

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), touch events will be dispatched to the child view where the first pointer went down until the last pointer goes up. If true, 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".
Requires API level 11 (Android 3.0, Honeycomb)

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;
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843852

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843967

src

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;
Requires API level 19 (Android 4.4, KitKat)

Value: 16843747

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;
Requires API level 19 (Android 4.4, KitKat)

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;
Requires API level 19 (Android 4.4, KitKat)

Value: 16843748

stackFromBottom

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843838

starStyle

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).
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16843995

startColor

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".
Requires API level 19 (Android 4.4, KitKat)

Value: 16843746

startOffset

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844049

startYear

static val startYear: Int

{@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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843848

stateNotNeeded

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843518

state_active

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

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

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843625

state_empty

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

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

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

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

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843623

state_last

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
static val state_long_pressable: Int

State for KeyboardView key preview background.

May be a boolean value, such as "true" or "false".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843324

state_middle

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843597

state_pressed

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

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

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843857

stepSize

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843626

streamType

static val streamType: Int

Different audio stream types.

Must be one of the following constant values.

ConstantValueDescription alarm4 music3 ring2 system1 voice0
Value: 16843273

stretchColumns

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

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.

ConstantValueDescription columnWidth2Each column is stretched equally. none0Stretching is disabled. spacingWidth1The spacing between each column is stretched. spacingWidthUniform3The 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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription butt0 round1 square2
Requires API level 21 (Android 5.0, Lollipop)
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.

ConstantValueDescription bevel2 miter0 round1
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843783

subMenuArrow

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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;
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 17 (Android 4.2, Jelly Bean)

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;
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843673

suggestActionMsg

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

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843910

summary

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;
Requires API level 5 (Android 2.0, Eclair)

Value: 16843426

summaryOff

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

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

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".
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16844016

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844047

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843695

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".
Requires API level 19 (Android 4.4, KitKat)

Value: 16843755

supportsUploading

added in API level 5
static val supportsUploading: Int

May be a boolean value, such as "true" or "false".
Requires API level 5 (Android 2.0, Eclair)

Value: 16843419

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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;
Requires API level 14 (Android 4.0, IceCreamSandwich)

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;
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843627

syncable

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".
Requires API level 8 (Android 2.2, Froyo)

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".
Requires API level 8 (Android 2.2, Froyo)

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".
Requires API level 8 (Android 2.2, Froyo)

Value: 16843452

tabWidgetStyle

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

static val tag: Int

Supply a tag for this view containing a String, to be retrieved later with 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

static val targetActivity: Int

The name of the activity this alias should launch. The activity must be in the same manifest as the alias, and have been defined in that manifest before the alias here. 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: 16843266

targetClass

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
static val targetDescriptions: Int


Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 19 (Android 4.4, KitKat)

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843853

targetPackage

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;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844097

targetSandboxVersion

added in API level 26
static val targetSandboxVersion: Int

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.

May be an integer value, such as "100".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843376

taskAffinity

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

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

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

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

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

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

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

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

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".
Requires API level 4 (Android 1.6, Donut)

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843378

text

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.

ConstantValueDescription center4Center the paragraph, for example: ALIGN_CENTER. gravity1Default 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. inherit0Default. textEnd3Align to the end of the paragraph, for example: ALIGN_OPPOSITE. textStart2Align to the start of the paragraph, for example: ALIGN_NORMAL. viewEnd6Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise. viewStart5Align to the start of the view, which is ALIGN_LEFT if the view’s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise.
Requires API level 17 (Android 4.2, Jelly Bean)
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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843660

textAppearance

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

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

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

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843679

textAppearanceMedium

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

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

Value: 16843425

textAppearanceSmall

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843522

textCheckMark

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

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843526

textColorHighlight

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843599

textColorHint

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

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

textColorLink

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843600

textColorPrimary

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

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

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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843403

textColorPrimaryInverseNoDisable

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

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

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

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

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

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

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

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".
Requires API level 12 (Android 3.1, Honeycomb)

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.

ConstantValueDescription anyRtl2The 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. firstStrong1Default 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. firstStrongLtr6The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is LTR. firstStrongRtl7The first strong directional character determines the paragraph direction. If there is no strong directional character, the paragraph direction is RTL. inherit0Default. locale5The paragraph direction is coming from the system Locale. ltr3The paragraph direction is left to right. rtl4The paragraph direction is right to left.
Requires API level 17 (Android 4.2, Jelly Bean)
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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843636

textFilterEnabled

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 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.
Requires API level 28 (Android 8.+, P)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843542

textOff

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

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

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".
Requires API level 9 (Android 2.3, Gingerbread)

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".
Requires API level 9 (Android 2.3, Gingerbread)

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".
Requires API level 9 (Android 2.3, Gingerbread)

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".
Requires API level 9 (Android 2.3, Gingerbread)

Value: 16843464

textSize

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

static val textStyle: Int

Default text typeface style.

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

ConstantValueDescription bold1 italic2 normal0
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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843635

textViewStyle

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

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).
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843360

thicknessRatio

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

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

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.

ConstantValueDescription inside1The thumb is entirely inside the track. At its extremes, the thumb will be contained entirely within the track. midpoint0The thumb's midpoint is anchored to the track. At its extremes, the thumb will extend half-way outside the track.
Requires API level 23 (Android 6.0, Marshmallow)
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).
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 24 (Android 7.0, Nougat)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 24 (Android 7.0, Nougat)
Value: 16844044

tileMode

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.

ConstantValueDescription clamp0Replicates the edge color. disabledffffffffDo not tile the bitmap. This is the default value. mirror2Repeats the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam. repeat1Repeats 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.

ConstantValueDescription clamp0Replicates the edge color. disabledffffffffDo not tile the bitmap. This is the default value. mirror2Repeats the shader's image horizontally, alternating mirror images so that adjacent images always seam. repeat1Repeats the bitmap horizontally.
Requires API level 21 (Android 5.0, Lollipop)
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.

ConstantValueDescription clamp0Replicates the edge color. disabledffffffffDo not tile the bitmap. This is the default value. mirror2Repeats the shader's image vertically, alternating mirror images so that adjacent images always seam. repeat1Repeats the bitmap vertically.
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843896

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".
Requires API level 21 (Android 5.0, Lollipop)

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.

ConstantValueDescription clock2Time picker with clock face to select the time. spinner1Time picker with spinner controls to select the time.
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 17 (Android 4.2, Jelly Bean)

Value: 16843724

tint

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 21 (Android 5.0, Lollipop)
Value: 16843771

title

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

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).
Requires API level 24 (Android 7.0, Nougat)

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).
Requires API level 24 (Android 7.0, Nougat)

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).
Requires API level 24 (Android 7.0, Nougat)

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).
Requires API level 24 (Android 7.0, Nougat)

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).
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843512

toAlpha

static val toAlpha: Int

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

Value: 16843211

toDegrees

static val toDegrees: Int

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

Value: 16843188

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 19 (Android 4.4, KitKat)

Value: 16843742

toXDelta

static val toXDelta: 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: 16843207

toXScale

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

static val toYDelta: 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: 16843209

toYScale

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 26 (Android 8.0, Oreo)

Value: 16844084

top

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

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

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

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).
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843352

topRightRadius

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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.

ConstantValueDescription add10Combines the tint and drawable color and alpha channels, clamping the result to valid color values. Saturate(S + D) multiplyeMultiplies the color and alpha channels of the drawable with those of the tint. [Sa * Da, Sc * Dc] screenf[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] src_atop9The tint is drawn above the drawable, but with the drawable’s alpha channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] src_in5The tint is masked by the alpha channel of the drawable. The drawable’s color channels are thrown out. [Sa * Da, Sc * Da] src_over3The tint is drawn on top of the drawable. [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]
Requires API level 23 (Android 6.0, Marshmallow)
Value: 16843994

transcriptMode

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.

ConstantValueDescription alwaysScroll2The list will automatically scroll to the bottom, no matter what items are currently visible. disabled0Disables transcript mode. This is the default value. normal1The 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).
Requires API level 11 (Android 3.0, Honeycomb)

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).
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 19 (Android 4.4, KitKat)

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843776

transitionOrdering

added in API level 19
static val transitionOrdering: Int

Must be one of the following constant values.

ConstantValueDescription sequential1child transitions should be played sequentially, in the same order as the xml. together0child transitions should be played together.
Requires API level 19 (Android 4.4, KitKat)
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.

ConstantValueDescription mode_in1Only appearing Views will be supported. mode_out2Only disappearing Views will be supported.
Requires API level 21 (Android 5.0, Lollipop)
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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 11 (Android 3.0, Honeycomb)

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).
Requires API level 11 (Android 3.0, Honeycomb)

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).
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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. {@see 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".
Requires API level 28 (Android 8.+, P)

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".
Requires API level 24 (Android 7.0, Nougat)

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".
Requires API level 27 (Android 8.1, Oreo)

Value: 16844138

type

static val type: Int

Type of gradient. The default type is linear.

Must be one of the following constant values.

ConstantValueDescription linear0Linear gradient extending across the center point. radial1Radial gradient extending from the center point outward. sweep2Sweep (or angular) gradient sweeping counter-clockwise around the center point.
Value: 16843169

typeface

static val typeface: Int

Default text typeface.

Must be one of the following constant values.

ConstantValueDescription monospace3 normal0 sans1 serif2
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.

ConstantValueDescription none0No extra UI options. This is the default. splitActionBarWhenNarrow1Split 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.
Requires API level 14 (Android 4.0, IceCreamSandwich)
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".
Requires API level 4 (Android 1.6, Donut)

Value: 16843382

unfocusedMonthDateColor

added in API level 11
static val unfocusedMonthDateColor: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843588

unselectedAlpha

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".
Requires API level 3 (Android 1.5, Cupcake)

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.
Requires API level 24 (Android 7.0, Nougat)

Value: 16844053

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".
Requires API level 14 (Android 4.0, IceCreamSandwich)

Value: 16843641

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843536

useLevel

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".
Requires API level 5 (Android 2.0, Eclair)

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, STMP 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".
Requires API level 23 (Android 6.0, Marshmallow)

Value: 16844012

value

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 Bundle.getString, Bundle.getInt, Bundle.getBoolean, or 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).
Requires API level 11 (Android 3.0, Honeycomb)

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).
Requires API level 11 (Android 3.0, Honeycomb)

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.

ConstantValueDescription colorType3values are colors, which are integers starting with "#". floatType0The 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. intType1values are integers. pathType2values are paths defined as strings. This type is used for path morphing in AnimatedVectorDrawable.
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843488

variablePadding

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;
Requires API level 19 (Android 4.4, KitKat)

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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844057

versionCode

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".
Requires API level 28 (Android 8.+, P)

Value: 16844150

versionMajor

added in API level 28
static val versionMajor: Int

Required specific library version.

May be an integer value, such as "100".
Requires API level 28 (Android 8.+, P)

Value: 16844151

versionName

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
static val verticalCorrection: Int

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

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

Value: 16843322

verticalDivider

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
static val verticalGap: Int

Default vertical gap between rows of keys.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.
Requires API level 3 (Android 1.5, Cupcake)

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.

ConstantValueDescription defaultPosition0Place the scroll bar wherever the system default determines. left1Place the scroll bar on the left. right2Place the scroll bar on the right.
Requires API level 11 (Android 3.0, Honeycomb)
Value: 16843572

verticalSpacing

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843778

visibility

static val visibility: Int

Controls the initial visibility of the view.

Must be one of the following constant values.

ConstantValueDescription gone2Completely hidden, as if the view had not been added. invisible1Not displayed, but taken into account during layout (space is left for it). visible0Visible on screen; the default value.
Value: 16842972

visible

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".
Requires API level 26 (Android 8.0, Oreo)

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".
Requires API level 8 (Android 2.2, Froyo)

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".
Requires API level 21 (Android 5.0, Lollipop)

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;
Requires API level 3 (Android 1.5, Cupcake)

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;
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 3 (Android 1.5, Cupcake)

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;
Requires API level 3 (Android 1.5, Cupcake)

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.

ConstantValueDescription launchRecognizer4If 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. launchWebSearch2If 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. showVoiceSearchButton1If set, display a voice search button. This only takes effect if voice search is available on the device.
Requires API level 3 (Android 1.5, Cupcake)
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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 5 (Android 2.0, Eclair)

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".
Requires API level 8 (Android 2.2, Froyo)

Value: 16843449

webViewStyle

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843592

weekNumberColor

added in API level 11
static val weekNumberColor: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843589

weekSeparatorLineColor

added in API level 11
static val weekSeparatorLineColor: Int


Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843590

weightSum

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.

ConstantValueDescription home_screen1 keyguard2 searchbox4
Requires API level 17 (Android 4.2, Jelly Bean)
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.

ConstantValueDescription hide_from_picker2The widget is added directly by the app, and does not need to appear in the global list of available widgets reconfigurable1The widget can be reconfigured anytime after it is bound
Requires API level 28 (Android 8.+, P)
Value: 16844153

widgetLayout

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

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843835

windowAnimationStyle

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

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

Value: 16842836

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 that has android.R.attr#resizeableActivity set for 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".
Requires API level 24 (Android 7.0, Nougat)

Value: 16844035

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843611

windowContentOverlay

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 3 (Android 1.5, Cupcake)

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".
Requires API level 21 (Android 5.0, Lollipop)

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).
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 11 (Android 3.0, Honeycomb)

Value: 16843543

windowEnterAnimation

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843831

windowExitAnimation

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843832

windowFrame

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

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

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

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

static val windowIsTranslucent: Int

Flag indicating whether this is a translucent window. If this attribute is unset (but not if set to false), the window might still be considered translucent, if windowSwipeToDismiss is set to true.

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

Value: 16842840

windowLayoutInDisplayCutoutMode

added in API level 28
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.

ConstantValueDescription default0

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.

never2

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.

shortEdges1

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.


Requires API level 28 (Android 8.+, P)
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".
Requires API level 27 (Android 8.1, Oreo)

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".
Requires API level 23 (Android 6.0, Marshmallow)

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.
Requires API level 11 (Android 3.0, Honeycomb)

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.
Requires API level 11 (Android 3.0, Honeycomb)

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".
Requires API level 3 (Android 1.5, Cupcake)

Value: 16843294

windowNoTitle

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
static val windowOverscan: Int

Flag indicating whether this window should extend into overscan region. Corresponds to android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN.

May be a boolean value, such as "true" or "false".
Requires API level 18 (Android 4.3, Jelly Bean)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843963

windowShowAnimation

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".
Requires API level 5 (Android 2.0, Eclair)

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.

ConstantValueDescription adjustNothing30Don't resize or pan the window to make room for the soft input area; the window is never adjusted for it. adjustPan20Don'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. adjustResize10Always resize the window: the content area of the window is reduced to make room for the soft input area. adjustUnspecified0The 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. stateAlwaysHidden3Always make the soft input area hidden when this window has input focus. stateAlwaysVisible5Always make the soft input area visible when this window has input focus. stateHidden2Make the soft input area hidden when normally appropriate (when the user is navigating forward to your window). stateUnchanged1Leave the soft input window as-is, in whatever state it last was. stateUnspecified0Not specified, use what the system thinks is best. This is the default. stateVisible4Make the soft input area visible when normally appropriate (when the user is navigating forward to your window).
Requires API level 3 (Android 1.5, Cupcake)
Value: 16843307

windowSplashscreenContent

added in API level 26
static val windowSplashscreenContent: Int

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.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".
Requires API level 26 (Android 8.0, Oreo)

Value: 16844132

windowSwipeToDismiss

added in API level 20
static val windowSwipeToDismiss: Int

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.

May be a boolean value, such as "true" or "false".
Requires API level 20 (Android 4.4W, KitKat Wear)

Value: 16843763

windowTitleBackgroundStyle

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

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

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".
Requires API level 21 (Android 5.0, Lollipop)

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".
Requires API level 19 (Android 4.4, KitKat)

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".
Requires API level 19 (Android 4.4, KitKat)

Value: 16843759

writePermission

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

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".
Requires API level 9 (Android 2.3, Gingerbread)

Value: 16843455

y

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
static val yearListItemTextAppearance: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843929

yearListSelectorColor

added in API level 21
static val yearListSelectorColor: Int

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".
Requires API level 21 (Android 5.0, Lollipop)

Value: 16843930

yesNoPreferenceStyle

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

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.

ConstantValueDescription bottomffffffffThe content being animated is forced under all other content for the duration of the animation. normal0The content being animated be kept in its current Z order. top1The content being animated is forced on top of all other content for the duration of the animation.
Value: 16843201

Public constructors

<init>

attr()