R.styleable


public static final class R.styleable
extends Object

java.lang.Object
   ↳ android.R.styleable


Summary

Constants

int AbsListView_cacheColorHint

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

int AbsListView_choiceMode

Defines the choice behavior for the view.

int AbsListView_drawSelectorOnTop

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

int AbsListView_fastScrollAlwaysVisible

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

int AbsListView_fastScrollEnabled

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

int AbsListView_fastScrollStyle

Specifies the style of the fast scroll decorations.

int AbsListView_listSelector

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

int AbsListView_scrollingCache

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

int AbsListView_smoothScrollbar

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

int AbsListView_stackFromBottom

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

int AbsListView_textFilterEnabled

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

int AbsListView_transcriptMode

Sets the transcript mode for the list.

int AbsSpinner_entries

Reference to an array resource that will populate the Spinner.

int AbsoluteLayout_Layout_layout_x

This symbol is the offset where the R.attr.layout_x attribute's value can be found in the AbsoluteLayout_Layout array.

int AbsoluteLayout_Layout_layout_y

This symbol is the offset where the R.attr.layout_y attribute's value can be found in the AbsoluteLayout_Layout array.

int AccelerateInterpolator_factor

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

int AccessibilityService_accessibilityEventTypes

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

int AccessibilityService_accessibilityFeedbackType

The feedback types this service provides as specified in AccessibilityServiceInfo.

int AccessibilityService_accessibilityFlags

Additional flags as specified in AccessibilityServiceInfo.

int AccessibilityService_animatedImageDrawable

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

int AccessibilityService_canControlMagnification

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

int AccessibilityService_canPerformGestures

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

int AccessibilityService_canRequestEnhancedWebAccessibility

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

int AccessibilityService_canRequestFilterKeyEvents

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

int AccessibilityService_canRequestFingerprintGestures

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

int AccessibilityService_canRequestTouchExplorationMode

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

int AccessibilityService_canRetrieveWindowContent

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

int AccessibilityService_canTakeScreenshot

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

int AccessibilityService_description

Description of the accessibility service usage, availability, or limitations (e.g.

int AccessibilityService_htmlDescription

Html description of the accessibility service usage, availability, or limitations (e.g.

int AccessibilityService_interactiveUiTimeout

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

int AccessibilityService_intro

Detailed intro of the accessibility service purpose or behavior.

int AccessibilityService_isAccessibilityTool

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

int AccessibilityService_nonInteractiveUiTimeout

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

int AccessibilityService_notificationTimeout

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

int AccessibilityService_packageNames

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

int AccessibilityService_settingsActivity

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

int AccessibilityService_summary

Brief summary of the accessibility service purpose or behavior.

int AccessibilityService_tileService

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

int AccessibilityShortcutTarget_animatedImageDrawable

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

int AccessibilityShortcutTarget_description

Description of the target of accessibility shortcut usage, availability, or limitations (e.g.

int AccessibilityShortcutTarget_htmlDescription

Html description of the target of accessibility shortcut usage, availability, or limitations (e.g.

int AccessibilityShortcutTarget_intro

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

int AccessibilityShortcutTarget_settingsActivity

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

int AccessibilityShortcutTarget_summary

Brief summary of the target of accessibility shortcut purpose or behavior.

int AccessibilityShortcutTarget_tileService

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

int AccountAuthenticator_accountPreferences

A preferences.xml file for authenticator-specific settings.

int AccountAuthenticator_accountType

The account type this authenticator handles.

int AccountAuthenticator_customTokens

Account handles its own token storage and permissions.

int AccountAuthenticator_icon

The icon of the authenticator.

int AccountAuthenticator_label

The user-visible name of the authenticator.

int AccountAuthenticator_smallIcon

Smaller icon of the authenticator.

int ActionBar_LayoutParams_layout_gravity

Standard gravity constant that a child supplies to its parent.

int ActionBar_background

Specifies a background drawable for the action bar.

int ActionBar_backgroundSplit

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

int ActionBar_backgroundStacked

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

int ActionBar_contentInsetEnd

Minimum inset for content views within a bar.

int ActionBar_contentInsetEndWithActions

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

int ActionBar_contentInsetLeft

Minimum inset for content views within a bar.

int ActionBar_contentInsetRight

Minimum inset for content views within a bar.

int ActionBar_contentInsetStart

Minimum inset for content views within a bar.

int ActionBar_contentInsetStartWithNavigation

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

int ActionBar_customNavigationLayout

Specifies a layout for custom navigation.

int ActionBar_displayOptions

Options affecting how the action bar is displayed.

int ActionBar_divider

Specifies the drawable used for item dividers.

int ActionBar_elevation

Elevation for the action bar itself.

int ActionBar_height

Specifies a fixed height.

int ActionBar_hideOnContentScroll

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

int ActionBar_homeAsUpIndicator

Up navigation glyph.

int ActionBar_homeLayout

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

int ActionBar_icon

Specifies the drawable used for the application icon.

int ActionBar_indeterminateProgressStyle

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

int ActionBar_itemPadding

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

int ActionBar_logo

Specifies the drawable used for the application logo.

int ActionBar_navigationMode

The type of navigation to use.

int ActionBar_popupTheme

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

int ActionBar_progressBarPadding

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

int ActionBar_progressBarStyle

Specifies a style resource to use for an embedded progress bar.

int ActionBar_subtitle

Specifies subtitle text used for navigationMode="normal".

int ActionBar_subtitleTextStyle

Specifies a style to use for subtitle text.

int ActionBar_title

Specifies title text used for navigationMode="normal".

int ActionBar_titleTextStyle

Specifies a style to use for title text.

int ActionMenuItemView_minWidth

This symbol is the offset where the R.attr.minWidth attribute's value can be found in the ActionMenuItemView array.

int ActionMode_background

Specifies a background for the action mode bar.

int ActionMode_backgroundSplit

Specifies a background for the split action mode bar.

int ActionMode_height

Specifies a fixed height for the action mode bar.

int ActionMode_subtitleTextStyle

Specifies a style to use for subtitle text.

int ActionMode_titleTextStyle

Specifies a style to use for title text.

int AdapterViewAnimator_animateFirstView

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

int AdapterViewAnimator_inAnimation

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

int AdapterViewAnimator_loopViews

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

int AdapterViewAnimator_outAnimation

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

int AdapterViewFlipper_autoStart

When true, automatically start animating.

int AdapterViewFlipper_flipInterval

This symbol is the offset where the R.attr.flipInterval attribute's value can be found in the AdapterViewFlipper array.

int AdaptiveIconDrawableLayer_drawable

The drawable to use for the layer.

int AidFilter_name

The ISO7816 Application ID.

int AidGroup_category

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

int AidGroup_description

Short description of what the AID group implements.

int AidPrefixFilter_name

The ISO7816 Application ID.

int AlertDialog_bottomBright

This symbol is the offset where the R.attr.bottomBright attribute's value can be found in the AlertDialog array.

int AlertDialog_bottomDark

This symbol is the offset where the R.attr.bottomDark attribute's value can be found in the AlertDialog array.

int AlertDialog_bottomMedium

This symbol is the offset where the R.attr.bottomMedium attribute's value can be found in the AlertDialog array.

int AlertDialog_centerBright

This symbol is the offset where the R.attr.centerBright attribute's value can be found in the AlertDialog array.

int AlertDialog_centerDark

This symbol is the offset where the R.attr.centerDark attribute's value can be found in the AlertDialog array.

int AlertDialog_centerMedium

This symbol is the offset where the R.attr.centerMedium attribute's value can be found in the AlertDialog array.

int AlertDialog_fullBright

This symbol is the offset where the R.attr.fullBright attribute's value can be found in the AlertDialog array.

int AlertDialog_fullDark

This symbol is the offset where the R.attr.fullDark attribute's value can be found in the AlertDialog array.

int AlertDialog_layout

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

int AlertDialog_topBright

This symbol is the offset where the R.attr.topBright attribute's value can be found in the AlertDialog array.

int AlertDialog_topDark

This symbol is the offset where the R.attr.topDark attribute's value can be found in the AlertDialog array.

int AlphaAnimation_fromAlpha

This symbol is the offset where the R.attr.fromAlpha attribute's value can be found in the AlphaAnimation array.

int AlphaAnimation_toAlpha

This symbol is the offset where the R.attr.toAlpha attribute's value can be found in the AlphaAnimation array.

int AnalogClock_dial

This symbol is the offset where the R.attr.dial attribute's value can be found in the AnalogClock array.

int AnalogClock_dialTint

Tint to apply to the dial graphic.

int AnalogClock_dialTintMode

Blending mode used to apply the dial graphic tint.

int AnalogClock_hand_hour

This symbol is the offset where the R.attr.hand_hour attribute's value can be found in the AnalogClock array.

int AnalogClock_hand_hourTint

Tint to apply to the hour hand graphic.

int AnalogClock_hand_hourTintMode

Blending mode used to apply the hour hand graphic tint.

int AnalogClock_hand_minute

This symbol is the offset where the R.attr.hand_minute attribute's value can be found in the AnalogClock array.

int AnalogClock_hand_minuteTint

Tint to apply to the minute hand graphic.

int AnalogClock_hand_minuteTintMode

Blending mode used to apply the minute hand graphic tint.

int AnalogClock_hand_second

This symbol is the offset where the R.attr.hand_second attribute's value can be found in the AnalogClock array.

int AnalogClock_hand_secondTint

Tint to apply to the second hand graphic.

int AnalogClock_hand_secondTintMode

Blending mode used to apply the second hand graphic tint.

int AnalogClock_timeZone

Specifies the time zone to use.

int AndroidManifestAction_name

The name of an action that is handled, using the Java-style naming convention.

int AndroidManifestActivityAlias_allowUntrustedActivityEmbedding

Indicate that the activity can be embedded by untrusted hosts.

int AndroidManifestActivityAlias_attributionTags

Attribution tag to be used for permission sub-attribution if a permission is checked in Context.sendBroadcast(Intent, String).

int AndroidManifestActivityAlias_banner

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

int AndroidManifestActivityAlias_description

Descriptive text for the associated data.

int AndroidManifestActivityAlias_enabled

Specify whether the activity-alias is enabled or not (that is, can be instantiated by the system).

int AndroidManifestActivityAlias_exported

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

int AndroidManifestActivityAlias_icon

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

int AndroidManifestActivityAlias_knownActivityEmbeddingCerts

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

int AndroidManifestActivityAlias_label

A user-legible name for the given item.

int AndroidManifestActivityAlias_logo

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

int AndroidManifestActivityAlias_name

Required name of the class implementing the activity, deriving from Activity.

int AndroidManifestActivityAlias_parentActivityName

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

int AndroidManifestActivityAlias_permission

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

int AndroidManifestActivityAlias_roundIcon

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

int AndroidManifestActivityAlias_targetActivity

The name of the activity this alias should launch.

int AndroidManifestActivity_allowEmbedded

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

int AndroidManifestActivity_allowTaskReparenting

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

int AndroidManifestActivity_allowUntrustedActivityEmbedding

Indicate that the activity can be embedded by untrusted hosts.

int AndroidManifestActivity_alwaysRetainTaskState

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

int AndroidManifestActivity_attributionTags

Set of attribution tags that should be automatically applied to this component.

int AndroidManifestActivity_autoRemoveFromRecents

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

int AndroidManifestActivity_banner

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

int AndroidManifestActivity_canDisplayOnRemoteDevices

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

int AndroidManifestActivity_clearTaskOnLaunch

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

int AndroidManifestActivity_colorMode

Specify the color mode the activity desires.

int AndroidManifestActivity_configChanges

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

int AndroidManifestActivity_description

Descriptive text for the associated data.

int AndroidManifestActivity_directBootAware

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

int AndroidManifestActivity_documentLaunchMode

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

int AndroidManifestActivity_enableOnBackInvokedCallback

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

int AndroidManifestActivity_enableVrMode

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

int AndroidManifestActivity_enabled

Specify whether the activity is enabled or not (that is, can be instantiated by the system).

int AndroidManifestActivity_excludeFromRecents

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

int AndroidManifestActivity_exported

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

int AndroidManifestActivity_finishOnCloseSystemDialogs

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

int AndroidManifestActivity_finishOnTaskLaunch

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

int AndroidManifestActivity_forceQueryable

This symbol is the offset where the R.attr.forceQueryable attribute's value can be found in the AndroidManifestActivity array.

int AndroidManifestActivity_hardwareAccelerated

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

int AndroidManifestActivity_icon

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

int AndroidManifestActivity_immersive

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

int AndroidManifestActivity_inheritShowWhenLocked

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

int AndroidManifestActivity_knownActivityEmbeddingCerts

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

int AndroidManifestActivity_label

A user-legible name for the given item.

int AndroidManifestActivity_launchMode

Specify how an activity should be launched.

int AndroidManifestActivity_lockTaskMode

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

int AndroidManifestActivity_logo

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

int AndroidManifestActivity_maxAspectRatio

This value indicates the maximum aspect ratio the activity supports.

int AndroidManifestActivity_maxRecents

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

int AndroidManifestActivity_minAspectRatio

This value indicates the minimum aspect ratio the activity supports.

int AndroidManifestActivity_multiprocess

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

int AndroidManifestActivity_name

Required name of the class implementing the activity, deriving from Activity.

int AndroidManifestActivity_noHistory

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

int AndroidManifestActivity_parentActivityName

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

int AndroidManifestActivity_permission

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

int AndroidManifestActivity_persistableMode

Define how an activity persist across reboots.

int AndroidManifestActivity_playHomeTransitionSound

Specifies whether a home sound effect should be played if the home app moves to front after an activity with this flag set to true.

int AndroidManifestActivity_preferMinimalPostProcessing

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

int AndroidManifestActivity_process

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

int AndroidManifestActivity_recreateOnConfigChanges

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

int AndroidManifestActivity_relinquishTaskIdentity

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

int AndroidManifestActivity_requireContentUriPermissionFromCaller

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

int AndroidManifestActivity_requiredDisplayCategory

Specifies the required display category of the activity.

int AndroidManifestActivity_resizeableActivity

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

int AndroidManifestActivity_resumeWhilePausing

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

int AndroidManifestActivity_rotationAnimation

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

int AndroidManifestActivity_roundIcon

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

int AndroidManifestActivity_screenOrientation

Specify the orientation an activity should be run in.

int AndroidManifestActivity_showForAllUsers

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

int AndroidManifestActivity_showOnLockScreen

This constant is deprecated. use R.attr.showForAllUsers instead.

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

int AndroidManifestActivity_showWhenLocked

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

int AndroidManifestActivity_singleUser

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

int AndroidManifestActivity_splitName

The code for this component is located in the given split.

int AndroidManifestActivity_stateNotNeeded

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

int AndroidManifestActivity_supportsPictureInPicture

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

int AndroidManifestActivity_systemUserOnly

This broadcast receiver or activity will only receive broadcasts for the system user

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

int AndroidManifestActivity_taskAffinity

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

int AndroidManifestActivity_theme

The overall theme to use for an activity.

int AndroidManifestActivity_turnScreenOn

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

int AndroidManifestActivity_uiOptions

Extra options for an activity's UI.

int AndroidManifestActivity_visibleToInstantApps

Specify whether a component should be visible to instant apps.

int AndroidManifestActivity_windowSoftInputMode

Specify the default soft-input mode for the main window of this activity.

int AndroidManifestAdditionalCertificate_certDigest

The SHA-256 digest of the library signing certificate.

int AndroidManifestAllowPermission_name

Required name of the permission that is to be allowed.

int AndroidManifestApexSystemService_initOrder

The order in which the apex system services are initiated.

int AndroidManifestApexSystemService_maxSdkVersion

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

int AndroidManifestApexSystemService_minSdkVersion

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

int AndroidManifestApexSystemService_name

The fully qualified class name of the system service.

int AndroidManifestApexSystemService_path

The filepath to the .jar that contains the system service.

int AndroidManifestApplication_allowAudioPlaybackCapture

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

int AndroidManifestApplication_allowBackup

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

int AndroidManifestApplication_allowClearUserData

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

int AndroidManifestApplication_allowClearUserDataOnFailedRestore

If true the system will clear app's data if a restore operation fails.

int AndroidManifestApplication_allowCrossUidActivitySwitchFromBelow

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

int AndroidManifestApplication_allowNativeHeapPointerTagging

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

int AndroidManifestApplication_allowTaskReparenting

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

int AndroidManifestApplication_appCategory

Declare the category of this app.

int AndroidManifestApplication_appComponentFactory

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

int AndroidManifestApplication_attributionsAreUserVisible

Whether attributions provided are meant to be user-visible.

int AndroidManifestApplication_autoRevokePermissions

No longer used.

int AndroidManifestApplication_backupAgent

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

int AndroidManifestApplication_backupInForeground

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

int AndroidManifestApplication_banner

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

int AndroidManifestApplication_cantSaveState

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

int AndroidManifestApplication_classLoader

Declares the kind of classloader this application's classes must be loaded with

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

int AndroidManifestApplication_crossProfile

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

int AndroidManifestApplication_dataExtractionRules

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

int AndroidManifestApplication_debuggable

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

int AndroidManifestApplication_defaultToDeviceProtectedStorage

This symbol is the offset where the R.attr.defaultToDeviceProtectedStorage attribute's value can be found in the AndroidManifestApplication array.

int AndroidManifestApplication_description

Descriptive text for the associated data.

int AndroidManifestApplication_directBootAware

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

int AndroidManifestApplication_enableOnBackInvokedCallback

If false, KEYCODE_BACK and Activity.onBackPressed() and related event will be forwarded to the Activities and View, otherwise those events will be replaced by a call to OnBackInvokedCallback.onBackInvoked() on the focused window.

int AndroidManifestApplication_enabled

Specify whether the components in this application are enabled or not (that is, can be instantiated by the system).

int AndroidManifestApplication_extractNativeLibs

When set installer will extract native libraries.

int AndroidManifestApplication_forceQueryable

If true this app declares that it should be visible to all other apps on device, regardless of what they declare via the queries tags in their manifest.

int AndroidManifestApplication_fullBackupContent

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

int AndroidManifestApplication_fullBackupOnly

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

int AndroidManifestApplication_gwpAsanMode

Enable sampled memory bug detection in this process.

int AndroidManifestApplication_hardwareAccelerated

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

int AndroidManifestApplication_hasCode

Indicate whether this application contains code.

int AndroidManifestApplication_hasFragileUserData

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

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

int AndroidManifestApplication_icon

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

int AndroidManifestApplication_isGame

This constant is deprecated. replaced by setting appCategory attribute to "game"

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

int AndroidManifestApplication_killAfterRestore

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

int AndroidManifestApplication_knownActivityEmbeddingCerts

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

int AndroidManifestApplication_label

A user-legible name for the given item.

int AndroidManifestApplication_largeHeap

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

int AndroidManifestApplication_localeConfig

An XML resource with the application's LocaleConfig

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

int AndroidManifestApplication_logo

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

int AndroidManifestApplication_manageSpaceActivity

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

int AndroidManifestApplication_maxAspectRatio

This value indicates the maximum aspect ratio the activity supports.

int AndroidManifestApplication_memtagMode

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

int AndroidManifestApplication_minAspectRatio

This value indicates the minimum aspect ratio the activity supports.

int AndroidManifestApplication_multiArch

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

int AndroidManifestApplication_name

The (optional) fully-qualified name for a subclass of Application that the system instantiates before any other class when an app's process starts.

int AndroidManifestApplication_nativeHeapZeroInitialized

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

int AndroidManifestApplication_networkSecurityConfig

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

int AndroidManifestApplication_permission

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

int AndroidManifestApplication_persistent

Flag to control special persistent mode of an application.

int AndroidManifestApplication_persistentWhenFeatureAvailable

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

int AndroidManifestApplication_preserveLegacyExternalStorage

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

int AndroidManifestApplication_process

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

int AndroidManifestApplication_requestLegacyExternalStorage

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

int AndroidManifestApplication_requestRawExternalStorageAccess

If true this app would like raw external storage access.

int AndroidManifestApplication_requiredAccountType

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

int AndroidManifestApplication_requiredForAllUsers

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

int AndroidManifestApplication_resetEnabledSettingsOnAppDataCleared

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

int AndroidManifestApplication_resizeableActivity

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

int AndroidManifestApplication_restoreAnyVersion

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

int AndroidManifestApplication_restoreNeedsApplication

This constant is deprecated. This attribute is not used by the Android operating system.

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

int AndroidManifestApplication_restrictedAccountType

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

int AndroidManifestApplication_rollbackDataPolicy

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

int AndroidManifestApplication_roundIcon

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

int AndroidManifestApplication_supportsRtl

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

int AndroidManifestApplication_taskAffinity

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

int AndroidManifestApplication_testOnly

Option to indicate this application is only for testing purposes.

int AndroidManifestApplication_theme

The overall theme to use for an activity.

int AndroidManifestApplication_uiOptions

Extra options for an activity's UI.

int AndroidManifestApplication_useEmbeddedDex

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

int AndroidManifestApplication_usesCleartextTraffic

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

int AndroidManifestApplication_usesNonSdkApi

Declares that this application should be invoked without non-SDK API enforcement

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

int AndroidManifestApplication_vmSafeMode

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

int AndroidManifestApplication_zygotePreloadName

Name of the class that gets invoked for preloading application code, when starting an R.attr.isolatedProcess service that has R.attr.useAppZygote set to true.

int AndroidManifestAttributionInheritFrom_tag

Identifier of the attribution this attribution inherits from

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

int AndroidManifestAttribution_label

Required user visible label for a attribution.

int AndroidManifestAttribution_tag

Required identifier for a attribution.

int AndroidManifestCategory_name

The name of category that is handled, using the Java-style naming convention.

int AndroidManifestCompatibleScreensScreen_screenDensity

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

int AndroidManifestCompatibleScreensScreen_screenSize

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

int AndroidManifestData_fragment

Specify a URI fragment that must exactly match, as a UriRelativeFilter with PatternMatcher.PATTERN_LITERAL.

int AndroidManifestData_fragmentAdvancedPattern

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

int AndroidManifestData_fragmentPattern

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

int AndroidManifestData_fragmentPrefix

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

int AndroidManifestData_fragmentSuffix

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

int AndroidManifestData_host

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

int AndroidManifestData_mimeGroup

Specify a group of MIME types that are handled.

int AndroidManifestData_mimeType

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

int AndroidManifestData_path

Specify a URI path that must exactly match, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_LITERAL.

int AndroidManifestData_pathAdvancedPattern

Specify a URI path that matches an advanced pattern, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_ADVANCED_GLOB.

int AndroidManifestData_pathPattern

Specify a URI path that matches a simple pattern, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_SIMPLE_GLOB.

int AndroidManifestData_pathPrefix

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

int AndroidManifestData_pathSuffix

Specify a URI path that must be a suffix to match, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_SUFFIX.

int AndroidManifestData_port

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

int AndroidManifestData_query

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

int AndroidManifestData_queryAdvancedPattern

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

int AndroidManifestData_queryPattern

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

int AndroidManifestData_queryPrefix

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

int AndroidManifestData_querySuffix

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

int AndroidManifestData_scheme

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

int AndroidManifestData_ssp

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

int AndroidManifestData_sspAdvancedPattern

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

int AndroidManifestData_sspPattern

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

int AndroidManifestData_sspPrefix

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

int AndroidManifestData_sspSuffix

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

int AndroidManifestDenyPermission_name

Required name of the permission that is to be denied

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

int AndroidManifestExtensionSdk_minExtensionVersion

The minimum version of the extension SDK this application requires.

int AndroidManifestExtensionSdk_sdkVersion

The extension SDK version that this tag refers to.

int AndroidManifestFeatureGroup_label

The human-readable name of the feature group.

int AndroidManifestGrantUriPermission_path

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

int AndroidManifestGrantUriPermission_pathAdvancedPattern

Specify a URI path that matches an advanced pattern, as per PatternMatcher with PatternMatcher.PATTERN_ADVANCED_GLOB.

int AndroidManifestGrantUriPermission_pathPattern

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

int AndroidManifestGrantUriPermission_pathPrefix

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

int AndroidManifestGrantUriPermission_pathSuffix

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

int AndroidManifestInstallConstraintsFingerprintPrefix_value

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

int AndroidManifestInstrumentation_banner

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

int AndroidManifestInstrumentation_functionalTest

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

int AndroidManifestInstrumentation_handleProfiling

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

int AndroidManifestInstrumentation_icon

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

int AndroidManifestInstrumentation_label

A user-legible name for the given item.

int AndroidManifestInstrumentation_logo

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

int AndroidManifestInstrumentation_name

Required name of the class implementing the instrumentation, deriving from Instrumentation.

int AndroidManifestInstrumentation_roundIcon

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

int AndroidManifestInstrumentation_targetPackage

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

int AndroidManifestInstrumentation_targetProcesses

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

int AndroidManifestIntentFilter_autoVerify

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

int AndroidManifestIntentFilter_banner

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

int AndroidManifestIntentFilter_icon

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

int AndroidManifestIntentFilter_label

A user-legible name for the given item.

int AndroidManifestIntentFilter_logo

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

int AndroidManifestIntentFilter_order

Within an application, multiple intent filters may match a particular intent.

int AndroidManifestIntentFilter_priority

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

int AndroidManifestIntentFilter_roundIcon

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

int AndroidManifestKeySet_name

A unique name for the given item.

int AndroidManifestLayout_defaultHeight

Default height of the activity.

int AndroidManifestLayout_defaultWidth

Default width of the activity.

int AndroidManifestLayout_gravity

Where to initially position the activity inside the available space.

int AndroidManifestLayout_minHeight

Minimal height of the activity.

int AndroidManifestLayout_minWidth

Minimal width of the activity.

int AndroidManifestLayout_windowLayoutAffinity

Window layout affinity of this activity.

int AndroidManifestLibrary_name

Required public name of the library, which other components and packages will use when referring to this library.

int AndroidManifestMetaData_name

A unique name for the given item.

int AndroidManifestMetaData_resource

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

int AndroidManifestMetaData_value

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

int AndroidManifestOriginalPackage_name

A unique name for the given item.

int AndroidManifestPackageVerifier_name

Specifies the Java-style package name that defines this package verifier.

int AndroidManifestPackageVerifier_publicKey

The Base64 encoded public key of the package verifier's signature.

int AndroidManifestPathPermission_path

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

int AndroidManifestPathPermission_pathAdvancedPattern

This symbol is the offset where the R.attr.pathAdvancedPattern attribute's value can be found in the AndroidManifestPathPermission array.

int AndroidManifestPathPermission_pathPattern

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

int AndroidManifestPathPermission_pathPrefix

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

int AndroidManifestPathPermission_pathSuffix

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

int AndroidManifestPathPermission_permission

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

int AndroidManifestPathPermission_readPermission

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

int AndroidManifestPathPermission_writePermission

A specific R.attr.permission name for write access to a ContentProvider.

int AndroidManifestPermissionGroup_banner

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

int AndroidManifestPermissionGroup_description

Descriptive text for the associated data.

int AndroidManifestPermissionGroup_icon

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

int AndroidManifestPermissionGroup_label

A user-legible name for the given item.

int AndroidManifestPermissionGroup_logo

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

int AndroidManifestPermissionGroup_name

Required public name of the permission group, permissions will use to specify the group they are in.

int AndroidManifestPermissionGroup_permissionGroupFlags

Flags indicating more context for a permission group.

int AndroidManifestPermissionGroup_priority

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

int AndroidManifestPermissionGroup_roundIcon

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

int AndroidManifestPermissionTree_banner

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

int AndroidManifestPermissionTree_icon

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

int AndroidManifestPermissionTree_label

A user-legible name for the given item.

int AndroidManifestPermissionTree_logo

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

int AndroidManifestPermissionTree_name

Required public name of the permission tree, which is the base name of all permissions under it.

int AndroidManifestPermissionTree_roundIcon

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

int AndroidManifestPermission_banner

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

int AndroidManifestPermission_description

Descriptive text for the associated data.

int AndroidManifestPermission_icon

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

int AndroidManifestPermission_knownCerts

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

int AndroidManifestPermission_label

A user-legible name for the given item.

int AndroidManifestPermission_logo

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

int AndroidManifestPermission_maxSdkVersion

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

int AndroidManifestPermission_name

Required public name of the permission, which other components and packages will use when referring to this permission.

int AndroidManifestPermission_permissionFlags

Flags indicating more context for a permission.

int AndroidManifestPermission_permissionGroup

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

int AndroidManifestPermission_protectionLevel

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

int AndroidManifestPermission_roundIcon

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

int AndroidManifestProcess_gwpAsanMode

Enable sampled memory bug detection in this process.

int AndroidManifestProcess_memtagMode

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

int AndroidManifestProcess_name

custom Application class name.

int AndroidManifestProcess_nativeHeapZeroInitialized

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

int AndroidManifestProcess_process

Required name of the process that is allowed

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

int AndroidManifestProcess_useEmbeddedDex

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

int AndroidManifestProfileable_enabled

Flag indicating whether the application can be profiled by system services, but not necessarily via shell tools (for which also android:shell="true" must be set).

int AndroidManifestProfileable_shell

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

int AndroidManifestProperty_name

A unique name for the given item.

int AndroidManifestProperty_resource

The resource identifier to assign to this property.

int AndroidManifestProperty_value

Concrete value to assign to this property.

int AndroidManifestProtectedBroadcast_name

A unique name for the given item.

int AndroidManifestProvider_attributionTags

Set of attribution tags that should be automatically applied to this component.

int AndroidManifestProvider_authorities

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

int AndroidManifestProvider_banner

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

int AndroidManifestProvider_description

Descriptive text for the associated data.

int AndroidManifestProvider_directBootAware

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

int AndroidManifestProvider_enabled

Specify whether this provider is enabled or not (that is, can be instantiated by the system).

int AndroidManifestProvider_exported

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

int AndroidManifestProvider_forceUriPermissions

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

int AndroidManifestProvider_grantUriPermissions

If true, the Context.grantUriPermission or corresponding Intent flags can be used to allow others to access specific URIs in the content provider, even if they do not have an explicit read or write permission.

int AndroidManifestProvider_icon

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

int AndroidManifestProvider_initOrder

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

int AndroidManifestProvider_label

A user-legible name for the given item.

int AndroidManifestProvider_logo

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

int AndroidManifestProvider_multiprocess

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

int AndroidManifestProvider_name

Required name of the class implementing the provider, deriving from ContentProvider.

int AndroidManifestProvider_permission

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

int AndroidManifestProvider_process

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

int AndroidManifestProvider_readPermission

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

int AndroidManifestProvider_roundIcon

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

int AndroidManifestProvider_singleUser

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

int AndroidManifestProvider_splitName

The code for this component is located in the given split.

int AndroidManifestProvider_syncable

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

int AndroidManifestProvider_systemUserOnly

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

int AndroidManifestProvider_visibleToInstantApps

Specify whether a component should be visible to instant apps.

int AndroidManifestProvider_writePermission

A specific R.attr.permission name for write access to a ContentProvider.

int AndroidManifestPublicKey_name

A unique name for the given item.

int AndroidManifestPublicKey_value

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

int AndroidManifestQueriesPackage_name

A unique name for the given item.

int AndroidManifestQueriesProvider_authorities

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

int AndroidManifestReceiver_attributionTags

Set of attribution tags that should be automatically applied to this component.

int AndroidManifestReceiver_banner

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

int AndroidManifestReceiver_description

Descriptive text for the associated data.

int AndroidManifestReceiver_directBootAware

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

int AndroidManifestReceiver_enabled

Specify whether the receiver is enabled or not (that is, can be instantiated by the system).

int AndroidManifestReceiver_exported

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

int AndroidManifestReceiver_icon

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

int AndroidManifestReceiver_label

A user-legible name for the given item.

int AndroidManifestReceiver_logo

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

int AndroidManifestReceiver_name

Required name of the class implementing the receiver, deriving from BroadcastReceiver.

int AndroidManifestReceiver_permission

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

int AndroidManifestReceiver_process

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

int AndroidManifestReceiver_roundIcon

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

int AndroidManifestReceiver_singleUser

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

int AndroidManifestRequiredFeature_name

The name of the feature.

int AndroidManifestRequiredNotFeature_name

The name of the feature.

int AndroidManifestResourceOverlay_category

Category of the resource overlay.

int AndroidManifestResourceOverlay_isStatic

Whether the given RRO is static or not.

int AndroidManifestResourceOverlay_priority

Load order of overlay package.

int AndroidManifestResourceOverlay_resourcesMap

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

int AndroidManifestResourceOverlay_targetName

The name of the overlayable whose resources will be overlaid.

int AndroidManifestResourceOverlay_targetPackage

Package name of base package whose resources will be overlaid.

int AndroidManifestSdkLibrary_name

Required public name of the SDK library, which other components and packages will use when referring to this SDK library.

int AndroidManifestSdkLibrary_versionMajor

Required major version of the SDK library.

int AndroidManifestService_allowSharedIsolatedProcess

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

int AndroidManifestService_attributionTags

Set of attribution tags that should be automatically applied to this component.

int AndroidManifestService_banner

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

int AndroidManifestService_description

Descriptive text for the associated data.

int AndroidManifestService_directBootAware

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

int AndroidManifestService_enabled

Specify whether the service is enabled or not (that is, can be instantiated by the system).

int AndroidManifestService_exported

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

int AndroidManifestService_externalService

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

int AndroidManifestService_foregroundServiceType

If this is a foreground service, specify its category.

int AndroidManifestService_icon

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

int AndroidManifestService_isolatedProcess

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

int AndroidManifestService_label

A user-legible name for the given item.

int AndroidManifestService_logo

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

int AndroidManifestService_name

Required name of the class implementing the service, deriving from Service.

int AndroidManifestService_permission

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

int AndroidManifestService_process

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

int AndroidManifestService_roundIcon

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

int AndroidManifestService_singleUser

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

int AndroidManifestService_splitName

The code for this component is located in the given split.

int AndroidManifestService_stopWithTask

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

int AndroidManifestService_systemUserOnly

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

int AndroidManifestService_useAppZygote

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

int AndroidManifestService_visibleToInstantApps

Specify whether a component should be visible to instant apps.

int AndroidManifestStaticLibrary_name

Required public name of the library, which other components and packages will use when referring to this library.

int AndroidManifestStaticLibrary_version

Required specific library version.

int AndroidManifestStaticLibrary_versionMajor

Required specific library version.

int AndroidManifestSupportsInputInputType_name

Specifices the name of the input device type

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

int AndroidManifestSupportsScreens_anyDensity

This constant is deprecated. Should always be true by default and not overridden.

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

int AndroidManifestSupportsScreens_compatibleWidthLimitDp

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

int AndroidManifestSupportsScreens_largeScreens

Indicates whether the application supports larger screen form-factors.

int AndroidManifestSupportsScreens_largestWidthLimitDp

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

int AndroidManifestSupportsScreens_normalScreens

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

int AndroidManifestSupportsScreens_requiresSmallestWidthDp

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

int AndroidManifestSupportsScreens_resizeable

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

int AndroidManifestSupportsScreens_smallScreens

Indicates whether the application supports smaller screen form-factors.

int AndroidManifestSupportsScreens_xlargeScreens

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

int AndroidManifestUpgradeKeySet_name

A unique name for the given item.

int AndroidManifestUriRelativeFilterGroup_allow

Specify if this group is allow rule or disallow rule.

int AndroidManifestUsesConfiguration_reqFiveWayNav

Application's requirement for five way navigation

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

int AndroidManifestUsesConfiguration_reqHardKeyboard

Application's requirement for a hard keyboard

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

int AndroidManifestUsesConfiguration_reqKeyboardType

The input method preferred by an application.

int AndroidManifestUsesConfiguration_reqNavigation

The navigation device preferred by an application.

int AndroidManifestUsesConfiguration_reqTouchScreen

The type of touch screen used by an application.

int AndroidManifestUsesFeature_glEsVersion

The GLES driver version number needed by an application.

int AndroidManifestUsesFeature_name

The name of the feature that is being used.

int AndroidManifestUsesFeature_required

Specify whether this feature is required for the application.

int AndroidManifestUsesFeature_version

The version of the feature that is being used.

int AndroidManifestUsesLibrary_name

Required name of the library you use.

int AndroidManifestUsesLibrary_required

Specify whether this library is required for the application.

int AndroidManifestUsesNativeLibrary_name

Required name of the library you use.

int AndroidManifestUsesNativeLibrary_required

Specify whether this native library is required for the application.

int AndroidManifestUsesPackage_certDigest

Optional SHA-256 digest of the package signing certificate.

int AndroidManifestUsesPackage_name

Required name of the package you use.

int AndroidManifestUsesPackage_packageType

Required type of association with the package, for example "android.package.ad_service" if it provides an advertising service.

int AndroidManifestUsesPackage_version

Optional minimum version of the package that satisfies the dependency.

int AndroidManifestUsesPackage_versionMajor

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

int AndroidManifestUsesPermission_maxSdkVersion

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

int AndroidManifestUsesPermission_minSdkVersion

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

int AndroidManifestUsesPermission_name

Required name of the permission you use, as published with the corresponding name attribute of a <permission> tag; often this is one of the standard system permissions.

int AndroidManifestUsesPermission_requiredFeature

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

int AndroidManifestUsesPermission_requiredNotFeature

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

int AndroidManifestUsesPermission_usesPermissionFlags

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

int AndroidManifestUsesSdkLibrary_certDigest

The SHA-256 digest of the SDK library signing certificate.

int AndroidManifestUsesSdkLibrary_name

Required name of the SDK library you use.

int AndroidManifestUsesSdkLibrary_optional

Specify whether the SDK is optional.

int AndroidManifestUsesSdkLibrary_versionMajor

Specify which major version of the SDK library you use.

int AndroidManifestUsesSdk_maxSdkVersion

This is the maximum SDK version number that an application works on.

int AndroidManifestUsesSdk_minSdkVersion

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

int AndroidManifestUsesSdk_targetSdkVersion

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

int AndroidManifestUsesSplit_name

A unique name for the given item.

int AndroidManifestUsesStaticLibrary_certDigest

The SHA-256 digest of the library signing certificate.

int AndroidManifestUsesStaticLibrary_name

Required name of the library you use.

int AndroidManifestUsesStaticLibrary_version

Specify which version of the shared library should be statically linked.

int AndroidManifest_compileSdkVersion

The user-visible SDK version (ex.

int AndroidManifest_compileSdkVersionCodename

The development codename (ex.

int AndroidManifest_installLocation

The default install location defined by an application.

int AndroidManifest_isFeatureSplit

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

int AndroidManifest_isSplitRequired

This constant is deprecated. Use R.attr.requiredSplitTypes instead.

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

int AndroidManifest_isolatedSplits

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.

int AndroidManifest_requiredSplitTypes

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

int AndroidManifest_revisionCode

Internal revision code.

int AndroidManifest_sharedUserId

This constant is deprecated. Shared user IDs cause non-deterministic behavior within the package manager. As such, its use is strongly discouraged and may be removed in a future version of Android. Instead, apps should use proper communication mechanisms, such as services and content providers, to facilitate interoperability between shared components. Note that existing apps cannot remove this value, as migrating off a shared user ID is not supported.

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

int AndroidManifest_sharedUserLabel

This constant is deprecated. There is no replacement for this attribute. R.attr.sharedUserId has been deprecated making this attribute unnecessary.

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

int AndroidManifest_sharedUserMaxSdkVersion

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

int AndroidManifest_splitTypes

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

int AndroidManifest_targetSandboxVersion

This constant is deprecated. The security properties have been moved to Build.VERSION 27 and 28.

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

int AndroidManifest_versionCode

Internal version code.

int AndroidManifest_versionCodeMajor

Internal major version code.

int AndroidManifest_versionName

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

int AnimatedImageDrawable_autoMirrored

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

int AnimatedImageDrawable_autoStart

When true, automatically start animating.

int AnimatedImageDrawable_repeatCount

Replace the loop count in the encoded data.

int AnimatedImageDrawable_src

Identifier of the image file.

int AnimatedRotateDrawable_drawable

Reference to a drawable resource to use for the frame.

int AnimatedRotateDrawable_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the AnimatedRotateDrawable array.

int AnimatedRotateDrawable_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the AnimatedRotateDrawable array.

int AnimatedRotateDrawable_visible

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

int AnimatedStateListDrawableItem_drawable

Reference to a drawable resource to use for the frame.

int AnimatedStateListDrawableItem_id

Keyframe identifier for use in specifying transitions.

int AnimatedStateListDrawableTransition_drawable

Reference to a animation drawable resource to use for the frame.

int AnimatedStateListDrawableTransition_fromId

Keyframe identifier for the starting state.

int AnimatedStateListDrawableTransition_reversible

Whether this transition is reversible.

int AnimatedStateListDrawableTransition_toId

Keyframe identifier for the ending state.

int AnimatedStateListDrawable_autoMirrored

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

int AnimatedStateListDrawable_constantSize

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

int AnimatedStateListDrawable_dither

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

int AnimatedStateListDrawable_enterFadeDuration

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

int AnimatedStateListDrawable_exitFadeDuration

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

int AnimatedStateListDrawable_variablePadding

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

int AnimatedStateListDrawable_visible

Indicates whether the drawable should be initially visible.

int AnimatedVectorDrawableTarget_animation

The animation for the target path, group or vector drawable.

int AnimatedVectorDrawableTarget_name

The name of the target path, group or vector drawable.

int AnimatedVectorDrawable_drawable

The static vector drawable.

int AnimationDrawableItem_drawable

Reference to a drawable resource to use for the frame.

int AnimationDrawableItem_duration

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

int AnimationDrawable_oneshot

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

int AnimationDrawable_variablePadding

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

int AnimationDrawable_visible

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

int AnimationScaleListDrawableItem_drawable

Reference to a drawable resource to use for the state.

int AnimationSet_duration

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

int AnimationSet_fillAfter

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

int AnimationSet_fillBefore

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

int AnimationSet_repeatMode

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

int AnimationSet_shareInterpolator

This symbol is the offset where the R.attr.shareInterpolator attribute's value can be found in the AnimationSet array.

int AnimationSet_startOffset

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

int Animation_backdropColor

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

int Animation_background

Special background behind animation.

int Animation_detachWallpaper

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

int Animation_duration

Amount of time (in milliseconds) for the animation to run.

int Animation_fillAfter

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

int Animation_fillBefore

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

int Animation_fillEnabled

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

int Animation_interpolator

Defines the interpolator used to smooth the animation movement in time.

int Animation_repeatCount

Defines how many times the animation should repeat.

int Animation_repeatMode

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

int Animation_showBackdrop

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

int Animation_startOffset

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

int Animation_zAdjustment

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

int AnimatorSet_ordering

Name of the property being animated.

int Animator_duration

Amount of time (in milliseconds) for the animation to run.

int Animator_interpolator

Defines the interpolator used to smooth the animation movement in time.

int Animator_repeatCount

Defines how many times the animation should repeat.

int Animator_repeatMode

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

int Animator_startOffset

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

int Animator_valueFrom

Value the animation starts from.

int Animator_valueTo

Value the animation animates to.

int Animator_valueType

The type of valueFrom and valueTo.

int AnticipateInterpolator_tension

This is the amount of tension.

int AnticipateOvershootInterpolator_extraTension

This is the amount by which to multiply the tension.

int AnticipateOvershootInterpolator_tension

This is the amount of tension.

int AppWidgetProviderInfo_autoAdvanceViewId

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

int AppWidgetProviderInfo_configure

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

int AppWidgetProviderInfo_description

A resource identifier for a string containing a short description of the widget.

int AppWidgetProviderInfo_initialKeyguardLayout

A resource id of a layout.

int AppWidgetProviderInfo_initialLayout

A resource id of a layout.

int AppWidgetProviderInfo_maxResizeHeight

Maximum height that the AppWidget can be resized to.

int AppWidgetProviderInfo_maxResizeWidth

Maximum width that the AppWidget can be resized to.

int AppWidgetProviderInfo_minHeight

Minimum height of the AppWidget.

int AppWidgetProviderInfo_minResizeHeight

Minimum height that the AppWidget can be resized to.

int AppWidgetProviderInfo_minResizeWidth

Minimum width that the AppWidget can be resized to.

int AppWidgetProviderInfo_minWidth

Minimum width of the AppWidget.

int AppWidgetProviderInfo_previewImage

A preview, in a drawable resource id, of what the AppWidget will look like after it's configured.

int AppWidgetProviderInfo_previewLayout

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

int AppWidgetProviderInfo_resizeMode

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

int AppWidgetProviderInfo_targetCellHeight

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

int AppWidgetProviderInfo_targetCellWidth

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

int AppWidgetProviderInfo_updatePeriodMillis

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

int AppWidgetProviderInfo_widgetCategory

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

int AppWidgetProviderInfo_widgetFeatures

Flags indicating various features supported by the widget.

int ArcMotion_maximumAngle

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

int ArcMotion_minimumHorizontalAngle

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

int ArcMotion_minimumVerticalAngle

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

int AutoCompleteTextView_completionHint

Defines the hint displayed in the drop down menu.

int AutoCompleteTextView_completionHintView

Defines the hint view displayed in the drop down menu.

int AutoCompleteTextView_completionThreshold

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

int AutoCompleteTextView_dropDownAnchor

View to anchor the auto-complete dropdown to.

int AutoCompleteTextView_dropDownHeight

Specifies the basic height of the dropdown.

int AutoCompleteTextView_dropDownSelector

Selector in a drop down list.

int AutoCompleteTextView_dropDownWidth

Specifies the basic width of the dropdown.

int AutoCompleteTextView_inputType

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

int AutoCompleteTextView_popupTheme

Theme to use for the completion popup window.

int AutofillService_CompatibilityPackage_maxLongVersionCode

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

int AutofillService_CompatibilityPackage_name

The package name for which compatibility mode is requested.

int AutofillService_passwordsActivity

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

int AutofillService_settingsActivity

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

int AutofillService_supportsInlineSuggestions

Specifies whether the AutofillService supports inline suggestions

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

int BitmapDrawable_alpha

Specifies the alpha multiplier to apply to the base drawable.

int BitmapDrawable_antialias

Enables or disables antialiasing.

int BitmapDrawable_autoMirrored

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

int BitmapDrawable_dither

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

int BitmapDrawable_filter

Enables or disables bitmap filtering.

int BitmapDrawable_gravity

Defines the gravity for the bitmap.

int BitmapDrawable_mipMap

Enables or disables the mipmap hint.

int BitmapDrawable_src

Identifier of the bitmap file.

int BitmapDrawable_tileMode

Defines the tile mode.

int BitmapDrawable_tileModeX

Defines the horizontal tile mode.

int BitmapDrawable_tileModeY

Defines the vertical tile mode.

int BitmapDrawable_tint

If set, specifies the color to apply to the drawable as a tint.

int BitmapDrawable_tintMode

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

int CachingIconView_maxDrawableHeight

Maximum width of height drawable.

int CachingIconView_maxDrawableWidth

Maximum width of displayed drawable.

int CalendarView_dateTextAppearance

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

int CalendarView_firstDayOfWeek

The first day of week according to Calendar.

int CalendarView_focusedMonthDateColor

This constant is deprecated. The color for the dates of the focused month.

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

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

int CalendarView_maxDate

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

int CalendarView_minDate

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

int CalendarView_selectedDateVerticalBar

This constant is deprecated. Drawable for the vertical bar shown at the beginning and at the end of the selected date.

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

int CalendarView_selectedWeekBackgroundColor

This constant is deprecated. The background color for the selected week.

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

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

int CalendarView_showWeekNumber

This constant is deprecated. Whether do show week numbers.

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

int CalendarView_shownWeekCount

This constant is deprecated. The number of weeks to be shown.

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

int CalendarView_unfocusedMonthDateColor

This constant is deprecated. The color for the dates of an unfocused month.

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

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

int CalendarView_weekDayTextAppearance

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

int CalendarView_weekNumberColor

This constant is deprecated. The color for the week numbers.

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

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

int CalendarView_weekSeparatorLineColor

This constant is deprecated. The color for the separator line between weeks.

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

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

int ChangeBounds_resizeClip

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

int ChangeTransform_reparent

Tells ChangeTransform to track parent changes.

int ChangeTransform_reparentWithOverlay

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

int CheckBoxPreference_disableDependentsState

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

int CheckBoxPreference_summaryOff

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

int CheckBoxPreference_summaryOn

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

int CheckedTextView_checkMark

Drawable used for the check mark graphic.

int CheckedTextView_checkMarkTint

Tint to apply to the check mark.

int CheckedTextView_checkMarkTintMode

Blending mode used to apply the check mark tint.

int CheckedTextView_checked

Indicates the initial checked state of this text.

int Chronometer_countDown

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

int Chronometer_format

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

int ClipDrawable_clipOrientation

The orientation for the clip.

int ClipDrawable_drawable

Reference to a drawable resource to draw with the specified scale.

int ClipDrawable_gravity

Specifies where to clip within the drawable.

int ColorDrawable_color

The color to use.

int ColorStateListItem_alpha

Alpha multiplier applied to the base color.

int ColorStateListItem_color

Base color for this state.

int ColorStateListItem_lStar

Perceptual luminance applied to the base color.

int CompoundButton_button

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

int CompoundButton_buttonTint

Tint to apply to the button graphic.

int CompoundButton_buttonTintMode

Blending mode used to apply the button graphic tint.

int CompoundButton_checked

Indicates the initial checked state of this button.

int ContactsDataKind_allContactsName

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

int ContactsDataKind_detailColumn

Column in data table that contains details for this data.

int ContactsDataKind_detailSocialSummary

Flag indicating that detail should be built from SocialProvider.

int ContactsDataKind_icon

Icon used to represent data of this kind.

int ContactsDataKind_mimeType

Mime-type handled by this mapping.

int ContactsDataKind_summaryColumn

Column in data table that summarizes this data.

int ContentCaptureService_settingsActivity

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

int CredentialProvider_Capabilities_capability

An individual capability declared by the provider.

int CredentialProvider_settingsActivity

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

int CredentialProvider_settingsSubtitle

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

int CycleInterpolator_cycles

This symbol is the offset where the R.attr.cycles attribute's value can be found in the CycleInterpolator array.

int DatePicker_calendarTextColor

The text color list of the calendar.

int DatePicker_calendarViewShown

Whether the calendar view is shown.

int DatePicker_datePickerMode

Defines the look of the widget.

int DatePicker_dayOfWeekBackground

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

int DatePicker_dayOfWeekTextAppearance

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

int DatePicker_endYear

The last year (inclusive), for example "2010".

int DatePicker_firstDayOfWeek

The first day of week according to Calendar.

int DatePicker_headerBackground

The background for the selected date header.

int DatePicker_headerDayOfMonthTextAppearance

The text appearance for the day of month (ex.

int DatePicker_headerMonthTextAppearance

The text appearance for the month (ex.

int DatePicker_headerYearTextAppearance

The text appearance for the year (ex.

int DatePicker_maxDate

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

int DatePicker_minDate

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

int DatePicker_spinnersShown

Whether the spinners are shown.

int DatePicker_startYear

The first year (inclusive), for example "1940".

int DatePicker_yearListItemTextAppearance

The list year's text appearance in the list.

int DatePicker_yearListSelectorColor

The list year's selected circle color in the list.

int DecelerateInterpolator_factor

This is the amount of acceleration to add when easing out.

int DeviceAdmin_visible

Control whether the admin is visible to the user, even when it is not enabled.

int DialogPreference_dialogIcon

The icon for the dialog.

int DialogPreference_dialogLayout

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

int DialogPreference_dialogMessage

The message in the dialog.

int DialogPreference_dialogTitle

The title in the dialog.

int DialogPreference_negativeButtonText

The negative button text for the dialog.

int DialogPreference_positiveButtonText

The positive button text for the dialog.

int DrawableCorners_bottomLeftRadius

Radius of the bottom left corner.

int DrawableCorners_bottomRightRadius

Radius of the bottom right corner.

int DrawableCorners_radius

Defines the radius of the four corners.

int DrawableCorners_topLeftRadius

Radius of the top left corner.

int DrawableCorners_topRightRadius

Radius of the top right corner.

int DrawableStates_state_accelerated

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

int DrawableStates_state_activated

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

int DrawableStates_state_active

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

int DrawableStates_state_checkable

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

int DrawableStates_state_checked

State identifier indicating that the object is currently checked.

int DrawableStates_state_drag_can_accept

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

int DrawableStates_state_drag_hovered

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

int DrawableStates_state_enabled

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

int DrawableStates_state_first

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

int DrawableStates_state_focused

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

int DrawableStates_state_hovered

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

int DrawableStates_state_last

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

int DrawableStates_state_middle

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

int DrawableStates_state_pressed

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

int DrawableStates_state_selected

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

int DrawableStates_state_single

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

int DrawableStates_state_window_focused

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

int DrawableWrapper_drawable

The wrapped drawable.

int Drawable_autoMirrored

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

int Drawable_visible

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

int Dream_previewImage

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

int Dream_settingsActivity

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

int Dream_showClockAndComplications

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

int EdgeEffect_colorEdgeEffect

The color applied to the edge effect on scrolling containers.

int EditText_enableTextStylingShortcuts

Enables styling shortcuts, e.g.

int ExpandableListChildIndicatorState_state_last

State identifier indicating the child is the last child within its group.

int ExpandableListGroupIndicatorState_state_empty

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

int ExpandableListGroupIndicatorState_state_expanded

State identifier indicating the group is expanded.

int ExpandableListView_childDivider

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

int ExpandableListView_childIndicator

Indicator shown beside the child View.

int ExpandableListView_childIndicatorEnd

The end bound for a child's indicator.

int ExpandableListView_childIndicatorLeft

The left bound for a child's indicator.

int ExpandableListView_childIndicatorRight

The right bound for a child's indicator.

int ExpandableListView_childIndicatorStart

The start bound for a child's indicator.

int ExpandableListView_groupIndicator

Indicator shown beside the group View.

int ExpandableListView_indicatorEnd

The end bound for an item's indicator.

int ExpandableListView_indicatorLeft

The left bound for an item's indicator.

int ExpandableListView_indicatorRight

The right bound for an item's indicator.

int ExpandableListView_indicatorStart

The start bound for an item's indicator.

int ExtendAnimation_fromExtendBottom

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

int ExtendAnimation_fromExtendLeft

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

int ExtendAnimation_fromExtendRight

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

int ExtendAnimation_fromExtendTop

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

int ExtendAnimation_toExtendBottom

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

int ExtendAnimation_toExtendLeft

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

int ExtendAnimation_toExtendRight

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

int ExtendAnimation_toExtendTop

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

int Extra_name

Required name of the extra data.

int Extra_value

Concrete value to put for this named extra data.

int Fade_fadingMode

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

int FastScroll_minHeight

Minimum height of the section header preview.

int FastScroll_minWidth

Minimum width of the section header preview.

int FastScroll_padding

Padding for the section header preview.

int FastScroll_textAppearance

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

int FastScroll_textColor

Color of text (usually same as colorForeground).

int FastScroll_textSize

Size of text.

int FastScroll_thumbPosition

Position of thumb in relation to the track.

int FontFamilyFont_font

The reference to the font file to be used.

int FontFamilyFont_fontStyle

The style of the given font file.

int FontFamilyFont_fontVariationSettings

The variation settings to be applied to the font.

int FontFamilyFont_fontWeight

The weight of the given font file.

int FontFamilyFont_ttcIndex

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

int FontFamily_fontProviderAuthority

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

int FontFamily_fontProviderCerts

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

int FontFamily_fontProviderPackage

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

int FontFamily_fontProviderQuery

The query to be sent over to the provider.

int FontFamily_fontProviderSystemFontFamily

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

int FragmentAnimation_fragmentCloseEnterAnimation

This symbol is the offset where the R.attr.fragmentCloseEnterAnimation attribute's value can be found in the FragmentAnimation array.

int FragmentAnimation_fragmentCloseExitAnimation

This symbol is the offset where the R.attr.fragmentCloseExitAnimation attribute's value can be found in the FragmentAnimation array.

int FragmentAnimation_fragmentFadeEnterAnimation

This symbol is the offset where the R.attr.fragmentFadeEnterAnimation attribute's value can be found in the FragmentAnimation array.

int FragmentAnimation_fragmentFadeExitAnimation

This symbol is the offset where the R.attr.fragmentFadeExitAnimation attribute's value can be found in the FragmentAnimation array.

int FragmentAnimation_fragmentOpenEnterAnimation

This symbol is the offset where the R.attr.fragmentOpenEnterAnimation attribute's value can be found in the FragmentAnimation array.

int FragmentAnimation_fragmentOpenExitAnimation

This symbol is the offset where the R.attr.fragmentOpenExitAnimation attribute's value can be found in the FragmentAnimation array.

int FragmentBreadCrumbs_gravity

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

int Fragment_fragmentAllowEnterTransitionOverlap

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

int Fragment_fragmentAllowReturnTransitionOverlap

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

int Fragment_fragmentEnterTransition

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

int Fragment_fragmentExitTransition

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

int Fragment_fragmentReenterTransition

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

int Fragment_fragmentReturnTransition

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

int Fragment_fragmentSharedElementEnterTransition

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

int Fragment_fragmentSharedElementReturnTransition

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

int Fragment_id

Supply an identifier name for the top-level view, to later retrieve it with View.findViewById() or Activity.findViewById().

int Fragment_name

Supply the name of the fragment class to instantiate.

int Fragment_tag

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

int FrameLayout_Layout_layout_gravity

Standard gravity constant that a child supplies to its parent.

int FrameLayout_measureAllChildren

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

int Gallery_animationDuration

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

int Gallery_gravity

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

int Gallery_spacing

This symbol is the offset where the R.attr.spacing attribute's value can be found in the Gallery array.

int Gallery_unselectedAlpha

Sets the alpha on the items that are not selected.

int GameModeConfig_allowGameAngleDriver

Set true to enable ANGLE.

int GameModeConfig_allowGameDownscaling

Set true to allow resolution downscaling intervention.

int GameModeConfig_allowGameFpsOverride

Set true to allow FPS override intervention.

int GameModeConfig_supportsBatteryGameMode

Set true to opt in BATTERY mode.

int GameModeConfig_supportsPerformanceGameMode

Set true to opt in PERFORMANCE mode.

int GameService_gameSessionService

The service that hosts active game sessions.

int GestureOverlayView_eventsInterceptionEnabled

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

int GestureOverlayView_fadeDuration

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

int GestureOverlayView_fadeEnabled

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

int GestureOverlayView_fadeOffset

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

int GestureOverlayView_gestureColor

Color used to draw a gesture.

int GestureOverlayView_gestureStrokeAngleThreshold

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

int GestureOverlayView_gestureStrokeLengthThreshold

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

int GestureOverlayView_gestureStrokeSquarenessThreshold

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

int GestureOverlayView_gestureStrokeType

Defines the type of strokes that define a gesture.

int GestureOverlayView_gestureStrokeWidth

Width of the stroke used to draw the gesture.

int GestureOverlayView_orientation

Indicates whether horizontal (when the orientation is vertical) or vertical (when orientation is horizontal) strokes automatically define a gesture.

int GestureOverlayView_uncertainGestureColor

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

int GlowPadView_directionDescriptions

Reference to an array resource that be used to announce the directions with targets around the circle.

int GlowPadView_targetDescriptions

Reference to an array resource that be used as description for the targets around the circle.

int GradientColorItem_color

The current color for the offset inside the gradient.

int GradientColorItem_offset

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

int GradientColor_centerColor

Optional center color.

int GradientColor_centerX

X coordinate of the center of the gradient within the path.

int GradientColor_centerY

Y coordinate of the center of the gradient within the path.

int GradientColor_endColor

End color of the gradient.

int GradientColor_endX

X coordinate of the end point origin of the gradient.

int GradientColor_endY

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

int GradientColor_gradientRadius

Radius of the gradient, used only with radial gradient.

int GradientColor_startColor

Start color of the gradient.

int GradientColor_startX

X coordinate of the start point origin of the gradient.

int GradientColor_startY

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

int GradientColor_tileMode

Defines the tile mode of the gradient.

int GradientColor_type

Type of gradient.

int GradientDrawableGradient_angle

Angle of the gradient, used only with linear gradient.

int GradientDrawableGradient_centerColor

Optional center color.

int GradientDrawableGradient_centerX

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

int GradientDrawableGradient_centerY

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

int GradientDrawableGradient_endColor

End color of the gradient.

int GradientDrawableGradient_gradientRadius

Radius of the gradient, used only with radial gradient.

int GradientDrawableGradient_startColor

Start color of the gradient.

int GradientDrawableGradient_type

Type of gradient.

int GradientDrawableGradient_useLevel

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

int GradientDrawablePadding_bottom

Amount of bottom padding inside the gradient shape.

int GradientDrawablePadding_left

Amount of left padding inside the gradient shape.

int GradientDrawablePadding_right

Amount of right padding inside the gradient shape.

int GradientDrawablePadding_top

Amount of top padding inside the gradient shape.

int GradientDrawableSize_height

Height of the gradient shape.

int GradientDrawableSize_width

Width of the gradient shape.

int GradientDrawableSolid_color

Solid color for the gradient shape.

int GradientDrawableStroke_color

Color of the gradient shape's stroke.

int GradientDrawableStroke_dashGap

Gap between dashes in the stroke.

int GradientDrawableStroke_dashWidth

Length of a dash in the stroke.

int GradientDrawableStroke_width

Width of the gradient shape's stroke.

int GradientDrawable_dither

Enables or disables dithering.

int GradientDrawable_innerRadius

Inner radius of the ring.

int GradientDrawable_innerRadiusRatio

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

int GradientDrawable_opticalInsetBottom

Bottom optical inset.

int GradientDrawable_opticalInsetLeft

Left optical inset.

int GradientDrawable_opticalInsetRight

Right optical inset.

int GradientDrawable_opticalInsetTop

Top optical inset.

int GradientDrawable_shape

Indicates what shape to fill with a gradient.

int GradientDrawable_thickness

Thickness of the ring.

int GradientDrawable_thicknessRatio

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

int GradientDrawable_tint

If set, specifies the color to apply to the drawable as a tint.

int GradientDrawable_tintMode

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

int GradientDrawable_useLevel

Whether the drawable level value (see Drawable.getLevel()) is used to scale the shape.

int GradientDrawable_visible

Indicates whether the drawable should intially be visible.

int GridLayoutAnimation_columnDelay

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

int GridLayoutAnimation_direction

Direction of the animation in the grid.

int GridLayoutAnimation_directionPriority

Priority of the rows and columns.

int GridLayoutAnimation_rowDelay

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

int GridLayout_Layout_layout_column

The column boundary delimiting the left of the group of cells occupied by this view.

int GridLayout_Layout_layout_columnSpan

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

int GridLayout_Layout_layout_columnWeight

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

int GridLayout_Layout_layout_gravity

Gravity specifies how a component should be placed in its group of cells.

int GridLayout_Layout_layout_row

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

int GridLayout_Layout_layout_rowSpan

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

int GridLayout_Layout_layout_rowWeight

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

int GridLayout_alignmentMode

When set to alignMargins, causes alignment to take place between the outer boundary of a view, as defined by its margins.

int GridLayout_columnCount

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

int GridLayout_columnOrderPreserved

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

int GridLayout_orientation

The orientation property is not used during layout.

int GridLayout_rowCount

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

int GridLayout_rowOrderPreserved

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

int GridLayout_useDefaultMargins

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

int GridView_columnWidth

Specifies the fixed width for each column.

int GridView_gravity

Specifies the gravity within each cell.

int GridView_horizontalSpacing

Defines the default horizontal spacing between columns.

int GridView_numColumns

Defines how many columns to show.

int GridView_stretchMode

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

int GridView_verticalSpacing

Defines the default vertical spacing between rows.

int HorizontalScrollView_fillViewport

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

int HostApduService_apduServiceBanner

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

int HostApduService_description

Short description of the functionality the service implements.

int HostApduService_requireDeviceScreenOn

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

int HostApduService_requireDeviceUnlock

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

int HostApduService_settingsActivity

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

int HostApduService_shouldDefaultToObserveMode

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

int HostNfcFService_description

Short description of the functionality the service implements.

int IconDefault_icon

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

int IconMenuView_maxItemsPerRow

Defines the maximum number of items per row.

int IconMenuView_maxRows

Defines the maximum number of rows displayed.

int IconMenuView_moreIcon

'More' icon.

int IconMenuView_rowHeight

Defines the height of each row.

int Icon_icon

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

int Icon_mimeType

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

int ImageView_adjustViewBounds

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

int ImageView_baseline

The offset of the baseline within this view.

int ImageView_baselineAlignBottom

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

int ImageView_cropToPadding

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

int ImageView_maxHeight

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

int ImageView_maxWidth

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

int ImageView_scaleType

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

int ImageView_src

Sets a drawable as the content of this ImageView.

int ImageView_tint

The tinting color for the image.

int ImageView_tintMode

Blending mode used to apply the image tint.

int Include_id

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

int Include_visibility

Controls the initial visibility of the view.

int InputMethodService_imeExtractEnterAnimation

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

int InputMethodService_imeExtractExitAnimation

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

int InputMethodService_imeFullscreenBackground

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

int InputMethod_Subtype_icon

The icon of the subtype.

int InputMethod_Subtype_imeSubtypeExtraValue

The extra value of the subtype.

int InputMethod_Subtype_imeSubtypeLocale

The locale of the subtype.

int InputMethod_Subtype_imeSubtypeMode

The mode of the subtype.

int InputMethod_Subtype_isAsciiCapable

Set to true if this subtype is ASCII capable.

int InputMethod_Subtype_isAuxiliary

Set true if the subtype is auxiliary.

int InputMethod_Subtype_label

The name of the subtype.

int InputMethod_Subtype_languageTag

The BCP-47 Language Tag of the subtype.

int InputMethod_Subtype_overridesImplicitlyEnabledSubtype

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

int InputMethod_Subtype_physicalKeyboardHintLanguageTag

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

int InputMethod_Subtype_physicalKeyboardHintLayoutType

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

int InputMethod_Subtype_subtypeId

The unique id for the subtype.

int InputMethod_configChanges

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

int InputMethod_isDefault

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

int InputMethod_isVirtualDeviceOnly

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

int InputMethod_isVrOnly

Specifies if an IME can only be used while a device is in VR mode or on a dedicated device

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

int InputMethod_settingsActivity

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

int InputMethod_showInInputMethodPicker

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

int InputMethod_stylusHandwritingSettingsActivity

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

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

int InputMethod_supportsConnectionlessStylusHandwriting

Specifies whether the IME supports connectionless stylus handwriting sessions.

int InputMethod_supportsInlineSuggestions

Specifies whether the IME supports showing inline suggestions.

int InputMethod_supportsInlineSuggestionsWithTouchExploration

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

int InputMethod_supportsStylusHandwriting

Specifies whether the IME supports Handwriting using stylus.

int InputMethod_supportsSwitchingToNextInputMethod

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

int InputMethod_suppressesSpellChecker

Specifies whether the IME suppresses system spell checker.

int InsetDrawable_drawable

Reference to a drawable resource to use for the frame.

int InsetDrawable_inset

This symbol is the offset where the R.attr.inset attribute's value can be found in the InsetDrawable array.

int InsetDrawable_insetBottom

This symbol is the offset where the R.attr.insetBottom attribute's value can be found in the InsetDrawable array.

int InsetDrawable_insetLeft

This symbol is the offset where the R.attr.insetLeft attribute's value can be found in the InsetDrawable array.

int InsetDrawable_insetRight

This symbol is the offset where the R.attr.insetRight attribute's value can be found in the InsetDrawable array.

int InsetDrawable_insetTop

This symbol is the offset where the R.attr.insetTop attribute's value can be found in the InsetDrawable array.

int InsetDrawable_visible

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

int IntentCategory_name

Required name of the category.

int Intent_action

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

int Intent_data

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

int Intent_identifier

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

int Intent_mimeType

The MIME type name to assign to the Intent, as per Intent.setType().

int Intent_targetClass

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

int Intent_targetPackage

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

int KeyboardLayout_keyboardLayout

The key character map file resource.

int KeyboardLayout_keyboardLayoutType

The layout type of the given keyboardLayout.

int KeyboardLayout_keyboardLocale

The locales the given keyboard layout corresponds to.

int KeyboardLayout_label

The display label of the keyboard layout.

int KeyboardLayout_name

The name of the keyboard layout, must be unique in the receiver.

int KeyboardViewPreviewState_state_long_pressable

State for KeyboardView key preview background.

int KeyboardView_keyBackground

Image for the key.

int KeyboardView_keyPreviewHeight

Height of the key press feedback popup.

int KeyboardView_keyPreviewLayout

Layout resource for key press feedback.

int KeyboardView_keyPreviewOffset

Vertical offset of the key press feedback from the key.

int KeyboardView_keyTextColor

Color to use for the label in a key.

int KeyboardView_keyTextSize

Size of the text for character keys.

int KeyboardView_labelTextSize

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

int KeyboardView_popupLayout

Layout resource for popup keyboards.

int KeyboardView_shadowColor

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

int KeyboardView_shadowRadius

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

int KeyboardView_verticalCorrection

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

int Keyboard_Key_codes

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

int Keyboard_Key_iconPreview

The icon to show in the popup preview.

int Keyboard_Key_isModifier

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

int Keyboard_Key_isRepeatable

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

int Keyboard_Key_isSticky

Whether this is a toggle key.

int Keyboard_Key_keyEdgeFlags

Key edge flags.

int Keyboard_Key_keyIcon

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

int Keyboard_Key_keyLabel

The label to display on the key.

int Keyboard_Key_keyOutputText

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

int Keyboard_Key_keyboardMode

Mode of the keyboard.

int Keyboard_Key_popupCharacters

The characters to display in the popup keyboard.

int Keyboard_Key_popupKeyboard

The XML keyboard layout of any popup keyboard.

int Keyboard_Row_keyboardMode

Mode of the keyboard.

int Keyboard_Row_rowEdgeFlags

Row edge flags.

int Keyboard_horizontalGap

Default horizontal gap between keys.

int Keyboard_keyHeight

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

int Keyboard_keyWidth

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

int Keyboard_verticalGap

Default vertical gap between rows of keys.

int Keyframe_fraction

This symbol is the offset where the R.attr.fraction attribute's value can be found in the Keyframe array.

int Keyframe_interpolator

Defines a per-interval interpolator for this keyframe.

int Keyframe_value

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

int Keyframe_valueType

The type of valueFrom and valueTo.

int LayerDrawableItem_bottom

Bottom inset to apply to the layer.

int LayerDrawableItem_drawable

Drawable used to render the layer.

int LayerDrawableItem_end

End inset to apply to the layer.

int LayerDrawableItem_gravity

Gravity used to align the layer within its container.

int LayerDrawableItem_height

Height of the layer.

int LayerDrawableItem_id

Identifier of the layer.

int LayerDrawableItem_left

Left inset to apply to the layer.

int LayerDrawableItem_right

Right inset to apply to the layer.

int LayerDrawableItem_start

Start inset to apply to the layer.

int LayerDrawableItem_top

Top inset to apply to the layer.

int LayerDrawableItem_width

Width of the layer.

int LayerDrawable_autoMirrored

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

int LayerDrawable_opacity

Indicates the opacity of the layer.

int LayerDrawable_paddingBottom

Explicit bottom padding.

int LayerDrawable_paddingEnd

Explicit end padding.

int LayerDrawable_paddingLeft

Explicit left padding.

int LayerDrawable_paddingMode

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

int LayerDrawable_paddingRight

Explicit right padding.

int LayerDrawable_paddingStart

Explicit start padding.

int LayerDrawable_paddingTop

Explicit top padding.

int LayoutAnimation_animation

Animation to use on each child.

int LayoutAnimation_animationOrder

The order in which the animations will be started.

int LayoutAnimation_delay

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

int LayoutAnimation_interpolator

Interpolator used to interpolate the delay between the start of each animation.

int LevelListDrawableItem_drawable

Reference to a drawable resource to use for the frame.

int LevelListDrawableItem_maxLevel

The maximum level allowed for this item.

int LevelListDrawableItem_minLevel

The minimum level allowed for this item.

int Lighting_ambientShadowAlpha

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

int Lighting_spotShadowAlpha

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

int LinearLayout_Layout_layout_gravity

Gravity specifies how a component should be placed in its group of cells.

int LinearLayout_Layout_layout_height

Specifies the basic height of the view.

int LinearLayout_Layout_layout_weight

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

int LinearLayout_Layout_layout_width

Specifies the basic width of the view.

int LinearLayout_baselineAligned

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

int LinearLayout_baselineAlignedChildIndex

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

int LinearLayout_divider

Drawable to use as a vertical divider between buttons.

int LinearLayout_dividerPadding

Size of padding on either end of a divider.

int LinearLayout_gravity

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

int LinearLayout_measureWithLargestChild

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

int LinearLayout_orientation

Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column.

int LinearLayout_showDividers

Setting for which dividers to show.

int LinearLayout_weightSum

Defines the maximum weight sum.

int ListPopupWindow_dropDownHorizontalOffset

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

int ListPopupWindow_dropDownVerticalOffset

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

int ListPreference_entries

The human-readable array to present as a list.

int ListPreference_entryValues

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

int ListView_divider

Drawable or color to draw between list items.

int ListView_dividerHeight

Height of the divider.

int ListView_entries

Reference to an array resource that will populate the ListView.

int ListView_footerDividersEnabled

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

int ListView_headerDividersEnabled

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

int ListView_overScrollFooter

Drawable to draw below list content.

int ListView_overScrollHeader

Drawable to draw above list content.

int LocaleConfig_Locale_name

The IETF BCP47 language tag of the supported locale.

int LocaleConfig_defaultLocale

The IETF BCP47 language tag the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in.

int MapView_apiKey

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

int MaterialProgressDrawable_color

Solid color for the gradient shape.

int MaterialProgressDrawable_height

Makes the TextView be exactly this tall.

int MaterialProgressDrawable_innerRadius

Inner radius of the ring.

int MaterialProgressDrawable_thickness

Thickness of the ring.

int MaterialProgressDrawable_visible

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

int MaterialProgressDrawable_width

Makes the TextView be exactly this wide.

int MediaRouteButton_mediaRouteTypes

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

int MediaRouteButton_minHeight

This symbol is the offset where the R.attr.minHeight attribute's value can be found in the MediaRouteButton array.

int MediaRouteButton_minWidth

This symbol is the offset where the R.attr.minWidth attribute's value can be found in the MediaRouteButton array.

int MenuGroup_checkableBehavior

Whether the items are capable of displaying a check mark.

int MenuGroup_enabled

Whether the items are enabled.

int MenuGroup_id

The ID of the group.

int MenuGroup_menuCategory

The category applied to all items within this group.

int MenuGroup_orderInCategory

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

int MenuGroup_visible

Whether the items are shown/visible.

int MenuItemCheckedFocusedState_state_checkable

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

int MenuItemCheckedFocusedState_state_checked

State identifier indicating that the object is currently checked.

int MenuItemCheckedFocusedState_state_focused

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

int MenuItemCheckedState_state_checkable

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

int MenuItemCheckedState_state_checked

State identifier indicating that the object is currently checked.

int MenuItemUncheckedFocusedState_state_checkable

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

int MenuItemUncheckedFocusedState_state_focused

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

int MenuItemUncheckedState_state_checkable

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

int MenuItem_actionLayout

An optional layout to be used as an action view.

int MenuItem_actionProviderClass

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

int MenuItem_actionViewClass

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

int MenuItem_alphabeticModifiers

The alphabetic modifier key.

int MenuItem_alphabeticShortcut

The alphabetic shortcut key.

int MenuItem_checkable

Whether the item is capable of displaying a check mark.

int MenuItem_checked

Whether the item is checked.

int MenuItem_contentDescription

The content description associated with the item.

int MenuItem_enabled

Whether the item is enabled.

int MenuItem_icon

The icon associated with this item.

int MenuItem_iconTint

Tint to apply to the icon.

int MenuItem_iconTintMode

Blending mode used to apply the icon tint.

int MenuItem_id

The ID of the item.

int MenuItem_menuCategory

The category applied to the item.

int MenuItem_numericModifiers

The numeric modifier key.

int MenuItem_numericShortcut

The numeric shortcut key.

int MenuItem_onClick

Name of a method on the Context used to inflate the menu that will be called when the item is clicked.

int MenuItem_orderInCategory

The order within the category applied to the item.

int MenuItem_showAsAction

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

int MenuItem_title

The title associated with the item.

int MenuItem_titleCondensed

The condensed title associated with the item.

int MenuItem_tooltipText

The tooltip text associated with the item.

int MenuItem_visible

Whether the item is shown/visible.

int MenuView_headerBackground

Default background for the menu header.

int MenuView_horizontalDivider

Default horizontal divider between rows of menu items.

int MenuView_itemBackground

Default background for each menu item.

int MenuView_itemIconDisabledAlpha

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

int MenuView_itemTextAppearance

Default appearance of menu item text.

int MenuView_subMenuArrow

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

int MenuView_verticalDivider

Default vertical divider between menu items.

int MenuView_windowAnimationStyle

Default animations for the menu.

int MessagingLinearLayout_spacing

This symbol is the offset where the R.attr.spacing attribute's value can be found in the MessagingLinearLayout array.

int MultiSelectListPreference_entries

The human-readable array to present as a list.

int MultiSelectListPreference_entryValues

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

int Nfcid2Filter_name

The NFCID2.

int NinePatchDrawable_alpha

Specifies the alpha multiplier to apply to the base drawable.

int NinePatchDrawable_autoMirrored

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

int NinePatchDrawable_dither

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

int NinePatchDrawable_src

Identifier of the bitmap file.

int NinePatchDrawable_tint

If set, specifies the color to apply to the drawable as a tint.

int NinePatchDrawable_tintMode

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

int NumberPicker_selectionDividerHeight

The height of the selection divider.

int OffHostApduService_apduServiceBanner

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

int OffHostApduService_description

Short description of the functionality the service implements.

int OffHostApduService_requireDeviceScreenOn

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

int OffHostApduService_requireDeviceUnlock

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

int OffHostApduService_secureElementName

Secure Element which the AIDs should be routed to

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

int OffHostApduService_settingsActivity

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

int OffHostApduService_shouldDefaultToObserveMode

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

int OnDeviceRecognitionService_settingsActivity

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

int OvershootInterpolator_tension

This is the amount of tension.

int PathInterpolator_controlX1

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

int PathInterpolator_controlX2

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

int PathInterpolator_controlY1

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

int PathInterpolator_controlY2

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

int PathInterpolator_pathData

The control points defined as a path.

int PatternPathMotion_patternPathData

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

int PointerIcon_bitmap

Drawable to use as the icon bitmap.

int PointerIcon_hotSpotX

X coordinate of the icon hot spot.

int PointerIcon_hotSpotY

Y coordinate of the icon hot spot.

int PollingLoopFilter_autoTransact

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

int PollingLoopFilter_name

The polling loop frame.

int PollingLoopPatternFilter_autoTransact

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

int PollingLoopPatternFilter_name

The patter to match polling loop frames to, must to be compatible with Pattern.compile(String) and only contain hexadecimal numbers and `.`, `?` and `*` operators.

int PopupWindowBackgroundState_state_above_anchor

State identifier indicating the popup will be above the anchor.

int PopupWindow_overlapAnchor

Whether the popup window should overlap its anchor view.

int PopupWindow_popupAnimationStyle

The animation style to use for the popup window.

int PopupWindow_popupBackground

The background to use for the popup window.

int PopupWindow_popupElevation

Window elevation to use for the popup window.

int PopupWindow_popupEnterTransition

Transition used to move views into the popup window.

int PopupWindow_popupExitTransition

Transition used to move views out of the popup window.

int PreferenceActivity_layout

The layout for the Preference Activity.

int PreferenceFragment_divider

Drawable or color to draw between list items.

int PreferenceFragment_layout

The layout for the PreferenceFragment.

int PreferenceGroup_orderingFromXml

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

int PreferenceHeader_breadCrumbShortTitle

The short title for the bread crumb of this item.

int PreferenceHeader_breadCrumbTitle

The title for the bread crumb of this item.

int PreferenceHeader_fragment

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

int PreferenceHeader_icon

An icon for the item.

int PreferenceHeader_id

Identifier value for the header.

int PreferenceHeader_summary

The summary for the item.

int PreferenceHeader_title

The title of the item that is shown to the user.

int PreferenceScreen_divider

Drawable or color to draw between list items.

int Preference_defaultValue

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

int Preference_dependency

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

int Preference_enabled

Whether the Preference is enabled.

int Preference_fragment

When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item.

int Preference_icon

The optional icon for the preference.

int Preference_iconSpaceReserved

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

int Preference_key

The key to store the Preference value.

int Preference_layout

The layout for the Preference in a PreferenceActivity screen.

int Preference_order

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

int Preference_persistent

Whether the Preference stores its value to the storage.

int Preference_recycleEnabled

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

int Preference_selectable

Whether the Preference is selectable.

int Preference_shouldDisableView

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

int Preference_singleLineTitle

Whether to use single line for the preference title text.

int Preference_summary

The summary for the Preference.

int Preference_title

The title for the Preference.

int Preference_widgetLayout

The layout for the controllable widget portion of a Preference.

int PrintService_addPrintersActivity

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

int PrintService_advancedPrintOptionsActivity

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

int PrintService_settingsActivity

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

int PrintService_vendor

The vendor name if this print service is vendor specific.

int ProgressBar_animationResolution

Timeout between frames of animation in milliseconds.

int ProgressBar_backgroundTint

Tint to apply to the background.

int ProgressBar_backgroundTintMode

Blending mode used to apply the background tint.

int ProgressBar_indeterminate

Allows to enable the indeterminate mode.

int ProgressBar_indeterminateBehavior

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

int ProgressBar_indeterminateDrawable

Drawable used for the indeterminate mode.

int ProgressBar_indeterminateDuration

Duration of the indeterminate animation.

int ProgressBar_indeterminateOnly

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

int ProgressBar_indeterminateTint

Tint to apply to the indeterminate progress indicator.

int ProgressBar_indeterminateTintMode

Blending mode used to apply the indeterminate progress indicator tint.

int ProgressBar_interpolator

Sets the acceleration curve for the indeterminate animation.

int ProgressBar_max

Defines the maximum value.

int ProgressBar_maxHeight

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

int ProgressBar_maxWidth

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

int ProgressBar_min

Defines the minimum value.

int ProgressBar_minHeight

This symbol is the offset where the R.attr.minHeight attribute's value can be found in the ProgressBar array.

int ProgressBar_minWidth

This symbol is the offset where the R.attr.minWidth attribute's value can be found in the ProgressBar array.

int ProgressBar_mirrorForRtl

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

int ProgressBar_progress

Defines the default progress value, between 0 and max.

int ProgressBar_progressBackgroundTint

Tint to apply to the progress indicator background.

int ProgressBar_progressBackgroundTintMode

Blending mode used to apply the progress indicator background tint.

int ProgressBar_progressDrawable

Drawable used for the progress mode.

int ProgressBar_progressTint

Tint to apply to the progress indicator.

int ProgressBar_progressTintMode

Blending mode used to apply the progress indicator tint.

int ProgressBar_secondaryProgress

Defines the secondary progress value, between 0 and max.

int ProgressBar_secondaryProgressTint

Tint to apply to the secondary progress indicator.

int ProgressBar_secondaryProgressTintMode

Blending mode used to apply the secondary progress indicator tint.

int PropertyAnimator_pathData

The path used to animate the properties in the ObjectAnimator.

int PropertyAnimator_propertyName

Name of the property being animated.

int PropertyAnimator_propertyXName

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

int PropertyAnimator_propertyYName

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

int PropertyValuesHolder_propertyName

Name of the property being animated.

int PropertyValuesHolder_valueFrom

Value the animation starts from.

int PropertyValuesHolder_valueTo

Value the animation animates to.

int PropertyValuesHolder_valueType

The type of valueFrom and valueTo.

int QuickAccessWalletService_settingsActivity

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

int QuickAccessWalletService_shortcutLongLabel

Text shown on the empty state button if no cards are provided

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

int QuickAccessWalletService_shortcutShortLabel

Text shown on the button that takes users to the wallet application

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

int QuickAccessWalletService_targetActivity

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

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

int RadioGroup_checkedButton

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

int RadioGroup_orientation

Should the radio group be a column or a row? Use "horizontal" for a row, "vertical" for a column.

int RatingBar_isIndicator

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

int RatingBar_numStars

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

int RatingBar_rating

The rating to set by default.

int RatingBar_stepSize

The step size of the rating.

int RatingDefinition_contentAgeHint

The age associated with the content rating.

int RatingDefinition_description

The short description of the content rating.

int RatingDefinition_name

The unique name of the content rating.

int RatingDefinition_title

The title of the content rating which is shown to the user.

int RatingSystemDefinition_country

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

int RatingSystemDefinition_description

The short description of the content rating system.

int RatingSystemDefinition_name

The unique name of the content rating system.

int RatingSystemDefinition_title

The title of the content rating system which is shown to the user.

int RecognitionService_selectableAsDefault

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

int RecognitionService_settingsActivity

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

int RecyclerView_descendantFocusability

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

int RecyclerView_orientation

Standard orientation constant.

int RelativeLayout_Layout_layout_above

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

int RelativeLayout_Layout_layout_alignBaseline

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

int RelativeLayout_Layout_layout_alignBottom

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

int RelativeLayout_Layout_layout_alignEnd

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

int RelativeLayout_Layout_layout_alignLeft

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

int RelativeLayout_Layout_layout_alignParentBottom

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

int RelativeLayout_Layout_layout_alignParentEnd

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

int RelativeLayout_Layout_layout_alignParentLeft

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

int RelativeLayout_Layout_layout_alignParentRight

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

int RelativeLayout_Layout_layout_alignParentStart

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

int RelativeLayout_Layout_layout_alignParentTop

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

int RelativeLayout_Layout_layout_alignRight

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

int RelativeLayout_Layout_layout_alignStart

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

int RelativeLayout_Layout_layout_alignTop

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

int RelativeLayout_Layout_layout_alignWithParentIfMissing

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

int RelativeLayout_Layout_layout_below

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

int RelativeLayout_Layout_layout_centerHorizontal

If true, centers this child horizontally within its parent.

int RelativeLayout_Layout_layout_centerInParent

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

int RelativeLayout_Layout_layout_centerVertical

If true, centers this child vertically within its parent.

int RelativeLayout_Layout_layout_toEndOf

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

int RelativeLayout_Layout_layout_toLeftOf

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

int RelativeLayout_Layout_layout_toRightOf

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

int RelativeLayout_Layout_layout_toStartOf

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

int RelativeLayout_gravity

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

int RelativeLayout_ignoreGravity

Indicates what view should not be affected by gravity.

int ResolverDrawerLayout_LayoutParams_layout_gravity

Standard gravity constant that a child supplies to its parent.

int ResolverDrawerLayout_maxWidth

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

int RestrictionEntry_defaultValue

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

int RestrictionEntry_description

Descriptive text for the associated data.

int RestrictionEntry_entries

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

int RestrictionEntry_entryValues

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

int RestrictionEntry_key

The key to store the Preference value.

int RestrictionEntry_restrictionType

This symbol is the offset where the R.attr.restrictionType attribute's value can be found in the RestrictionEntry array.

int RestrictionEntry_title

The title associated with the item.

int RingtonePreference_ringtoneType

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

int RingtonePreference_showDefault

Whether to show an item for a default sound.

int RingtonePreference_showSilent

Whether to show an item for 'Silent'.

int RippleDrawable_color

The color to use for ripple effects.

int RippleDrawable_effectColor

Secondary color of the ripple effect.

int RippleDrawable_radius

The radius of the ripple when fully expanded.

int RotateAnimation_fromDegrees

This symbol is the offset where the R.attr.fromDegrees attribute's value can be found in the RotateAnimation array.

int RotateAnimation_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the RotateAnimation array.

int RotateAnimation_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the RotateAnimation array.

int RotateAnimation_toDegrees

This symbol is the offset where the R.attr.toDegrees attribute's value can be found in the RotateAnimation array.

int RotateDrawable_drawable

Reference to a drawable resource to use for the frame.

int RotateDrawable_fromDegrees

This symbol is the offset where the R.attr.fromDegrees attribute's value can be found in the RotateDrawable array.

int RotateDrawable_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the RotateDrawable array.

int RotateDrawable_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the RotateDrawable array.

int RotateDrawable_toDegrees

This symbol is the offset where the R.attr.toDegrees attribute's value can be found in the RotateDrawable array.

int RotateDrawable_visible

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

int ScaleAnimation_fromXScale

This symbol is the offset where the R.attr.fromXScale attribute's value can be found in the ScaleAnimation array.

int ScaleAnimation_fromYScale

This symbol is the offset where the R.attr.fromYScale attribute's value can be found in the ScaleAnimation array.

int ScaleAnimation_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the ScaleAnimation array.

int ScaleAnimation_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the ScaleAnimation array.

int ScaleAnimation_toXScale

This symbol is the offset where the R.attr.toXScale attribute's value can be found in the ScaleAnimation array.

int ScaleAnimation_toYScale

This symbol is the offset where the R.attr.toYScale attribute's value can be found in the ScaleAnimation array.

int ScaleDrawable_drawable

Reference to a drawable resource to draw with the specified scale.

int ScaleDrawable_level

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

int ScaleDrawable_scaleGravity

Specifies where the drawable is positioned after scaling.

int ScaleDrawable_scaleHeight

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

int ScaleDrawable_scaleWidth

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

int ScaleDrawable_useIntrinsicSizeAsMinimum

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

int ScrollView_fillViewport

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

int SearchView_closeIcon

Close button icon.

int SearchView_commitIcon

Commit icon shown in the query suggestion row.

int SearchView_goIcon

Go button icon.

int SearchView_iconifiedByDefault

The default state of the SearchView.

int SearchView_imeOptions

The IME options to set on the query text field.

int SearchView_inputType

The input type to set on the query text field.

int SearchView_layout

The layout to use for the search view.

int SearchView_maxWidth

An optional maximum width of the SearchView.

int SearchView_queryBackground

Background for the section containing the search query.

int SearchView_queryHint

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

int SearchView_searchHintIcon

Search icon displayed as a text field hint.

int SearchView_searchIcon

Search icon.

int SearchView_submitBackground

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

int SearchView_suggestionRowLayout

Layout for query suggestion rows.

int SearchView_voiceIcon

Voice button icon.

int SearchableActionKey_keycode

This attribute denotes the action key you wish to respond to.

int SearchableActionKey_queryActionMsg

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

int SearchableActionKey_suggestActionMsg

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

int SearchableActionKey_suggestActionMsgColumn

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

int Searchable_autoUrlDetect

If provided and true, URLs entered in the search dialog while searching within this activity would be detected and treated as URLs (show a 'go' button in the keyboard and invoke the browser directly when user launches the URL instead of passing the URL to the activity).

int Searchable_hint

If supplied, this string will be displayed as a hint to the user.

int Searchable_icon

This is deprecated.

int Searchable_imeOptions

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

int Searchable_includeInGlobalSearch

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

int Searchable_inputType

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

int Searchable_label

This is the user-displayed name of the searchable activity.

int Searchable_queryAfterZeroResults

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

int Searchable_searchButtonText

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

int Searchable_searchMode

Additional features are controlled by mode bits in this field.

int Searchable_searchSettingsDescription

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

int Searchable_searchSuggestAuthority

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

int Searchable_searchSuggestIntentAction

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

int Searchable_searchSuggestIntentData

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

int Searchable_searchSuggestPath

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

int Searchable_searchSuggestSelection

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

int Searchable_searchSuggestThreshold

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

int Searchable_voiceLanguage

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

int Searchable_voiceLanguageModel

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

int Searchable_voiceMaxResults

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

int Searchable_voicePromptText

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

int Searchable_voiceSearchMode

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

int SeekBarPreference_layout

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

int SeekBar_splitTrack

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

int SeekBar_thumb

Draws the thumb on a seekbar.

int SeekBar_thumbOffset

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

int SeekBar_thumbTint

Tint to apply to the thumb drawable.

int SeekBar_thumbTintMode

Blending mode used to apply the thumb tint.

int SeekBar_tickMark

Drawable displayed at each progress position on a seekbar.

int SeekBar_tickMarkTint

Tint to apply to the tick mark drawable.

int SeekBar_tickMarkTintMode

Blending mode used to apply the tick mark tint.

int SelectionModeDrawables_actionModeCopyDrawable

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

int SelectionModeDrawables_actionModeCutDrawable

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

int SelectionModeDrawables_actionModePasteDrawable

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

int SelectionModeDrawables_actionModeSelectAllDrawable

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

int SettingInjectorService_icon

The icon for the preference, should refer to all apps covered by the setting.

int SettingInjectorService_settingsActivity

The activity to launch when the setting is clicked on.

int SettingInjectorService_title

The title for the preference.

int SettingInjectorService_userRestriction

The user restriction for this preference.

int ShapeDrawablePadding_bottom

Bottom padding.

int ShapeDrawablePadding_left

Left padding.

int ShapeDrawablePadding_right

Right padding.

int ShapeDrawablePadding_top

Top padding.

int ShapeDrawable_color

Defines the color of the shape.

int ShapeDrawable_dither

Enables or disables dithering.

int ShapeDrawable_height

Defines the height of the shape.

int ShapeDrawable_tint

If set, specifies the color to apply to the drawable as a tint.

int ShapeDrawable_tintMode

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

int ShapeDrawable_width

Defines the width of the shape.

int ShortcutCategories_name

A unique name for the given item.

int Shortcut_enabled

Specifies whether the widget is enabled.

int Shortcut_icon

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

int Shortcut_shortcutDisabledMessage

This symbol is the offset where the R.attr.shortcutDisabledMessage attribute's value can be found in the Shortcut array.

int Shortcut_shortcutId

This symbol is the offset where the R.attr.shortcutId attribute's value can be found in the Shortcut array.

int Shortcut_shortcutLongLabel

This symbol is the offset where the R.attr.shortcutLongLabel attribute's value can be found in the Shortcut array.

int Shortcut_shortcutShortLabel

This symbol is the offset where the R.attr.shortcutShortLabel attribute's value can be found in the Shortcut array.

int Shortcut_splashScreenTheme

This symbol is the offset where the R.attr.splashScreenTheme attribute's value can be found in the Shortcut array.

int Slide_slideEdge

This symbol is the offset where the R.attr.slideEdge attribute's value can be found in the Slide array.

int SlidingDrawer_allowSingleTap

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

int SlidingDrawer_animateOnClick

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

int SlidingDrawer_bottomOffset

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

int SlidingDrawer_content

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

int SlidingDrawer_handle

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

int SlidingDrawer_orientation

Orientation of the SlidingDrawer.

int SlidingDrawer_topOffset

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

int SlidingTab_orientation

Use "horizontal" for a row, "vertical" for a column.

int SpellChecker_Subtype_label

The name of the subtype.

int SpellChecker_Subtype_languageTag

The BCP-47 Language Tag of the subtype.

int SpellChecker_Subtype_subtypeExtraValue

The extra value of the subtype.

int SpellChecker_Subtype_subtypeId

The unique id for the subtype.

int SpellChecker_Subtype_subtypeLocale

The locale of the subtype.

int SpellChecker_label

The name of the spell checker.

int SpellChecker_settingsActivity

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

int Spinner_dropDownSelector

List selector to use for spinnerMode="dropdown" display.

int Spinner_dropDownWidth

Width of the dropdown in spinnerMode="dropdown".

int Spinner_gravity

Gravity setting for positioning the currently selected item.

int Spinner_popupBackground

Background drawable to use for the dropdown in spinnerMode="dropdown".

int Spinner_popupElevation

Window elevation to use for the dropdown in spinnerMode="dropdown".

int Spinner_popupTheme

Theme to use for the drop-down or dialog popup window.

int Spinner_prompt

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

int Spinner_spinnerMode

Display mode for spinner options.

int StateListAnimatorItem_animation

Animation to use on each child.

int StateListDrawableItem_drawable

Reference to a drawable resource to use for the state.

int StateListDrawable_autoMirrored

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

int StateListDrawable_constantSize

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

int StateListDrawable_dither

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

int StateListDrawable_enterFadeDuration

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

int StateListDrawable_exitFadeDuration

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

int StateListDrawable_variablePadding

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

int StateListDrawable_visible

Indicates whether the drawable should be initially visible.

int SwitchPreference_disableDependentsState

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

int SwitchPreference_summaryOff

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

int SwitchPreference_summaryOn

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

int SwitchPreference_switchTextOff

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

int SwitchPreference_switchTextOn

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

int Switch_showText

Whether to draw on/off text.

int Switch_splitTrack

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

int Switch_switchMinWidth

Minimum width for the switch component.

int Switch_switchPadding

Minimum space between the switch and caption text.

int Switch_switchTextAppearance

TextAppearance style for text displayed on the switch thumb.

int Switch_textOff

Text to use when the switch is in the unchecked/"off" state.

int Switch_textOn

Text to use when the switch is in the checked/"on" state.

int Switch_thumb

Drawable to use as the "thumb" that switches back and forth.

int Switch_thumbTextPadding

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

int Switch_thumbTint

Tint to apply to the thumb.

int Switch_thumbTintMode

Blending mode used to apply the thumb tint.

int Switch_track

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

int Switch_trackTint

Tint to apply to the track.

int Switch_trackTintMode

Blending mode used to apply the track tint.

int SyncAdapter_accountType

The account type this authenticator handles.

int SyncAdapter_allowParallelSyncs

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

int SyncAdapter_contentAuthority

the authority of a content provider.

int SyncAdapter_isAlwaysSyncable

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

int SyncAdapter_settingsActivity

If provided, specifies the action of the settings activity for this SyncAdapter.

int SyncAdapter_supportsUploading

This symbol is the offset where the R.attr.supportsUploading attribute's value can be found in the SyncAdapter array.

int SyncAdapter_userVisible

This symbol is the offset where the R.attr.userVisible attribute's value can be found in the SyncAdapter array.

int SystemCodeFilter_name

The System Code.

int T3tPmmFilter_name

A unique name for the given item.

int TabWidget_divider

Drawable used to draw the divider between tabs.

int TabWidget_tabStripEnabled

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

int TabWidget_tabStripLeft

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

int TabWidget_tabStripRight

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

int TableLayout_collapseColumns

The zero-based index of the columns to collapse.

int TableLayout_shrinkColumns

The zero-based index of the columns to shrink.

int TableLayout_stretchColumns

The zero-based index of the columns to stretch.

int TableRow_Cell_layout_column

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

int TableRow_Cell_layout_span

Defines how many columns this child should span.

int TextAppearance_elegantTextHeight

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

int TextAppearance_fallbackLineSpacing

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

int TextAppearance_focusedSearchResultHighlightColor

Color of focused search result highlight.

int TextAppearance_fontFamily

Font family (named by string or as a font resource reference) for the text.

int TextAppearance_fontFeatureSettings

Font feature settings.

int TextAppearance_fontVariationSettings

Font variation settings.

int TextAppearance_letterSpacing

Text letter-spacing.

int TextAppearance_lineBreakStyle

Specifies the strictness of line-breaking rules applied within an element.

int TextAppearance_lineBreakWordStyle

Specifies the phrase-based breaking opportunities.

int TextAppearance_searchResultHighlightColor

Color of search results highlight.

int TextAppearance_shadowColor

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

int TextAppearance_shadowDx

Horizontal offset of the text shadow.

int TextAppearance_shadowDy

Vertical offset of the text shadow.

int TextAppearance_shadowRadius

Blur radius of the text shadow.

int TextAppearance_textAllCaps

Present the text in ALL CAPS.

int TextAppearance_textColor

Text color.

int TextAppearance_textColorHighlight

Color of the text selection highlight.

int TextAppearance_textColorHint

Color of the hint text.

int TextAppearance_textColorLink

Color of the links.

int TextAppearance_textFontWeight

Weight for the font used in the TextView.

int TextAppearance_textLocale

Specifies the LocaleList for the text.

int TextAppearance_textSize

Size of the text.

int TextAppearance_textStyle

Style (normal, bold, italic, bold|italic) for the text.

int TextAppearance_typeface

Typeface (normal, sans, serif, monospace) for the text.

int TextClock_format12Hour

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

int TextClock_format24Hour

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

int TextClock_timeZone

Specifies the time zone to use.

int TextToSpeechEngine_settingsActivity

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

int TextViewAppearance_textAppearance

Base text color, typeface, size, and style.

int TextViewMultiLineBackgroundState_state_multiline

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

int TextView_allowUndo

Whether undo should be allowed for editable text.

int TextView_autoLink

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

int TextView_autoSizeMaxTextSize

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

int TextView_autoSizeMinTextSize

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

int TextView_autoSizePresetSizes

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

int TextView_autoSizeStepGranularity

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

int TextView_autoSizeTextType

Specify the type of auto-size.

int TextView_autoText

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

int TextView_breakStrategy

Break strategy (control over paragraph layout).

int TextView_bufferType

Determines the minimum type that getText() will return.

int TextView_capitalize

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

int TextView_cursorVisible

Makes the cursor visible (the default) or invisible.

int TextView_digits

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

int TextView_drawableBottom

The drawable to be drawn below the text.

int TextView_drawableEnd

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

int TextView_drawableLeft

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

int TextView_drawablePadding

The padding between the drawables and the text.

int TextView_drawableRight

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

int TextView_drawableStart

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

int TextView_drawableTint

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

int TextView_drawableTintMode

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

int TextView_drawableTop

The drawable to be drawn above the text.

int TextView_editable

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

int TextView_editorExtras

Reference to an <input-extras> XML resource containing additional data to supply to an input method, which is private to the implementation of the input method.

int TextView_elegantTextHeight

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

int TextView_ellipsize

If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle.

int TextView_ems

Makes the TextView be exactly this many ems wide.

int TextView_enabled

Specifies whether the widget is enabled.

int TextView_fallbackLineSpacing

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

int TextView_firstBaselineToTopHeight

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

int TextView_focusedSearchResultHighlightColor

Color of focused search result highlight.

int TextView_fontFamily

Font family (named by string or as a font resource reference) for the text.

int TextView_fontFeatureSettings

Font feature settings.

int TextView_fontVariationSettings

Font variation settings.

int TextView_freezesText

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

int TextView_gravity

Specifies how to align the text by the view's x- and/or y-axis when the text is smaller than the view.

int TextView_height

Makes the TextView be exactly this tall.

int TextView_hint

Hint text to display when the text is empty.

int TextView_hyphenationFrequency

Frequency of automatic hyphenation.

int TextView_imeActionId

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

int TextView_imeActionLabel

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

int TextView_imeOptions

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

int TextView_includeFontPadding

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

int TextView_inputMethod

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

int TextView_inputType

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

int TextView_justificationMode

Mode for justification.

int TextView_lastBaselineToBottomHeight

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

int TextView_letterSpacing

Text letter-spacing.

int TextView_lineBreakStyle

Specifies the line-break strategies for text wrapping.

int TextView_lineBreakWordStyle

Specifies the line-break word strategies for text wrapping.

int TextView_lineHeight

Explicit height between lines of text.

int TextView_lineSpacingExtra

Extra spacing between lines of text.

int TextView_lineSpacingMultiplier

Extra spacing between lines of text, as a multiplier.

int TextView_lines

Makes the TextView be exactly this many lines tall.

int TextView_linksClickable

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

int TextView_marqueeRepeatLimit

The number of times to repeat the marquee animation.

int TextView_maxEms

Makes the TextView be at most this many ems wide.

int TextView_maxHeight

Makes the TextView be at most this many pixels tall.

int TextView_maxLength

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

int TextView_maxLines

Makes the TextView be at most this many lines tall.

int TextView_maxWidth

Makes the TextView be at most this many pixels wide.

int TextView_minEms

Makes the TextView be at least this many ems wide.

int TextView_minHeight

Makes the TextView be at least this many pixels tall.

int TextView_minLines

Makes the TextView be at least this many lines tall.

int TextView_minWidth

Makes the TextView be at least this many pixels wide.

int TextView_numeric

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

int TextView_password

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

int TextView_phoneNumber

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

int TextView_privateImeOptions

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

int TextView_scrollHorizontally

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

int TextView_searchResultHighlightColor

Color of search results highlight.

int TextView_selectAllOnFocus

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

int TextView_shadowColor

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

int TextView_shadowDx

Horizontal offset of the text shadow.

int TextView_shadowDy

Vertical offset of the text shadow.

int TextView_shadowRadius

Blur radius of the text shadow.

int TextView_shiftDrawingOffsetForStartOverhang

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

int TextView_singleLine

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.

int TextView_text

Text to display.

int TextView_textAllCaps

Present the text in ALL CAPS.

int TextView_textAppearance

Base text color, typeface, size, and style.

int TextView_textColor

Text color.

int TextView_textColorHighlight

Color of the text selection highlight.

int TextView_textColorHint

Color of the hint text.

int TextView_textColorLink

Text color for links.

int TextView_textCursorDrawable

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

int TextView_textEditNoPasteWindowLayout

Variation of textEditPasteWindowLayout displayed when the clipboard is empty.

int TextView_textEditPasteWindowLayout

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

int TextView_textEditSideNoPasteWindowLayout

Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty.

int TextView_textEditSidePasteWindowLayout

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

int TextView_textEditSuggestionItemLayout

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

int TextView_textFontWeight

Weight for the font used in the TextView.

int TextView_textIsSelectable

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

int TextView_textLocale

Specifies the LocaleList for the text in this TextView.

int TextView_textScaleX

Sets the horizontal scaling factor for the text.

int TextView_textSelectHandle

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

int TextView_textSelectHandleLeft

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

int TextView_textSelectHandleRight

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

int TextView_textSize

Size of the text.

int TextView_textStyle

Style (normal, bold, italic, bold|italic) for the text.

int TextView_typeface

Typeface (normal, sans, serif, monospace) for the text.

int TextView_useBoundsForWidth

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

int TextView_useLocalePreferredLineHeightForMinimum

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

int TextView_width

Makes the TextView be exactly this wide.

int Theme_absListViewStyle

Default AbsListView style.

int Theme_actionBarDivider

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

int Theme_actionBarItemBackground

Custom item state list drawable background for action bar items.

int Theme_actionBarPopupTheme

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

int Theme_actionBarSize

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

int Theme_actionBarSplitStyle

Reference to a style for the split Action Bar.

int Theme_actionBarStyle

Reference to a style for the Action Bar.

int Theme_actionBarTabBarStyle

Reference to a style for the Action Bar Tab Bar.

int Theme_actionBarTabStyle

Default style for tabs within an action bar.

int Theme_actionBarTabTextStyle

Reference to a style for the Action Bar Tab text.

int Theme_actionBarTheme

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

int Theme_actionBarWidgetTheme

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

int Theme_actionButtonStyle

Default action button style.

int Theme_actionDropDownStyle

Default ActionBar dropdown style.

int Theme_actionMenuTextAppearance

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

int Theme_actionMenuTextColor

Color for text that appears within action menu items.

int Theme_actionModeBackground

Background drawable to use for action mode UI.

int Theme_actionModeCloseButtonStyle

Reference to a style for the Action Mode close button.

int Theme_actionModeCloseDrawable

Drawable to use for the close action mode button.

int Theme_actionModeCopyDrawable

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

int Theme_actionModeCutDrawable

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

int Theme_actionModeFindDrawable

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

int Theme_actionModePasteDrawable

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

int Theme_actionModeSelectAllDrawable

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

int Theme_actionModeShareDrawable

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

int Theme_actionModeSplitBackground

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

int Theme_actionModeStyle

Reference to a style for the Action Mode.

int Theme_actionModeWebSearchDrawable

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

int Theme_actionOverflowButtonStyle

Reference to a style for Action Bar overflow buttons.

int Theme_actionOverflowMenuStyle

Reference to a style for the Action Bar menu.

int Theme_activatedBackgroundIndicator

Drawable used as a background for activated items.

int Theme_alertDialogIcon

Icon drawable to use for alerts.

int Theme_alertDialogStyle

This symbol is the offset where the R.attr.alertDialogStyle attribute's value can be found in the Theme array.

int Theme_alertDialogTheme

Theme to use for alert dialogs spawned from this theme.

int Theme_ambientShadowAlpha

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

int Theme_autoCompleteTextViewStyle

Default AutoCompleteTextView style.

int Theme_autofilledHighlight

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

int Theme_backgroundDimAmount

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

int Theme_backgroundDimEnabled

Control whether dimming behind the window is enabled.

int Theme_borderlessButtonStyle

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

int Theme_buttonBarButtonStyle

Style for buttons within button bars.

int Theme_buttonBarNegativeButtonStyle

Style for the "negative" buttons within button bars.

int Theme_buttonBarNeutralButtonStyle

Style for the "neutral" buttons within button bars.

int Theme_buttonBarPositiveButtonStyle

Style for the "positive" buttons within button bars.

int Theme_buttonBarStyle

Style for button bars.

int Theme_buttonCornerRadius

Corner radius of buttons.

int Theme_buttonStyle

Normal Button style.

int Theme_buttonStyleInset

Button style to inset into an EditText.

int Theme_buttonStyleSmall

Small Button style.

int Theme_buttonStyleToggle

ToggleButton style.

int Theme_calendarViewStyle

The CalendarView style.

int Theme_candidatesTextStyleSpans

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

int Theme_checkBoxPreferenceStyle

Default style for CheckBoxPreference.

int Theme_checkboxStyle

Default Checkbox style.

int Theme_checkedTextViewStyle

Default CheckedTextView style.

int Theme_colorAccent

Bright complement to the primary branding color.

int Theme_colorActivatedHighlight

Default highlight color for items that are activated.

int Theme_colorBackground

Default color of background imagery, ex.

int Theme_colorBackgroundCacheHint

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

int Theme_colorBackgroundFloating

Default color of background imagery for floating components, ex.

int Theme_colorButtonNormal

The color applied to framework buttons in their normal state.

int Theme_colorControlActivated

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

int Theme_colorControlHighlight

The color applied to framework control highlights (ex.

int Theme_colorControlNormal

The color applied to framework controls in their normal state.

int Theme_colorEdgeEffect

The color applied to the edge effect on scrolling containers.

int Theme_colorError

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

int Theme_colorFocusedHighlight

Default highlight color for items that are focused.

int Theme_colorForeground

Default color of foreground imagery.

int Theme_colorForegroundInverse

Default color of foreground imagery on an inverted background.

int Theme_colorLongPressedHighlight

Default highlight color for items that are long-pressed.

int Theme_colorMultiSelectHighlight

Default highlight color for items in multiple selection mode.

int Theme_colorPressedHighlight

Default highlight color for items that are pressed.

int Theme_colorPrimary

The primary branding color for the app.

int Theme_colorPrimaryDark

Dark variant of the primary branding color.

int Theme_colorSecondary

The secondary branding color for the app.

int Theme_contextPopupMenuStyle

Default context menu PopupMenu style.

int Theme_datePickerDialogTheme

The DatePicker dialog theme.

int Theme_datePickerStyle

The DatePicker style.

int Theme_detailsElementBackground

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

int Theme_dialogCornerRadius

Corner radius of dialogs.

int Theme_dialogPreferenceStyle

Default style for DialogPreference.

int Theme_dialogPreferredPadding

Preferred padding for dialog content.

int Theme_dialogTheme

Theme to use for dialogs spawned from this theme.

int Theme_disabledAlpha

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

int Theme_dividerHorizontal

Drawable to use for generic horizontal dividers.

int Theme_dividerVertical

Drawable to use for generic vertical dividers.

int Theme_dropDownHintAppearance

Default style for drop down hints.

int Theme_dropDownItemStyle

Default style for drop down items.

int Theme_dropDownListViewStyle

Default ListView style for drop downs.

int Theme_dropDownSpinnerStyle

Default dropdown Spinner style.

int Theme_editTextBackground

EditText background drawable.

int Theme_editTextColor

EditText text foreground color.

int Theme_editTextPreferenceStyle

Default style for EditTextPreference.

int Theme_editTextStyle

Default EditText style.

int Theme_effectColor

Color applied to effects.

int Theme_expandableListPreferredChildIndicatorLeft

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

int Theme_expandableListPreferredChildIndicatorRight

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

int Theme_expandableListPreferredChildPaddingLeft

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

int Theme_expandableListPreferredItemIndicatorLeft

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

int Theme_expandableListPreferredItemIndicatorRight

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

int Theme_expandableListPreferredItemPaddingLeft

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

int Theme_expandableListViewStyle

Default ExpandableListView style.

int Theme_expandableListViewWhiteStyle

ExpandableListView with white background.

int Theme_fastScrollOverlayPosition

Position of the fast scroll index overlay window.

int Theme_fastScrollPreviewBackgroundLeft

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

int Theme_fastScrollPreviewBackgroundRight

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

int Theme_fastScrollTextColor

Text color for the fast scroll index overlay.

int Theme_fastScrollThumbDrawable

Drawable to use as the fast scroll thumb.

int Theme_fastScrollTrackDrawable

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

int Theme_fingerprintAuthDrawable

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

int Theme_forceDarkAllowed

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

int Theme_galleryItemBackground

The preferred background for gallery items.

int Theme_galleryStyle

Default Gallery style.

int Theme_gridViewStyle

Default GridView style.

int Theme_homeAsUpIndicator

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

int Theme_horizontalScrollViewStyle

Default HorizontalScrollView style.

int Theme_imageButtonStyle

The style resource to use for an ImageButton.

int Theme_imageWellStyle

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

int Theme_isLightTheme

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

int Theme_listChoiceBackgroundIndicator

Drawable used as a background for selected list items.

int Theme_listChoiceIndicatorMultiple

Drawable to use for multiple choice indicators.

int Theme_listChoiceIndicatorSingle

Drawable to use for single choice indicators.

int Theme_listDivider

The drawable for the list divider.

int Theme_listDividerAlertDialog

The list divider used in alert dialogs.

int Theme_listMenuViewStyle

Default menu-style ListView style.

int Theme_listPopupWindowStyle

Default ListPopupWindow style.

int Theme_listPreferredItemHeight

The preferred list item height.

int Theme_listPreferredItemHeightLarge

A larger, more robust list item height.

int Theme_listPreferredItemHeightSmall

A smaller, sleeker list item height.

int Theme_listPreferredItemPaddingEnd

The preferred padding along the end edge of list items.

int Theme_listPreferredItemPaddingLeft

The preferred padding along the left edge of list items.

int Theme_listPreferredItemPaddingRight

The preferred padding along the right edge of list items.

int Theme_listPreferredItemPaddingStart

The preferred padding along the start edge of list items.

int Theme_listSeparatorTextViewStyle

TextView style for list separators.

int Theme_listViewStyle

Default ListView style.

int Theme_listViewWhiteStyle

ListView with white background.

int Theme_mapViewStyle

Default MapView style.

int Theme_mediaRouteButtonStyle

Default style for the MediaRouteButton widget.

int Theme_numberPickerStyle

NumberPicker style.

int Theme_panelBackground

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

int Theme_panelColorBackground

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

int Theme_panelColorForeground

Default color of foreground panel imagery.

int Theme_panelFullBackground

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

int Theme_panelTextAppearance

Default appearance of panel text.

int Theme_popupMenuStyle

Default PopupMenu style.

int Theme_popupWindowStyle

Default PopupWindow style.

int Theme_preferenceCategoryStyle

Default style for PreferenceCategory.

int Theme_preferenceFragmentStyle

Default style for Headers pane in PreferenceActivity.

int Theme_preferenceInformationStyle

Default style for informational Preference.

int Theme_preferenceLayoutChild

The preference layout that has the child/tabbed effect.

int Theme_preferenceScreenStyle

Default style for PreferenceScreen.

int Theme_preferenceStyle

Default style for Preference.

int Theme_presentationTheme

Theme to use for presentations spawned from this theme.

int Theme_primaryContentAlpha

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

int Theme_progressBarStyle

Default ProgressBar style.

int Theme_progressBarStyleHorizontal

Horizontal ProgressBar style.

int Theme_progressBarStyleInverse

Inverse ProgressBar style.

int Theme_progressBarStyleLarge

Large ProgressBar style.

int Theme_progressBarStyleLargeInverse

Large inverse ProgressBar style.

int Theme_progressBarStyleSmall

Small ProgressBar style.

int Theme_progressBarStyleSmallInverse

Small inverse ProgressBar style.

int Theme_progressBarStyleSmallTitle

Small ProgressBar in title style.

int Theme_quickContactBadgeStyleSmallWindowLarge

Default quickcontact badge style with large quickcontact window.

int Theme_quickContactBadgeStyleSmallWindowMedium

Default quickcontact badge style with medium quickcontact window.

int Theme_quickContactBadgeStyleSmallWindowSmall

Default quickcontact badge style with small quickcontact window.

int Theme_quickContactBadgeStyleWindowLarge

Default quickcontact badge style with large quickcontact window.

int Theme_quickContactBadgeStyleWindowMedium

Default quickcontact badge style with medium quickcontact window.

int Theme_quickContactBadgeStyleWindowSmall

Default quickcontact badge style with small quickcontact window.

int Theme_radioButtonStyle

Default RadioButton style.

int Theme_ratingBarStyle

Default RatingBar style.

int Theme_ratingBarStyleIndicator

Indicator RatingBar style.

int Theme_ratingBarStyleSmall

Small indicator RatingBar style.

int Theme_ringtonePreferenceStyle

Default style for RingtonePreference.

int Theme_scrollViewStyle

Default ScrollView style.

int Theme_searchViewStyle

Style for the search query widget.

int Theme_secondaryContentAlpha

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

int Theme_seekBarStyle

Default SeekBar style.

int Theme_segmentedButtonStyle

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

int Theme_selectableItemBackground

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

int Theme_selectableItemBackgroundBorderless

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

int Theme_spinnerDropDownItemStyle

Default style for spinner drop down items.

int Theme_spinnerItemStyle

Default spinner item style.

int Theme_spinnerStyle

Default Spinner style.

int Theme_spotShadowAlpha

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

int Theme_stackViewStyle

Default StackView style.

int Theme_starStyle

Default Star style.

int Theme_switchPreferenceStyle

Default style for switch preferences.

int Theme_switchStyle

Default style for the Switch widget.

int Theme_tabWidgetStyle

Default TabWidget style.

int Theme_textAppearance

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

int Theme_textAppearanceButton

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

int Theme_textAppearanceInverse

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

int Theme_textAppearanceLarge

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

int Theme_textAppearanceLargeInverse

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

int Theme_textAppearanceLargePopupMenu

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

int Theme_textAppearanceListItem

The preferred TextAppearance for the primary text of list items.

int Theme_textAppearanceListItemSecondary

The preferred TextAppearance for the secondary text of list items.

int Theme_textAppearanceListItemSmall

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

int Theme_textAppearanceMedium

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

int Theme_textAppearanceMediumInverse

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

int Theme_textAppearancePopupMenuHeader

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

int Theme_textAppearanceSearchResultSubtitle

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

int Theme_textAppearanceSearchResultTitle

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

int Theme_textAppearanceSmall

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

int Theme_textAppearanceSmallInverse

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

int Theme_textAppearanceSmallPopupMenu

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

int Theme_textCheckMark

Drawable to use for check marks.

int Theme_textCheckMarkInverse

This symbol is the offset where the R.attr.textCheckMarkInverse attribute's value can be found in the Theme array.

int Theme_textColorAlertDialogListItem

Color of list item text in alert dialogs.

int Theme_textColorHighlightInverse

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

int Theme_textColorHintInverse

Inverse hint text color.

int Theme_textColorLinkInverse

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

int Theme_textColorPrimary

The most prominent text color.

int Theme_textColorPrimaryDisableOnly

Bright text color.

int Theme_textColorPrimaryInverse

Primary inverse text color, useful for inverted backgrounds.

int Theme_textColorPrimaryInverseDisableOnly

Bright inverse text color.

int Theme_textColorPrimaryInverseNoDisable

Bright inverse text color.

int Theme_textColorPrimaryNoDisable

Bright text color.

int Theme_textColorSecondary

Secondary text color.

int Theme_textColorSecondaryInverse

Secondary inverse text color, useful for inverted backgrounds.

int Theme_textColorSecondaryInverseNoDisable

Dim inverse text color.

int Theme_textColorSecondaryNoDisable

Dim text color.

int Theme_textColorTertiary

Tertiary text color.

int Theme_textColorTertiaryInverse

Tertiary inverse text color, useful for inverted backgrounds.

int Theme_textEditNoPasteWindowLayout

Variation of textEditPasteWindowLayout displayed when the clipboard is empty.

int Theme_textEditPasteWindowLayout

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

int Theme_textEditSideNoPasteWindowLayout

Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty.

int Theme_textEditSidePasteWindowLayout

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

int Theme_textEditSuggestionItemLayout

Layout of the TextView item that will populate the suggestion popup window.

int Theme_textSelectHandle

Reference to a drawable that will be used to display a text selection anchor for positioning the cursor within text.

int Theme_textSelectHandleLeft

Reference to a drawable that will be used to display a text selection anchor on the left side of a selection region.

int Theme_textSelectHandleRight

Reference to a drawable that will be used to display a text selection anchor on the right side of a selection region.

int Theme_textSelectHandleWindowStyle

Reference to a style that will be used for the window containing a text selection anchor.

int Theme_textSuggestionsWindowStyle

Reference to a style that will be used for the window containing a list of possible text suggestions in an EditText.

int Theme_textViewStyle

Default TextView style.

int Theme_timePickerDialogTheme

The TimePicker dialog theme.

int Theme_timePickerStyle

The TimePicker style.

int Theme_toolbarStyle

Default Toolbar style.

int Theme_webTextViewStyle

Default WebTextView style.

int Theme_webViewStyle

Default WebView style.

int Theme_windowActionBar

Flag indicating whether this window should have an Action Bar in place of the usual title bar.

int Theme_windowActionBarOverlay

Flag indicating whether this window's Action Bar should overlay application content.

int Theme_windowActionModeOverlay

Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).

int Theme_windowActivityTransitions

Flag indicating whether this window allows Activity Transitions.

int Theme_windowAllowEnterTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity.

int Theme_windowAllowReturnTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes.

int Theme_windowAnimationStyle

Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.

int Theme_windowBackground

Drawable to use as the overall window background.

int Theme_windowBackgroundBlurRadius

Blur the screen behind the window with the bounds of the window.

int Theme_windowBackgroundFallback

Drawable to draw selectively within the inset areas when the windowBackground has been set to null.

int Theme_windowBlurBehindEnabled

If set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.

int Theme_windowBlurBehindRadius

When windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window.

int Theme_windowCloseOnTouchOutside

Control whether a container should automatically close itself if the user touches outside of it.

int Theme_windowContentOverlay

This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.

int Theme_windowContentTransitionManager

Reference to a TransitionManager XML resource defining the desired transitions between different window content.

int Theme_windowContentTransitions

Flag indicating whether this window requests that content changes be performed as scene changes with transitions.

int Theme_windowDisablePreview

Flag allowing you to disable the splash screen for a window.

int Theme_windowEnableSplitTouch

Flag indicating that this window should allow touches to be split across other windows that also support split touch.

int Theme_windowEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene.

int Theme_windowExitTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity.

int Theme_windowFrame

Drawable to use as a frame around the window.

int Theme_windowFullscreen

Flag indicating whether this window should fill the entire screen.

int Theme_windowIsFloating

Flag indicating whether this is a floating window.

int Theme_windowIsTranslucent

Flag indicating whether this is a translucent window.

int Theme_windowNoDisplay

Flag indicating that this window should not be displayed at all.

int Theme_windowNoTitle

Flag indicating whether there should be no title on this window.

int Theme_windowOverscan

This constant is deprecated. Overscan areas aren't set by any Android product anymore as of Android 11.

May be a boolean value, such as "true" or "false".

int Theme_windowReenterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity.

int Theme_windowReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close.

int Theme_windowSharedElementEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene.

int Theme_windowSharedElementExitTransition

Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity.

int Theme_windowSharedElementReenterTransition

Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity.

int Theme_windowSharedElementReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity.

int Theme_windowSharedElementsUseOverlay

Indicates whether or not shared elements should use an overlay during transitions.

int Theme_windowShowWallpaper

Flag indicating that this window's background should be the user's current wallpaper.

int Theme_windowSoftInputMode

Defines the default soft input state that this window would like when it is displayed.

int Theme_windowSwipeToDismiss

This constant is deprecated. Swipe-to-dismiss isn't functional anymore.

May be a boolean value, such as "true" or "false".

int Theme_windowTitleBackgroundStyle

The style resource to use for a window's title area.

int Theme_windowTitleSize

The style resource to use for a window's title bar height.

int Theme_windowTitleStyle

The style resource to use for a window's title text.

int Theme_windowTransitionBackgroundFadeDuration

The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition.

int Theme_windowTranslucentNavigation

Flag indicating whether this window requests a translucent navigation bar.

int Theme_windowTranslucentStatus

Flag indicating whether this window requests a translucent status bar.

int Theme_yesNoPreferenceStyle

Default style for YesNoPreference.

int TimePicker_amPmBackgroundColor

The background color state list for the AM/PM selectors.

int TimePicker_amPmTextColor

The color for the AM/PM selectors.

int TimePicker_headerAmPmTextAppearance

This constant is 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".

int TimePicker_headerBackground

The background for the header containing the currently selected time.

int TimePicker_headerTimeTextAppearance

This constant is 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".

int TimePicker_numbersBackgroundColor

The background color for the hours/minutes numbers.

int TimePicker_numbersInnerTextColor

The color for the inner hours numbers used in 24-hour mode.

int TimePicker_numbersSelectorColor

The color for the hours/minutes selector.

int TimePicker_numbersTextColor

The color for the hours/minutes numbers.

int TimePicker_timePickerMode

Defines the look of the widget.

int ToggleButton_disabledAlpha

The alpha to apply to the indicator when disabled.

int ToggleButton_textOff

The text for the button when it is not checked.

int ToggleButton_textOn

The text for the button when it is checked.

int Toolbar_LayoutParams_layout_gravity

Standard gravity constant that a child supplies to its parent.

int Toolbar_buttonGravity

This symbol is the offset where the R.attr.buttonGravity attribute's value can be found in the Toolbar array.

int Toolbar_collapseContentDescription

Text to set as the content description for the collapse button.

int Toolbar_collapseIcon

Icon drawable to use for the collapse button.

int Toolbar_contentInsetEnd

Minimum inset for content views within a bar.

int Toolbar_contentInsetEndWithActions

Minimum inset for content views within a bar when actions from a menu are present.

int Toolbar_contentInsetLeft

Minimum inset for content views within a bar.

int Toolbar_contentInsetRight

Minimum inset for content views within a bar.

int Toolbar_contentInsetStart

Minimum inset for content views within a bar.

int Toolbar_contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button.

int Toolbar_gravity

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

int Toolbar_logo

Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button.

int Toolbar_logoDescription

A content description string to describe the appearance of the associated logo image.

int Toolbar_maxButtonHeight

This symbol is the offset where the R.attr.maxButtonHeight attribute's value can be found in the Toolbar array.

int Toolbar_navigationContentDescription

Text to set as the content description for the navigation button located at the start of the toolbar.

int Toolbar_navigationIcon

Icon drawable to use for the navigation button located at the start of the toolbar.

int Toolbar_popupTheme

Reference to a theme that should be used to inflate popups shown by widgets in the toolbar.

int Toolbar_subtitle

Specifies subtitle text used for navigationMode="normal".

int Toolbar_subtitleTextAppearance

This symbol is the offset where the R.attr.subtitleTextAppearance attribute's value can be found in the Toolbar array.

int Toolbar_subtitleTextColor

A color to apply to the subtitle string.

int Toolbar_title

The title associated with the item.

int Toolbar_titleMargin

Specifies extra space on the left, start, right and end sides of the toolbar's title.

int Toolbar_titleMarginBottom

Specifies extra space on the bottom side of the toolbar's title.

int Toolbar_titleMarginEnd

Specifies extra space on the end side of the toolbar's title.

int Toolbar_titleMarginStart

Specifies extra space on the start side of the toolbar's title.

int Toolbar_titleMarginTop

Specifies extra space on the top side of the toolbar's title.

int Toolbar_titleTextAppearance

This symbol is the offset where the R.attr.titleTextAppearance attribute's value can be found in the Toolbar array.

int Toolbar_titleTextColor

A color to apply to the title string.

int TransitionManager_fromScene

The originating scene in this scene change.

int TransitionManager_toScene

The destination scene in this scene change.

int TransitionManager_transition

The id of a transition to be used in a particular scene change.

int TransitionSet_transitionOrdering

This symbol is the offset where the R.attr.transitionOrdering attribute's value can be found in the TransitionSet array.

int TransitionTarget_excludeClass

The fully-qualified name of the Class to exclude from this transition.

int TransitionTarget_excludeId

The id of a target to exclude from this transition.

int TransitionTarget_excludeName

The transitionName of the target to exclude from this transition.

int TransitionTarget_targetClass

The fully-qualified name of the Class to include in this transition.

int TransitionTarget_targetId

The id of a target on which this transition will animate changes.

int TransitionTarget_targetName

The transitionName of the target on which this transition will animation changes.

int Transition_duration

Amount of time (in milliseconds) that the transition should run.

int Transition_interpolator

Interpolator to be used in the animations spawned by this transition.

int Transition_matchOrder

The match order to use for the transition.

int Transition_startDelay

Delay in milliseconds before the transition starts.

int TranslateAnimation_fromXDelta

This symbol is the offset where the R.attr.fromXDelta attribute's value can be found in the TranslateAnimation array.

int TranslateAnimation_fromYDelta

This symbol is the offset where the R.attr.fromYDelta attribute's value can be found in the TranslateAnimation array.

int TranslateAnimation_toXDelta

This symbol is the offset where the R.attr.toXDelta attribute's value can be found in the TranslateAnimation array.

int TranslateAnimation_toYDelta

This symbol is the offset where the R.attr.toYDelta attribute's value can be found in the TranslateAnimation array.

int TranslationService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

int TvAdService_adServiceTypes

The advertisement types that the TV ad service supports.

int TvInputService_canPauseRecording

Attribute whether the TV input service can pause recording programs.

int TvInputService_canRecord

Attribute whether the TV input service can record programs.

int TvInputService_settingsActivity

Component name of an activity that allows the user to modify the settings for this service.

int TvInputService_setupActivity

Component name of an activity that allows the user to set up this service.

int TvInputService_tunerCount

The number of tuners that the TV input service is associated with.

int TvInteractiveAppService_supportedTypes

The interactive app types that the TV interactive app service supports.

int TwoLineListItem_mode

This symbol is the offset where the R.attr.mode attribute's value can be found in the TwoLineListItem array.

int VectorDrawableClipPath_name

The Name of this path.

int VectorDrawableClipPath_pathData

The specification of the operations that define the path.

int VectorDrawableGroup_name

The name of this group.

int VectorDrawableGroup_pivotX

The X coordinate of the center of rotation of a group.

int VectorDrawableGroup_pivotY

The Y coordinate of the center of rotation of a group.

int VectorDrawableGroup_rotation

The amount to rotate the group.

int VectorDrawableGroup_scaleX

The amount to scale the group on X coordinate.

int VectorDrawableGroup_scaleY

The amount to scale the group on X coordinate.

int VectorDrawableGroup_translateX

The amount to translate the group on X coordinate.

int VectorDrawableGroup_translateY

The amount to translate the group on Y coordinate.

int VectorDrawablePath_fillAlpha

The alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque).

int VectorDrawablePath_fillColor

The color to fill the path if not defined implies no fill.

int VectorDrawablePath_fillType

sets the fillType for a path.

int VectorDrawablePath_name

The name of this path.

int VectorDrawablePath_pathData

The specification of the operations that define the path.

int VectorDrawablePath_strokeAlpha

The opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque).

int VectorDrawablePath_strokeColor

The color to stroke the path if not defined implies no stroke.

int VectorDrawablePath_strokeLineCap

sets the linecap for a stroked path.

int VectorDrawablePath_strokeLineJoin

sets the lineJoin for a stroked path.

int VectorDrawablePath_strokeMiterLimit

sets the Miter limit for a stroked path.

int VectorDrawablePath_strokeWidth

The width a path stroke.

int VectorDrawablePath_trimPathEnd

The fraction of the path to trim from the end from 0 to 1 .

int VectorDrawablePath_trimPathOffset

Shift trim region (allows visible region to include the start and end) from 0 to 1.

int VectorDrawablePath_trimPathStart

The fraction of the path to trim from the start from 0 to 1.

int VectorDrawable_alpha

The opacity of the whole vector drawable, as a value between 0 (completely transparent) and 1 (completely opaque).

int VectorDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

int VectorDrawable_height

The intrinsic height of the Vector Drawable.

int VectorDrawable_name

The name of this vector drawable.

int VectorDrawable_opticalInsetBottom

Bottom optical inset.

int VectorDrawable_opticalInsetLeft

Left optical inset.

int VectorDrawable_opticalInsetRight

Right optical inset.

int VectorDrawable_opticalInsetTop

Top optical inset.

int VectorDrawable_tint

If set, specifies the color to apply to the drawable as a tint.

int VectorDrawable_tintMode

When a tint color is set, specifies its Porter-Duff blending mode.

int VectorDrawable_viewportHeight

The height of the canvas the drawing is on.

int VectorDrawable_viewportWidth

The width of the canvas the drawing is on.

int VectorDrawable_width

The intrinsic width of the Vector Drawable.

int VerticalSlider_Layout_layout_scale

This symbol is the offset where the R.attr.layout_scale attribute's value can be found in the VerticalSlider_Layout array.

int ViewAnimator_animateFirstView

Defines whether to animate the current View when the ViewAnimation is first displayed.

int ViewAnimator_inAnimation

Identifier for the animation to use when a view is shown.

int ViewAnimator_outAnimation

Identifier for the animation to use when a view is hidden.

int ViewDrawableStates_state_accelerated

State value for StateListDrawable, indicating that the Drawable is in a view that is hardware accelerated.

int ViewDrawableStates_state_activated

State value for StateListDrawable, set when a view or its parent has been "activated" meaning the user has currently marked it as being of interest.

int ViewDrawableStates_state_drag_can_accept

State for StateListDrawable indicating that the Drawable is in a view that is capable of accepting a drop of the content currently being manipulated in a drag-and-drop operation.

int ViewDrawableStates_state_drag_hovered

State for StateListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipient) is currently positioned over the Drawable.

int ViewDrawableStates_state_enabled

State value for StateListDrawable, set when a view is enabled.

int ViewDrawableStates_state_focused

State value for StateListDrawable, set when a view has input focus.

int ViewDrawableStates_state_hovered

State value for StateListDrawable, set when a pointer is hovering over the view.

int ViewDrawableStates_state_pressed

State value for StateListDrawable, set when the user is pressing down in a view.

int ViewDrawableStates_state_selected

State value for StateListDrawable, set when a view (or one of its parents) is currently selected.

int ViewDrawableStates_state_window_focused

State value for StateListDrawable, set when a view's window has input focus.

int ViewFlipper_autoStart

When true, automatically start animating.

int ViewFlipper_flipInterval

This symbol is the offset where the R.attr.flipInterval attribute's value can be found in the ViewFlipper array.

int ViewGroup_Layout_layout_height

Specifies the basic height of the view.

int ViewGroup_Layout_layout_width

Specifies the basic width of the view.

int ViewGroup_MarginLayout_layout_height

Specifies the basic height of the view.

int ViewGroup_MarginLayout_layout_margin

Specifies extra space on the left, top, right and bottom sides of this view.

int ViewGroup_MarginLayout_layout_marginBottom

Specifies extra space on the bottom side of this view.

int ViewGroup_MarginLayout_layout_marginEnd

Specifies extra space on the end side of this view.

int ViewGroup_MarginLayout_layout_marginHorizontal

Specifies extra space on the left and right sides of this view.

int ViewGroup_MarginLayout_layout_marginLeft

Specifies extra space on the left side of this view.

int ViewGroup_MarginLayout_layout_marginRight

Specifies extra space on the right side of this view.

int ViewGroup_MarginLayout_layout_marginStart

Specifies extra space on the start side of this view.

int ViewGroup_MarginLayout_layout_marginTop

Specifies extra space on the top side of this view.

int ViewGroup_MarginLayout_layout_marginVertical

Specifies extra space on the top and bottom sides of this view.

int ViewGroup_MarginLayout_layout_width

Specifies the basic width of the view.

int ViewGroup_addStatesFromChildren

Sets whether this ViewGroup's drawable states also include its children's drawable states.

int ViewGroup_alwaysDrawnWithCache

Defines whether the ViewGroup should always draw its children using their drawing cache or not.

int ViewGroup_animateLayoutChanges

Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run.

int ViewGroup_animationCache

Defines whether layout animations should create a drawing cache for their children.

int ViewGroup_clipChildren

Defines whether a child is limited to draw inside of its bounds or not.

int ViewGroup_clipToPadding

Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero.

int ViewGroup_descendantFocusability

Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.

int ViewGroup_layoutAnimation

Defines the layout animation to use the first time the ViewGroup is laid out.

int ViewGroup_layoutMode

Defines the layout mode of this ViewGroup.

int ViewGroup_persistentDrawingCache

Defines the persistence of the drawing cache.

int ViewGroup_splitMotionEvents

Sets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch.

int ViewGroup_touchscreenBlocksFocus

Set to true if this ViewGroup blocks focus in the presence of a touchscreen.

int ViewGroup_transitionGroup

Sets whether or not this ViewGroup should be treated as a single entity when doing an Activity transition.

int ViewStub_id

Supply an identifier name for this view.

int ViewStub_inflatedId

Overrides the id of the inflated View with this value.

int ViewStub_layout

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.

int ViewTag_id

Specifies the key identifying a tag.

int ViewTag_value

Specifies the value with which to tag the view.

int View_accessibilityDataSensitive

Describes whether this view should allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.

int View_accessibilityHeading

Whether or not this view is a heading for accessibility purposes.

int View_accessibilityLiveRegion

Indicates to accessibility services whether the user should be notified when this view changes.

int View_accessibilityPaneTitle

The title this view should present to accessibility as a pane title.

int View_accessibilityTraversalAfter

Sets the id of a view that screen readers are requested to visit before this view.

int View_accessibilityTraversalBefore

Sets the id of a view that screen readers are requested to visit after this view.

int View_allowClickWhenDisabled

Whether or not allow clicks on disabled view.

int View_alpha

alpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).

int View_autoHandwritingEnabled

Whether or not the auto handwriting initiation is enabled in this View.

int View_autofillHints

Describes the content of a view so that a autofill service can fill in the appropriate data.

int View_background

A drawable to use as the background.

int View_backgroundTint

Tint to apply to the background.

int View_backgroundTintMode

Blending mode used to apply the background tint.

int View_clickable

Defines whether this view reacts to click events.

int View_clipToOutline

Whether the View's Outline should be used to clip the contents of the View.

int View_contentDescription

Defines text that briefly describes content of the view.

int View_contentSensitivity

Must be one of the following constant values.

int View_contextClickable

Defines whether this view reacts to context click events.

int View_defaultFocusHighlightEnabled

Whether this View should use a default focus highlight when it gets focused but doesn't have R.attr.state_focused defined in its background.

int View_drawingCacheQuality

Defines the quality of translucent drawing caches.

int View_duplicateParentState

When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.

int View_elevation

base z depth of the view.

int View_fadeScrollbars

Defines whether to fade out scrollbars when they are not in use.

int View_fadingEdge

This attribute is ignored in API level 14 (Build.VERSION_CODES.ICE_CREAM_SANDWICH) and higher.

int View_fadingEdgeLength

Defines the length of the fading edges.

int View_filterTouchesWhenObscured

Specifies whether to filter touches when the view's window is obscured by another visible window.

int View_fitsSystemWindows

Boolean internal attribute to adjust view layout based on system windows such as the status bar.

int View_focusable

Controls whether a view can take focus.

int View_focusableInTouchMode

Boolean that controls whether a view can take focus while in touch mode.

int View_focusedByDefault

Whether this view is a default-focus view.

int View_forceDarkAllowed

Whether or not the force dark feature is allowed to be applied to this View.

int View_forceHasOverlappingRendering

Whether this view has elements that may overlap when drawn.

int View_foreground

Defines the drawable to draw over the content.

int View_foregroundGravity

Defines the gravity to apply to the foreground drawable.

int View_foregroundTint

Tint to apply to the foreground.

int View_foregroundTintMode

Blending mode used to apply the foreground tint.

int View_handwritingBoundsOffsetBottom

The amount of offset that is applied to the bottom edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

int View_handwritingBoundsOffsetLeft

The amount of offset that is applied to the left edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

int View_handwritingBoundsOffsetRight

The amount of offset that is applied to the right edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

int View_handwritingBoundsOffsetTop

The amount of offset that is applied to the top edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

int View_hapticFeedbackEnabled

Boolean that controls whether a view should have haptic feedback enabled for events such as long presses.

int View_id

Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().

int View_importantForAccessibility

Describes whether or not this view is important for accessibility.

int View_importantForAutofill

Hints the Android System whether the view node associated with this View should be included in a view structure used for autofill purposes.

int View_importantForContentCapture

Hints the Android System whether the view node associated with this View should be use for content capture purposes.

int View_isCredential

Boolean that hints the Android System that the view is credential and associated with CredentialManager

May be a boolean value, such as "true" or "false".

int View_isScrollContainer

Set this if the view will serve as a scrolling container, meaning that it can be resized to shrink its overall window so that there will be space for an input method.

int View_keepScreenOn

Controls whether the view's window should keep the screen on while visible.

int View_keyboardNavigationCluster

Whether this view is a root of a keyboard navigation cluster.

int View_labelFor

Specifies the id of a view for which this view serves as a label for accessibility purposes.

int View_layerType

Specifies the type of layer backing this view.

int View_layoutDirection

Defines the direction of layout drawing.

int View_longClickable

Defines whether this view reacts to long click events.

int View_minHeight

Defines the minimum height of the view.

int View_minWidth

Defines the minimum width of the view.

int View_nestedScrollingEnabled

Specifies that this view should permit nested scrolling within a compatible ancestor view.

int View_nextClusterForward

Defines the next keyboard navigation cluster.

int View_nextFocusDown

Defines the next view to give focus to when the next focus is View.FOCUS_DOWN If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int View_nextFocusForward

Defines the next view to give focus to when the next focus is View.FOCUS_FORWARD If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int View_nextFocusLeft

Defines the next view to give focus to when the next focus is View.FOCUS_LEFT.

int View_nextFocusRight

Defines the next view to give focus to when the next focus is View.FOCUS_RIGHT If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int View_nextFocusUp

Defines the next view to give focus to when the next focus is View.FOCUS_UP If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

int View_onClick

Name of the method in this View's context to invoke when the view is clicked.

int View_outlineAmbientShadowColor

Sets the color of the ambient shadow that is drawn when the view has a positive Z or elevation value.

int View_outlineProvider

ViewOutlineProvider used to determine the View's Outline.

int View_outlineSpotShadowColor

Sets the color of the spot shadow that is drawn when the view has a positive Z or elevation value.

int View_overScrollMode

Defines over-scrolling behavior.

int View_padding

Sets the padding, in pixels, of all four edges.

int View_paddingBottom

Sets the padding, in pixels, of the bottom edge; see R.attr.padding.

int View_paddingEnd

Sets the padding, in pixels, of the end edge; see R.attr.padding.

int View_paddingHorizontal

Sets the padding, in pixels, of the left and right edges; see R.attr.padding.

int View_paddingLeft

Sets the padding, in pixels, of the left edge; see R.attr.padding.

int View_paddingRight

Sets the padding, in pixels, of the right edge; see R.attr.padding.

int View_paddingStart

Sets the padding, in pixels, of the start edge; see R.attr.padding.

int View_paddingTop

Sets the padding, in pixels, of the top edge; see R.attr.padding.

int View_paddingVertical

Sets the padding, in pixels, of the top and bottom edges; see R.attr.padding.

int View_pointerIcon

This symbol is the offset where the R.attr.pointerIcon attribute's value can be found in the View array.

int View_preferKeepClear

Sets a preference to keep the bounds of this view clear from floating windows above this view's window.

int View_requiresFadingEdge

Defines which edges should be faded on scrolling.

int View_rotation

rotation of the view, in degrees.

int View_rotationX

rotation of the view around the x axis, in degrees.

int View_rotationY

rotation of the view around the y axis, in degrees.

int View_saveEnabled

If false, no state will be saved for this view when it is being frozen.

int View_scaleX

scale of the view in the x direction.

int View_scaleY

scale of the view in the y direction.

int View_screenReaderFocusable

Whether this view should be treated as a focusable unit by screen reader accessibility tools.

int View_scrollIndicators

Defines which scroll indicators should be displayed when the view can be scrolled.

int View_scrollX

The initial horizontal scroll offset, in pixels.

int View_scrollY

The initial vertical scroll offset, in pixels.

int View_scrollbarAlwaysDrawHorizontalTrack

Defines whether the horizontal scrollbar track should always be drawn.

int View_scrollbarAlwaysDrawVerticalTrack

Defines whether the vertical scrollbar track should always be drawn.

int View_scrollbarDefaultDelayBeforeFade

Defines the delay in milliseconds that a scrollbar waits before fade out.

int View_scrollbarFadeDuration

Defines the delay in milliseconds that a scrollbar takes to fade out.

int View_scrollbarSize

Sets the width of vertical scrollbars and height of horizontal scrollbars.

int View_scrollbarStyle

Controls the scrollbar style and position.

int View_scrollbarThumbHorizontal

Defines the horizontal scrollbar thumb drawable.

int View_scrollbarThumbVertical

Defines the vertical scrollbar thumb drawable.

int View_scrollbarTrackHorizontal

Defines the horizontal scrollbar track drawable.

int View_scrollbarTrackVertical

Defines the vertical scrollbar track drawable.

int View_scrollbars

Defines which scrollbars should be displayed on scrolling or not.

int View_soundEffectsEnabled

Boolean that controls whether a view should have sound effects enabled for events such as clicking and touching.

int View_stateListAnimator

Sets the state-based animator for the View.

int View_tag

Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().

int View_textAlignment

Defines the alignment of the text.

int View_textDirection

Defines the direction of the text.

int View_theme

Specifies a theme override for a view.

int View_tooltipText

Defines text displayed in a small popup window on hover or long press.

int View_transformPivotX

x location of the pivot point around which the view will rotate and scale.

int View_transformPivotY

y location of the pivot point around which the view will rotate and scale.

int View_transitionName

Names a View such that it can be identified for Transitions.

int View_translationX

translation in x of the view.

int View_translationY

translation in y of the view.

int View_translationZ

translation in z of the view.

int View_verticalScrollbarPosition

Determines which side the vertical scroll bar should be placed on.

int View_visibility

Controls the initial visibility of the view.

int VisibilityTransition_transitionVisibilityMode

Changes whether the transition supports appearing and/or disappearing Views.

int VoiceInteractionService_recognitionService

The service that provides voice recognition.

int VoiceInteractionService_sessionService

The service that hosts active voice interaction sessions.

int VoiceInteractionService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

int VoiceInteractionService_supportsAssist

Flag indicating whether this voice interaction service is capable of handling the assist action.

int VoiceInteractionService_supportsLaunchVoiceAssistFromKeyguard

Flag indicating whether this voice interaction service is capable of being launched from the keyguard.

int VoiceInteractionService_supportsLocalInteraction

Flag indicating whether this voice interaction service can handle local voice interaction requests from an Activity.

int VolumePreference_streamType

Different audio stream types.

int WallpaperPreviewInfo_staticWallpaperPreview

A resource id of a static drawable.

int Wallpaper_author

Name of the author and/or source/collection of this component, for example, Art Collection, Picasso.

int Wallpaper_contextDescription

Title of the uri that specifies a link for further context of this wallpaper, for example, Explore collection.

int Wallpaper_contextUri

Uri that specifies a link for further context of this wallpaper, for example, http://www.picasso.org.

int Wallpaper_description

Short description of the component's purpose or behavior.

int Wallpaper_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

int Wallpaper_settingsSliceUri

Uri that specifies a settings Slice for this wallpaper.

int Wallpaper_shouldUseDefaultUnfoldTransition

Indicates that this wallpaper service should receive zoom transition updates when changing the structural state of the device (e.g.

int Wallpaper_showMetadataInPreview

Whether to show any metadata when previewing the wallpaper.

int Wallpaper_supportsMultipleDisplays

Indicates that this wallpaper service can support multiple engines to render on each surface independently.

int Wallpaper_thumbnail

Reference to the wallpaper's thumbnail bitmap.

int WindowAnimation_activityCloseEnterAnimation

When closing the current activity, this is the animation that is run on the next activity (which is entering the screen).

int WindowAnimation_activityCloseExitAnimation

When closing the current activity, this is the animation that is run on the current activity (which is exiting the screen).

int WindowAnimation_activityOpenEnterAnimation

When opening a new activity, this is the animation that is run on the next activity (which is entering the screen).

int WindowAnimation_activityOpenExitAnimation

When opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen).

int WindowAnimation_launchTaskBehindSourceAnimation

When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the old task (which is already on the screen and then stays on).

int WindowAnimation_launchTaskBehindTargetAnimation

When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the new task (which is entering the screen and then leaving).

int WindowAnimation_taskCloseEnterAnimation

When closing the last activity of a task, this is the animation that is run on the activity of the next task (which is entering the screen).

int WindowAnimation_taskCloseExitAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).

int WindowAnimation_taskOpenEnterAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the new task (which is entering the screen).

int WindowAnimation_taskOpenExitAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).

int WindowAnimation_taskToBackEnterAnimation

When sending the current task to the background, this is the animation that is run on the top activity of the task behind it (which is entering the screen).

int WindowAnimation_taskToBackExitAnimation

When sending the current task to the background, this is the animation that is run on the top activity of the current task (which is exiting the screen).

int WindowAnimation_taskToFrontEnterAnimation

When bringing an existing task to the foreground, this is the animation that is run on the top activity of the task being brought to the foreground (which is entering the screen).

int WindowAnimation_taskToFrontExitAnimation

When bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen).

int WindowAnimation_wallpaperCloseEnterAnimation

When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the new activity (which is entering the screen).

int WindowAnimation_wallpaperCloseExitAnimation

When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the old wallpaper activity (which is exiting the screen).

int WindowAnimation_wallpaperIntraCloseEnterAnimation

When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the previous activity (which is entering the screen).

int WindowAnimation_wallpaperIntraCloseExitAnimation

When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).

int WindowAnimation_wallpaperIntraOpenEnterAnimation

When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the new activity (which is entering the screen).

int WindowAnimation_wallpaperIntraOpenExitAnimation

When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).

int WindowAnimation_wallpaperOpenEnterAnimation

When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the new wallpaper activity (which is entering the screen).

int WindowAnimation_wallpaperOpenExitAnimation

When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).

int WindowAnimation_windowEnterAnimation

The animation used when a window is being added.

int WindowAnimation_windowExitAnimation

The animation used when a window is being removed.

int WindowAnimation_windowHideAnimation

The animation used when a window is going from VISIBLE to INVISIBLE.

int WindowAnimation_windowShowAnimation

The animation used when a window is going from INVISIBLE to VISIBLE.

int Window_backgroundDimAmount

Default background dim amount when a menu, dialog, or something similar pops up.

int Window_backgroundDimEnabled

Control whether dimming behind the window is enabled.

int Window_enforceNavigationBarContrast

Sets whether the system should ensure that the navigation bar has enough contrast when a fully transparent background is requested.

int Window_enforceStatusBarContrast

This constant is deprecated. Draw proper background behind WindowInsets.Type.statusBars()} instead.

May be a boolean value, such as "true" or "false".

int Window_navigationBarColor

This constant is deprecated. Draw proper background behind WindowInsets.Type.navigationBars() or WindowInsets.Type.tappableElement() instead.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

int Window_navigationBarDividerColor

This constant is deprecated. Draw proper background behind WindowInsets.Type.navigationBars() or WindowInsets.Type.tappableElement() instead.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

int Window_statusBarColor

This constant is deprecated. Draw proper background behind WindowInsets.Type.statusBars()} instead.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

int Window_textColor

Color of text (usually same as colorForeground).

int Window_windowActionBar

Flag indicating whether this window should have an Action Bar in place of the usual title bar.

int Window_windowActionBarOverlay

Flag indicating whether this window's Action Bar should overlay application content.

int Window_windowActionModeOverlay

Flag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).

int Window_windowActivityTransitions

Flag indicating whether this window allows Activity Transitions.

int Window_windowAllowEnterTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity.

int Window_windowAllowReturnTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes.

int Window_windowAnimationStyle

Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.

int Window_windowBackground

Drawable to use as the overall window background.

int Window_windowBackgroundBlurRadius

Blur the screen behind the window with the bounds of the window.

int Window_windowBackgroundFallback

Drawable to draw selectively within the inset areas when the windowBackground has been set to null.

int Window_windowBlurBehindEnabled

If set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.

int Window_windowBlurBehindRadius

When windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window.

int Window_windowClipToOutline

Whether to clip window content to the outline of the window background.

int Window_windowCloseOnTouchOutside

Control whether a container should automatically close itself if the user touches outside of it.

int Window_windowContentOverlay

This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.

int Window_windowContentTransitionManager

Reference to a TransitionManager XML resource defining the desired transitions between different window content.

int Window_windowContentTransitions

Flag indicating whether this window requests that content changes be performed as scene changes with transitions.

int Window_windowDisablePreview

Flag allowing you to disable the splash screen for a window.

int Window_windowDrawsSystemBarBackgrounds

Flag indicating whether this Window is responsible for drawing the background for the system bars.

int Window_windowElevation

Elevation to use for the window.

int Window_windowEnableSplitTouch

Flag indicating that this window should allow touches to be split across other windows that also support split touch.

int Window_windowEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene.

int Window_windowExitTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity.

int Window_windowFrame

Drawable to use as a frame around the window.

int Window_windowFullscreen

Flag indicating whether this window should fill the entire screen.

int Window_windowIsFloating

Flag indicating whether this is a floating window.

int Window_windowIsFrameRatePowerSavingsBalanced

Offer Window the ability to opt out the UI Toolkit discrete variable refresh rate.

int Window_windowIsTranslucent

Flag indicating whether this is a translucent window.

int Window_windowLayoutInDisplayCutoutMode

Controls how the window is laid out if there is a DisplayCutout.

int Window_windowLightNavigationBar

If set, the navigation bar will be drawn such that it is compatible with a light navigation bar background.

int Window_windowLightStatusBar

If set, the status bar will be drawn such that it is compatible with a light status bar background.

int Window_windowMinWidthMajor

The minimum width the window is allowed to be, along the major axis of the screen.

int Window_windowMinWidthMinor

The minimum width the window is allowed to be, along the minor axis of the screen.

int Window_windowNoDisplay

Flag indicating that this window should not be displayed at all.

int Window_windowNoMoveAnimation

Flag indicating whether this window should skip movement animations.

int Window_windowNoTitle

Flag indicating whether there should be no title on this window.

int Window_windowOptOutEdgeToEdgeEnforcement

Flag indicating whether this window would opt-out the edge-to-edge enforcement.

int Window_windowOverscan

This constant is deprecated. Overscan areas aren't set by any Android product anymore as of Android 11.

May be a boolean value, such as "true" or "false".

int Window_windowReenterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity.

int Window_windowReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close.

int Window_windowSharedElementEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene.

int Window_windowSharedElementExitTransition

Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity.

int Window_windowSharedElementReenterTransition

Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity.

int Window_windowSharedElementReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity.

int Window_windowSharedElementsUseOverlay

Indicates whether or not shared elements should use an overlay during transitions.

int Window_windowShowWallpaper

Flag indicating that this window's background should be the user's current wallpaper.

int Window_windowSoftInputMode

Defines the default soft input state that this window would like when it is displayed.

int Window_windowSplashScreenAnimatedIcon

Replace an icon in the center of the starting window, if the object is animated and drawable(e.g.

int Window_windowSplashScreenAnimationDuration

This constant is deprecated. Not used by framework starting from API level 33. The system estimates the duration of the vector animation automatically.

May be an integer value, such as "100".

int Window_windowSplashScreenBackground

The background color for the splash screen, if not specify then system will calculate from windowBackground.

int Window_windowSplashScreenBehavior

Specify whether this application always wants the icon to be displayed on the splash screen.

int Window_windowSplashScreenBrandingImage

Place a drawable image in the bottom of the starting window.

int Window_windowSplashScreenIconBackgroundColor

Set a background behind the splash screen icon.

int Window_windowSplashscreenContent

Reference to a drawable to be used as the splash screen content of the window.

int Window_windowTransitionBackgroundFadeDuration

The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition.

int Window_windowTranslucentNavigation

Flag indicating whether this window requests a translucent navigation bar.

int Window_windowTranslucentStatus

Flag indicating whether this window requests a translucent status bar.

Fields

public static final int[] AbsListView

Attributes that can be used with a AbsListView.

public static final int[] AbsSpinner

Attributes that can be used with a AbsSpinner.

public static final int[] AbsoluteLayout_Layout

Attributes that can be used with a AbsoluteLayout_Layout.

public static final int[] AccelerateInterpolator

Attributes that can be used with a AccelerateInterpolator.

public static final int[] AccessibilityService

Use accessibility-service as the root tag of the XML resource that describes an AccessibilityService service, which is referenced from its AccessibilityService.SERVICE_META_DATA meta-data entry.

public static final int[] AccessibilityShortcutTarget

Use accessibility-shortcut-target as the root tag of the XML resource that describes an activity, which is referenced from the android.accessibilityshortcut.target meta-data entry.

public static final int[] AccountAuthenticator

Use account-authenticator as the root tag of the XML resource that describes an account authenticator.

public static final int[] ActionBar

Attributes used to style the Action Bar.

public static final int[] ActionBar_LayoutParams

Attributes that can be used with a ActionBar_LayoutParams.

public static final int[] ActionMenuItemView

Attributes that can be used with a ActionMenuItemView.

public static final int[] ActionMode

Attributes that can be used with a ActionMode.

public static final int[] ActivityChooserView

Attrbitutes for a ActvityChooserView.

public static final int[] AdapterViewAnimator

Attributes that can be used with a AdapterViewAnimator.

public static final int[] AdapterViewFlipper

Attributes that can be used with a AdapterViewFlipper.

public static final int[] AdaptiveIconDrawableLayer

Drawable used to draw adaptive icons with foreground and background layers.

public static final int[] AidFilter

Specify one or more aid-filter elements inside a aid-group element to specify an ISO7816 Application ID (AID) your service can handle.

public static final int[] AidGroup

Specify one or more aid-group elements inside a host-apdu-service or offhost-apdu-service element to define a group of ISO7816 Application ID (AIDs) that your service can handle.

public static final int[] AidPrefixFilter

Specify one or more aid-prefix-filter elements inside a aid-group element to specify an ISO7816 Application ID (AID) prefix your service can handle.

public static final int[] AlertDialog

The set of attributes that describe a AlertDialog's theme.

public static final int[] AlphaAnimation

Attributes that can be used with a AlphaAnimation.

public static final int[] AnalogClock

Attributes that can be used with a AnalogClock.

public static final int[] AndroidManifest

The manifest tag is the root of an AndroidManifest.xml file, describing the contents of an Android package (.apk) file.

public static final int[] AndroidManifestAction

Attributes that can be supplied in an AndroidManifest.xml action tag, a child of the intent-filter tag.

public static final int[] AndroidManifestActivity

The activity tag declares an Activity class that is available as part of the package's application components, implementing a part of the application's user interface.

public static final int[] AndroidManifestActivityAlias

The activity-alias tag declares a new name for an existing activity tag.

public static final int[] AndroidManifestAdditionalCertificate

The additional-certificate specifies the SHA-256 digest of a static shared library's additional signing certificate.

public static final int[] AndroidManifestAllowPermission

The allow-permission tag specifies that a permission is to be allowed for a particular process, when it was previously denied for all processes through deny-permission

This appears as a child tag of the processes and process tags.

public static final int[] AndroidManifestApplication

The application tag describes application-level components contained in the package, as well as general application attributes.

public static final int[] AndroidManifestAttribution

An attribution is a logical part of an app and is identified by a tag.

public static final int[] AndroidManifestAttributionInheritFrom

Declares previously declared attributions this attribution inherits from.

public static final int[] AndroidManifestCategory

Attributes that can be supplied in an AndroidManifest.xml category tag, a child of the intent-filter tag.

public static final int[] AndroidManifestCompatibleScreensScreen

Attributes that can be supplied in an AndroidManifest.xml screen tag, a child of compatible-screens, which is itself a child of the root manifest tag.

public static final int[] AndroidManifestData

Attributes that can be supplied in an AndroidManifest.xml data tag, a child of the intent-filter tag, describing the types of data that match.

public static final int[] AndroidManifestDenyPermission

The deny-permission tag specifies that a permission is to be denied for a particular process (if specified under the process tag) or by default for all processes {if specified under theR.styleable

public static final int[] AndroidManifestExtensionSdk

The extension-sdk tag is a child of the tag, and specifies required extension sdk features.

public static final int[] AndroidManifestFeatureGroup

The feature-group tag specifies a set of one or more uses-feature elements that the application can utilize.

public static final int[] AndroidManifestGrantUriPermission

Attributes that can be supplied in an AndroidManifest.xml grant-uri-permission tag, a child of the provider tag, describing a specific URI path that can be granted as a permission.

public static final int[] AndroidManifestInstallConstraints

public static final int[] AndroidManifestInstrumentation

Attributes that can be supplied in an AndroidManifest.xml instrumentation tag, a child of the root manifest tag.

public static final int[] AndroidManifestIntentFilter

The intent-filter tag is used to construct an IntentFilter object that will be used to determine which component can handle a particular Intent that has been given to the system.

public static final int[] AndroidManifestKeySet

Attributes that can be used with a AndroidManifestKeySet.

public static final int[] AndroidManifestLayout

layout tag allows configuring the layout for the activity within multi-window environment.

public static final int[] AndroidManifestLibrary

The library tag declares that this apk is providing itself as a shared library for other applications to use.

public static final int[] AndroidManifestMetaData

The meta-data tag is used to attach additional arbitrary data to an application component.

public static final int[] AndroidManifestOriginalPackage

Private tag to declare the original package name that this package is based on.

public static final int[] AndroidManifestPackageVerifier

Attributes relating to a package verifier.

public static final int[] AndroidManifestPathPermission

Attributes that can be supplied in an AndroidManifest.xml path-permission tag, a child of the provider tag, describing a permission that allows access to a specific path in the provider.

public static final int[] AndroidManifestPermission

The permission tag declares a security permission that can be used to control access from other packages to specific components or features in your package (or other packages).

public static final int[] AndroidManifestPermissionGroup

The permission-group tag declares a logical grouping of related permissions.

public static final int[] AndroidManifestPermissionTree

The permission-tree tag declares the base of a tree of permission values: it declares that this package has ownership of the given permission name, as well as all names underneath it (separated by '.').

public static final int[] AndroidManifestProcess

The process tag enumerates one of the available processes under its containing processes tag.

public static final int[] AndroidManifestProcesses

public static final int[] AndroidManifestProfileable

Attributes that can be used with a AndroidManifestProfileable.

public static final int[] AndroidManifestProperty

The property tag is used to attach additional data that can be supplied to the parent component.

public static final int[] AndroidManifestProtectedBroadcast

Private tag to declare system protected broadcast actions.

public static final int[] AndroidManifestProvider

The provider tag declares a ContentProvider class that is available as part of the package's application components, supplying structured access to data managed by the application.

public static final int[] AndroidManifestPublicKey

Attributes that can be used with a AndroidManifestPublicKey.

public static final int[] AndroidManifestQueries

public static final int[] AndroidManifestQueriesIntent

public static final int[] AndroidManifestQueriesPackage

Attributes that can be used with a AndroidManifestQueriesPackage.

public static final int[] AndroidManifestQueriesProvider

Attributes that can be used with a AndroidManifestQueriesProvider.

public static final int[] AndroidManifestReceiver

The receiver tag declares an BroadcastReceiver class that is available as part of the package's application components, allowing the application to receive actions or data broadcast by other applications even if it is not currently running.

public static final int[] AndroidManifestRequiredFeature

required-feature and required-not-feature elements inside uses-permission can be used to request the permission based on the fact whether the system supports or does not support certain features.

public static final int[] AndroidManifestRequiredNotFeature

Attributes that can be used with a AndroidManifestRequiredNotFeature.

public static final int[] AndroidManifestResourceOverlay

Attributes relating to resource overlay packages.

public static final int[] AndroidManifestSdkLibrary

The sdk-library tag declares that this apk is providing itself as an SDK library for other applications to use.

public static final int[] AndroidManifestService

The service tag declares a Service class that is available as part of the package's application components, implementing long-running background operations or a rich communication API that can be called by other packages.

public static final int[] AndroidManifestStaticLibrary

The static-library tag declares that this apk is providing itself as a static shared library for other applications to use.

public static final int[] AndroidManifestSupportsInputInputType

The input-type tag is a child of the supports-input tag, which is itself a child of the root manifest tag.

public static final int[] AndroidManifestSupportsScreens

The supports-screens specifies the screen dimensions an application supports.

public static final int[] AndroidManifestUpgradeKeySet

Associate declared KeySets with upgrading capability.

public static final int[] AndroidManifestUriRelativeFilterGroup

Attributes that can be supplied in an AndroidManifest.xml data tag, a child of the intent-filter tag, describing a group matching rule consisting of one or more data tags that must all match.

public static final int[] AndroidManifestUsesConfiguration

This field is deprecated. Use feature-group instead.

Includes the following attributes:

AttributeDescription
android:reqTouchScreenThe touch screen type used by an application.
android:reqKeyboardTypeThe input method preferred by an application.
android:reqHardKeyboardApplication's requirement for a hard keyboard
android:reqNavigationThe navigation device preferred by an application.
android:reqFiveWayNavApplication's requirement for five way navigation

public static final int[] AndroidManifestUsesFeature

The uses-feature tag specifies a specific device hardware or software feature used by the application.

public static final int[] AndroidManifestUsesLibrary

The uses-libraries specifies a shared library that this package requires to be linked against.

public static final int[] AndroidManifestUsesNativeLibrary

The uses-native-library specifies a native shared library that this package requires to be linked against.

public static final int[] AndroidManifestUsesPackage

The uses-package specifies some kind of dependency on another package.

public static final int[] AndroidManifestUsesPermission

The uses-permission tag requests a <permission> that the containing package must be granted in order for it to operate correctly.

public static final int[] AndroidManifestUsesSdk

The uses-sdk tag describes the SDK features that the containing package must be running on to operate correctly.

public static final int[] AndroidManifestUsesSdkLibrary

The uses-sdk-library specifies a shared SDK library that this package requires to be present on the device.

public static final int[] AndroidManifestUsesSplit

Attributes that can be used with a AndroidManifestUsesSplit.

public static final int[] AndroidManifestUsesStaticLibrary

The uses-static-library specifies a shared static library that this package requires to be statically linked against.

public static final int[] AnimatedImageDrawable

Drawable used to draw animated images (gif).

public static final int[] AnimatedRotateDrawable

Attributes that can be used with a AnimatedRotateDrawable.

public static final int[] AnimatedStateListDrawable

Drawable used to render several states with animated transitions.

public static final int[] AnimatedStateListDrawableItem

Transition used to animate between states with keyframe IDs.

public static final int[] AnimatedStateListDrawableTransition

Transition used to animate between states with keyframe IDs.

public static final int[] AnimatedVectorDrawable

Define the AnimatedVectorDrawable.

public static final int[] AnimatedVectorDrawableTarget

Defines the target used in the AnimatedVectorDrawable.

public static final int[] Animation

Attributes that can be used with a Animation.

public static final int[] AnimationDrawable

Drawable used to render several animated frames.

public static final int[] AnimationDrawableItem

Represents a single frame inside an AnimationDrawable.

public static final int[] AnimationScaleListDrawable

public static final int[] AnimationSet

Attributes that can be used with a AnimationSet.

public static final int[] Animator

Attributes that can be used with a Animator.

public static final int[] AnimatorSet

Attributes that can be used with a AnimatorSet.

public static final int[] AnticipateInterpolator

Attributes that can be used with a AnticipateInterpolator.

public static final int[] AnticipateOvershootInterpolator

Attributes that can be used with a AnticipateOvershootInterpolator.

public static final int[] AppWidgetProviderInfo

Use appwidget-provider as the root tag of the XML resource that describes an AppWidget provider.

public static final int[] ArcMotion

Use arcMotion as the root tag of the XML resource that describes a ArcMotion.

public static final int[] AutoCompleteTextView

Attributes that can be used with a AutoCompleteTextView.

public static final int[] AutofillService

Use autofill-service as the root tag of the XML resource that describes a AutofillService, which is referenced from its AutofillService.SERVICE_META_DATA meta-data entry.

public static final int[] AutofillService_CompatibilityPackage

Use compatibility-package as a child tag of autofill-service in the XML resource that describes an AutofillService to specify a package and an optional max version code for which to request compatibility mode.

public static final int[] BitmapDrawable

Drawable used to draw bitmaps.

public static final int[] Button

public static final int[] CalendarView

Attributes that can be used with a CalendarView.

public static final int[] ChangeBounds

Use changeBoundsas the root tag of the XML resource that describes a ChangeBounds transition.

public static final int[] ChangeTransform

Use changeTransform as the root tag of the XML resource that describes a ChangeTransform transition.

public static final int[] CheckBoxPreference

Base attributes available to CheckBoxPreference.

public static final int[] CheckedTextView

Attributes that can be used with a CheckedTextView.

public static final int[] Chronometer

Attributes that can be used with a Chronometer.

public static final int[] ClipDrawable

Attributes that can be used with a ClipDrawable.

public static final int[] ClipRectAnimation

Attributes that can be used with a ClipRectAnimation.

public static final int[] ColorDrawable

Drawable used to draw a single color.

public static final int[] ColorStateListItem

Attributes that can be assigned to a ColorStateList item.

public static final int[] CompoundButton

Attributes that can be used with a CompoundButton.

public static final int[] ContactsDataKind

Maps a specific contact data MIME-type to styling information.

public static final int[] CredentialProvider

Contains Credential Provider related metadata.

public static final int[] CredentialProvider_Capabilities

A list of capabilities that indicates to the OS what kinds of credentials this provider supports.

public static final int[] CycleInterpolator

Attributes that can be used with a CycleInterpolator.

public static final int[] DatePicker

Attributes that can be used with a DatePicker.

public static final int[] DateTimeView

Attributes that can be used with a DateTimeView.

public static final int[] DecelerateInterpolator

Attributes that can be used with a DecelerateInterpolator.

public static final int[] DeviceAdmin

Use device-admin as the root tag of the XML resource that describes a DeviceAdminReceiver, which is referenced from its DeviceAdminReceiver.DEVICE_ADMIN_META_DATA meta-data entry.

public static final int[] DialogPreference

Base attributes available to DialogPreference.

public static final int[] Drawable

Base attributes that are available to all Drawable objects.

public static final int[] DrawableCorners

Describes the corners for the rectangle shape of a GradientDrawable.

public static final int[] DrawableStates

Set of framework-provided states that may be specified on a Drawable.

public static final int[] DrawableWrapper

Drawable class used to wrap other drawables.

public static final int[] Dream

Use dream as the root tag of the XML resource that describes an DreamService, which is referenced from its DreamService.DREAM_META_DATA meta-data entry.

public static final int[] EdgeEffect

Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits.

public static final int[] EditText

Attributes that can be used with a EditText.

public static final int[] ExpandableListChildIndicatorState

State array representing an expandable list child's indicator.

public static final int[] ExpandableListGroupIndicatorState

State array representing an expandable list group's indicator.

public static final int[] ExpandableListView

Attributes that can be used with a ExpandableListView.

public static final int[] ExtendAnimation

Defines the ExtendAnimation used to extend windows during animations

Includes the following attributes:

AttributeDescription
android:fromExtendLeftDefines the amount a window should be extended outward from the left at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

public static final int[] Extra

An extra data value to place into a an extra/name value pair held in a Bundle, as per Bundle.

public static final int[] Fade

Use fadeas the root tag of the XML resource that describes a Fade transition.

public static final int[] FastScroll

Attributes that can be used with a FastScroll.

public static final int[] FontFamily

This field is deprecated. Use Jetpack Core library instead.

public static final int[] FontFamilyFont

Attributes that are read when parsing a <font> tag, which is a child of <font-family>.

public static final int[] Fragment

Attributes that can be used with <fragment> tags inside of the layout of an Activity.

public static final int[] FragmentAnimation

Fragment animation class attributes.

public static final int[] FragmentBreadCrumbs

Attributes that can be used with <FragmentBreadCrumbs> tags.

public static final int[] FrameLayout

Attributes that can be used with a FrameLayout.

public static final int[] FrameLayout_Layout

Attributes that can be used with a FrameLayout_Layout.

public static final int[] Gallery

Attributes that can be used with a Gallery.

public static final int[] GameModeConfig

Use game-mode-config as the root tag of the XML resource that describes a GameModeConfig.

public static final int[] GameService

Use game-service as the root tag of the XML resource that describes a GameService.

public static final int[] GestureOverlayView

GestureOverlayView specific attributes.

public static final int[] GlowPadView

Attributes that can be used with a GlowPadView.

public static final int[] GradientColor

Used to describe the gradient for fill or stroke in a path of VectorDrawable.

public static final int[] GradientColorItem

Describes an item of a GradientColor.

public static final int[] GradientDrawable

Drawable used to render a geometric shape, with a gradient or a solid color.

public static final int[] GradientDrawableGradient

Used to describe the gradient used to fill the shape of a GradientDrawable.

public static final int[] GradientDrawablePadding

Used to specify the optional padding of a GradientDrawable.

public static final int[] GradientDrawableSize

Used to specify the size of the shape for GradientDrawable.

public static final int[] GradientDrawableSolid

Used to fill the shape of GradientDrawable with a solid color.

public static final int[] GradientDrawableStroke

Used to describe the optional stroke of a GradientDrawable.

public static final int[] GridLayout

Attributes that can be used with a GridLayout.

public static final int[] GridLayoutAnimation

Attributes that can be used with a GridLayoutAnimation.

public static final int[] GridLayout_Layout

Attributes that can be used with a GridLayout_Layout.

public static final int[] GridView

Attributes that can be used with a GridView.

public static final int[] HorizontalScrollView

Attributes that can be used with a HorizontalScrollView.

public static final int[] HostApduService

Use host-apdu-service as the root tag of the XML resource that describes an HostApduService service, which is referenced from its HostApduService.SERVICE_META_DATA entry.

public static final int[] HostNfcFService

Use host-nfcf-service as the root tag of the XML resource that describes an HostNfcFService service, which is referenced from its HostNfcFService.SERVICE_META_DATA entry.

public static final int[] Icon

Attributes that can be used with a Icon.

public static final int[] IconDefault

Attributes that can be used with a IconDefault.

public static final int[] IconMenuView

Attributes that can be used with a IconMenuView.

public static final int[] ImageSwitcher

public static final int[] ImageView

Attributes that can be used with a ImageView.

public static final int[] InputExtras

public static final int[] InputMethodService

Attributes that can be used with a InputMethodService.

public static final int[] InputMethod_Subtype

This is the subtype of InputMethod.

public static final int[] InsetDrawable

Drawable used to wrap and inset another drawable.

public static final int[] Intent

Declaration of an Intent object in XML.

public static final int[] IntentCategory

A category to add to an Intent, as per Intent.addCategory().

public static final int[] Keyboard

This field is deprecated. Copy this definition into your own application project.

public static final int[] KeyboardLayout

Use keyboard-layouts as the root tag of the XML resource that describes a collection of keyboard layouts provided by an application.

public static final int[] KeyboardView

This field is deprecated. Copy this definition into your own application project.

public static final int[] KeyboardViewPreviewState

This field is deprecated. Copy this definition into your own application project.

public static final int[] Keyboard_Key

This field is deprecated. Copy this definition into your own application project.

public static final int[] Keyboard_Row

This field is deprecated. Copy this definition into your own application project.

public static final int[] Keyframe

Attributes that can be used with a Keyframe.

public static final int[] KeyguardGlowStripView

Attributes that can be used with a KeyguardGlowStripView.

public static final int[] LayerDrawable

Drawable used to render several drawables stacked on top of each other.

public static final int[] LayerDrawableItem

Describes an item (or child) of a LayerDrawable.

public static final int[] LayoutAnimation

Attributes that can be used with a LayoutAnimation.

public static final int[] LevelListDrawableItem

Attributes that can be used with a LevelListDrawableItem.

public static final int[] LinearLayout

Attributes that can be used with a LinearLayout.

public static final int[] LinearLayout_Layout

Attributes that can be used with a LinearLayout_Layout.

public static final int[] ListPopupWindow

Attributes that can be used with a ListPopupWindow.

public static final int[] ListPreference

Base attributes available to ListPreference.

public static final int[] ListView

Attributes that can be used with a ListView.

public static final int[] LocaleConfig

Includes the following attributes:

AttributeDescription
android:defaultLocaleThe IETF BCP47 language tag the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in.

public static final int[] LocaleConfig_Locale

The attributes of the <locale> tag within <locale-config>.

public static final int[] LockPatternView

Attributes that can be used with a LockPatternView.

public static final int[] Magnifier

Attributes that can be used with a Magnifier.

public static final int[] MapView

The set of attributes for a MapView.

public static final int[] MaterialProgressDrawable

Drawable used to render the Material progress indicator.

public static final int[] MediaRouteButton

Attributes that can be used with a MediaRouteButton.

public static final int[] Menu

public static final int[] MenuGroup

Base attributes that are available to all groups.

public static final int[] MenuItem

Base attributes that are available to all Item objects.

public static final int[] MenuItemCheckedFocusedState

State array representing a menu item that is currently focused and checked.

public static final int[] MenuItemCheckedState

State array representing a menu item that is currently checked.

public static final int[] MenuItemUncheckedFocusedState

State array representing a menu item that is focused and checkable but is not currently checked.

public static final int[] MenuItemUncheckedState

State array representing a menu item that is checkable but is not currently checked.

public static final int[] MenuView

Attributes that can be used with a MenuView.

public static final int[] MessagingLinearLayout

Attributes that can be used with a MessagingLinearLayout.

public static final int[] MultiSelectListPreference

Attributes that can be used with a MultiSelectListPreference.

public static final int[] Nfcid2Filter

Specify one or more nfcid2-filter elements inside a host-nfcf-service element to specify a NFCID2 your service can handle.

public static final int[] NinePatchDrawable

Drawable used to draw 9-patches.

public static final int[] NumberPicker

Attributes that can be used with a NumberPicker.

public static final int[] OffHostApduService

Use offhost-apdu-service as the root tag of the XML resource that describes an OffHostApduService service, which is referenced from its OffHostApduService.SERVICE_META_DATA entry.

public static final int[] OvershootInterpolator

Attributes that can be used with a OvershootInterpolator.

public static final int[] PagedView

PagedView specific attributes.

public static final int[] PathInterpolator

Attributes that can be used with a PathInterpolator.

public static final int[] PatternPathMotion

Use patternPathMotion as the root tag of the XML resource that describes a PatternPathMotion.

public static final int[] Pointer

Attributes that can be used with a Pointer.

public static final int[] PointerIcon

Attributes that can be used with a PointerIcon.

public static final int[] PollingLoopFilter

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

public static final int[] PollingLoopPatternFilter

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

public static final int[] PopupWindow

Attributes that can be used with a PopupWindow.

public static final int[] PopupWindowBackgroundState

Attributes that can be used with a PopupWindowBackgroundState.

public static final int[] Preference

Base attributes available to Preference.

public static final int[] PreferenceActivity

Base attributes available to PreferenceActivity.

public static final int[] PreferenceFragment

Base attributes available to PreferenceFragment.

public static final int[] PreferenceFrameLayout

Attributes that can be used with a PreferenceFrameLayout.

public static final int[] PreferenceFrameLayout_Layout

Attributes that can be used with a PreferenceFrameLayout_Layout.

public static final int[] PreferenceGroup

Base attributes available to PreferenceGroup.

public static final int[] PreferenceHeader

Attribute for a header describing the item shown in the top-level list from which the selects the set of preference to dig in to.

public static final int[] PreferenceScreen

Base attributes available to PreferenceScreen.

public static final int[] PrintService

Use print-service as the root tag of the XML resource that describes an PrintService service, which is referenced from its PrintService.SERVICE_META_DATA meta-data entry.

public static final int[] ProgressBar

Attributes that can be used with a ProgressBar.

public static final int[] PropertyAnimator

Attributes that can be used with a PropertyAnimator.

public static final int[] PropertyValuesHolder

Attributes that can be used with a PropertyValuesHolder.

public static final int[] QuickAccessWalletService

Use quickaccesswallet-service as the root tag of the XML resource that describes a QuickAccessWalletService, which is referenced from its QuickAccessWalletService.SERVICE_META_DATA meta-data entry.

public static final int[] QuickContactBadge

Attributes that can be used with a QuickContactBadge.

public static final int[] RadioGroup

Attributes that can be used with a RadioGroup.

public static final int[] RatingBar

Attributes that can be used with a RatingBar.

public static final int[] RatingDefinition

Attributes that can be used with rating-definition tags inside of the XML resource that describes TV content rating of a TvInputService, which is referenced from its TvInputManager.META_DATA_CONTENT_RATING_SYSTEMS.

public static final int[] RatingSystemDefinition

Attributes that can be used with rating-system-definition tags inside of the XML resource that describes TV content rating of a TvInputService, which is referenced from its TvInputManager.META_DATA_CONTENT_RATING_SYSTEMS.

public static final int[] RecognitionService

Use recognition-service as the root tag of the XML resource that describes a RecognitionService, which is referenced from its RecognitionService.SERVICE_META_DATA meta-data entry.

public static final int[] RelativeLayout

Attributes that can be used with a RelativeLayout.

public static final int[] RelativeLayout_Layout

Attributes that can be used with a RelativeLayout_Layout.

public static final int[] ResolverDrawerLayout

Attributes that can be used with a ResolverDrawerLayout.

public static final int[] ResolverDrawerLayout_LayoutParams

Attributes that can be used with a ResolverDrawerLayout_LayoutParams.

public static final int[] RestrictionEntry

Attributes that can be used with a RestrictionEntry.

public static final int[] RingtonePreference

Base attributes available to RingtonePreference.

public static final int[] RippleDrawable

Drawable used to show animated touch feedback.

public static final int[] RotateAnimation

Attributes that can be used with a RotateAnimation.

public static final int[] RotateDrawable

Drawable used to rotate another drawable.

public static final int[] ScaleAnimation

Attributes that can be used with a ScaleAnimation.

public static final int[] ScaleDrawable

Attributes that can be used with a ScaleDrawable.

public static final int[] ScrollView

Attributes that can be used with a ScrollView.

public static final int[] SearchView

Attributes that can be used with a SearchView.

public static final int[] Searchable

Searchable activities and applications must provide search configuration information in an XML file, typically called searchable.xml.

public static final int[] SearchableActionKey

In order to process special action keys during search, you must define them using one or more "ActionKey" elements in your Searchable metadata.

public static final int[] SeekBar

Attributes that can be used with a SeekBar.

public static final int[] SeekBarPreference

Attributes that can be used with a SeekBarPreference.

public static final int[] SelectionModeDrawables

Attributes that can be used with a SelectionModeDrawables.

public static final int[] SettingInjectorService

Use injected-location-setting as the root tag of the XML resource that describes an injected "Location services" setting.

public static final int[] ShapeDrawable

Drawable used to draw shapes.

public static final int[] ShapeDrawablePadding

Defines the padding of a ShapeDrawable.

public static final int[] Shortcut

Attributes that can be used with a Shortcut.

public static final int[] ShortcutCategories

Attributes that can be used with a ShortcutCategories.

public static final int[] Slide

Use slideas the root tag of the XML resource that describes a Slide transition.

public static final int[] SlidingDrawer

SlidingDrawer specific attributes.

public static final int[] SlidingTab

Attributes that can be used with a SlidingTab.

public static final int[] SpellChecker

Use spell-checker as the root tag of the XML resource that describes an SpellCheckerService service, which is referenced from its SpellCheckerSession.SERVICE_META_DATA meta-data entry.

public static final int[] SpellChecker_Subtype

This is the subtype of the spell checker.

public static final int[] Spinner

Attributes that can be used with a Spinner.

public static final int[] StackView

Attributes that can be used with a StackView.

public static final int[] StateListAnimatorItem

Attributes that can be assigned to a StateListAnimator item.

public static final int[] StateListDrawable

Drawable used to render several states.

public static final int[] StateListDrawableItem

Represents a single state inside a StateListDrawable.

public static final int[] Storage

Attributes that can be used with a Storage.

public static final int[] SuggestionSpan

Attributes that can be used with a SuggestionSpan.

public static final int[] Switch

Attributes that can be used with a Switch.

public static final int[] SwitchPreference

Attributes that can be used with a SwitchPreference.

public static final int[] SyncAdapter

Use account-authenticator as the root tag of the XML resource that describes an account authenticator.

public static final int[] SystemCodeFilter

Specify one or more system-code-filter elements inside a host-nfcf-service element to specify a System Code your service can handle.

public static final int[] T3tPmmFilter

Specify one or more t3tPmm-filter elements inside a host-nfcf-service element to specify a LF_T3T_PMM.

public static final int[] TabWidget

Attributes that can be used with a TabWidget.

public static final int[] TableLayout

Attributes that can be used with a TableLayout.

public static final int[] TableRow

public static final int[] TableRow_Cell

Attributes that can be used with a TableRow_Cell.

public static final int[] TextAppearance

Attributes that can be used with a TextAppearance.

public static final int[] TextClock

Attributes that can be used with a TextClock.

public static final int[] TextSwitcher

public static final int[] TextToSpeechEngine

Use tts-engine as the root tag of the XML resource that describes a text to speech engine implemented as a subclass of TextToSpeechService.

public static final int[] TextView

Attributes that can be used with a TextView.

public static final int[] TextViewAppearance

Attributes that can be used with a TextViewAppearance.

public static final int[] TextViewMultiLineBackgroundState

Attributes that can be used with a TextViewMultiLineBackgroundState.

public static final int[] Theme

These are the standard attributes that make up a complete theme.

public static final int[] TimePicker

Attributes that can be used with a TimePicker.

public static final int[] ToggleButton

Attributes that can be used with a ToggleButton.

public static final int[] Toolbar

Attributes that can be used with a Toolbar.

public static final int[] Toolbar_LayoutParams

Attributes that can be used with a Toolbar_LayoutParams.

public static final int[] Transition

Use specific transition subclass names as the root tag of the XML resource that describes a Transition, such as changeBounds, fade, and transitionSet.

public static final int[] TransitionManager

Use transitionManager as the root tag of the XML resource that describes a TransitionManager.

public static final int[] TransitionSet

Use set as the root tag of the XML resource that describes a TransitionSet transition.

public static final int[] TransitionTarget

Use target as the root tag of the XML resource that describes a targetId of a transition.

public static final int[] TranslateAnimation

Attributes that can be used with a TranslateAnimation.

public static final int[] TvAdService

Use tv-ad-service as the root tag of the XML resource that describes a android.media.tv.ad.TvAdService, which is referenced from its android.media.tv.ad.TvAdService#SERVICE_META_DATA meta-data entry.

public static final int[] TvInputService

Use tv-input as the root tag of the XML resource that describes a TvInputService, which is referenced from its TvInputService.SERVICE_META_DATA meta-data entry.

public static final int[] TvInteractiveAppService

Use tv-interactive-app as the root tag of the XML resource that describes a TvInteractiveAppService, which is referenced from its TvInteractiveAppService.SERVICE_META_DATA meta-data entry.

public static final int[] TwoLineListItem

Attributes that can be used with a TwoLineListItem.

public static final int[] VectorDrawable

Drawable used to draw vector paths.

public static final int[] VectorDrawableClipPath

Defines the clip path used in VectorDrawables.

public static final int[] VectorDrawableGroup

Defines the group used in VectorDrawables.

public static final int[] VectorDrawablePath

Defines the path used in VectorDrawables.

public static final int[] VerticalSlider_Layout

Attributes that can be used with a VerticalSlider_Layout.

public static final int[] VideoView2

Attributes that are read when parsing a tag.

public static final int[] View

Attributes that can be used with View or any of its subclasses.

public static final int[] ViewAnimator

Attributes that can be used with a ViewAnimator.

public static final int[] ViewDrawableStates

Attributes that can be used with a ViewDrawableStates.

public static final int[] ViewFlipper

Attributes that can be used with a ViewFlipper.

public static final int[] ViewGroup

Attributes that can be used with a ViewGroup or any of its subclasses.

public static final int[] ViewGroup_Layout

This is the basic set of layout attributes that are common to all layout managers.

public static final int[] ViewGroup_MarginLayout

This is the basic set of layout attributes for layout managers that wish to place margins around their child views.

public static final int[] ViewStub

A ViewStub lets you lazily include other XML layouts inside your application at runtime.

public static final int[] ViewSwitcher

public static final int[] ViewTag

Attributes that can be assigned to a tag for a particular View.

public static final int[] VisibilityTransition

Use with Visibility transitions, such as slide, explode, and fade to mark which views are supported.

public static final int[] VoiceInteractionService

Use voice-interaction-service as the root tag of the XML resource that describes a VoiceInteractionService, which is referenced from its VoiceInteractionService.SERVICE_META_DATA meta-data entry.

public static final int[] VoiceInteractionSession

public static final int[] VolumePreference

Base attributes available to VolumePreference.

public static final int[] Wallpaper

Use wallpaper as the root tag of the XML resource that describes an WallpaperService, which is referenced from its WallpaperService.SERVICE_META_DATA meta-data entry.

public static final int[] WallpaperPreviewInfo

Use wallpaper-preview as the root tag of the XML resource that describes a wallpaper preview.

public static final int[] Window

The set of attributes that describe a Windows's theme.

public static final int[] WindowAnimation

Window animation class attributes.

Public constructors

styleable()

Inherited methods

Constants

AbsListView_cacheColorHint

public static final int AbsListView_cacheColorHint

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".

Constant Value: 6 (0x00000006)

AbsListView_choiceMode

public static final int AbsListView_choiceMode

Defines the choice behavior for the view. By default, lists do not have any choice behavior. By setting the choiceMode to singleChoice, the list allows up to one item to be in a chosen state. By setting the choiceMode to multipleChoice, the list allows any number of items to be chosen. Finally, by setting the choiceMode to multipleChoiceModal the list allows any number of items to be chosen in a special selection mode. The application will supply a AbsListView.MultiChoiceModeListener using AbsListView.setMultiChoiceModeListener(MultiChoiceModeListener) to control the selection mode. This uses the 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.

Constant Value: 7 (0x00000007)

AbsListView_drawSelectorOnTop

public static final int AbsListView_drawSelectorOnTop

When set to true, the selector will be drawn over the selected item. Otherwise the selector is drawn behind the selected item. The default value is false.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

AbsListView_fastScrollAlwaysVisible

public static final int AbsListView_fastScrollAlwaysVisible

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".

Constant Value: 10 (0x0000000a)

AbsListView_fastScrollEnabled

public static final int AbsListView_fastScrollEnabled

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".

Constant Value: 8 (0x00000008)

AbsListView_fastScrollStyle

public static final int AbsListView_fastScrollStyle

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".

Constant Value: 11 (0x0000000b)

AbsListView_listSelector

public static final int AbsListView_listSelector

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".

Constant Value: 0 (0x00000000)

AbsListView_scrollingCache

public static final int AbsListView_scrollingCache

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".

Constant Value: 3 (0x00000003)

AbsListView_smoothScrollbar

public static final int AbsListView_smoothScrollbar

When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen. 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".

Constant Value: 9 (0x00000009)

AbsListView_stackFromBottom

public static final int AbsListView_stackFromBottom

Used by ListView and GridView to stack their content from the bottom.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

AbsListView_textFilterEnabled

public static final int AbsListView_textFilterEnabled

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".

Constant Value: 4 (0x00000004)

AbsListView_transcriptMode

public static final int AbsListView_transcriptMode

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.

Constant Value: 5 (0x00000005)

AbsSpinner_entries

public static final int AbsSpinner_entries

Reference to an array resource that will populate the Spinner. For static content, this is simpler than populating the Spinner programmatically.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AbsoluteLayout_Layout_layout_x

public static final int AbsoluteLayout_Layout_layout_x

This symbol is the offset where the R.attr.layout_x attribute's value can be found in the AbsoluteLayout_Layout array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 0 (0x00000000)

AbsoluteLayout_Layout_layout_y

public static final int AbsoluteLayout_Layout_layout_y

This symbol is the offset where the R.attr.layout_y attribute's value can be found in the AbsoluteLayout_Layout array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

AccelerateInterpolator_factor

public static final int AccelerateInterpolator_factor

This is the amount of deceleration to add when easing in.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

AccessibilityService_accessibilityEventTypes

public static final int AccessibilityService_accessibilityEventTypes

The event types this service would like to receive as specified in AccessibilityEvent. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
typeAllMaskffffffffReceives AccessibilityEvent.TYPES_ALL_MASK i.e. all events.
typeAnnouncement4000Receives AccessibilityEvent.TYPE_ANNOUNCEMENT events.
typeAssistReadingContext1000000Receives AccessibilityEvent.TYPE_ASSIST_READING_CONTEXT events.
typeContextClicked800000Receives AccessibilityEvent.TYPE_VIEW_CONTEXT_CLICKED events.
typeGestureDetectionEnd80000Receives AccessibilityEvent.TYPE_GESTURE_DETECTION_END events.
typeGestureDetectionStart40000Receives AccessibilityEvent.TYPE_GESTURE_DETECTION_START events.
typeNotificationStateChanged40Receives AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED events.
typeTouchExplorationGestureEnd400Receives AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_END events.
typeTouchExplorationGestureStart200Receives AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_START events.
typeTouchInteractionEnd200000Receives AccessibilityEvent.TYPE_TOUCH_INTERACTION_END events.
typeTouchInteractionStart100000Receives AccessibilityEvent.TYPE_TOUCH_INTERACTION_START events.
typeViewAccessibilityFocusCleared10000Receives AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED events.
typeViewAccessibilityFocused8000Receives AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED events.
typeViewClicked1Receives AccessibilityEvent.TYPE_VIEW_CLICKED events.
typeViewFocused8Receives AccessibilityEvent.TYPE_VIEW_FOCUSED events.
typeViewHoverEnter80Receives AccessibilityEvent.TYPE_VIEW_HOVER_ENTER events.
typeViewHoverExit100Receives AccessibilityEvent.TYPE_VIEW_HOVER_EXIT events.
typeViewLongClicked2Receives AccessibilityEvent.TYPE_VIEW_LONG_CLICKED events.
typeViewScrolled1000Receives AccessibilityEvent.TYPE_VIEW_SCROLLED events.
typeViewSelected4Receives AccessibilityEvent.TYPE_VIEW_SELECTED events.
typeViewTextChanged10Receives AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED events.
typeViewTextSelectionChanged2000Receives AccessibilityEvent.TYPE_VIEW_TEXT_SELECTION_CHANGED events.
typeViewTextTraversedAtMovementGranularity20000Receives AccessibilityEvent.TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY events.
typeWindowContentChanged800Receives AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED events.
typeWindowStateChanged20Receives AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED events.
typeWindowsChanged400000Receives AccessibilityEvent.TYPE_WINDOWS_CHANGED events.

Constant Value: 3 (0x00000003)

AccessibilityService_accessibilityFeedbackType

public static final int AccessibilityService_accessibilityFeedbackType

The feedback types this service provides as specified in AccessibilityServiceInfo. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
feedbackAllMaskffffffffProvides AccessibilityServiceInfo.FEEDBACK_ALL_MASK feedback.
feedbackAudible4Provides AccessibilityServiceInfo.FEEDBACK_AUDIBLE feedback.
feedbackGeneric10Provides AccessibilityServiceInfo.FEEDBACK_GENERIC feedback.
feedbackHaptic2Provides AccessibilityServiceInfo.FEEDBACK_HAPTIC feedback.
feedbackSpoken1Provides AccessibilityServiceInfo.FEEDBACK_SPOKEN feedback.
feedbackVisual8Provides AccessibilityServiceInfo.FEEDBACK_VISUAL feedback.

Constant Value: 5 (0x00000005)

AccessibilityService_accessibilityFlags

public static final int AccessibilityService_accessibilityFlags

Additional flags as specified in AccessibilityServiceInfo. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
flagDefault1Has flag AccessibilityServiceInfo.DEFAULT.
flagEnableAccessibilityVolume80Has flag AccessibilityServiceInfo.FLAG_ENABLE_ACCESSIBILITY_VOLUME.
flagIncludeNotImportantViews2Has flag AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS.
flagInputMethodEditor8000Has flag AccessibilityServiceInfo.FLAG_INPUT_METHOD_EDITOR.
flagReportViewIds10Has flag AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS.
flagRequestAccessibilityButton100Has flag AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON.
flagRequestEnhancedWebAccessibility8Has flag AccessibilityServiceInfo.FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY. Not used by the framework.
flagRequestFilterKeyEvents20Has flag AccessibilityServiceInfo.FLAG_REQUEST_FILTER_KEY_EVENTS.
flagRequestFingerprintGestures200Has flag AccessibilityServiceInfo.FLAG_REQUEST_FINGERPRINT_GESTURES.
flagRequestMultiFingerGestures1000Has flag AccessibilityServiceInfo.FLAG_REQUEST_MULTI_FINGER_GESTURES.
flagRequestShortcutWarningDialogSpokenFeedback400Has flag AccessibilityServiceInfo.FLAG_REQUEST_SHORTCUT_WARNING_DIALOG_SPOKEN_FEEDBACK.
flagRequestTouchExplorationMode4Has flag AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE.
flagRetrieveInteractiveWindows40Has flag AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS.
flagSendMotionEvents4000
flagServiceHandlesDoubleTap800Has flag AccessibilityServiceInfo.FLAG_SERVICE_HANDLES_DOUBLE_TAP.

Constant Value: 7 (0x00000007)

AccessibilityService_animatedImageDrawable

public static final int AccessibilityService_animatedImageDrawable

Animated image of the accessibility service purpose or behavior, to help users understand how the service can help them.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 17 (0x00000011)

AccessibilityService_canControlMagnification

public static final int AccessibilityService_canControlMagnification

Attribute whether the accessibility service wants to be able to control display magnification.

May be a boolean value, such as "true" or "false".

Constant Value: 12 (0x0000000c)

AccessibilityService_canPerformGestures

public static final int AccessibilityService_canPerformGestures

Attribute whether the accessibility service wants to be able to perform gestures.

May be a boolean value, such as "true" or "false".

Constant Value: 13 (0x0000000d)

AccessibilityService_canRequestEnhancedWebAccessibility

public static final int AccessibilityService_canRequestEnhancedWebAccessibility

Attribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements.

May be a boolean value, such as "true" or "false".

Constant Value: 10 (0x0000000a)

AccessibilityService_canRequestFilterKeyEvents

public static final int AccessibilityService_canRequestFilterKeyEvents

Attribute whether the accessibility service wants to be able to request to filter key events.

Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS flag.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

AccessibilityService_canRequestFingerprintGestures

public static final int AccessibilityService_canRequestFingerprintGestures

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".

Constant Value: 14 (0x0000000e)

AccessibilityService_canRequestTouchExplorationMode

public static final int AccessibilityService_canRequestTouchExplorationMode

Attribute whether the accessibility service wants to be able to request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures.

Required to allow setting the #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE flag.

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

AccessibilityService_canRetrieveWindowContent

public static final int AccessibilityService_canRetrieveWindowContent

Attribute whether the accessibility service wants to be able to retrieve the active window content. This setting cannot be changed at runtime.

Required to allow setting the #AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS flag.

May be a boolean value, such as "true" or "false".

Constant Value: 8 (0x00000008)

AccessibilityService_canTakeScreenshot

public static final int AccessibilityService_canTakeScreenshot

Attribute whether the accessibility service wants to be able to take screenshot.

May be a boolean value, such as "true" or "false".

Constant Value: 19 (0x00000013)

AccessibilityService_description

public static final int AccessibilityService_description

Description of the accessibility service usage, availability, or limitations (e.g. isn't supported by all apps).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AccessibilityService_htmlDescription

public static final int AccessibilityService_htmlDescription

Html description of the accessibility service usage, availability, or limitations (e.g. isn't supported by all apps).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 18 (0x00000012)

AccessibilityService_interactiveUiTimeout

public static final int AccessibilityService_interactiveUiTimeout

A recommended timeout in milliseconds used in android.view.accessibility.AccessibilityManager.getRecommendedTimeoutMillis(int, int) to return a suitable value for interactive controls. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

May be an integer value, such as "100".

Constant Value: 16 (0x00000010)

AccessibilityService_intro

public static final int AccessibilityService_intro

Detailed intro of the accessibility service purpose or behavior.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 22 (0x00000016)

AccessibilityService_isAccessibilityTool

public static final int AccessibilityService_isAccessibilityTool

Attribute indicating whether the accessibility service is used to assist users with disabilities. This criteria might be defined by the installer. The default is false.

Note: If this flag is false, system will show a notification after a duration to inform the user about the privacy implications of the service.

May be a boolean value, such as "true" or "false".

Constant Value: 20 (0x00000014)

AccessibilityService_nonInteractiveUiTimeout

public static final int AccessibilityService_nonInteractiveUiTimeout

A recommended timeout in milliseconds used in android.view.accessibility.AccessibilityManager.getRecommendedTimeoutMillis(int, int) to return a suitable value for UIs that do not include interactive controls. This setting can be changed at runtime by calling android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo).

May be an integer value, such as "100".

Constant Value: 15 (0x0000000f)

AccessibilityService_notificationTimeout

public static final int AccessibilityService_notificationTimeout

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".

Constant Value: 6 (0x00000006)

AccessibilityService_packageNames

public static final int AccessibilityService_packageNames

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;

Constant Value: 4 (0x00000004)

AccessibilityService_settingsActivity

public static final int AccessibilityService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service. This setting cannot be changed at runtime.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AccessibilityService_summary

public static final int AccessibilityService_summary

Brief summary of the accessibility service purpose or behavior.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AccessibilityService_tileService

public static final int AccessibilityService_tileService

Fully qualified class name of TileService is associated with this accessibility service for one to one mapping. It is used by system settings to remind users this accessibility service has a TileService.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 21 (0x00000015)

AccessibilityShortcutTarget_animatedImageDrawable

public static final int AccessibilityShortcutTarget_animatedImageDrawable

Animated image of the target of accessibility shortcut purpose or behavior, to help users understand how the target of accessibility shortcut can help them.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 3 (0x00000003)

AccessibilityShortcutTarget_description

public static final int AccessibilityShortcutTarget_description

Description of the target of accessibility shortcut usage, availability, or limitations (e.g. isn't supported by all apps).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AccessibilityShortcutTarget_htmlDescription

public static final int AccessibilityShortcutTarget_htmlDescription

Html description of the target of accessibility shortcut usage, availability, or limitations (e.g. isn't supported by all apps).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 4 (0x00000004)

AccessibilityShortcutTarget_intro

public static final int AccessibilityShortcutTarget_intro

Detailed intro of the target of accessibility shortcut purpose or behavior.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 6 (0x00000006)

AccessibilityShortcutTarget_settingsActivity

public static final int AccessibilityShortcutTarget_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this target of accessibility shortcut.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AccessibilityShortcutTarget_summary

public static final int AccessibilityShortcutTarget_summary

Brief summary of the target of accessibility shortcut purpose or behavior.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AccessibilityShortcutTarget_tileService

public static final int AccessibilityShortcutTarget_tileService

Fully qualified class name of TileService is associated with this accessibility shortcut target for one to one mapping. It is used by system settings to remind users this accessibility service has a TileService.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 5 (0x00000005)

AccountAuthenticator_accountPreferences

public static final int AccountAuthenticator_accountPreferences

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".

Constant Value: 4 (0x00000004)

AccountAuthenticator_accountType

public static final int AccountAuthenticator_accountType

The account type this authenticator handles.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AccountAuthenticator_customTokens

public static final int AccountAuthenticator_customTokens

Account handles its own token storage and permissions. Default to false

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AccountAuthenticator_icon

public static final int AccountAuthenticator_icon

The 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".

Constant Value: 1 (0x00000001)

AccountAuthenticator_label

public static final int AccountAuthenticator_label

The user-visible name 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".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AccountAuthenticator_smallIcon

public static final int AccountAuthenticator_smallIcon

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".

Constant Value: 3 (0x00000003)

ActionBar_LayoutParams_layout_gravity

public static final int ActionBar_LayoutParams_layout_gravity

Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.

Must be one or more (separated by '|') of the following constant values.

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.

Constant Value: 0 (0x00000000)

ActionBar_background

public static final int ActionBar_background

Specifies a background drawable 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".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 2 (0x00000002)

ActionBar_backgroundSplit

public static final int ActionBar_backgroundSplit

Specifies a background drawable for the bottom component of a split action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 19 (0x00000013)

ActionBar_backgroundStacked

public static final int ActionBar_backgroundStacked

Specifies a background drawable for a second stacked row of the action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 18 (0x00000012)

ActionBar_contentInsetEnd

public static final int ActionBar_contentInsetEnd

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).

Constant Value: 23 (0x00000017)

ActionBar_contentInsetEndWithActions

public static final int ActionBar_contentInsetEndWithActions

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).

Constant Value: 28 (0x0000001c)

ActionBar_contentInsetLeft

public static final int ActionBar_contentInsetLeft

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).

Constant Value: 24 (0x00000018)

ActionBar_contentInsetRight

public static final int ActionBar_contentInsetRight

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).

Constant Value: 25 (0x00000019)

ActionBar_contentInsetStart

public static final int ActionBar_contentInsetStart

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).

Constant Value: 22 (0x00000016)

ActionBar_contentInsetStartWithNavigation

public static final int ActionBar_contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 27 (0x0000001b)

ActionBar_customNavigationLayout

public static final int ActionBar_customNavigationLayout

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".

Constant Value: 10 (0x0000000a)

ActionBar_displayOptions

public static final int ActionBar_displayOptions

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

Constant Value: 8 (0x00000008)

ActionBar_divider

public static final int ActionBar_divider

Specifies the drawable used for item dividers.

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".

Constant Value: 3 (0x00000003)

ActionBar_elevation

public static final int ActionBar_elevation

Elevation for the action bar itself.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 20 (0x00000014)

ActionBar_height

public static final int ActionBar_height

Specifies a fixed 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).

Constant Value: 4 (0x00000004)

ActionBar_hideOnContentScroll

public static final int ActionBar_hideOnContentScroll

Set true to hide the action bar on a vertical nested scroll of content.

May be a boolean value, such as "true" or "false".

Constant Value: 21 (0x00000015)

ActionBar_homeAsUpIndicator

public static final int ActionBar_homeAsUpIndicator

Up navigation glyph.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 13 (0x0000000d)

ActionBar_homeLayout

public static final int ActionBar_homeLayout

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".

Constant Value: 16 (0x00000010)

ActionBar_icon

public static final int ActionBar_icon

Specifies the drawable used for the application icon.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

ActionBar_indeterminateProgressStyle

public static final int ActionBar_indeterminateProgressStyle

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".

Constant Value: 14 (0x0000000e)

ActionBar_itemPadding

public static final int ActionBar_itemPadding

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).

Constant Value: 17 (0x00000011)

public static final int ActionBar_logo

Specifies the drawable used for the application logo.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 6 (0x00000006)

ActionBar_navigationMode

public static final int ActionBar_navigationMode

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.

Constant Value: 7 (0x00000007)

ActionBar_popupTheme

public static final int ActionBar_popupTheme

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".

Constant Value: 26 (0x0000001a)

ActionBar_progressBarPadding

public static final int ActionBar_progressBarPadding

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).

Constant Value: 15 (0x0000000f)

ActionBar_progressBarStyle

public static final int ActionBar_progressBarStyle

Specifies a style resource to use for an embedded 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".

Constant Value: 1 (0x00000001)

ActionBar_subtitle

public static final int ActionBar_subtitle

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;

Constant Value: 9 (0x00000009)

ActionBar_subtitleTextStyle

public static final int ActionBar_subtitleTextStyle

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".

Constant Value: 12 (0x0000000c)

ActionBar_title

public static final int ActionBar_title

Specifies title text used for navigationMode="normal".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 5 (0x00000005)

ActionBar_titleTextStyle

public static final int ActionBar_titleTextStyle

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".

Constant Value: 11 (0x0000000b)

ActionMenuItemView_minWidth

public static final int ActionMenuItemView_minWidth

This symbol is the offset where the R.attr.minWidth attribute's value can be found in the ActionMenuItemView array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 0 (0x00000000)

ActionMode_background

public static final int ActionMode_background

Specifies a background for the action mode 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".

Constant Value: 0 (0x00000000)

ActionMode_backgroundSplit

public static final int ActionMode_backgroundSplit

Specifies a background for the split action mode 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".

Constant Value: 4 (0x00000004)

ActionMode_height

public static final int ActionMode_height

Specifies a fixed height for the action mode 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).

Constant Value: 1 (0x00000001)

ActionMode_subtitleTextStyle

public static final int ActionMode_subtitleTextStyle

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".

Constant Value: 3 (0x00000003)

ActionMode_titleTextStyle

public static final int ActionMode_titleTextStyle

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".

Constant Value: 2 (0x00000002)

AdapterViewAnimator_animateFirstView

public static final int AdapterViewAnimator_animateFirstView

Defines whether to animate the current View when the ViewAnimation is first displayed.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

AdapterViewAnimator_inAnimation

public static final int AdapterViewAnimator_inAnimation

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".

Constant Value: 0 (0x00000000)

AdapterViewAnimator_loopViews

public static final int AdapterViewAnimator_loopViews

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".

Constant Value: 3 (0x00000003)

AdapterViewAnimator_outAnimation

public static final int AdapterViewAnimator_outAnimation

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".

Constant Value: 1 (0x00000001)

AdapterViewFlipper_autoStart

public static final int AdapterViewFlipper_autoStart

When true, automatically start animating.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

AdapterViewFlipper_flipInterval

public static final int AdapterViewFlipper_flipInterval

This symbol is the offset where the R.attr.flipInterval attribute's value can be found in the AdapterViewFlipper array.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

AdaptiveIconDrawableLayer_drawable

public static final int AdaptiveIconDrawableLayer_drawable

The drawable to use for the layer.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AidFilter_name

public static final int AidFilter_name

The ISO7816 Application ID. This attribute is mandatory.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AidGroup_category

public static final int AidGroup_category

The category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly. Additionally, when a category is specified, Android will ensure that either all AIDs in this group are routed to this application, or none at all. This attribute is optional.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AidGroup_description

public static final int AidGroup_description

Short description of what the AID group implements. This attribute is mandatory.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AidPrefixFilter_name

public static final int AidPrefixFilter_name

The ISO7816 Application ID. This attribute is mandatory.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AlertDialog_bottomBright

public static final int AlertDialog_bottomBright

This symbol is the offset where the R.attr.bottomBright attribute's value can be found in the AlertDialog array.

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".

Constant Value: 7 (0x00000007)

AlertDialog_bottomDark

public static final int AlertDialog_bottomDark

This symbol is the offset where the R.attr.bottomDark attribute's value can be found in the AlertDialog array.

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".

Constant Value: 3 (0x00000003)

AlertDialog_bottomMedium

public static final int AlertDialog_bottomMedium

This symbol is the offset where the R.attr.bottomMedium attribute's value can be found in the AlertDialog array.

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".

Constant Value: 8 (0x00000008)

AlertDialog_centerBright

public static final int AlertDialog_centerBright

This symbol is the offset where the R.attr.centerBright attribute's value can be found in the AlertDialog array.

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".

Constant Value: 6 (0x00000006)

AlertDialog_centerDark

public static final int AlertDialog_centerDark

This symbol is the offset where the R.attr.centerDark attribute's value can be found in the AlertDialog array.

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".

Constant Value: 2 (0x00000002)

AlertDialog_centerMedium

public static final int AlertDialog_centerMedium

This symbol is the offset where the R.attr.centerMedium attribute's value can be found in the AlertDialog array.

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".

Constant Value: 9 (0x00000009)

AlertDialog_fullBright

public static final int AlertDialog_fullBright

This symbol is the offset where the R.attr.fullBright attribute's value can be found in the AlertDialog array.

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".

Constant Value: 4 (0x00000004)

AlertDialog_fullDark

public static final int AlertDialog_fullDark

This symbol is the offset where the R.attr.fullDark attribute's value can be found in the AlertDialog array.

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".

Constant Value: 0 (0x00000000)

AlertDialog_layout

public static final int AlertDialog_layout

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 10 (0x0000000a)

AlertDialog_topBright

public static final int AlertDialog_topBright

This symbol is the offset where the R.attr.topBright attribute's value can be found in the AlertDialog array.

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".

Constant Value: 5 (0x00000005)

AlertDialog_topDark

public static final int AlertDialog_topDark

This symbol is the offset where the R.attr.topDark attribute's value can be found in the AlertDialog array.

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".

Constant Value: 1 (0x00000001)

AlphaAnimation_fromAlpha

public static final int AlphaAnimation_fromAlpha

This symbol is the offset where the R.attr.fromAlpha attribute's value can be found in the AlphaAnimation array.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

AlphaAnimation_toAlpha

public static final int AlphaAnimation_toAlpha

This symbol is the offset where the R.attr.toAlpha attribute's value can be found in the AlphaAnimation array.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

AnalogClock_dial

public static final int AnalogClock_dial

This symbol is the offset where the R.attr.dial attribute's value can be found in the AnalogClock array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AnalogClock_dialTint

public static final int AnalogClock_dialTint

Tint to apply to the dial graphic.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 5 (0x00000005)

AnalogClock_dialTintMode

public static final int AnalogClock_dialTintMode

Blending mode used to apply the dial 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\u2019s 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\u2019s 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]

Constant Value: 6 (0x00000006)

AnalogClock_hand_hour

public static final int AnalogClock_hand_hour

This symbol is the offset where the R.attr.hand_hour attribute's value can be found in the AnalogClock array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AnalogClock_hand_hourTint

public static final int AnalogClock_hand_hourTint

Tint to apply to the hour hand graphic.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 7 (0x00000007)

AnalogClock_hand_hourTintMode

public static final int AnalogClock_hand_hourTintMode

Blending mode used to apply the hour hand 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\u2019s 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\u2019s 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]

Constant Value: 8 (0x00000008)

AnalogClock_hand_minute

public static final int AnalogClock_hand_minute

This symbol is the offset where the R.attr.hand_minute attribute's value can be found in the AnalogClock array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

AnalogClock_hand_minuteTint

public static final int AnalogClock_hand_minuteTint

Tint to apply to the minute hand graphic.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 9 (0x00000009)

AnalogClock_hand_minuteTintMode

public static final int AnalogClock_hand_minuteTintMode

Blending mode used to apply the minute hand 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\u2019s 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\u2019s 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]

Constant Value: 10 (0x0000000a)

AnalogClock_hand_second

public static final int AnalogClock_hand_second

This symbol is the offset where the R.attr.hand_second attribute's value can be found in the AnalogClock array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 4 (0x00000004)

AnalogClock_hand_secondTint

public static final int AnalogClock_hand_secondTint

Tint to apply to the second hand graphic.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 11 (0x0000000b)

AnalogClock_hand_secondTintMode

public static final int AnalogClock_hand_secondTintMode

Blending mode used to apply the second hand 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\u2019s 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\u2019s 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]

Constant Value: 12 (0x0000000c)

AnalogClock_timeZone

public static final int AnalogClock_timeZone

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 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;

Constant Value: 3 (0x00000003)

AndroidManifestAction_name

public static final int AndroidManifestAction_name

The name of an action that is handled, using the Java-style naming convention. For example, to support Intent.ACTION_VIEW you would put android.intent.action.VIEW here. Custom actions should generally use a prefix matching the package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestActivityAlias_allowUntrustedActivityEmbedding

public static final int AndroidManifestActivityAlias_allowUntrustedActivityEmbedding

Indicate that the activity can be embedded by untrusted hosts. In this case the interactions and visibility of the embedded activity may be limited.

The default value of this attribute is false.

May be a boolean value, such as "true" or "false".

Constant Value: 13 (0x0000000d)

AndroidManifestActivityAlias_attributionTags

public static final int AndroidManifestActivityAlias_attributionTags

Attribution tag to be used for permission sub-attribution if a permission is checked in Context.sendBroadcast(Intent, String). Multiple tags can be specified separated by '|'.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 12 (0x0000000c)

AndroidManifestActivityAlias_banner

public static final int AndroidManifestActivityAlias_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 10 (0x0000000a)

AndroidManifestActivityAlias_description

public static final int AndroidManifestActivityAlias_description

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".

Constant Value: 6 (0x00000006)

AndroidManifestActivityAlias_enabled

public static final int AndroidManifestActivityAlias_enabled

Specify whether the activity-alias is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

AndroidManifestActivityAlias_exported

public static final int AndroidManifestActivityAlias_exported

Flag indicating whether the given application component is available to other applications. If false, it can only be accessed by applications with its same user id (which usually means only by code in its own package). If true, it can be invoked by external entities, though which ones can do so may be controlled through permissions. The default value is false for activity, receiver, and service components that do not specify any intent filters; it is true for activity, receiver, and service components that do have intent filters (implying they expect to be invoked by others who do not know their particular component name) and for all content providers.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestActivityAlias_icon

public static final int AndroidManifestActivityAlias_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestActivityAlias_knownActivityEmbeddingCerts

public static final int AndroidManifestActivityAlias_knownActivityEmbeddingCerts

A reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity. If the client is not signed with one of the certificates in the set, and the activity does not allow embedding by untrusted hosts via R.attr.allowUntrustedActivityEmbedding flag, the embedding request will fail.

The digest should be computed over the DER encoding of the trusted certificate using the SHA-256 digest algorithm.

If only a single signer is declared this can also be a string resource, or the digest can be declared inline as the value for this attribute.

If the attribute is declared both on the application and the activity level, the value on the activity level takes precedence.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 14 (0x0000000e)

AndroidManifestActivityAlias_label

public static final int AndroidManifestActivityAlias_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestActivityAlias_logo

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".

Constant Value: 8 (0x00000008)

AndroidManifestActivityAlias_name

public static final int AndroidManifestActivityAlias_name

Required name of the class implementing the activity, deriving from Activity. This is a fully qualified class name (for example, com.mycompany.myapp.MyActivity); as a short-hand if the first character of the class is a period then it is appended to your package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestActivityAlias_parentActivityName

public static final int AndroidManifestActivityAlias_parentActivityName

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;

Constant Value: 9 (0x00000009)

AndroidManifestActivityAlias_permission

public static final int AndroidManifestActivityAlias_permission

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;

Constant Value: 3 (0x00000003)

AndroidManifestActivityAlias_roundIcon

public static final int AndroidManifestActivityAlias_roundIcon

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".

Constant Value: 11 (0x0000000b)

AndroidManifestActivityAlias_targetActivity

public static final int AndroidManifestActivityAlias_targetActivity

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;

Constant Value: 7 (0x00000007)

AndroidManifestActivity_allowEmbedded

public static final int AndroidManifestActivity_allowEmbedded

Indicate that the activity can be launched as the embedded child of another activity. Particularly in the case where the child lives in a container such as a Display owned by another activity.

The default value of this attribute is false.

May be a boolean value, such as "true" or "false".

Constant Value: 31 (0x0000001f)

AndroidManifestActivity_allowTaskReparenting

public static final int AndroidManifestActivity_allowTaskReparenting

Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. Use with the application tag (to supply a default for all activities in the application), or with an activity tag (to supply a specific setting for that component).

Normally when an application is started, it is associated with the task of the activity that started it and stays there for its entire lifetime. You can use the allowTaskReparenting feature to force an activity to be re-parented to a different task when the task it is in goes to the background. Typically this is used to cause the activities of an application to move back to the main task associated with that application. The activity is re-parented to the task with the same R.attr.taskAffinity as it has.

May be a boolean value, such as "true" or "false".

Constant Value: 19 (0x00000013)

AndroidManifestActivity_allowUntrustedActivityEmbedding

public static final int AndroidManifestActivity_allowUntrustedActivityEmbedding

Indicate that the activity can be embedded by untrusted hosts. In this case the interactions and visibility of the embedded activity may be limited.

The default value of this attribute is false.

May be a boolean value, such as "true" or "false".

Constant Value: 60 (0x0000003c)

AndroidManifestActivity_alwaysRetainTaskState

public static final int AndroidManifestActivity_alwaysRetainTaskState

Specify whether an activity's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations.

Normally the system will reset a task (remove all activities from the stack and reset the root activity) in certain situations when the user re-selects that task from the home screen. Typically this will be done if the user hasn't visited that task for a certain amount of time, such as 30 minutes.

By setting this attribute, the user will always return to your task in its last state, regardless of how they get there. This is useful, for example, in an application like the web browser where there is a lot of state (such as multiple open tabs) that the application would not like to lose.

May be a boolean value, such as "true" or "false".

Constant Value: 18 (0x00000012)

AndroidManifestActivity_attributionTags

public static final int AndroidManifestActivity_attributionTags

Set of attribution tags that should be automatically applied to this component.

Each instance of this Activity will be automatically configured with Context.createAttributionContext() using the first attribution tag contained here.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 57 (0x00000039)

AndroidManifestActivity_autoRemoveFromRecents

public static final int AndroidManifestActivity_autoRemoveFromRecents

Tasks launched by activities with this attribute will remain in the recent tasks list until the last activity in the task is completed. When that happens the task will be automatically removed from the recent tasks list. This overrides the caller's use of Intent.FLAG_ACTIVITY_RETAIN_IN_RECENTS

May be a boolean value, such as "true" or "false".

Constant Value: 35 (0x00000023)

AndroidManifestActivity_banner

public static final int AndroidManifestActivity_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 30 (0x0000001e)

AndroidManifestActivity_canDisplayOnRemoteDevices

public static final int AndroidManifestActivity_canDisplayOnRemoteDevices

Indicates whether the activity can be displayed on a remote device which may or may not be running Android.

May be a boolean value, such as "true" or "false".

Constant Value: 59 (0x0000003b)

AndroidManifestActivity_clearTaskOnLaunch

public static final int AndroidManifestActivity_clearTaskOnLaunch

Specify whether an activity's task should be cleared when it is re-launched from the home screen. As a result, every time the user starts the task, they will be brought to its root activity, regardless of whether they used BACK or HOME to last leave it. This flag only applies to activities that are used to start the root of a new task.

An example of the use of this flag would be for the case where a user launches activity A from home, and from there goes to activity B. They now press home, and then return to activity A. Normally they would see activity B, since that is what they were last doing in A's task. However, if A has set this flag to true, then upon going to the background all of the tasks on top of it (B in this case) are removed, so when the user next returns to A they will restart at its original activity.

When this option is used in conjunction with 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".

Constant Value: 11 (0x0000000b)

AndroidManifestActivity_colorMode

public static final int AndroidManifestActivity_colorMode

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.

Constant Value: 49 (0x00000031)

AndroidManifestActivity_configChanges

public static final int AndroidManifestActivity_configChanges

Specify one or more configuration changes that the activity will handle itself. If not specified, the activity will be restarted if any of these configuration changes happen in the system. Otherwise, the activity will remain running and its Activity.onConfigurationChanged method called with the new configuration.

Note that all of these configuration changes can impact the resource values seen by the application, so you will generally need to re-retrieve all resources (including view layouts, drawables, etc) to correctly handle any configuration change.

These values must be kept in sync with those in ActivityInfo and include/utils/ResourceTypes.h.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
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.
fontWeightAdjustment10000000The font weight adjustment value has changed. Used to reflect the user increasing font weight.
grammaticalGender8000The grammatical gender has changed, for example the user set the grammatical gender from the UI.
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 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 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.

Constant Value: 16 (0x00000010)

AndroidManifestActivity_description

public static final int AndroidManifestActivity_description

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".

Constant Value: 17 (0x00000011)

AndroidManifestActivity_directBootAware

public static final int AndroidManifestActivity_directBootAware

Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

May be a boolean value, such as "true" or "false".

Constant Value: 42 (0x0000002a)

AndroidManifestActivity_documentLaunchMode

public static final int AndroidManifestActivity_documentLaunchMode

This attribute specifies that an activity shall become the root activity of a new task each time it is launched. Using this attribute permits the user to have multiple documents from the same applications appear in the recent tasks list.

Such a document is any kind of item for which an application may want to maintain multiple simultaneous instances. Examples might be text files, web pages, spreadsheets, or emails. Each such document will be in a separate task in the recent tasks list.

This attribute is equivalent to adding the flag Intent.FLAG_ACTIVITY_NEW_DOCUMENT to every Intent used to launch the activity.

The documentLaunchMode attribute may be assigned one of four values, "none", "intoExisting", "always" and "never", described in detail below. For values other than none and never the activity must be defined with 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 Intent.FLAG_ACTIVITY_NEW_DOCUMENT 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 Intent.FLAG_ACTIVITY_NEW_DOCUMENT 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.

Constant Value: 33 (0x00000021)

AndroidManifestActivity_enableOnBackInvokedCallback

public static final int AndroidManifestActivity_enableOnBackInvokedCallback

If false, KEYCODE_BACK and Activity.onBackPressed() and related event will be forwarded to the Activity and its views.

If true, those events will be replaced by a call to OnBackInvokedCallback.onBackInvoked() on the focused window.

By default, the behavior is configured by the same attribute in application.

May be a boolean value, such as "true" or "false".

Constant Value: 62 (0x0000003e)

AndroidManifestActivity_enableVrMode

public static final int AndroidManifestActivity_enableVrMode

Flag declaring that this activity will be run in VR mode, and specifying the component of the VrListenerService that should be bound while this Activity is visible if it is installed and enabled on this device. This is equivalent to calling Activity.setVrModeEnabled(boolean, ComponentName) with the the given component name within the Activity that this attribute is set for. Declaring this will prevent the system from leaving VR mode during an Activity transition from one VR activity to another.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 43 (0x0000002b)

AndroidManifestActivity_enabled

public static final int AndroidManifestActivity_enabled

Specify whether the activity is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestActivity_excludeFromRecents

public static final int AndroidManifestActivity_excludeFromRecents

Indicates that an Activity should be excluded from the list of recently launched activities.

May be a boolean value, such as "true" or "false".

Constant Value: 13 (0x0000000d)

AndroidManifestActivity_exported

public static final int AndroidManifestActivity_exported

Flag indicating whether the given application component is available to other applications. If false, it can only be accessed by applications with its same user id (which usually means only by code in its own package). If true, it can be invoked by external entities, though which ones can do so may be controlled through permissions. The default value is false for activity, receiver, and service components that do not specify any intent filters; it is true for activity, receiver, and service components that do have intent filters (implying they expect to be invoked by others who do not know their particular component name) and for all content providers.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

AndroidManifestActivity_finishOnCloseSystemDialogs

public static final int AndroidManifestActivity_finishOnCloseSystemDialogs

Specify whether an activity should be finished when a "close system windows" request has been made. This happens, for example, when the home key is pressed, when the device is locked, when a system dialog showing recent applications is displayed, etc.

May be a boolean value, such as "true" or "false".

Constant Value: 22 (0x00000016)

AndroidManifestActivity_finishOnTaskLaunch

public static final int AndroidManifestActivity_finishOnTaskLaunch

Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen.

If both this option and 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".

Constant Value: 10 (0x0000000a)

AndroidManifestActivity_forceQueryable

public static final int AndroidManifestActivity_forceQueryable

This symbol is the offset where the R.attr.forceQueryable attribute's value can be found in the AndroidManifestActivity array.

May be a boolean value, such as "true" or "false".

Constant Value: 55 (0x00000037)

AndroidManifestActivity_hardwareAccelerated

public static final int AndroidManifestActivity_hardwareAccelerated

Flag indicating whether the application's rendering should be hardware accelerated if possible. This flag is turned on by default for applications that are targeting 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 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".

Constant Value: 25 (0x00000019)

AndroidManifestActivity_icon

public static final int AndroidManifestActivity_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

AndroidManifestActivity_immersive

public static final int AndroidManifestActivity_immersive

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".

Constant Value: 24 (0x00000018)

AndroidManifestActivity_inheritShowWhenLocked

public static final int AndroidManifestActivity_inheritShowWhenLocked

Specifies whether this Activity should be shown on top of the lock screen whenever the lockscreen is up and this activity has another activity behind it with the R.attr.showWhenLocked attribute set. That is, this activity is only visible on the lock screen if there is another activity with the R.attr.showWhenLocked attribute visible at the same time on the lock screen. A use case for this is permission dialogs, that should only be visible on the lock screen if their requesting activity is also visible.

The default value of this attribute is false.

May be a boolean value, such as "true" or "false".

Constant Value: 54 (0x00000036)

AndroidManifestActivity_knownActivityEmbeddingCerts

public static final int AndroidManifestActivity_knownActivityEmbeddingCerts

A reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity. If the client is not signed with one of the certificates in the set, and the activity does not allow embedding by untrusted hosts via R.attr.allowUntrustedActivityEmbedding flag, the embedding request will fail.

The digest should be computed over the DER encoding of the trusted certificate using the SHA-256 digest algorithm.

If only a single signer is declared this can also be a string resource, or the digest can be declared inline as the value for this attribute.

If the attribute is declared both on the application and the activity level, the value on the activity level takes precedence.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 61 (0x0000003d)

AndroidManifestActivity_label

public static final int AndroidManifestActivity_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestActivity_launchMode

public static final int AndroidManifestActivity_launchMode

Specify how an activity should be launched. See the Tasks and Back Stack document for important information on how these options impact the behavior of your application.

If this attribute is not specified, standard launch mode will be used. Note that the particular launch behavior can be changed in some ways at runtime through the Intent flags Intent.FLAG_ACTIVITY_SINGLE_TOP, Intent.FLAG_ACTIVITY_NEW_TASK, and 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.
singleInstancePerTask4The activity can only be running as the root activity of the task, the first activity that created the task, and therefore there will only be one instance of this activity in a task. In contrast to the singleTask launch mode, this activity can be started in multiple instances in different tasks if the FLAG_ACTIVITY_MULTIPLE_TASK or FLAG_ACTIVITY_NEW_DOCUMENT is set. This enum value is introduced in API level 31.
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.

Constant Value: 14 (0x0000000e)

AndroidManifestActivity_lockTaskMode

public static final int AndroidManifestActivity_lockTaskMode

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 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 (DevicePolicyManager.setLockTaskPackages(ComponentName, String)) then this mode is identical to always, except that the activity needs to call 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 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 Activity.startLockTask(). If a task with this mode has been allowlisted using DevicePolicyManager.setLockTaskPackages(ComponentName, String) then calling Activity.startLockTask() will enter lockTask mode immediately, otherwise the user will be presented with a dialog to approve entering pinned mode.

If the system is already in lockTask mode when a new task rooted at this activity is launched that task will or will not start depending on whether the package of this activity has been allowlisted.

Tasks rooted at this activity can only exit lockTask mode using Activity.stopLockTask().

Constant Value: 38 (0x00000026)

public static final int AndroidManifestActivity_logo

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".

Constant Value: 23 (0x00000017)

AndroidManifestActivity_maxAspectRatio

public static final int AndroidManifestActivity_maxAspectRatio

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.

May be a floating point value, such as "1.2".

Constant Value: 50 (0x00000032)

AndroidManifestActivity_maxRecents

public static final int AndroidManifestActivity_maxRecents

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".

Constant Value: 34 (0x00000022)

AndroidManifestActivity_minAspectRatio

public static final int AndroidManifestActivity_minAspectRatio

This value indicates the minimum aspect ratio the activity supports. If the app runs on a device with a narrower aspect ratio, the system automatically letterboxes the app, leaving portions of the screen unused so the app can run at its specified minimum aspect ratio.

Minimum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal form. For example, if the minimum aspect ratio is 4:3, set value to 1.33.

Value needs to be greater or equal to 1.0, otherwise it is ignored.

May be a floating point value, such as "1.2".

Constant Value: 53 (0x00000035)

AndroidManifestActivity_multiprocess

public static final int AndroidManifestActivity_multiprocess

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".

Constant Value: 9 (0x00000009)

AndroidManifestActivity_name

public static final int AndroidManifestActivity_name

Required name of the class implementing the activity, deriving from Activity. This is a fully qualified class name (for example, com.mycompany.myapp.MyActivity); as a short-hand if the first character of the class is a period then it is appended to your package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

AndroidManifestActivity_noHistory

public static final int AndroidManifestActivity_noHistory

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".

Constant Value: 21 (0x00000015)

AndroidManifestActivity_parentActivityName

public static final int AndroidManifestActivity_parentActivityName

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;

Constant Value: 27 (0x0000001b)

AndroidManifestActivity_permission

public static final int AndroidManifestActivity_permission

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;

Constant Value: 4 (0x00000004)

AndroidManifestActivity_persistableMode

public static final int AndroidManifestActivity_persistableMode

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.

Constant Value: 32 (0x00000020)

AndroidManifestActivity_playHomeTransitionSound

public static final int AndroidManifestActivity_playHomeTransitionSound

Specifies whether a home sound effect should be played if the home app moves to front after an activity with this flag set to true.

The default value of this attribute is true.

Also note that home sounds are only played if the device supports home sounds, usually TVs.

Requires permission android.permission.DISABLE_SYSTEM_SOUND_EFFECTS.

May be a boolean value, such as "true" or "false".

Constant Value: 58 (0x0000003a)

AndroidManifestActivity_preferMinimalPostProcessing

public static final int AndroidManifestActivity_preferMinimalPostProcessing

Indicates whether the activity wants the connected display to do minimal post processing on the produced image or video frames. This will only be requested if this activity's main window is visible on the screen.

This setting should be used when low latency has a higher priority than image enhancement processing (e.g. for games or video conferencing).

If the Display sink is connected via HDMI, the device will begin to send infoframes with Auto Low Latency Mode enabled and Game Content Type. This will switch the connected display to a minimal image processing mode (if available), which reduces latency, improving the user experience for gaming or video conferencing applications. For more information, see HDMI 2.1 specification.

If the Display sink has an internal connection or uses some other protocol than HDMI, effects may be similar but implementation-defined.

The ability to switch to a mode with minimal post proessing may be disabled by a user setting in the system settings menu. In that case, this field is ignored and the display will remain in its current mode.

See ActivityInfo.FLAG_PREFER_MINIMAL_POST_PROCESSING

May be a boolean value, such as "true" or "false".

Constant Value: 56 (0x00000038)

AndroidManifestActivity_process

public static final int AndroidManifestActivity_process

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;

Constant Value: 7 (0x00000007)

AndroidManifestActivity_recreateOnConfigChanges

public static final int AndroidManifestActivity_recreateOnConfigChanges

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.

Constant Value: 47 (0x0000002f)

AndroidManifestActivity_relinquishTaskIdentity

public static final int AndroidManifestActivity_relinquishTaskIdentity

Tasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task. If the next activity also has this attribute set to true then it will yield the baseIntent to any activity that it launches in the same task. This continues until an activity is encountered which has this attribute set to false. False is the default. This attribute set to true also permits activity's use of the TaskDescription to change labels, colors and icons in the recent task list.

NOTE: Setting this flag to true will not change the affinity of the task, which is used for intent resolution during activity launch. The task's root activity will always define its affinity.

May be a boolean value, such as "true" or "false".

Constant Value: 36 (0x00000024)

AndroidManifestActivity_requireContentUriPermissionFromCaller

public static final int AndroidManifestActivity_requireContentUriPermissionFromCaller

Specifies permissions necessary to launch this activity when passing content URIs. The default value is none, meaning no specific permissions are required. Setting this attribute restricts activity invocation based on the invoker's permissions. If the invoker doesn't have the required permissions, the activity start will be denied via a SecurityException.

Note that the enforcement works for content URIs inside Intent.getData(), Intent.EXTRA_STREAM, and Intent.getClipData().

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Must be one of the following constant values.

ConstantValueDescription
none0Default, no specific permissions are required.
read1Enforces the invoker to have read access to the passed content URIs.
readAndWrite4Enforces the invoker to have both read and write access to the passed content URIs.
readOrWrite3Enforces the invoker to have either read or write access to the passed content URIs.
write2Enforces the invoker to have write access to the passed content URIs.

Constant Value: 65 (0x00000041)

AndroidManifestActivity_requiredDisplayCategory

public static final int AndroidManifestActivity_requiredDisplayCategory

Specifies the required display category of the activity. Upon creation, a display can specify which display categories it supports and one of the categories must be present in the <activity> element to allow this activity to run. The default value is null, which indicates the activity does not have a required display category and thus can only run on a display that didn't specify any display categories. Each activity can only specify one required category but a display can accommodate multiple display categories.

This field should be formatted as a Java-language-style free form string(for example, com.google.automotive_entertainment), which may contain uppercase or lowercase letters ('A' through 'Z'), numbers, and underscores ('_') but may only start with letters.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 63 (0x0000003f)

AndroidManifestActivity_resizeableActivity

public static final int AndroidManifestActivity_resizeableActivity

Hint to platform that the activity works well in multi-window mode. Intended for a multi-window device where there can be multiple activities of various sizes on the screen at the same time.

The default value is false for applications with targetSdkVersion lesser than Build.VERSION_CODES.N and true otherwise.

Setting this flag to false lets the system know that the app may not be tested or optimized for multi-window environment. The system may still put such activity in multi-window with compatibility mode applied. It also does not guarantee that there will be no other apps in multi-window visible on screen (e.g. picture-in-picture) or on other displays. Therefore, this flag cannot be used to assure an exclusive resource access.

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.

May be a boolean value, such as "true" or "false".

Constant Value: 40 (0x00000028)

AndroidManifestActivity_resumeWhilePausing

public static final int AndroidManifestActivity_resumeWhilePausing

Indicate that it is okay for this activity be resumed while the previous activity is in the process of pausing, without waiting for the previous pause to complete. 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".

Constant Value: 37 (0x00000025)

AndroidManifestActivity_rotationAnimation

public static final int AndroidManifestActivity_rotationAnimation

Flag that specifies the activity's preferred screen rotation animation. Valid values are "rotate", "crossfade", "jumpcut", and "seamless" as described in WindowManager.LayoutParams.rotationAnimation. Specifying your rotation animation in WindowManager.LayoutParams may be racy with app startup and update transitions that occur during application startup; and so, specify the animation in the manifest attribute.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
crossfade1
jumpcut2
rotate0
seamless3

Constant Value: 46 (0x0000002e)

AndroidManifestActivity_roundIcon

public static final int AndroidManifestActivity_roundIcon

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".

Constant Value: 44 (0x0000002c)

AndroidManifestActivity_screenOrientation

public static final int AndroidManifestActivity_screenOrientation

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 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 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 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 ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE.
lockedeScreen is locked to its current rotation, whatever that is. Corresponds to ActivityInfo.SCREEN_ORIENTATION_LOCKED.
nosensor5Always ignore orientation determined by orientation sensor: the display will not rotate when the user moves the device. Corresponds to 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 ActivityInfo.SCREEN_ORIENTATION_PORTRAIT.
reverseLandscape8Would like to have the screen in landscape orientation, turned in the opposite direction from normal landscape. Corresponds to ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE.
reversePortrait9Would like to have the screen in portrait orientation, turned in the opposite direction from normal portrait. Corresponds to 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 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 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 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 ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED.
user2Use the user's current preferred orientation of the handset. Corresponds to 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 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 ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT.

Constant Value: 15 (0x0000000f)

AndroidManifestActivity_showForAllUsers

public static final int AndroidManifestActivity_showForAllUsers

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".

Constant Value: 39 (0x00000027)

AndroidManifestActivity_showOnLockScreen

public static final int AndroidManifestActivity_showOnLockScreen

This constant is deprecated.
use R.attr.showForAllUsers instead.

May be a boolean value, such as "true" or "false".

Constant Value: 29 (0x0000001d)

AndroidManifestActivity_showWhenLocked

public static final int AndroidManifestActivity_showWhenLocked

Specifies whether an Activity should be shown on top of the lock screen whenever the lockscreen is up and the activity is resumed. Normally an activity will be transitioned to the stopped state if it is started while the lockscreen is up, but with this flag set the activity will remain in the resumed state visible on-top of the lock screen.

This should be used instead of 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".

Constant Value: 51 (0x00000033)

AndroidManifestActivity_singleUser

public static final int AndroidManifestActivity_singleUser

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".

Constant Value: 28 (0x0000001c)

AndroidManifestActivity_splitName

public static final int AndroidManifestActivity_splitName

The code for this component is located in the given split.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 48 (0x00000030)

AndroidManifestActivity_stateNotNeeded

public static final int AndroidManifestActivity_stateNotNeeded

Indicates that an Activity does not need to have its freeze state (as returned by Activity.onSaveInstanceState(Bundle) 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 Activity.onCreate(Bundle) 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".

Constant Value: 12 (0x0000000c)

AndroidManifestActivity_supportsPictureInPicture

public static final int AndroidManifestActivity_supportsPictureInPicture

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 R.attr.resizeableActivity is also set to true. Note that your activity may still be resized even if this attribute is true and R.attr.resizeableActivity is false.

The default value is false.

May be a boolean value, such as "true" or "false".

Constant Value: 41 (0x00000029)

AndroidManifestActivity_systemUserOnly

public static final int AndroidManifestActivity_systemUserOnly

This broadcast receiver or activity will only receive broadcasts for the system user

May be a boolean value, such as "true" or "false".

Constant Value: 64 (0x00000040)

AndroidManifestActivity_taskAffinity

public static final int AndroidManifestActivity_taskAffinity

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;

Constant Value: 8 (0x00000008)

AndroidManifestActivity_theme

public static final int AndroidManifestActivity_theme

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".

Constant Value: 0 (0x00000000)

AndroidManifestActivity_turnScreenOn

public static final int AndroidManifestActivity_turnScreenOn

Specifies whether the screen should be turned on when the 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 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 KeyguardManager.requestDismissKeyguard(Activity, KeyguardDismissCallback) the screen will turn on.

This should be used instead of 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".

Constant Value: 52 (0x00000034)

AndroidManifestActivity_uiOptions

public static final int AndroidManifestActivity_uiOptions

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.

Constant Value: 26 (0x0000001a)

AndroidManifestActivity_visibleToInstantApps

public static final int AndroidManifestActivity_visibleToInstantApps

Specify whether a component should be visible to instant apps.

May be a boolean value, such as "true" or "false".

Constant Value: 45 (0x0000002d)

AndroidManifestActivity_windowSoftInputMode

public static final int AndroidManifestActivity_windowSoftInputMode

Specify the default soft-input mode for the main window of this activity. A value besides "unspecified" here overrides any value in the theme.

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).

Constant Value: 20 (0x00000014)

AndroidManifestAdditionalCertificate_certDigest

public static final int AndroidManifestAdditionalCertificate_certDigest

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;

Constant Value: 0 (0x00000000)

AndroidManifestAllowPermission_name

public static final int AndroidManifestAllowPermission_name

Required name of the permission that is to be allowed.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestApexSystemService_initOrder

public static final int AndroidManifestApexSystemService_initOrder

The order in which the apex system services are initiated. When there are dependencies among apex system services, setting this attribute for each of them ensures that they are created in the order required by those dependencies. The apex-system-services that are started manually within SystemServer ignore the initOrder and are not considered for automatic starting of the other services. The value is a simple integer, with higher number being initialized first. If not specified, the default order is 0.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

AndroidManifestApexSystemService_maxSdkVersion

public static final int AndroidManifestApexSystemService_maxSdkVersion

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".

Constant Value: 4 (0x00000004)

AndroidManifestApexSystemService_minSdkVersion

public static final int AndroidManifestApexSystemService_minSdkVersion

This is the minimum SDK version number that the application requires. This number is an abstract integer, from the list in 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".

Constant Value: 3 (0x00000003)

AndroidManifestApexSystemService_name

public static final int AndroidManifestApexSystemService_name

The fully qualified class name of the system service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestApexSystemService_path

public static final int AndroidManifestApexSystemService_path

The filepath to the .jar that contains the system service. If this is not provided, it is assumed that the system service exists in SYSTEMSERVERCLASSPATH.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestApplication_allowAudioPlaybackCapture

public static final int AndroidManifestApplication_allowAudioPlaybackCapture

If true the app's non sensitive audio can be captured by other apps with AudioPlaybackCaptureConfiguration and a MediaProjection. If false the audio played by the application will never be captured by non system apps. It is equivalent to limiting AudioManager.setAllowedCapturePolicy(int) to AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM.

Non sensitive audio is defined as audio whose AttributeUsage is USAGE_UNKNOWN), USAGE_MEDIA) or USAGE_GAME). All other usages like USAGE_VOICE_COMMUNICATION will not be captured.

The default value is: - true for apps with targetSdkVersion >= 29 (Q). - false for apps with targetSdkVersion < 29.

See AudioPlaybackCaptureConfiguration for more detail.

May be a boolean value, such as "true" or "false".

Constant Value: 55 (0x00000037)

AndroidManifestApplication_allowBackup

public static final int AndroidManifestApplication_allowBackup

Whether to allow the application to participate in the backup and restore infrastructure. If this attribute is set to false, no backup or restore of the application will ever be performed, even by a full-system backup that would otherwise cause all application data to be saved via adb. The default value of this attribute is true.

May be a boolean value, such as "true" or "false".

Constant Value: 17 (0x00000011)

AndroidManifestApplication_allowClearUserData

public static final int AndroidManifestApplication_allowClearUserData

Option to let applications specify that user data can/cannot be cleared. This flag is turned on by default.

Starting from API level 29 this flag only controls if the user can clear app data from Settings. To control clearing the data after a failed restore use allowClearUserDataOnFailedRestore flag.

This attribute is usable only by applications included in the system image. Third-party apps cannot use it.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestApplication_allowClearUserDataOnFailedRestore

public static final int AndroidManifestApplication_allowClearUserDataOnFailedRestore

If true the system will clear app's data if a restore operation fails. This flag is turned on by default. This attribute is usable only by system apps.

May be a boolean value, such as "true" or "false".

Constant Value: 54 (0x00000036)

AndroidManifestApplication_allowCrossUidActivitySwitchFromBelow

public static final int AndroidManifestApplication_allowCrossUidActivitySwitchFromBelow

May be a boolean value, such as "true" or "false".

Constant Value: 74 (0x0000004a)

AndroidManifestApplication_allowNativeHeapPointerTagging

public static final int AndroidManifestApplication_allowNativeHeapPointerTagging

If true this app will receive tagged pointers to native heap allocations from functions like malloc() on compatible devices. Note that this may not always be respected due to policy or backwards compatibility reasons. See the Tagged Pointers document for more information on this feature. The default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 59 (0x0000003b)

AndroidManifestApplication_allowTaskReparenting

public static final int AndroidManifestApplication_allowTaskReparenting

Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. Use with the application tag (to supply a default for all activities in the application), or with an activity tag (to supply a specific setting for that component).

Normally when an application is started, it is associated with the task of the activity that started it and stays there for its entire lifetime. You can use the allowTaskReparenting feature to force an activity to be re-parented to a different task when the task it is in goes to the background. Typically this is used to cause the activities of an application to move back to the main task associated with that application. The activity is re-parented to the task with the same R.attr.taskAffinity as it has.

May be a boolean value, such as "true" or "false".

Constant Value: 14 (0x0000000e)

AndroidManifestApplication_appCategory

public static final int AndroidManifestApplication_appCategory

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
accessibility8Apps which are primarily accessibility apps, such as screen-readers.
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.

Constant Value: 43 (0x0000002b)

AndroidManifestApplication_appComponentFactory

public static final int AndroidManifestApplication_appComponentFactory

The (optional) fully-qualified name for a subclass of 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;

Constant Value: 48 (0x00000030)

AndroidManifestApplication_attributionsAreUserVisible

public static final int AndroidManifestApplication_attributionsAreUserVisible

Whether attributions provided are meant to be user-visible.

May be a boolean value, such as "true" or "false".

Constant Value: 69 (0x00000045)

AndroidManifestApplication_autoRevokePermissions

public static final int AndroidManifestApplication_autoRevokePermissions

No longer used. Declaring this does nothing

Must be one of the following constant values.

ConstantValueDescription
allowed0No longer used
disallowed2No longer used
discouraged1No longer used

Constant Value: 60 (0x0000003c)

AndroidManifestApplication_backupAgent

public static final int AndroidManifestApplication_backupAgent

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;

Constant Value: 16 (0x00000010)

AndroidManifestApplication_backupInForeground

public static final int AndroidManifestApplication_backupInForeground

Indicates that full-data backup operations for this application may be performed even if the application is in a foreground-equivalent state. Use with caution! Setting this flag to true can impact app behavior while the user is interacting with the device.

If unspecified, the default value of this attribute is false, which means that the OS will avoid backing up the application while it is running in the foreground (such as a music app that is actively playing music via a service in the startForeground() state).

May be a boolean value, such as "true" or "false".

Constant Value: 40 (0x00000028)

AndroidManifestApplication_banner

public static final int AndroidManifestApplication_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 30 (0x0000001e)

AndroidManifestApplication_cantSaveState

public static final int AndroidManifestApplication_cantSaveState

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".

Constant Value: 47 (0x0000002f)

AndroidManifestApplication_classLoader

public static final int AndroidManifestApplication_classLoader

Declares the kind of classloader this application's classes must be loaded with

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 46 (0x0000002e)

AndroidManifestApplication_crossProfile

public static final int AndroidManifestApplication_crossProfile

If true indicates that this application is capable of presenting a unified interface representing multiple profiles. The default value is false.

May be a boolean value, such as "true" or "false".

Constant Value: 58 (0x0000003a)

AndroidManifestApplication_dataExtractionRules

public static final int AndroidManifestApplication_dataExtractionRules

Applications can set this attribute to an xml resource within their app where they specified the rules determining which files and directories can be copied from the device as part of backup or transfer operations. See the Changes in backup and restore document for the format of the XML file.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 66 (0x00000042)

AndroidManifestApplication_debuggable

public static final int AndroidManifestApplication_debuggable

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".

Constant Value: 10 (0x0000000a)

AndroidManifestApplication_defaultToDeviceProtectedStorage

public static final int AndroidManifestApplication_defaultToDeviceProtectedStorage

This symbol is the offset where the R.attr.defaultToDeviceProtectedStorage attribute's value can be found in the AndroidManifestApplication array.

May be a boolean value, such as "true" or "false".

Constant Value: 38 (0x00000026)

AndroidManifestApplication_description

public static final int AndroidManifestApplication_description

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".

Constant Value: 13 (0x0000000d)

AndroidManifestApplication_directBootAware

public static final int AndroidManifestApplication_directBootAware

Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

May be a boolean value, such as "true" or "false".

Constant Value: 39 (0x00000027)

AndroidManifestApplication_enableOnBackInvokedCallback

public static final int AndroidManifestApplication_enableOnBackInvokedCallback

If false, KEYCODE_BACK and Activity.onBackPressed() and related event will be forwarded to the Activities and View, otherwise those events will be replaced by a call to OnBackInvokedCallback.onBackInvoked() on the focused window.

May be a boolean value, such as "true" or "false".

Constant Value: 73 (0x00000049)

AndroidManifestApplication_enabled

public static final int AndroidManifestApplication_enabled

Specify whether the components in this application are enabled or not (that is, can be instantiated by the system). If "false", it overrides any component specific values (a value of "true" will not override the component specific values).

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

AndroidManifestApplication_extractNativeLibs

public static final int AndroidManifestApplication_extractNativeLibs

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".

Constant Value: 34 (0x00000022)

AndroidManifestApplication_forceQueryable

public static final int AndroidManifestApplication_forceQueryable

If true this app declares that it should be visible to all other apps on device, regardless of what they declare via the queries tags in their manifest. The default value is false.

May be a boolean value, such as "true" or "false".

Constant Value: 57 (0x00000039)

AndroidManifestApplication_fullBackupContent

public static final int AndroidManifestApplication_fullBackupContent

Applications will set this in their manifest to opt-in to or out of full app data back-up and restore. Alternatively they can set it to an xml resource within their app that will be parsed by the BackupAgent to selectively backup files indicated within that xml.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a boolean value, such as "true" or "false".

Constant Value: 35 (0x00000023)

AndroidManifestApplication_fullBackupOnly

public static final int AndroidManifestApplication_fullBackupOnly

Indicates that even though the application provides a BackupAgent, only full-data streaming backup operations are to be performed to save the app's data. This lets the app rely on full-data backups while still participating in the backup and restore process via the BackupAgent's full-data backup APIs. When this attribute is true the app's BackupAgent overrides of the onBackup() and onRestore() callbacks can be empty stubs.

May be a boolean value, such as "true" or "false".

Constant Value: 32 (0x00000020)

AndroidManifestApplication_gwpAsanMode

public static final int AndroidManifestApplication_gwpAsanMode

Enable sampled memory bug detection in this process. When enabled, a very small, random subset of native memory allocations are protected with guard pages, providing an ASan-like error report in case of a memory corruption bug. GWP-ASan is a recursive acronym. It stands for \u201cGWP-ASan Will Provide Allocation SANity\u201d. See the LLVM documentation for more information about this feature.

This attribute can be applied to a process tag, or to an application tag (to supply a default setting for all application components).

Must be one of the following constant values.

ConstantValueDescription
always1Always enable GwpAsan.
defaultffffffffDefault behavior: GwpAsan is disabled in user apps, randomly enabled in system apps.
never0Never enable GwpAsan.

Constant Value: 62 (0x0000003e)

AndroidManifestApplication_hardwareAccelerated

public static final int AndroidManifestApplication_hardwareAccelerated

Flag indicating whether the application's rendering should be hardware accelerated if possible. This flag is turned on by default for applications that are targeting 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 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".

Constant Value: 23 (0x00000017)

AndroidManifestApplication_hasCode

public static final int AndroidManifestApplication_hasCode

Indicate whether this application contains code. If set to false, there is no code associated with it and thus the system will not try to load its code when launching components. The default is true for normal behavior.

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

AndroidManifestApplication_hasFragileUserData

public static final int AndroidManifestApplication_hasFragileUserData

If true the user is prompted to keep the app's data on uninstall

May be a boolean value, such as "true" or "false".

Constant Value: 50 (0x00000032)

AndroidManifestApplication_icon

public static final int AndroidManifestApplication_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

AndroidManifestApplication_isGame

public static final int AndroidManifestApplication_isGame

This constant is deprecated.
replaced by setting appCategory attribute to "game"

May be a boolean value, such as "true" or "false".

Constant Value: 31 (0x0000001f)

AndroidManifestApplication_killAfterRestore

public static final int AndroidManifestApplication_killAfterRestore

Whether the application in question should be terminated after its settings have been restored during a full-system restore operation. Single-package restore operations will never cause the application to be shut down. Full-system restore operations typically only occur once, when the phone is first set up. Third-party applications will not usually need to use this attribute.

The default is true, which means that after the application has finished processing its data during a full-system restore, it will be terminated.

May be a boolean value, such as "true" or "false".

Constant Value: 18 (0x00000012)

AndroidManifestApplication_knownActivityEmbeddingCerts

public static final int AndroidManifestApplication_knownActivityEmbeddingCerts

A reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity. If the client is not signed with one of the certificates in the set, and the activity does not allow embedding by untrusted hosts via R.attr.allowUntrustedActivityEmbedding flag, the embedding request will fail.

The digest should be computed over the DER encoding of the trusted certificate using the SHA-256 digest algorithm.

If only a single signer is declared this can also be a string resource, or the digest can be declared inline as the value for this attribute.

If the attribute is declared both on the application and the activity level, the value on the activity level takes precedence.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 72 (0x00000048)

AndroidManifestApplication_label

public static final int AndroidManifestApplication_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestApplication_largeHeap

public static final int AndroidManifestApplication_largeHeap

Request that your application's processes be created with a large Dalvik heap. This applies to all processes created for the application. It only applies to the first application loaded into a process; if using a sharedUserId to allow multiple applications to use a process, they all must use this option consistently or will get unpredictable results.

May be a boolean value, such as "true" or "false".

Constant Value: 24 (0x00000018)

AndroidManifestApplication_localeConfig

public static final int AndroidManifestApplication_localeConfig

An XML resource with the application's LocaleConfig

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 71 (0x00000047)

public static final int AndroidManifestApplication_logo

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".

Constant Value: 22 (0x00000016)

AndroidManifestApplication_manageSpaceActivity

public static final int AndroidManifestApplication_manageSpaceActivity

Name of activity to be launched for managing the application's space on the device.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

AndroidManifestApplication_maxAspectRatio

public static final int AndroidManifestApplication_maxAspectRatio

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.

May be a floating point value, such as "1.2".

Constant Value: 44 (0x0000002c)

AndroidManifestApplication_memtagMode

public static final int AndroidManifestApplication_memtagMode

Enable hardware memory tagging (ARM MTE) in this process. When enabled, heap memory bugs like use-after-free and buffer overflow are detected and result in an immediate ("sync" mode) or delayed ("async" mode) crash instead of a silent memory corruption. Sync mode, while slower, provides enhanced bug reports including stack traces at the time of allocation and deallocation of memory, similar to AddressSanitizer. See the ARM announcement for more details.

This attribute can be applied to a process tag, or to an application tag (to supply a default setting for all application components).

Must be one of the following constant values.

ConstantValueDescription
async1
defaultffffffff
off0
sync2

Constant Value: 64 (0x00000040)

AndroidManifestApplication_minAspectRatio

public static final int AndroidManifestApplication_minAspectRatio

This value indicates the minimum aspect ratio the activity supports. If the app runs on a device with a narrower aspect ratio, the system automatically letterboxes the app, leaving portions of the screen unused so the app can run at its specified minimum aspect ratio.

Minimum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal form. For example, if the minimum aspect ratio is 4:3, set value to 1.33.

Value needs to be greater or equal to 1.0, otherwise it is ignored.

May be a floating point value, such as "1.2".

Constant Value: 51 (0x00000033)

AndroidManifestApplication_multiArch

public static final int AndroidManifestApplication_multiArch

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".

Constant Value: 33 (0x00000021)

AndroidManifestApplication_name

public static final int AndroidManifestApplication_name

The (optional) fully-qualified name for a subclass of Application that the system instantiates before any other class when an app's process starts. Most applications don't need this attribute. If it's not specified, the system instantiates the base Application class instead.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

AndroidManifestApplication_nativeHeapZeroInitialized

public static final int AndroidManifestApplication_nativeHeapZeroInitialized

If true enables automatic zero initialization of all native heap allocations.

May be a boolean value, such as "true" or "false".

Constant Value: 65 (0x00000041)

AndroidManifestApplication_networkSecurityConfig

public static final int AndroidManifestApplication_networkSecurityConfig

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".

Constant Value: 41 (0x00000029)

AndroidManifestApplication_permission

public static final int AndroidManifestApplication_permission

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;

Constant Value: 6 (0x00000006)

AndroidManifestApplication_persistent

public static final int AndroidManifestApplication_persistent

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".

Constant Value: 8 (0x00000008)

AndroidManifestApplication_persistentWhenFeatureAvailable

public static final int AndroidManifestApplication_persistentWhenFeatureAvailable

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;

Constant Value: 45 (0x0000002d)

AndroidManifestApplication_preserveLegacyExternalStorage

public static final int AndroidManifestApplication_preserveLegacyExternalStorage

If true this app would like to preserve the legacy storage model from a previously installed version. Note that this may not always be respected due to policy or backwards compatibility reasons.

This has no effect on the first install of an app on a device. For an updating app, setting this to true will preserve the legacy behaviour configured by the requestLegacyExternalStorage flag. If on an update, this flag is set to false then the legacy access is not preserved, such an app can only have legacy access with the requestLegacyExternalStorage flag.

The default value is false.

May be a boolean value, such as "true" or "false".

Constant Value: 61 (0x0000003d)

AndroidManifestApplication_process

public static final int AndroidManifestApplication_process

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;

Constant Value: 11 (0x0000000b)

AndroidManifestApplication_requestLegacyExternalStorage

public static final int AndroidManifestApplication_requestLegacyExternalStorage

If true this app would like to run under the legacy storage model. Note that this may not always be respected due to policy or backwards compatibility reasons.

Apps not requesting legacy storage can continue to discover and read media belonging to other apps via MediaStore.

The default value is: - false for apps with targetSdkVersion >= 29 (Q). - true for apps with targetSdkVersion < 29.

May be a boolean value, such as "true" or "false".

Constant Value: 56 (0x00000038)

AndroidManifestApplication_requestRawExternalStorageAccess

public static final int AndroidManifestApplication_requestRawExternalStorageAccess

If true this app would like raw external storage access.

This flag can only be used by apps holding

When the flag is set, all file path access on external storage will bypass database operations that update MediaStore collection. Raw external storage access as a side effect can improve performance of bulk file path operations but can cause unexpected behavior in apps due to inconsistencies in MediaStore collection and lower file system. When the flag is set, app should scan the file after file path operations to ensure consistency of MediaStore collection.

The flag can be set to false if the app doesn't do many bulk file path operations or if app prefers the system to ensure the consistency of the MediaStore collection for file path operations without scanning the file.

The default value is true if

false otherwise.

May be a boolean value, such as "true" or "false".

Constant Value: 67 (0x00000043)

AndroidManifestApplication_requiredAccountType

public static final int AndroidManifestApplication_requiredAccountType

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;

Constant Value: 29 (0x0000001d)

AndroidManifestApplication_requiredForAllUsers

public static final int AndroidManifestApplication_requiredForAllUsers

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".

Constant Value: 27 (0x0000001b)

AndroidManifestApplication_resetEnabledSettingsOnAppDataCleared

public static final int AndroidManifestApplication_resetEnabledSettingsOnAppDataCleared

Specifies whether enabled settings of components in the application should be reset to PackageManager.COMPONENT_ENABLED_STATE_DEFAULT when the application's user data is cleared. The default value is false.

May be a boolean value, such as "true" or "false".

Constant Value: 70 (0x00000046)

AndroidManifestApplication_resizeableActivity

public static final int AndroidManifestApplication_resizeableActivity

Hint to platform that the activity works well in multi-window mode. Intended for a multi-window device where there can be multiple activities of various sizes on the screen at the same time.

The default value is false for applications with targetSdkVersion lesser than Build.VERSION_CODES.N and true otherwise.

Setting this flag to false lets the system know that the app may not be tested or optimized for multi-window environment. The system may still put such activity in multi-window with compatibility mode applied. It also does not guarantee that there will be no other apps in multi-window visible on screen (e.g. picture-in-picture) or on other displays. Therefore, this flag cannot be used to assure an exclusive resource access.

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.

May be a boolean value, such as "true" or "false".

Constant Value: 37 (0x00000025)

AndroidManifestApplication_restoreAnyVersion

public static final int AndroidManifestApplication_restoreAnyVersion

Indicate that the application is prepared to attempt a restore of any backed-up dataset, even if the backup is apparently from a newer version of the application than is currently installed on the device. 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".

Constant Value: 21 (0x00000015)

AndroidManifestApplication_restoreNeedsApplication

public static final int AndroidManifestApplication_restoreNeedsApplication

This constant is deprecated.
This attribute is not used by the Android operating system.

May be a boolean value, such as "true" or "false".

Constant Value: 19 (0x00000013)

AndroidManifestApplication_restrictedAccountType

public static final int AndroidManifestApplication_restrictedAccountType

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;

Constant Value: 28 (0x0000001c)

AndroidManifestApplication_rollbackDataPolicy

public static final int AndroidManifestApplication_rollbackDataPolicy

Declare the policy to deal with user data when rollback is committed.

Must be one of the following constant values.

ConstantValueDescription
restore0User data will be restored during rollback.
retain2User data will remain unchanged during rollback.
wipe1User data will be wiped out during rollback.

Constant Value: 63 (0x0000003f)

AndroidManifestApplication_roundIcon

public static final int AndroidManifestApplication_roundIcon

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".

Constant Value: 42 (0x0000002a)

AndroidManifestApplication_supportsRtl

public static final int AndroidManifestApplication_supportsRtl

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".

Constant Value: 26 (0x0000001a)

AndroidManifestApplication_taskAffinity

public static final int AndroidManifestApplication_taskAffinity

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;

Constant Value: 12 (0x0000000c)

AndroidManifestApplication_testOnly

public static final int AndroidManifestApplication_testOnly

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".

Constant Value: 15 (0x0000000f)

AndroidManifestApplication_theme

public static final int AndroidManifestApplication_theme

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".

Constant Value: 0 (0x00000000)

AndroidManifestApplication_uiOptions

public static final int AndroidManifestApplication_uiOptions

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.

Constant Value: 25 (0x00000019)

AndroidManifestApplication_useEmbeddedDex

public static final int AndroidManifestApplication_useEmbeddedDex

Flag to specify if this app (or process) wants to run the dex within its APK but not extracted or locally compiled variants. This keeps the dex code protected by the APK signature. Such apps (or processes) will always run in JIT mode (same when they are first installed). If enabled at the app level, the system will never generate ahead-of-time compiled code for the app. Depending on the app's workload, there may be some run time performance change, noteably the cold start time.

This attribute can be applied to either process or application tags. If enabled at the app level, any process level attribute is effectively ignored.

May be a boolean value, such as "true" or "false".

Constant Value: 53 (0x00000035)

AndroidManifestApplication_usesCleartextTraffic

public static final int AndroidManifestApplication_usesCleartextTraffic

Declare that this application may use cleartext traffic, such as HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, SMTP without STARTTLS or TLS). Defaults to true. If set to false false, the application declares that it does not intend to use cleartext network traffic, in which case platform components (e.g. HTTP stacks, DownloadManager, MediaPlayer) will refuse applications's requests to use cleartext traffic. Third-party libraries are encouraged to honor this flag as well.

May be a boolean value, such as "true" or "false".

Constant Value: 36 (0x00000024)

AndroidManifestApplication_usesNonSdkApi

public static final int AndroidManifestApplication_usesNonSdkApi

Declares that this application should be invoked without non-SDK API enforcement

May be a boolean value, such as "true" or "false".

Constant Value: 49 (0x00000031)

AndroidManifestApplication_vmSafeMode

public static final int AndroidManifestApplication_vmSafeMode

Flag indicating whether the application requests the VM to operate in the safe mode.

May be a boolean value, such as "true" or "false".

Constant Value: 20 (0x00000014)

AndroidManifestApplication_zygotePreloadName

public static final int AndroidManifestApplication_zygotePreloadName

Name of the class that gets invoked for preloading application code, when starting an R.attr.isolatedProcess service that has R.attr.useAppZygote set to true. This is a fully qualified class name (for example, com.mycompany.myapp.MyZygotePreload); as a short-hand if the first character of the class is a period then it is appended to your package name. The class must implement the ZygotePreload interface.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 52 (0x00000034)

AndroidManifestAttributionInheritFrom_tag

public static final int AndroidManifestAttributionInheritFrom_tag

Identifier of the attribution this attribution inherits from

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestAttribution_label

public static final int AndroidManifestAttribution_label

Required user visible label for a attribution.

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;

Constant Value: 0 (0x00000000)

AndroidManifestAttribution_tag

public static final int AndroidManifestAttribution_tag

Required identifier for a attribution. Can be passed to Context.createAttributionContext(String) to create a context tagged with this attribution

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestCategory_name

public static final int AndroidManifestCategory_name

The name of category that is handled, using the Java-style naming convention. For example, to support Intent.CATEGORY_LAUNCHER you would put android.intent.category.LAUNCHER here. Custom actions should generally use a prefix matching the package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestCompatibleScreensScreen_screenDensity

public static final int AndroidManifestCompatibleScreensScreen_screenDensity

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.

Constant Value: 1 (0x00000001)

AndroidManifestCompatibleScreensScreen_screenSize

public static final int AndroidManifestCompatibleScreensScreen_screenSize

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.

Constant Value: 0 (0x00000000)

AndroidManifestData_fragment

public static final int AndroidManifestData_fragment

Specify a URI fragment that must exactly match, as a UriRelativeFilter with PatternMatcher.PATTERN_LITERAL.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 7 (0x00000007)

AndroidManifestData_fragmentAdvancedPattern

public static final int AndroidManifestData_fragmentAdvancedPattern

Specify a URI fragment that matches an advanced pattern, as a UriRelativeFilter with PatternMatcher.PATTERN_ADVANCED_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 23 (0x00000017)

AndroidManifestData_fragmentPattern

public static final int AndroidManifestData_fragmentPattern

Specify a URI fragment that matches a simple pattern, as a UriRelativeFilter with 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;

Constant Value: 22 (0x00000016)

AndroidManifestData_fragmentPrefix

public static final int AndroidManifestData_fragmentPrefix

Specify a URI fragment that must be a prefix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_PREFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 21 (0x00000015)

AndroidManifestData_fragmentSuffix

public static final int AndroidManifestData_fragmentSuffix

Specify a URI fragment that must be a suffix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_SUFFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 24 (0x00000018)

AndroidManifestData_host

public static final int AndroidManifestData_host

Specify a URI authority host that is handled, as per IntentFilter.addDataAuthority().

Note: host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, host names here should always use lower case letters.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestData_mimeGroup

public static final int AndroidManifestData_mimeGroup

Specify a group of MIME types that are handled. MIME types can be added and removed to a package's MIME group via the PackageManager.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 11 (0x0000000b)

AndroidManifestData_mimeType

public static final int AndroidManifestData_mimeType

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;

Constant Value: 0 (0x00000000)

AndroidManifestData_path

public static final int AndroidManifestData_path

Specify a URI path that must exactly match, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_LITERAL.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

AndroidManifestData_pathAdvancedPattern

public static final int AndroidManifestData_pathAdvancedPattern

Specify a URI path that matches an advanced pattern, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_ADVANCED_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 14 (0x0000000e)

AndroidManifestData_pathPattern

public static final int AndroidManifestData_pathPattern

Specify a URI path that matches a simple pattern, as per IntentFilter.addDataPath() with 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;

Constant Value: 6 (0x00000006)

AndroidManifestData_pathPrefix

public static final int AndroidManifestData_pathPrefix

Specify a URI path that must be a prefix to match, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_PREFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 5 (0x00000005)

AndroidManifestData_pathSuffix

public static final int AndroidManifestData_pathSuffix

Specify a URI path that must be a suffix to match, as per IntentFilter.addDataPath() with PatternMatcher.PATTERN_SUFFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 12 (0x0000000c)

AndroidManifestData_port

public static final int AndroidManifestData_port

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;

Constant Value: 3 (0x00000003)

AndroidManifestData_query

public static final int AndroidManifestData_query

Specify a URI query that must exactly match, as a UriRelativeFilter with PatternMatcher.PATTERN_LITERAL.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 16 (0x00000010)

AndroidManifestData_queryAdvancedPattern

public static final int AndroidManifestData_queryAdvancedPattern

Specify a URI query that matches an advanced pattern, as a UriRelativeFilter with PatternMatcher.PATTERN_ADVANCED_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 19 (0x00000013)

AndroidManifestData_queryPattern

public static final int AndroidManifestData_queryPattern

Specify a URI query that matches a simple pattern, as a UriRelativeFilter with 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;

Constant Value: 18 (0x00000012)

AndroidManifestData_queryPrefix

public static final int AndroidManifestData_queryPrefix

Specify a URI query that must be a prefix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_PREFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 17 (0x00000011)

AndroidManifestData_querySuffix

public static final int AndroidManifestData_querySuffix

Specify a URI query that must be a suffix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_SUFFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 20 (0x00000014)

AndroidManifestData_scheme

public static final int AndroidManifestData_scheme

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;

Constant Value: 1 (0x00000001)

AndroidManifestData_ssp

public static final int AndroidManifestData_ssp

Specify a URI scheme specific part that must exactly match, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_LITERAL.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 8 (0x00000008)

AndroidManifestData_sspAdvancedPattern

public static final int AndroidManifestData_sspAdvancedPattern

Specify a URI scheme specific part that matches an advanced pattern, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_ADVANCED_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 15 (0x0000000f)

AndroidManifestData_sspPattern

public static final int AndroidManifestData_sspPattern

Specify a URI scheme specific part that matches a simple pattern, as per IntentFilter.addDataSchemeSpecificPart() with 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;

Constant Value: 10 (0x0000000a)

AndroidManifestData_sspPrefix

public static final int AndroidManifestData_sspPrefix

Specify a URI scheme specific part that must be a prefix to match, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_PREFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 9 (0x00000009)

AndroidManifestData_sspSuffix

public static final int AndroidManifestData_sspSuffix

Specify a URI scheme specific part that must be a suffix to match, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_SUFFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 13 (0x0000000d)

AndroidManifestDenyPermission_name

public static final int AndroidManifestDenyPermission_name

Required name of the permission that is to be denied

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestExtensionSdk_minExtensionVersion

public static final int AndroidManifestExtensionSdk_minExtensionVersion

The minimum version of the extension SDK this application requires.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

AndroidManifestExtensionSdk_sdkVersion

public static final int AndroidManifestExtensionSdk_sdkVersion

The extension SDK version that this tag refers to.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

AndroidManifestFeatureGroup_label

public static final int AndroidManifestFeatureGroup_label

The human-readable name of the feature group.

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;

Constant Value: 0 (0x00000000)

AndroidManifestGrantUriPermission_path

public static final int AndroidManifestGrantUriPermission_path

Specify a URI path that must exactly match, as per PatternMatcher with PatternMatcher.PATTERN_LITERAL.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestGrantUriPermission_pathAdvancedPattern

public static final int AndroidManifestGrantUriPermission_pathAdvancedPattern

Specify a URI path that matches an advanced pattern, as per PatternMatcher with PatternMatcher.PATTERN_ADVANCED_GLOB. Note that because '\' is used as an escape character when reading the string from XML (before it is parsed as a pattern), you will need to double-escape: for example a literal "*" would be written as "\\*" and a literal "\" would be written as "\\\\". This is basically the same as what you would need to write if constructing the string in Java code.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

AndroidManifestGrantUriPermission_pathPattern

public static final int AndroidManifestGrantUriPermission_pathPattern

Specify a URI path that matches a simple pattern, as per PatternMatcher with 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;

Constant Value: 2 (0x00000002)

AndroidManifestGrantUriPermission_pathPrefix

public static final int AndroidManifestGrantUriPermission_pathPrefix

Specify a URI path that must be a prefix to match, as per PatternMatcher with PatternMatcher.PATTERN_PREFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestGrantUriPermission_pathSuffix

public static final int AndroidManifestGrantUriPermission_pathSuffix

Specify a URI path that must be a suffix to match, as per PatternMatcher with PatternMatcher.PATTERN_SUFFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

AndroidManifestInstallConstraintsFingerprintPrefix_value

public static final int AndroidManifestInstallConstraintsFingerprintPrefix_value

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".

Constant Value: 0 (0x00000000)

AndroidManifestInstrumentation_banner

public static final int AndroidManifestInstrumentation_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 7 (0x00000007)

AndroidManifestInstrumentation_functionalTest

public static final int AndroidManifestInstrumentation_functionalTest

Flag indicating that an Instrumentation class should be run as a functional test.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestInstrumentation_handleProfiling

public static final int AndroidManifestInstrumentation_handleProfiling

Flag indicating that an Instrumentation class wants to take care of starting/stopping profiling itself, rather than relying on the default behavior of profiling the complete time it is running. This allows it to target profiling data at a specific set of operations.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

AndroidManifestInstrumentation_icon

public static final int AndroidManifestInstrumentation_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestInstrumentation_label

public static final int AndroidManifestInstrumentation_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestInstrumentation_logo

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".

Constant Value: 6 (0x00000006)

AndroidManifestInstrumentation_name

public static final int AndroidManifestInstrumentation_name

Required name of the class implementing the instrumentation, deriving from Instrumentation. This is a fully qualified class name (for example, com.mycompany.myapp.MyActivity); as a short-hand if the first character of the class is a period then it is appended to your package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestInstrumentation_roundIcon

public static final int AndroidManifestInstrumentation_roundIcon

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".

Constant Value: 8 (0x00000008)

AndroidManifestInstrumentation_targetPackage

public static final int AndroidManifestInstrumentation_targetPackage

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;

Constant Value: 3 (0x00000003)

AndroidManifestInstrumentation_targetProcesses

public static final int AndroidManifestInstrumentation_targetProcesses

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;

Constant Value: 9 (0x00000009)

AndroidManifestIntentFilter_autoVerify

public static final int AndroidManifestIntentFilter_autoVerify

Specify whether an activity intent filter will need to be verified thru its set of data URIs. This will only be used when the Intent's action is set to Intent.ACTION_VIEW and the Intent's category is set to Intent.CATEGORY_BROWSABLE and the intern filter data scheme is set to "http" or "https". When set to true, the intent filter will need to use its data tag for getting the URIs to verify with. For each URI, an HTTPS network request will be done to /.well-known/statements.json host to verify that the web site is okay with the app intercepting the URI.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

AndroidManifestIntentFilter_banner

public static final int AndroidManifestIntentFilter_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 5 (0x00000005)

AndroidManifestIntentFilter_icon

public static final int AndroidManifestIntentFilter_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestIntentFilter_label

public static final int AndroidManifestIntentFilter_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestIntentFilter_logo

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".

Constant Value: 4 (0x00000004)

AndroidManifestIntentFilter_order

public static final int AndroidManifestIntentFilter_order

Within an application, multiple intent filters may match a particular intent. This allows the app author to specify the order filters should be considered. We don't want to use priority because that is global across applications.

Only use if you really need to forcibly set the order in which filters are evaluated. It is preferred to target an activity with a directed intent instead.

The value is a single integer, with higher numbers considered to be better. If not specified, the default order is 0.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

AndroidManifestIntentFilter_priority

public static final int AndroidManifestIntentFilter_priority

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".

Constant Value: 2 (0x00000002)

AndroidManifestIntentFilter_roundIcon

public static final int AndroidManifestIntentFilter_roundIcon

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".

Constant Value: 7 (0x00000007)

AndroidManifestKeySet_name

public static final int AndroidManifestKeySet_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestLayout_defaultHeight

public static final int AndroidManifestLayout_defaultHeight

Default height of the activity. Can be either a fixed value or fraction, in which case the height will be constructed as a fraction of the total available height.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 4 (0x00000004)

AndroidManifestLayout_defaultWidth

public static final int AndroidManifestLayout_defaultWidth

Default width of the activity. Can be either a fixed value or fraction, in which case the width will be constructed as a fraction of the total available width.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 3 (0x00000003)

AndroidManifestLayout_gravity

public static final int AndroidManifestLayout_gravity

Where to initially position the activity inside the available space. Uses constants defined in Gravity.

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.

Constant Value: 0 (0x00000000)

AndroidManifestLayout_minHeight

public static final int AndroidManifestLayout_minHeight

Minimal height of the activity.

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 set minimal height, then the system will set the same minimal height on all other activities in the task. It will also ignore any other minimal height attributes of non-root activities.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 2 (0x00000002)

AndroidManifestLayout_minWidth

public static final int AndroidManifestLayout_minWidth

Minimal width of the activity.

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 set minimal width, then the system will set the same minimal width on all other activities in the task. It will also ignore any other minimal width attributes of non-root activities.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

AndroidManifestLayout_windowLayoutAffinity

public static final int AndroidManifestLayout_windowLayoutAffinity

Window layout affinity of this activity. Activities with the same window layout affinity will share the same layout record. That is, if a user is opening an activity in a new task on a display that can host freeform windows, and the user had opened a task before and that task had a root activity who had the same window layout affinity, the new task's window will be created in the same window mode and around the location which the previously opened task was in.

For example, if a user maximizes a task with root activity A and opens another activity B that has the same window layout affinity as activity A has, activity B will be created in fullscreen window mode. Similarly, if they move/resize a task with root activity C and open another activity D that has the same window layout affinity as activity C has, activity D will be in freeform window mode and as close to the position of activity C as conditions permit. It doesn't require the user to keep the task with activity A or activity C open. It won't, however, put any task into split-screen or PIP window mode on launch.

If the user is opening an activity with its window layout affinity for the first time, the window mode and position is OEM defined.

By default activity doesn't share any affinity with other activities.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 5 (0x00000005)

AndroidManifestLibrary_name

public static final int AndroidManifestLibrary_name

Required public name of the library, which other components and packages will use when referring to this library. This is a string using Java-style scoping to ensure it is unique. The name should typically be the same as the apk's package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestMetaData_name

public static final int AndroidManifestMetaData_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestMetaData_resource

public static final int AndroidManifestMetaData_resource

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".

Constant Value: 2 (0x00000002)

AndroidManifestMetaData_value

public static final int AndroidManifestMetaData_value

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".

Constant Value: 1 (0x00000001)

AndroidManifestOriginalPackage_name

public static final int AndroidManifestOriginalPackage_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestPackageVerifier_name

public static final int AndroidManifestPackageVerifier_name

Specifies the Java-style package name that defines this package verifier.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestPackageVerifier_publicKey

public static final int AndroidManifestPackageVerifier_publicKey

The Base64 encoded public key of the package verifier's signature.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestPathPermission_path

public static final int AndroidManifestPathPermission_path

Specify a URI path that must exactly match, as per PatternMatcher with PatternMatcher.PATTERN_LITERAL.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

AndroidManifestPathPermission_pathAdvancedPattern

public static final int AndroidManifestPathPermission_pathAdvancedPattern

This symbol is the offset where the R.attr.pathAdvancedPattern attribute's value can be found in the AndroidManifestPathPermission array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 7 (0x00000007)

AndroidManifestPathPermission_pathPattern

public static final int AndroidManifestPathPermission_pathPattern

Specify a URI path that matches a simple pattern, as per PatternMatcher with 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;

Constant Value: 5 (0x00000005)

AndroidManifestPathPermission_pathPrefix

public static final int AndroidManifestPathPermission_pathPrefix

Specify a URI path that must be a prefix to match, as per PatternMatcher with PatternMatcher.PATTERN_PREFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

AndroidManifestPathPermission_pathSuffix

public static final int AndroidManifestPathPermission_pathSuffix

Specify a URI path that must be a suffix to match, as per PatternMatcher with PatternMatcher.PATTERN_SUFFIX.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 6 (0x00000006)

AndroidManifestPathPermission_permission

public static final int AndroidManifestPathPermission_permission

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;

Constant Value: 0 (0x00000000)

AndroidManifestPathPermission_readPermission

public static final int AndroidManifestPathPermission_readPermission

A specific R.attr.permission name for read-only access to a 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;

Constant Value: 1 (0x00000001)

AndroidManifestPathPermission_writePermission

public static final int AndroidManifestPathPermission_writePermission

A specific R.attr.permission name for write access to a 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;

Constant Value: 2 (0x00000002)

AndroidManifestPermissionGroup_banner

public static final int AndroidManifestPermissionGroup_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 7 (0x00000007)

AndroidManifestPermissionGroup_description

public static final int AndroidManifestPermissionGroup_description

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".

Constant Value: 4 (0x00000004)

AndroidManifestPermissionGroup_icon

public static final int AndroidManifestPermissionGroup_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestPermissionGroup_label

public static final int AndroidManifestPermissionGroup_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestPermissionGroup_logo

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".

Constant Value: 5 (0x00000005)

AndroidManifestPermissionGroup_name

public static final int AndroidManifestPermissionGroup_name

Required public name of the permission group, permissions will use to specify the group they are in. This is a string using Java-style scoping to ensure it is unique. The prefix will often be the same as our overall package name, for example "com.mycompany.android.myapp.SomePermission".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestPermissionGroup_permissionGroupFlags

public static final int AndroidManifestPermissionGroup_permissionGroupFlags

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).

Constant Value: 6 (0x00000006)

AndroidManifestPermissionGroup_priority

public static final int AndroidManifestPermissionGroup_priority

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".

Constant Value: 3 (0x00000003)

AndroidManifestPermissionGroup_roundIcon

public static final int AndroidManifestPermissionGroup_roundIcon

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".

Constant Value: 8 (0x00000008)

AndroidManifestPermissionTree_banner

public static final int AndroidManifestPermissionTree_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 4 (0x00000004)

AndroidManifestPermissionTree_icon

public static final int AndroidManifestPermissionTree_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestPermissionTree_label

public static final int AndroidManifestPermissionTree_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestPermissionTree_logo

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".

Constant Value: 3 (0x00000003)

AndroidManifestPermissionTree_name

public static final int AndroidManifestPermissionTree_name

Required public name of the permission tree, which is the base name of all permissions under it. This is a string using Java-style scoping to ensure it is unique. The prefix will often be the same as our overall package name, for example "com.mycompany.android.myapp.SomePermission". A permission tree name must have more than two segments in its path; that is, "com.me.foo" is okay, but not "com.me" or "com".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestPermissionTree_roundIcon

public static final int AndroidManifestPermissionTree_roundIcon

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".

Constant Value: 5 (0x00000005)

AndroidManifestPermission_banner

public static final int AndroidManifestPermission_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 9 (0x00000009)

AndroidManifestPermission_description

public static final int AndroidManifestPermission_description

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".

Constant Value: 5 (0x00000005)

AndroidManifestPermission_icon

public static final int AndroidManifestPermission_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestPermission_knownCerts

public static final int AndroidManifestPermission_knownCerts

A reference to an array resource containing the signing certificate digests to be granted this permission when using the knownSigner protection flag. The digest should be computed over the DER encoding of the trusted certificate using the SHA-256 digest algorithm.

If only a single signer is declared this can also be a string resource, or the digest can be declared inline as the value for this attribute.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 11 (0x0000000b)

AndroidManifestPermission_label

public static final int AndroidManifestPermission_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestPermission_logo

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".

Constant Value: 7 (0x00000007)

AndroidManifestPermission_maxSdkVersion

public static final int AndroidManifestPermission_maxSdkVersion

Optional: specify the maximum version of the Android OS for which the application wishes to create the permission. When running on a version of Android higher than the number given here, the permission will not be created.

May be an integer value, such as "100".

Constant Value: 6 (0x00000006)

AndroidManifestPermission_name

public static final int AndroidManifestPermission_name

Required public name of the permission, which other components and packages will use when referring to this permission. This is a string using Java-style scoping to ensure it is unique. The prefix will often be the same as our overall package name, for example "com.mycompany.android.myapp.SomePermission".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestPermission_permissionFlags

public static final int AndroidManifestPermission_permissionFlags

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.
hardRestricted4This permission is restricted by the platform and it would be grantable only to apps that meet special criteria per platform policy.
immutablyRestricted10This permission is restricted immutably which means that its restriction state may be specified only on the first install of the app and will stay in this initial allowlist state until the app is uninstalled.
installerExemptIgnored20Modifier for permission restriction. This permission cannot be exempted by the installer.
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.
softRestricted8This permission is restricted by the platform and it would be grantable in its full form to apps that meet special criteria per platform policy. Otherwise, a weaker form of the permission would be granted. The weak grant depends on the permission.

What weak grant means is described in the documentation of the permissions.

Constant Value: 8 (0x00000008)

AndroidManifestPermission_permissionGroup

public static final int AndroidManifestPermission_permissionGroup

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;

Constant Value: 4 (0x00000004)

AndroidManifestPermission_protectionLevel

public static final int AndroidManifestPermission_protectionLevel

Characterizes the potential risk implied in a permission and indicates the procedure the system should follow when determining whether to grant the permission to an application requesting it. Standard permissions 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
appPredictor200000Additional flag from base permission type: this permission can be automatically granted to the system app predictor
appop40Additional flag from base permission type: this permission is closely associated with an app op for controlling access.
companion800000Additional flag from base permission type: this permission can be automatically granted to the system companion device manager service
configurator80000Additional flag from base permission type: this permission automatically granted to device configurator
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. Although undocumented, the permission state used to be shared by all users (including future users), but it is managed per-user since API level 31.
incidentReportApprover100000Additional flag from base permission type: this permission designates the app that will approve the sharing of incident reports.
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
internal4Base permission type: a permission that is managed internally by the system and only granted according to the protection flags.
knownSigner8000000Additional flag from base permission type: this permission can also be granted if the requesting application is signed by, or has in its signing lineage, any of the certificate digests declared in R.attr.knownCerts.
module400000Additional flag from base permission type: this permission can also be granted if the requesting application is included in the mainline module}.
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 allowlisted 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 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.
recents2000000Additional flag from base permission type: this permission will be granted to the recents app.
retailDemo1000000Additional flag from base permission type: this permission will be granted to the retail demo app, as defined by the OEM. This flag has been replaced by the retail demo role and is a no-op since Android V.
role4000000Additional flag from base permission type: this permission is managed by role.
runtime2000Additional flag from base permission type: this permission can only be granted to apps that target runtime permissions (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.

Constant Value: 3 (0x00000003)

AndroidManifestPermission_roundIcon

public static final int AndroidManifestPermission_roundIcon

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".

Constant Value: 10 (0x0000000a)

AndroidManifestProcess_gwpAsanMode

public static final int AndroidManifestProcess_gwpAsanMode

Enable sampled memory bug detection in this process. When enabled, a very small, random subset of native memory allocations are protected with guard pages, providing an ASan-like error report in case of a memory corruption bug. GWP-ASan is a recursive acronym. It stands for \u201cGWP-ASan Will Provide Allocation SANity\u201d. See the LLVM documentation for more information about this feature.

This attribute can be applied to a process tag, or to an application tag (to supply a default setting for all application components).

Must be one of the following constant values.

ConstantValueDescription
always1Always enable GwpAsan.
defaultffffffffDefault behavior: GwpAsan is disabled in user apps, randomly enabled in system apps.
never0Never enable GwpAsan.

Constant Value: 3 (0x00000003)

AndroidManifestProcess_memtagMode

public static final int AndroidManifestProcess_memtagMode

Enable hardware memory tagging (ARM MTE) in this process. When enabled, heap memory bugs like use-after-free and buffer overflow are detected and result in an immediate ("sync" mode) or delayed ("async" mode) crash instead of a silent memory corruption. Sync mode, while slower, provides enhanced bug reports including stack traces at the time of allocation and deallocation of memory, similar to AddressSanitizer. See the ARM announcement for more details.

This attribute can be applied to a process tag, or to an application tag (to supply a default setting for all application components).

Must be one of the following constant values.

ConstantValueDescription
async1
defaultffffffff
off0
sync2

Constant Value: 4 (0x00000004)

AndroidManifestProcess_name

public static final int AndroidManifestProcess_name

custom Application class name. We use call it "name", not "className", to be consistent with the Application tag.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestProcess_nativeHeapZeroInitialized

public static final int AndroidManifestProcess_nativeHeapZeroInitialized

If true enables automatic zero initialization of all native heap allocations.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestProcess_process

public static final int AndroidManifestProcess_process

Required name of the process that is allowed

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestProcess_useEmbeddedDex

public static final int AndroidManifestProcess_useEmbeddedDex

Flag to specify if this app (or process) wants to run the dex within its APK but not extracted or locally compiled variants. This keeps the dex code protected by the APK signature. Such apps (or processes) will always run in JIT mode (same when they are first installed). If enabled at the app level, the system will never generate ahead-of-time compiled code for the app. Depending on the app's workload, there may be some run time performance change, noteably the cold start time.

This attribute can be applied to either process or application tags. If enabled at the app level, any process level attribute is effectively ignored.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

AndroidManifestProfileable_enabled

public static final int AndroidManifestProfileable_enabled

Flag indicating whether the application can be profiled by system services, but not necessarily via shell tools (for which also android:shell="true" must be set). If false, the application cannot be profiled at all. Defaults to true.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

AndroidManifestProfileable_shell

public static final int AndroidManifestProfileable_shell

Flag indicating whether the application can be profiled by the shell user, even when running on a device that is running in user mode.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

AndroidManifestProperty_name

public static final int AndroidManifestProperty_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestProperty_resource

public static final int AndroidManifestProperty_resource

The resource identifier to assign to this property. The resource identifier can later be retrieved from the property object through Property.getResourceId.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

AndroidManifestProperty_value

public static final int AndroidManifestProperty_value

Concrete value to assign to this property. The data can later be retrieved from the property object through Property.getString, Property.getInteger, Property.getBoolean, or Property.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".

Constant Value: 1 (0x00000001)

AndroidManifestProtectedBroadcast_name

public static final int AndroidManifestProtectedBroadcast_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestProvider_attributionTags

public static final int AndroidManifestProvider_attributionTags

Set of attribution tags that should be automatically applied to this component.

Each instance of this ContentProvider will be automatically configured with Context.createAttributionContext() using the first attribution tag contained here.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 23 (0x00000017)

AndroidManifestProvider_authorities

public static final int AndroidManifestProvider_authorities

Specify the authorities under which this content provider can be found. Multiple authorities may be supplied by separating them with a semicolon. Authority names should use a Java-style naming convention (such as com.google.provider.MyProvider) in order to avoid conflicts. Typically this name is the same as the class implementation describing the provider's data structure.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 10 (0x0000000a)

AndroidManifestProvider_banner

public static final int AndroidManifestProvider_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 17 (0x00000011)

AndroidManifestProvider_description

public static final int AndroidManifestProvider_description

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".

Constant Value: 14 (0x0000000e)

AndroidManifestProvider_directBootAware

public static final int AndroidManifestProvider_directBootAware

Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

May be a boolean value, such as "true" or "false".

Constant Value: 18 (0x00000012)

AndroidManifestProvider_enabled

public static final int AndroidManifestProvider_enabled

Specify whether this provider is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

AndroidManifestProvider_exported

public static final int AndroidManifestProvider_exported

Flag indicating whether the given application component is available to other applications. If false, it can only be accessed by applications with its same user id (which usually means only by code in its own package). If true, it can be invoked by external entities, though which ones can do so may be controlled through permissions. The default value is false for activity, receiver, and service components that do not specify any intent filters; it is true for activity, receiver, and service components that do have intent filters (implying they expect to be invoked by others who do not know their particular component name) and for all content providers.

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

AndroidManifestProvider_forceUriPermissions

public static final int AndroidManifestProvider_forceUriPermissions

If true, the system will always create URI permission grants in the cases where Intent.FLAG_GRANT_READ_URI_PERMISSION or Intent.FLAG_GRANT_WRITE_URI_PERMISSION would apply. This is useful for a content provider that dynamically enforces permissions on calls in to the provider, instead of through the manifest: the system needs to know that it should always apply permission grants, even if it looks like the target of the grant would already have access to the URI.

May be a boolean value, such as "true" or "false".

Constant Value: 22 (0x00000016)

AndroidManifestProvider_grantUriPermissions

public static final int AndroidManifestProvider_grantUriPermissions

If true, the Context.grantUriPermission or corresponding Intent flags can be used to allow others to access specific URIs in the content provider, even if they do not have an explicit read or write permission. If you are supporting this feature, you must be sure to call Context.revokeUriPermission when URIs are deleted from your provider.

May be a boolean value, such as "true" or "false".

Constant Value: 13 (0x0000000d)

AndroidManifestProvider_icon

public static final int AndroidManifestProvider_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestProvider_initOrder

public static final int AndroidManifestProvider_initOrder

Specify the order in which content providers hosted by a process are instantiated when that process is created. Not needed unless you have providers with dependencies between each other, to make sure that they are created in the order needed by those dependencies. The value is a simple integer, with higher numbers being initialized first.

May be an integer value, such as "100".

Constant Value: 12 (0x0000000c)

AndroidManifestProvider_label

public static final int AndroidManifestProvider_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestProvider_logo

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".

Constant Value: 15 (0x0000000f)

AndroidManifestProvider_multiprocess

public static final int AndroidManifestProvider_multiprocess

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".

Constant Value: 9 (0x00000009)

AndroidManifestProvider_name

public static final int AndroidManifestProvider_name

Required name of the class implementing the provider, deriving from ContentProvider. This is a fully qualified class name (for example, com.mycompany.myapp.MyProvider); as a short-hand if the first character of the class is a period then it is appended to your package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestProvider_permission

public static final int AndroidManifestProvider_permission

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;

Constant Value: 3 (0x00000003)

AndroidManifestProvider_process

public static final int AndroidManifestProvider_process

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;

Constant Value: 8 (0x00000008)

AndroidManifestProvider_readPermission

public static final int AndroidManifestProvider_readPermission

A specific R.attr.permission name for read-only access to a 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;

Constant Value: 4 (0x00000004)

AndroidManifestProvider_roundIcon

public static final int AndroidManifestProvider_roundIcon

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".

Constant Value: 19 (0x00000013)

AndroidManifestProvider_singleUser

public static final int AndroidManifestProvider_singleUser

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".

Constant Value: 16 (0x00000010)

AndroidManifestProvider_splitName

public static final int AndroidManifestProvider_splitName

The code for this component is located in the given split.

NOTE: This is only applicable to instant app.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 21 (0x00000015)

AndroidManifestProvider_syncable

public static final int AndroidManifestProvider_syncable

Flag indicating whether this content provider would like to participate in data synchronization.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

AndroidManifestProvider_systemUserOnly

public static final int AndroidManifestProvider_systemUserOnly

If set to true, only a single instance of this component will run and be available for the SYSTEM user. Non SYSTEM users will not be allowed to access the component if this flag is enabled. This flag can be used with services, receivers, providers and activities.

May be a boolean value, such as "true" or "false".

Constant Value: 24 (0x00000018)

AndroidManifestProvider_visibleToInstantApps

public static final int AndroidManifestProvider_visibleToInstantApps

Specify whether a component should be visible to instant apps.

May be a boolean value, such as "true" or "false".

Constant Value: 20 (0x00000014)

AndroidManifestProvider_writePermission

public static final int AndroidManifestProvider_writePermission

A specific R.attr.permission name for write access to a 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;

Constant Value: 5 (0x00000005)

AndroidManifestPublicKey_name

public static final int AndroidManifestPublicKey_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestPublicKey_value

public static final int AndroidManifestPublicKey_value

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".

Constant Value: 1 (0x00000001)

AndroidManifestQueriesPackage_name

public static final int AndroidManifestQueriesPackage_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestQueriesProvider_authorities

public static final int AndroidManifestQueriesProvider_authorities

Specify the authorities under which this content provider can be found. Multiple authorities may be supplied by separating them with a semicolon. Authority names should use a Java-style naming convention (such as com.google.provider.MyProvider) in order to avoid conflicts. Typically this name is the same as the class implementation describing the provider's data structure.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestReceiver_attributionTags

public static final int AndroidManifestReceiver_attributionTags

Set of attribution tags that should be automatically applied to this component.

Each instance of this BroadcastReceiver will be automatically configured with Context.createAttributionContext() using the first attribution tag contained here.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 13 (0x0000000d)

AndroidManifestReceiver_banner

public static final int AndroidManifestReceiver_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 10 (0x0000000a)

AndroidManifestReceiver_description

public static final int AndroidManifestReceiver_description

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".

Constant Value: 7 (0x00000007)

AndroidManifestReceiver_directBootAware

public static final int AndroidManifestReceiver_directBootAware

Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

AndroidManifestReceiver_enabled

public static final int AndroidManifestReceiver_enabled

Specify whether the receiver is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

AndroidManifestReceiver_exported

public static final int AndroidManifestReceiver_exported

Flag indicating whether the given application component is available to other applications. If false, it can only be accessed by applications with its same user id (which usually means only by code in its own package). If true, it can be invoked by external entities, though which ones can do so may be controlled through permissions. The default value is false for activity, receiver, and service components that do not specify any intent filters; it is true for activity, receiver, and service components that do have intent filters (implying they expect to be invoked by others who do not know their particular component name) and for all content providers.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestReceiver_icon

public static final int AndroidManifestReceiver_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestReceiver_label

public static final int AndroidManifestReceiver_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestReceiver_logo

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".

Constant Value: 8 (0x00000008)

AndroidManifestReceiver_name

public static final int AndroidManifestReceiver_name

Required name of the class implementing the receiver, deriving from BroadcastReceiver. This is a fully qualified class name (for example, com.mycompany.myapp.MyReceiver); as a short-hand if the first character of the class is a period then it is appended to your package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestReceiver_permission

public static final int AndroidManifestReceiver_permission

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;

Constant Value: 3 (0x00000003)

AndroidManifestReceiver_process

public static final int AndroidManifestReceiver_process

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;

Constant Value: 6 (0x00000006)

AndroidManifestReceiver_roundIcon

public static final int AndroidManifestReceiver_roundIcon

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".

Constant Value: 12 (0x0000000c)

AndroidManifestReceiver_singleUser

public static final int AndroidManifestReceiver_singleUser

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".

Constant Value: 9 (0x00000009)

AndroidManifestRequiredFeature_name

public static final int AndroidManifestRequiredFeature_name

The name of the feature.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestRequiredNotFeature_name

public static final int AndroidManifestRequiredNotFeature_name

The name of the feature.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestResourceOverlay_category

public static final int AndroidManifestResourceOverlay_category

Category of the resource overlay.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestResourceOverlay_isStatic

public static final int AndroidManifestResourceOverlay_isStatic

Whether the given RRO is static or not.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

AndroidManifestResourceOverlay_priority

public static final int AndroidManifestResourceOverlay_priority

Load order of overlay package.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

AndroidManifestResourceOverlay_resourcesMap

public static final int AndroidManifestResourceOverlay_resourcesMap

The xml file that defines the target id to overlay value mappings.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 7 (0x00000007)

AndroidManifestResourceOverlay_targetName

public static final int AndroidManifestResourceOverlay_targetName

The name of the overlayable whose resources will be overlaid.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

AndroidManifestResourceOverlay_targetPackage

public static final int AndroidManifestResourceOverlay_targetPackage

Package name of base package whose resources will be overlaid.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestSdkLibrary_name

public static final int AndroidManifestSdkLibrary_name

Required public name of the SDK library, which other components and packages will use when referring to this SDK library. This is a string using Java-style scoping to ensure it is unique. Both name and version should typically form the apk's package name: name_versionMajor.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestSdkLibrary_versionMajor

public static final int AndroidManifestSdkLibrary_versionMajor

Required major version of the SDK library.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

AndroidManifestService_allowSharedIsolatedProcess

public static final int AndroidManifestService_allowSharedIsolatedProcess

If true, and this is an R.attr.isolatedProcess service, the service is allowed to be bound in a shared isolated process with other isolated services. Note that these other isolated services can also belong to other apps from different vendors.

Shared isolated processes are created when using the {@link android.content.Context#BIND_SHARED_ISOLATED_PROCESS) during service binding.

Note that when this flag is used, the {@link android.R.attr#process} attribute is ignored when the process is bound into a shared isolated process by a client.

May be a boolean value, such as "true" or "false".

Constant Value: 21 (0x00000015)

AndroidManifestService_attributionTags

public static final int AndroidManifestService_attributionTags

Set of attribution tags that should be automatically applied to this component.

Each instance of this Service will be automatically configured with Context.createAttributionContext() using the first attribution tag contained here.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 20 (0x00000014)

AndroidManifestService_banner

public static final int AndroidManifestService_banner

A Drawable resource providing an extended graphical banner for its associated item. Use with the application tag (to supply a default banner for all application activities), or with the activity, tag to supply a banner for a specific activity.

The given banner will be used to display to the user a graphical representation of an activity in the Leanback application launcher. Since banners are displayed only in the Leanback launcher, they should only be used with activities (and applications) that support Leanback mode. These are activities that handle Intents of category Intent.CATEGORY_LEANBACK_LAUNCHER.

This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 12 (0x0000000c)

AndroidManifestService_description

public static final int AndroidManifestService_description

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".

Constant Value: 7 (0x00000007)

AndroidManifestService_directBootAware

public static final int AndroidManifestService_directBootAware

Indicate if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

May be a boolean value, such as "true" or "false".

Constant Value: 13 (0x0000000d)

AndroidManifestService_enabled

public static final int AndroidManifestService_enabled

Specify whether the service is enabled or not (that is, can be instantiated by the system). It can also be specified for an application as a whole, in which case a value of "false" will override any component specific values (a value of "true" will not override the component specific values).

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

AndroidManifestService_exported

public static final int AndroidManifestService_exported

Flag indicating whether the given application component is available to other applications. If false, it can only be accessed by applications with its same user id (which usually means only by code in its own package). If true, it can be invoked by external entities, though which ones can do so may be controlled through permissions. The default value is false for activity, receiver, and service components that do not specify any intent filters; it is true for activity, receiver, and service components that do have intent filters (implying they expect to be invoked by others who do not know their particular component name) and for all content providers.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestService_externalService

public static final int AndroidManifestService_externalService

If the service is an 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 R.attr.exported if this flag is set.

May be a boolean value, such as "true" or "false".

Constant Value: 14 (0x0000000e)

AndroidManifestService_foregroundServiceType

public static final int AndroidManifestService_foregroundServiceType

If this is a foreground service, specify its category.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
camera40Use the camera device or record video.

For apps with targetSdkVersion Build.VERSION_CODES.R and above, a foreground service will not be able to access the camera if this type is not specified in the manifest and in Service.startForeground(int, android.app.Notification, int).

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission Manifest.permission.FOREGROUND_SERVICE_CAMERA and Manifest.permission.CAMERA.

connectedDevice10Auto, bluetooth, TV or other devices connection, monitoring and interaction.

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission Manifest.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE and one of the following permissions: Manifest.permission.BLUETOOTH_CONNECT, Manifest.permission.CHANGE_NETWORK_STATE, Manifest.permission.CHANGE_WIFI_STATE, Manifest.permission.CHANGE_WIFI_MULTICAST_STATE, Manifest.permission.NFC, Manifest.permission.TRANSMIT_IR, or has been granted the access to one of the attached USB devices/accessories.

dataSync1Data (photo, file, account) upload/download, backup/restore, import/export, fetch, transfer over network between device and cloud.

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, this type should NOT be used: calling Service.startForeground(int, android.app.Notification, int) with this type on devices running Build.VERSION_CODES.UPSIDE_DOWN_CAKE is still allowed, but calling it with this type on devices running future platform releases may get a InvalidForegroundServiceTypeException.

health100Health, wellness and fitness.

Requires the app to hold the permission Manifest.permission.FOREGROUND_SERVICE_HEALTH and one of the following permissions Manifest.permission.ACTIVITY_RECOGNITION, Manifest.permission.BODY_SENSORS, Manifest.permission.HIGH_SAMPLING_RATE_SENSORS.

location8GPS, map, navigation location update.

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission Manifest.permission.FOREGROUND_SERVICE_LOCATION and one of the following permissions: Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.ACCESS_FINE_LOCATION.

mediaPlayback2Music, video, news or other media play.

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission Manifest.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK.

mediaProcessing2000Media processing use cases such as video or photo editing and processing.

Requires the app to hold the permission Manifest.permission.FOREGROUND_SERVICE_MEDIA_PROCESSING in order to use this type.

mediaProjection20Managing a MediaProjection session, e.g., for screen recording or takingscreenshots.

To capture through MediaProjection, an app must start a foreground service with the type corresponding to this constant. This type should only be used for MediaProjection. Capturing screen contents via createVirtualDisplay conveniently allows recording, presenting screen contents into a meeting, taking screenshots, or several other scenarios.

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission Manifest.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION, and the user must have allowed the screen capture request from this app.

microphone80Use the microphone device or record audio.

For apps with targetSdkVersion Build.VERSION_CODES.R and above, a foreground service will not be able to access the microphone if this type is not specified in the manifest and in Service.startForeground(int, android.app.Notification, int).

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission Manifest.permission.FOREGROUND_SERVICE_MICROPHONE and one of the following permissions: Manifest.permission.CAPTURE_AUDIO_OUTPUT, Manifest.permission.RECORD_AUDIO.

phoneCall4Ongoing operations related to phone calls, video conferencing, or similar interactive communication.

For apps with targetSdkVersion Build.VERSION_CODES.UPSIDE_DOWN_CAKE and above, starting a foreground service with this type will require permission Manifest.permission.FOREGROUND_SERVICE_PHONE_CALL and Manifest.permission.MANAGE_OWN_CALLS or holding the default dialer role.

remoteMessaging200Messaging use cases which host local server to relay messages across devices.

Requires the app to hold the permission Manifest.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING in order to use this type.

shortService800"Short service" foreground service type. See ServiceInfo.FOREGROUND_SERVICE_TYPE_SHORT_SERVICE. for more details.
specialUse40000000Use cases that can't be categorized into any other foreground service types, but also can't use @link android.app.job.JobInfo.Builder} APIs. See ServiceInfo.FOREGROUND_SERVICE_TYPE_SPECIAL_USE for the best practice of the use of this type.

Requires the app to hold the permission Manifest.permission.FOREGROUND_SERVICE_SPECIAL_USE in order to use this type.

systemExempted400The system exempted foreground service use cases.

Requires the app to hold the permission Manifest.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED in order to use this type. Apps are allowed to use this type only in the use cases listed in ServiceInfo.FOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED.

Constant Value: 19 (0x00000013)

AndroidManifestService_icon

public static final int AndroidManifestService_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AndroidManifestService_isolatedProcess

public static final int AndroidManifestService_isolatedProcess

If set to true, this service will run under a special process that is isolated from the rest of the system. The only communication with it is through the Service API (binding and starting).

May be a boolean value, such as "true" or "false".

Constant Value: 10 (0x0000000a)

AndroidManifestService_label

public static final int AndroidManifestService_label

A user-legible name for the given item. Use with the application tag (to supply a default label for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific label for that component). It may also be used with the intent-filter tag to supply a label to show to the user when an activity is being selected based on a particular Intent.

The given label will be used wherever the user sees information about its associated component; for example, as the name of a main activity that is displayed in the launcher. You should generally set this to a reference to a string resource, so that it can be localized, however it is also allowed to supply a plain string for quick and dirty programming.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

public static final int AndroidManifestService_logo

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".

Constant Value: 8 (0x00000008)

AndroidManifestService_name

public static final int AndroidManifestService_name

Required name of the class implementing the service, deriving from Service. This is a fully qualified class name (for example, com.mycompany.myapp.MyService); as a short-hand if the first character of the class is a period then it is appended to your package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestService_permission

public static final int AndroidManifestService_permission

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;

Constant Value: 3 (0x00000003)

AndroidManifestService_process

public static final int AndroidManifestService_process

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;

Constant Value: 6 (0x00000006)

AndroidManifestService_roundIcon

public static final int AndroidManifestService_roundIcon

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".

Constant Value: 15 (0x0000000f)

AndroidManifestService_singleUser

public static final int AndroidManifestService_singleUser

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".

Constant Value: 11 (0x0000000b)

AndroidManifestService_splitName

public static final int AndroidManifestService_splitName

The code for this component is located in the given split.

NOTE: This is only applicable to instant app.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 17 (0x00000011)

AndroidManifestService_stopWithTask

public static final int AndroidManifestService_stopWithTask

If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application. The default is false.

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

AndroidManifestService_systemUserOnly

public static final int AndroidManifestService_systemUserOnly

If set to true, only a single instance of this component will run and be available for the SYSTEM user. Non SYSTEM users will not be allowed to access the component if this flag is enabled. This flag can be used with services, receivers, providers and activities.

May be a boolean value, such as "true" or "false".

Constant Value: 22 (0x00000016)

AndroidManifestService_useAppZygote

public static final int AndroidManifestService_useAppZygote

If true, and this is an R.attr.isolatedProcess service, the service will be spawned from an Application Zygote, instead of the regular Zygote.

The Application Zygote will first pre-initialize the application's class loader. Then, if the application has defined the R.attr.zygotePreloadName attribute, the Application Zygote will call into that class to allow it to perform application-specific preloads (such as loading a shared library). Therefore, spawning from the Application Zygote will typically reduce the service launch time and reduce its memory usage. The downside of using this flag is that you will have an additional process (the app zygote itself) that is taking up memory. Whether actual memory usage is improved therefore strongly depends on the number of isolated services that an application starts, and how much memory those services save by preloading and sharing memory with the app zygote. Therefore, it is recommended to measure memory usage under typical workloads to determine whether it makes sense to use this flag.

There is a limit to the number of isolated services that can be spawned from the Application Zygote; the absolute limit is 100, but due to potential delays in service process cleanup, a much safer limit to use in practice is 50.

May be a boolean value, such as "true" or "false".

Constant Value: 18 (0x00000012)

AndroidManifestService_visibleToInstantApps

public static final int AndroidManifestService_visibleToInstantApps

Specify whether a component should be visible to instant apps.

May be a boolean value, such as "true" or "false".

Constant Value: 16 (0x00000010)

AndroidManifestStaticLibrary_name

public static final int AndroidManifestStaticLibrary_name

Required public name of the library, which other components and packages will use when referring to this library. This is a string using Java-style scoping to ensure it is unique. The name should typically be the same as the apk's package name.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestStaticLibrary_version

public static final int AndroidManifestStaticLibrary_version

Required specific library version.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

AndroidManifestStaticLibrary_versionMajor

public static final int AndroidManifestStaticLibrary_versionMajor

Required specific library version.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

AndroidManifestSupportsInputInputType_name

public static final int AndroidManifestSupportsInputInputType_name

Specifices the name of the input device type

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestSupportsScreens_anyDensity

public static final int AndroidManifestSupportsScreens_anyDensity

This constant is deprecated.
Should always be true by default and not overridden.

May be a boolean value, such as "true" or "false".

Indicates whether the application can accommodate any screen density. This is assumed true if targetSdkVersion is 4 or higher.

Constant Value: 0 (0x00000000)

AndroidManifestSupportsScreens_compatibleWidthLimitDp

public static final int AndroidManifestSupportsScreens_compatibleWidthLimitDp

Starting with 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".

Constant Value: 7 (0x00000007)

AndroidManifestSupportsScreens_largeScreens

public static final int AndroidManifestSupportsScreens_largeScreens

Indicates whether the application supports larger screen form-factors. A large screen is defined as a screen that is significantly larger than a normal phone screen, and thus may require some special care on the application's part to make good use of it. An example would be a VGA normal 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".

Constant Value: 3 (0x00000003)

AndroidManifestSupportsScreens_largestWidthLimitDp

public static final int AndroidManifestSupportsScreens_largestWidthLimitDp

Starting with 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".

Constant Value: 8 (0x00000008)

AndroidManifestSupportsScreens_normalScreens

public static final int AndroidManifestSupportsScreens_normalScreens

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".

Constant Value: 2 (0x00000002)

AndroidManifestSupportsScreens_requiresSmallestWidthDp

public static final int AndroidManifestSupportsScreens_requiresSmallestWidthDp

Starting with 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".

Constant Value: 6 (0x00000006)

AndroidManifestSupportsScreens_resizeable

public static final int AndroidManifestSupportsScreens_resizeable

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".

Constant Value: 4 (0x00000004)

AndroidManifestSupportsScreens_smallScreens

public static final int AndroidManifestSupportsScreens_smallScreens

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".

Constant Value: 1 (0x00000001)

AndroidManifestSupportsScreens_xlargeScreens

public static final int AndroidManifestSupportsScreens_xlargeScreens

Indicates whether the application supports extra large screen form-factors.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

AndroidManifestUpgradeKeySet_name

public static final int AndroidManifestUpgradeKeySet_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestUriRelativeFilterGroup_allow

public static final int AndroidManifestUriRelativeFilterGroup_allow

Specify if this group is allow rule or disallow rule. If this attribute is not specified then it is assumed to be true

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

AndroidManifestUsesConfiguration_reqFiveWayNav

public static final int AndroidManifestUsesConfiguration_reqFiveWayNav

Application's requirement for five way navigation

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

AndroidManifestUsesConfiguration_reqHardKeyboard

public static final int AndroidManifestUsesConfiguration_reqHardKeyboard

Application's requirement for a hard keyboard

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

AndroidManifestUsesConfiguration_reqKeyboardType

public static final int AndroidManifestUsesConfiguration_reqKeyboardType

The input method preferred by an application.

Must be one of the following constant values.

ConstantValueDescription
nokeys1
qwerty2
twelvekey3
undefined0

Constant Value: 1 (0x00000001)

AndroidManifestUsesConfiguration_reqNavigation

public static final int AndroidManifestUsesConfiguration_reqNavigation

The navigation device preferred by an application.

Must be one of the following constant values.

ConstantValueDescription
dpad2
nonav1
trackball3
undefined0
wheel4

Constant Value: 3 (0x00000003)

AndroidManifestUsesConfiguration_reqTouchScreen

public static final int AndroidManifestUsesConfiguration_reqTouchScreen

The type of touch screen used by an application.

Must be one of the following constant values.

ConstantValueDescription
finger3
notouch1
stylus2
undefined0

Constant Value: 0 (0x00000000)

AndroidManifestUsesFeature_glEsVersion

public static final int AndroidManifestUsesFeature_glEsVersion

The GLES driver version number needed by an application. The higher 16 bits represent the major number and the lower 16 bits represent the minor number. For example for GL 1.2 referring to 0x00000102, the actual value should be set as 0x00010002.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

AndroidManifestUsesFeature_name

public static final int AndroidManifestUsesFeature_name

The name of the feature that is being used.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestUsesFeature_required

public static final int AndroidManifestUsesFeature_required

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".

Constant Value: 2 (0x00000002)

AndroidManifestUsesFeature_version

public static final int AndroidManifestUsesFeature_version

The version of the feature that is being used.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

AndroidManifestUsesLibrary_name

public static final int AndroidManifestUsesLibrary_name

Required name of the library you use.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestUsesLibrary_required

public static final int AndroidManifestUsesLibrary_required

Specify whether this library is required for the application. The default is true, meaning the application requires the library, and does not want to be installed on devices that don't support it. If you set this to false, then this will allow the application to be installed even if the library doesn't exist, and you will need to check for its presence dynamically at runtime.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

AndroidManifestUsesNativeLibrary_name

public static final int AndroidManifestUsesNativeLibrary_name

Required name of the library you use.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestUsesNativeLibrary_required

public static final int AndroidManifestUsesNativeLibrary_required

Specify whether this native library is required for the application. The default is true, meaning the application requires the library, and does not want to be installed on devices that don't support it. If you set this to false, then this will allow the application to be installed even if the library doesn't exist, and you will need to check for its presence dynamically at runtime.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

AndroidManifestUsesPackage_certDigest

public static final int AndroidManifestUsesPackage_certDigest

Optional SHA-256 digest of the package signing certificate.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AndroidManifestUsesPackage_name

public static final int AndroidManifestUsesPackage_name

Required name of the package you use.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestUsesPackage_packageType

public static final int AndroidManifestUsesPackage_packageType

Required type of association with the package, for example "android.package.ad_service" if it provides an advertising service. This should use the standard scoped naming convention as used for other things such as package names, based on the Java naming convention.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

AndroidManifestUsesPackage_version

public static final int AndroidManifestUsesPackage_version

Optional minimum version of the package that satisfies the dependency.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

AndroidManifestUsesPackage_versionMajor

public static final int AndroidManifestUsesPackage_versionMajor

Optional minimum major version of the package that satisfies the dependency.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

AndroidManifestUsesPermission_maxSdkVersion

public static final int AndroidManifestUsesPermission_maxSdkVersion

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".

Constant Value: 2 (0x00000002)

AndroidManifestUsesPermission_minSdkVersion

public static final int AndroidManifestUsesPermission_minSdkVersion

Optional: specify the minimum version of the Android OS for which the application wishes to request the permission. When running on a version of Android lower than the number given here, the permission will not be requested.

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".

Constant Value: 1 (0x00000001)

AndroidManifestUsesPermission_name

public static final int AndroidManifestUsesPermission_name

Required name of the permission you use, as published with the corresponding name attribute of a <permission> tag; often this is one of the standard system permissions.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestUsesPermission_requiredFeature

public static final int AndroidManifestUsesPermission_requiredFeature

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;

Constant Value: 3 (0x00000003)

AndroidManifestUsesPermission_requiredNotFeature

public static final int AndroidManifestUsesPermission_requiredNotFeature

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;

Constant Value: 4 (0x00000004)

AndroidManifestUsesPermission_usesPermissionFlags

public static final int AndroidManifestUsesPermission_usesPermissionFlags

Optional: set of flags that should apply to this permission request. Note that these flags start at 0x4 to match PackageInfo.requestedPermissionsFlags.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
neverForLocation10000Strong assertion by a developer that they will never use this permission to derive the physical location of the device, even when the app has been granted the ACCESS_FINE_LOCATION and/or ACCESS_COARSE_LOCATION permissions.

Constant Value: 5 (0x00000005)

AndroidManifestUsesSdkLibrary_certDigest

public static final int AndroidManifestUsesSdkLibrary_certDigest

The SHA-256 digest of the SDK library signing certificate.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AndroidManifestUsesSdkLibrary_name

public static final int AndroidManifestUsesSdkLibrary_name

Required name of the SDK library you use.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestUsesSdkLibrary_optional

public static final int AndroidManifestUsesSdkLibrary_optional

Specify whether the SDK is optional. The default is false, false means app can be installed even if the SDK library doesn't exist, and the SDK library can be uninstalled when the app is still installed.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

AndroidManifestUsesSdkLibrary_versionMajor

public static final int AndroidManifestUsesSdkLibrary_versionMajor

Specify which major version of the SDK library you use.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

AndroidManifestUsesSdk_maxSdkVersion

public static final int AndroidManifestUsesSdk_maxSdkVersion

This is the maximum SDK version number that an application works on. You can use this to ensure your application is filtered out of later versions of the platform when you know you have incompatibility with them.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

AndroidManifestUsesSdk_minSdkVersion

public static final int AndroidManifestUsesSdk_minSdkVersion

This is the minimum SDK version number that the application requires. This number is an abstract integer, from the list in 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".

Constant Value: 0 (0x00000000)

AndroidManifestUsesSdk_targetSdkVersion

public static final int AndroidManifestUsesSdk_targetSdkVersion

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".

Constant Value: 1 (0x00000001)

AndroidManifestUsesSplit_name

public static final int AndroidManifestUsesSplit_name

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;

Constant Value: 0 (0x00000000)

AndroidManifestUsesStaticLibrary_certDigest

public static final int AndroidManifestUsesStaticLibrary_certDigest

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;

Constant Value: 2 (0x00000002)

AndroidManifestUsesStaticLibrary_name

public static final int AndroidManifestUsesStaticLibrary_name

Required name of the library you use.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AndroidManifestUsesStaticLibrary_version

public static final int AndroidManifestUsesStaticLibrary_version

Specify which version of the shared library should be statically linked.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

AndroidManifest_compileSdkVersion

public static final int AndroidManifest_compileSdkVersion

The user-visible SDK version (ex. 26) of the framework against which the application was compiled. This attribute is automatically specified by the Android build tools and should NOT be manually specified.

This attribute is the compile-time equivalent of Build.VERSION.SDK_INT.

May be an integer value, such as "100".

Constant Value: 9 (0x00000009)

AndroidManifest_compileSdkVersionCodename

public static final int AndroidManifest_compileSdkVersionCodename

The development codename (ex. "O") of the framework against which the application was compiled, or "REL" if the application was compiled against a release build. This attribute is automatically specified by the Android build tools and should NOT be manually specified.

This attribute is the compile-time equivalent of Build.VERSION.CODENAME.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 10 (0x0000000a)

AndroidManifest_installLocation

public static final int AndroidManifest_installLocation

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.

Constant Value: 4 (0x00000004)

AndroidManifest_isFeatureSplit

public static final int AndroidManifest_isFeatureSplit

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".

Constant Value: 8 (0x00000008)

AndroidManifest_isSplitRequired

public static final int AndroidManifest_isSplitRequired

This constant is deprecated.
Use R.attr.requiredSplitTypes instead.

May be a boolean value, such as "true" or "false".

Flag to specify if this APK requires at least one split [either feature or resource] to be present in order to function. Default value is false.

Constant Value: 12 (0x0000000c)

AndroidManifest_isolatedSplits

public static final int AndroidManifest_isolatedSplits

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".

Constant Value: 6 (0x00000006)

AndroidManifest_requiredSplitTypes

public static final int AndroidManifest_requiredSplitTypes

List of split types required by this APK to be present in order to function properly, separated by commas. The platform will reject installation of an app that is missing any required split types. Each split type is a string, and is only used for matching requiredSplitTypes and splitTypes. As an example, if this APK requires localized string resources, screen density resources, and native code this value could be "language,density,abi". Default value is null to indicate no split types are required.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 14 (0x0000000e)

AndroidManifest_revisionCode

public static final int AndroidManifest_revisionCode

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 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".

Constant Value: 5 (0x00000005)

AndroidManifest_sharedUserId

public static final int AndroidManifest_sharedUserId

This constant is deprecated.
Shared user IDs cause non-deterministic behavior within the package manager. As such, its use is strongly discouraged and may be removed in a future version of Android. Instead, apps should use proper communication mechanisms, such as services and content providers, to facilitate interoperability between shared components. Note that existing apps cannot remove this value, as migrating off a shared user ID is not supported.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Specify the name of a user ID that will be shared between multiple packages. By default, each package gets its own unique user-id. By setting this value on two or more packages, each of these packages will be given a single shared user ID, so they can for example run in the same process. Note that for them to actually get the same user ID, they must also be signed with the same signature.

Constant Value: 0 (0x00000000)

AndroidManifest_sharedUserLabel

public static final int AndroidManifest_sharedUserLabel

This constant is deprecated.
There is no replacement for this attribute. R.attr.sharedUserId has been deprecated making this attribute unnecessary.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Specify a label for the shared user UID of this package. This is only used if you have also used android:sharedUserId. This must be a reference to a string resource; it can not be an explicit string.

Constant Value: 3 (0x00000003)

AndroidManifest_sharedUserMaxSdkVersion

public static final int AndroidManifest_sharedUserMaxSdkVersion

The maximum device SDK version for which the application will remain in the user ID defined in sharedUserId. Used when the application wants to migrate out of using shared user ID, but has to maintain backwards compatibility with the API level specified and before.

May be an integer value, such as "100".

Constant Value: 13 (0x0000000d)

AndroidManifest_splitTypes

public static final int AndroidManifest_splitTypes

List of split types offered by this APK, separated by commas. Each split type is a string, and is only used for matching requiredSplitTypes and splitTypes. As an example, if this split offers localized string resources, and screen density resources the value could be "language,density". Default value is null to indicate no split types are offered.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 15 (0x0000000f)

AndroidManifest_targetSandboxVersion

public static final int AndroidManifest_targetSandboxVersion

This constant is deprecated.
The security properties have been moved to Build.VERSION 27 and 28.

May be an integer value, such as "100".

Specifies the target sandbox this app wants to use. Higher sandbox versions will have increasing levels of security.

The default value of this attribute is 1.

Constant Value: 7 (0x00000007)

AndroidManifest_versionCode

public static final int AndroidManifest_versionCode

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 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".

Constant Value: 1 (0x00000001)

AndroidManifest_versionCodeMajor

public static final int AndroidManifest_versionCodeMajor

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 R.attr.versionName.

May be an integer value, such as "100".

Constant Value: 11 (0x0000000b)

AndroidManifest_versionName

public static final int AndroidManifest_versionName

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 R.attr.versionCode.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AnimatedImageDrawable_autoMirrored

public static final int AnimatedImageDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

AnimatedImageDrawable_autoStart

public static final int AnimatedImageDrawable_autoStart

When true, automatically start animating. The default is false, meaning that the animation will not start until start() is called.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

AnimatedImageDrawable_repeatCount

public static final int AnimatedImageDrawable_repeatCount

Replace the loop count in the encoded data. A repeat count of 0 means that the animation will play once, regardless of the number of times specified in the encoded data. Setting this to infinite (-1) will result in the animation repeating as long as it is displayed (once start() is called).

May be an integer value, such as "100".

Must be one of the following constant values.

ConstantValueDescription
infiniteffffffff

Constant Value: 1 (0x00000001)

AnimatedImageDrawable_src

public static final int AnimatedImageDrawable_src

Identifier of the image file. This attribute is mandatory. It must be an image file with multiple frames, e.g. gif or webp

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".

Constant Value: 0 (0x00000000)

AnimatedRotateDrawable_drawable

public static final int AnimatedRotateDrawable_drawable

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".

Constant Value: 1 (0x00000001)

AnimatedRotateDrawable_pivotX

public static final int AnimatedRotateDrawable_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the AnimatedRotateDrawable array.

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.

Constant Value: 2 (0x00000002)

AnimatedRotateDrawable_pivotY

public static final int AnimatedRotateDrawable_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the AnimatedRotateDrawable array.

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.

Constant Value: 3 (0x00000003)

AnimatedRotateDrawable_visible

public static final int AnimatedRotateDrawable_visible

Provides initial visibility state of the drawable; the default value is false. See Drawable.setVisible(boolean, boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

AnimatedStateListDrawableItem_drawable

public static final int AnimatedStateListDrawableItem_drawable

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".

Constant Value: 1 (0x00000001)

AnimatedStateListDrawableItem_id

public static final int AnimatedStateListDrawableItem_id

Keyframe identifier for use in specifying transitions.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AnimatedStateListDrawableTransition_drawable

public static final int AnimatedStateListDrawableTransition_drawable

Reference to a animation drawable resource to use for the frame. If not given, the animation 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".

Constant Value: 0 (0x00000000)

AnimatedStateListDrawableTransition_fromId

public static final int AnimatedStateListDrawableTransition_fromId

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".

Constant Value: 2 (0x00000002)

AnimatedStateListDrawableTransition_reversible

public static final int AnimatedStateListDrawableTransition_reversible

Whether this transition is reversible.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

AnimatedStateListDrawableTransition_toId

public static final int AnimatedStateListDrawableTransition_toId

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".

Constant Value: 1 (0x00000001)

AnimatedStateListDrawable_autoMirrored

public static final int AnimatedStateListDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

AnimatedStateListDrawable_constantSize

public static final int AnimatedStateListDrawable_constantSize

If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. If false, the size will vary based on the current state.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

AnimatedStateListDrawable_dither

public static final int AnimatedStateListDrawable_dither

Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

AnimatedStateListDrawable_enterFadeDuration

public static final int AnimatedStateListDrawable_enterFadeDuration

Amount of time (in milliseconds) to fade in a new state drawable.

May be an integer value, such as "100".

Constant Value: 4 (0x00000004)

AnimatedStateListDrawable_exitFadeDuration

public static final int AnimatedStateListDrawable_exitFadeDuration

Amount of time (in milliseconds) to fade out an old state drawable.

May be an integer value, such as "100".

Constant Value: 5 (0x00000005)

AnimatedStateListDrawable_variablePadding

public static final int AnimatedStateListDrawable_variablePadding

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".

Constant Value: 2 (0x00000002)

AnimatedStateListDrawable_visible

public static final int AnimatedStateListDrawable_visible

Indicates whether the drawable should be initially visible.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

AnimatedVectorDrawableTarget_animation

public static final int AnimatedVectorDrawableTarget_animation

The animation for the target path, group or vector drawable.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

AnimatedVectorDrawableTarget_name

public static final int AnimatedVectorDrawableTarget_name

The name of the target path, group or vector drawable.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AnimatedVectorDrawable_drawable

public static final int AnimatedVectorDrawable_drawable

The static vector drawable.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AnimationDrawableItem_drawable

public static final int AnimationDrawableItem_drawable

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".

Constant Value: 1 (0x00000001)

AnimationDrawableItem_duration

public static final int AnimationDrawableItem_duration

Amount of time (in milliseconds) to display this frame.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

AnimationDrawable_oneshot

public static final int AnimationDrawable_oneshot

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".

Constant Value: 2 (0x00000002)

AnimationDrawable_variablePadding

public static final int AnimationDrawable_variablePadding

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".

Constant Value: 1 (0x00000001)

AnimationDrawable_visible

public static final int AnimationDrawable_visible

Provides initial visibility state of the drawable; the default value is false. See Drawable.setVisible(boolean, boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

AnimationScaleListDrawableItem_drawable

public static final int AnimationScaleListDrawableItem_drawable

Reference to a drawable resource to use for the state. 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".

Constant Value: 0 (0x00000000)

AnimationSet_duration

public static final int AnimationSet_duration

Amount of time (in milliseconds) to display this frame.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

AnimationSet_fillAfter

public static final int AnimationSet_fillAfter

When set to true, the animation transformation is applied after the animation is over. The default value is false. If fillEnabled is not set to true and the animation is not set on a View, fillAfter is assumed to be true.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

AnimationSet_fillBefore

public static final int AnimationSet_fillBefore

When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. The default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

AnimationSet_repeatMode

public static final int AnimationSet_repeatMode

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.

Constant Value: 5 (0x00000005)

AnimationSet_shareInterpolator

public static final int AnimationSet_shareInterpolator

This symbol is the offset where the R.attr.shareInterpolator attribute's value can be found in the AnimationSet array.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

AnimationSet_startOffset

public static final int AnimationSet_startOffset

Delay in milliseconds before the animation runs, once start time is reached.

May be an integer value, such as "100".

Constant Value: 4 (0x00000004)

Animation_backdropColor

public static final int Animation_backdropColor

Special option for window animations: whether the window's background should be used as a background to the animation.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 12 (0x0000000c)

Animation_background

public static final int Animation_background

Special background behind animation. Only for use with window animations. Can only be a color, and only black. If 0, the default, there is no 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".

Constant Value: 0 (0x00000000)

Animation_detachWallpaper

public static final int Animation_detachWallpaper

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".

Constant Value: 10 (0x0000000a)

Animation_duration

public static final int Animation_duration

Amount of time (in milliseconds) for the animation to run.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

Animation_fillAfter

public static final int Animation_fillAfter

When set to true, the animation transformation is applied after the animation is over. The default value is false. If fillEnabled is not set to true and the animation is not set on a View, fillAfter is assumed to be true.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

Animation_fillBefore

public static final int Animation_fillBefore

When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. The default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

Animation_fillEnabled

public static final int Animation_fillEnabled

When set to true, the value of fillBefore is taken into account.

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

Animation_interpolator

public static final int Animation_interpolator

Defines the interpolator used to smooth the animation movement in time.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

Animation_repeatCount

public static final int Animation_repeatCount

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

Constant Value: 6 (0x00000006)

Animation_repeatMode

public static final int Animation_repeatMode

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.

Constant Value: 7 (0x00000007)

Animation_showBackdrop

public static final int Animation_showBackdrop

Special option for window animations: whether to show a background behind the animating windows. By default the window's background is used unless overridden by the animation.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

Animation_startOffset

public static final int Animation_startOffset

Delay in milliseconds before the animation runs, once start time is reached.

May be an integer value, such as "100".

Constant Value: 5 (0x00000005)

Animation_zAdjustment

public static final int Animation_zAdjustment

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.

Constant Value: 8 (0x00000008)

AnimatorSet_ordering

public static final int AnimatorSet_ordering

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.

Constant Value: 0 (0x00000000)

Animator_duration

public static final int Animator_duration

Amount of time (in milliseconds) for the animation to run.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

Animator_interpolator

public static final int Animator_interpolator

Defines the interpolator used to smooth the animation movement in time.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

Animator_repeatCount

public static final int Animator_repeatCount

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

Constant Value: 3 (0x00000003)

Animator_repeatMode

public static final int Animator_repeatMode

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.

Constant Value: 4 (0x00000004)

Animator_startOffset

public static final int Animator_startOffset

Delay in milliseconds before the animation runs, once start time is reached.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

Animator_valueFrom

public static final int Animator_valueFrom

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).

Constant Value: 5 (0x00000005)

Animator_valueTo

public static final int Animator_valueTo

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).

Constant Value: 6 (0x00000006)

Animator_valueType

public static final int Animator_valueType

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.

Constant Value: 7 (0x00000007)

AnticipateInterpolator_tension

public static final int AnticipateInterpolator_tension

This is the amount of tension.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

AnticipateOvershootInterpolator_extraTension

public static final int AnticipateOvershootInterpolator_extraTension

This is the amount by which to multiply the tension.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

AnticipateOvershootInterpolator_tension

public static final int AnticipateOvershootInterpolator_tension

This is the amount of tension.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

AppWidgetProviderInfo_autoAdvanceViewId

public static final int AppWidgetProviderInfo_autoAdvanceViewId

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".

Constant Value: 7 (0x00000007)

AppWidgetProviderInfo_configure

public static final int AppWidgetProviderInfo_configure

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;

Constant Value: 5 (0x00000005)

AppWidgetProviderInfo_description

public static final int AppWidgetProviderInfo_description

A resource identifier for a string containing a short description of the widget.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

AppWidgetProviderInfo_initialKeyguardLayout

public static final int AppWidgetProviderInfo_initialKeyguardLayout

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".

Constant Value: 11 (0x0000000b)

AppWidgetProviderInfo_initialLayout

public static final int AppWidgetProviderInfo_initialLayout

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".

Constant Value: 4 (0x00000004)

AppWidgetProviderInfo_maxResizeHeight

public static final int AppWidgetProviderInfo_maxResizeHeight

Maximum height that the AppWidget can be resized to.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 16 (0x00000010)

AppWidgetProviderInfo_maxResizeWidth

public static final int AppWidgetProviderInfo_maxResizeWidth

Maximum width that the AppWidget can be resized to.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 15 (0x0000000f)

AppWidgetProviderInfo_minHeight

public static final int AppWidgetProviderInfo_minHeight

Minimum height of the AppWidget.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 2 (0x00000002)

AppWidgetProviderInfo_minResizeHeight

public static final int AppWidgetProviderInfo_minResizeHeight

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).

Constant Value: 10 (0x0000000a)

AppWidgetProviderInfo_minResizeWidth

public static final int AppWidgetProviderInfo_minResizeWidth

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).

Constant Value: 9 (0x00000009)

AppWidgetProviderInfo_minWidth

public static final int AppWidgetProviderInfo_minWidth

Minimum width of the AppWidget.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

AppWidgetProviderInfo_previewImage

public static final int AppWidgetProviderInfo_previewImage

A preview, in a drawable resource id, 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".

Constant Value: 6 (0x00000006)

AppWidgetProviderInfo_previewLayout

public static final int AppWidgetProviderInfo_previewLayout

The layout resource id of a preview of what the AppWidget will look like after it's configured. Unlike previewImage, previewLayout can better showcase AppWidget in different locales, system themes, display sizes & density etc. If supplied, this will take precedence over the previewImage on supported widget hosts. Otherwise, previewImage will be used.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 14 (0x0000000e)

AppWidgetProviderInfo_resizeMode

public static final int AppWidgetProviderInfo_resizeMode

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

Constant Value: 8 (0x00000008)

AppWidgetProviderInfo_targetCellHeight

public static final int AppWidgetProviderInfo_targetCellHeight

Default height of the AppWidget in units of launcher grid cells.

May be an integer value, such as "100".

Constant Value: 18 (0x00000012)

AppWidgetProviderInfo_targetCellWidth

public static final int AppWidgetProviderInfo_targetCellWidth

Default width of the AppWidget in units of launcher grid cells.

May be an integer value, such as "100".

Constant Value: 17 (0x00000011)

AppWidgetProviderInfo_updatePeriodMillis

public static final int AppWidgetProviderInfo_updatePeriodMillis

Update period in milliseconds, or 0 if the AppWidget will update itself.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

AppWidgetProviderInfo_widgetCategory

public static final int AppWidgetProviderInfo_widgetCategory

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

Constant Value: 12 (0x0000000c)

AppWidgetProviderInfo_widgetFeatures

public static final int AppWidgetProviderInfo_widgetFeatures

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
configuration_optional4The widget provides a default configuration. The host may decide not to launch the provided configuration activity.
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

Constant Value: 13 (0x0000000d)

ArcMotion_maximumAngle

public static final int ArcMotion_maximumAngle

The maximum arc angle in degrees between the start and end points.

May be a floating point value, such as "1.2".

Constant Value: 2 (0x00000002)

ArcMotion_minimumHorizontalAngle

public static final int ArcMotion_minimumHorizontalAngle

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".

Constant Value: 0 (0x00000000)

ArcMotion_minimumVerticalAngle

public static final int ArcMotion_minimumVerticalAngle

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".

Constant Value: 1 (0x00000001)

AutoCompleteTextView_completionHint

public static final int AutoCompleteTextView_completionHint

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;

Constant Value: 0 (0x00000000)

AutoCompleteTextView_completionHintView

public static final int AutoCompleteTextView_completionHintView

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".

Constant Value: 1 (0x00000001)

AutoCompleteTextView_completionThreshold

public static final int AutoCompleteTextView_completionThreshold

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".

Constant Value: 2 (0x00000002)

AutoCompleteTextView_dropDownAnchor

public static final int AutoCompleteTextView_dropDownAnchor

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".

Constant Value: 6 (0x00000006)

AutoCompleteTextView_dropDownHeight

public static final int AutoCompleteTextView_dropDownHeight

Specifies the basic height of the dropdown. Its value may be a dimension (such as "12dip") for a constant height, fill_parent or match_parent to fill the height of the screen, or wrap_content to match the height of the content of the drop down.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 7 (0x00000007)

AutoCompleteTextView_dropDownSelector

public static final int AutoCompleteTextView_dropDownSelector

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".

Constant Value: 3 (0x00000003)

AutoCompleteTextView_dropDownWidth

public static final int AutoCompleteTextView_dropDownWidth

Specifies the basic width of the dropdown. Its value may be a dimension (such as "12dip") for a constant width, fill_parent or match_parent to match the width of the screen, or wrap_content to match the width of the anchored view.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 5 (0x00000005)

AutoCompleteTextView_inputType

public static final int AutoCompleteTextView_inputType

The type of data being placed in a text field, used to help an input method decide how to let the user enter text. The constants here correspond to those defined by InputType. Generally you can select a single value, though some can be combined together as indicated. Setting this attribute to anything besides none also implies that the text is editable.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
date14For entering a date. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE.
datetime4For entering a date and time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_NORMAL.
none0There is no content type. The text is not editable.
number2A numeric only field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL.
numberDecimal2002Can be combined with number and its other options to allow a decimal (fractional) number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL.
numberPassword12A numeric password field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD.
numberSigned1002Can be combined with number and its other options to allow a signed number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED.
phone3For entering a phone number. Corresponds to InputType.TYPE_CLASS_PHONE.
text1Just plain old text. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE.
textAutoCorrect8001Can be combined with text and its variations to request auto-correction of text being input. Corresponds to InputType.TYPE_TEXT_FLAG_AUTO_CORRECT.
textCapCharacters1001Can be combined with text and its variations to request capitalization of all characters. Corresponds to 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 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 InputType.TYPE_TEXT_FLAG_CAP_WORDS.
textEmailAddress21Text that will be used as an e-mail address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS.
textEmailSubject31Text that is being supplied as the subject of an e-mail. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_SUBJECT.
textEnableTextConversionSuggestions100001Can be combined with text and its variations to indicate that if there is extra information, the IME should provide TextAttribute. Corresponds to InputType.TYPE_TEXT_FLAG_ENABLE_TEXT_CONVERSION_SUGGESTIONS.
textFilterb1Text that is filtering some other data. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_IME_MULTI_LINE.
textLongMessage51Text that is the content of a long message. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_MULTI_LINE. Note: If this flag is not set and the text field doesn't have max length limit, the framework automatically set maximum length of the characters to 5000 for the performance reasons.
textNoSuggestions80001Can be combined with text and its variations to indicate that the IME should not show any dictionary-based word suggestions. Corresponds to InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS.
textPassword81Text that is a password. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD.
textPersonName61Text that is the name of a person. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PHONETIC.
textPostalAddress71Text that is being supplied as a postal mailing address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_POSTAL_ADDRESS.
textShortMessage41Text that is the content of a short message. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_SHORT_MESSAGE.
textUri11Text that will be used as a URI. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_URI.
textVisiblePassword91Text that is a password that should be visible. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD.
textWebEditTexta1Text that is being supplied as text in a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT.
textWebEmailAddressd1Text that will be used as an e-mail address on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS.
textWebPassworde1Text that will be used as a password on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD.
time24For entering a time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_TIME.

Constant Value: 4 (0x00000004)

AutoCompleteTextView_popupTheme

public static final int AutoCompleteTextView_popupTheme

Theme to use for the completion 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".

Constant Value: 8 (0x00000008)

AutofillService_CompatibilityPackage_maxLongVersionCode

public static final int AutofillService_CompatibilityPackage_maxLongVersionCode

The max version code of the package for which compatibility mode is requested. This corresponds to the long value returned by PackageInfo.getLongVersionCode() for the target package.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

AutofillService_CompatibilityPackage_name

public static final int AutofillService_CompatibilityPackage_name

The package name for which compatibility mode is requested.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AutofillService_passwordsActivity

public static final int AutofillService_passwordsActivity

Fully qualified class name of an activity that allows the user to view any passwords saved by this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

AutofillService_settingsActivity

public static final int AutofillService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

AutofillService_supportsInlineSuggestions

public static final int AutofillService_supportsInlineSuggestions

Specifies whether the AutofillService supports inline suggestions

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

BitmapDrawable_alpha

public static final int BitmapDrawable_alpha

Specifies the alpha multiplier to apply to the base drawable.

May be a floating point value, such as "1.2".

Constant Value: 7 (0x00000007)

BitmapDrawable_antialias

public static final int BitmapDrawable_antialias

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".

Constant Value: 2 (0x00000002)

BitmapDrawable_autoMirrored

public static final int BitmapDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

BitmapDrawable_dither

public static final int BitmapDrawable_dither

Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen). Default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

BitmapDrawable_filter

public static final int BitmapDrawable_filter

Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its appearance. Default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

BitmapDrawable_gravity

public static final int BitmapDrawable_gravity

Defines the gravity for the bitmap. The gravity indicates where to position the drawable in its container if the bitmap is smaller than the container.

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.

Constant Value: 0 (0x00000000)

BitmapDrawable_mipMap

public static final int BitmapDrawable_mipMap

Enables or disables the mipmap hint. See Bitmap.setHasMipMap(boolean) for more information. Default value is false.

May be a boolean value, such as "true" or "false".

Constant Value: 8 (0x00000008)

BitmapDrawable_src

public static final int BitmapDrawable_src

Identifier of the bitmap file. This attribute is mandatory.

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".

Constant Value: 1 (0x00000001)

BitmapDrawable_tileMode

public static final int BitmapDrawable_tileMode

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.

Constant Value: 6 (0x00000006)

BitmapDrawable_tileModeX

public static final int BitmapDrawable_tileModeX

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.

Constant Value: 11 (0x0000000b)

BitmapDrawable_tileModeY

public static final int BitmapDrawable_tileModeY

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.

Constant Value: 12 (0x0000000c)

BitmapDrawable_tint

public static final int BitmapDrawable_tint

If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 5 (0x00000005)

BitmapDrawable_tintMode

public static final int BitmapDrawable_tintMode

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\u2019s 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\u2019s 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]

Constant Value: 10 (0x0000000a)

CachingIconView_maxDrawableHeight

public static final int CachingIconView_maxDrawableHeight

Maximum width of height drawable. Drawables exceeding this size will be downsampled.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

CachingIconView_maxDrawableWidth

public static final int CachingIconView_maxDrawableWidth

Maximum width of displayed drawable. Drawables exceeding this size will be downsampled.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 0 (0x00000000)

CalendarView_dateTextAppearance

public static final int CalendarView_dateTextAppearance

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".

Constant Value: 12 (0x0000000c)

CalendarView_firstDayOfWeek

public static final int CalendarView_firstDayOfWeek

The first day of week according to Calendar.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

CalendarView_focusedMonthDateColor

public static final int CalendarView_focusedMonthDateColor

This constant is deprecated.
The color for the dates of the focused month.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 6 (0x00000006)

CalendarView_maxDate

public static final int CalendarView_maxDate

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;

Constant Value: 3 (0x00000003)

CalendarView_minDate

public static final int CalendarView_minDate

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;

Constant Value: 2 (0x00000002)

CalendarView_selectedDateVerticalBar

public static final int CalendarView_selectedDateVerticalBar

This constant is deprecated.
Drawable for the vertical bar shown at the beginning and at the end of the selected date.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 10 (0x0000000a)

CalendarView_selectedWeekBackgroundColor

public static final int CalendarView_selectedWeekBackgroundColor

This constant is deprecated.
The background color for the selected week.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 5 (0x00000005)

CalendarView_showWeekNumber

public static final int CalendarView_showWeekNumber

This constant is deprecated.
Whether do show week numbers.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

CalendarView_shownWeekCount

public static final int CalendarView_shownWeekCount

This constant is deprecated.
The number of weeks to be shown.

May be an integer value, such as "100".

Constant Value: 4 (0x00000004)

CalendarView_unfocusedMonthDateColor

public static final int CalendarView_unfocusedMonthDateColor

This constant is deprecated.
The color for the dates of an unfocused month.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 7 (0x00000007)

CalendarView_weekDayTextAppearance

public static final int CalendarView_weekDayTextAppearance

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".

Constant Value: 11 (0x0000000b)

CalendarView_weekNumberColor

public static final int CalendarView_weekNumberColor

This constant is deprecated.
The color for the week numbers.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 8 (0x00000008)

CalendarView_weekSeparatorLineColor

public static final int CalendarView_weekSeparatorLineColor

This constant is deprecated.
The color for the separator line between weeks.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 9 (0x00000009)

ChangeBounds_resizeClip

public static final int ChangeBounds_resizeClip

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".

Constant Value: 0 (0x00000000)

ChangeTransform_reparent

public static final int ChangeTransform_reparent

Tells ChangeTransform to track parent changes. Default is true. Corresponds to ChangeTransform.setReparent(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ChangeTransform_reparentWithOverlay

public static final int ChangeTransform_reparentWithOverlay

A parent change should use an overlay or affect the transform of the transitionining View. Default is true. Corresponds to ChangeTransform.setReparentWithOverlay(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

CheckBoxPreference_disableDependentsState

public static final int CheckBoxPreference_disableDependentsState

The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

CheckBoxPreference_summaryOff

public static final int CheckBoxPreference_summaryOff

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;

Constant Value: 1 (0x00000001)

CheckBoxPreference_summaryOn

public static final int CheckBoxPreference_summaryOn

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;

Constant Value: 0 (0x00000000)

CheckedTextView_checkMark

public static final int CheckedTextView_checkMark

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".

Constant Value: 1 (0x00000001)

CheckedTextView_checkMarkTint

public static final int CheckedTextView_checkMarkTint

Tint to apply to the check mark.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 2 (0x00000002)

CheckedTextView_checkMarkTintMode

public static final int CheckedTextView_checkMarkTintMode

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\u2019s 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\u2019s 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]

Constant Value: 3 (0x00000003)

CheckedTextView_checked

public static final int CheckedTextView_checked

Indicates the initial checked state of this text.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

Chronometer_countDown

public static final int Chronometer_countDown

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".

Constant Value: 1 (0x00000001)

Chronometer_format

public static final int Chronometer_format

Format string: if specified, the Chronometer will display this string, with the first "%s" replaced by the current timer value in "MM:SS" or "H:MM:SS" form. If no format string is specified, the Chronometer will simply display "MM:SS" or "H:MM:SS".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

ClipDrawable_clipOrientation

public static final int ClipDrawable_clipOrientation

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.

Constant Value: 2 (0x00000002)

ClipDrawable_drawable

public static final int ClipDrawable_drawable

Reference to a drawable resource to draw with the specified scale.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

ClipDrawable_gravity

public static final int ClipDrawable_gravity

Specifies where to clip within the drawable. 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.

Constant Value: 0 (0x00000000)

ColorDrawable_color

public static final int ColorDrawable_color

The color to use.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

ColorStateListItem_alpha

public static final int ColorStateListItem_alpha

Alpha multiplier applied to the base color.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

ColorStateListItem_color

public static final int ColorStateListItem_color

Base color for this state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

ColorStateListItem_lStar

public static final int ColorStateListItem_lStar

Perceptual luminance applied to the base color. From 0 to 100.

May be a floating point value, such as "1.2".

Constant Value: 2 (0x00000002)

CompoundButton_button

public static final int CompoundButton_button

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".

Constant Value: 1 (0x00000001)

CompoundButton_buttonTint

public static final int CompoundButton_buttonTint

Tint to apply to the button graphic.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 2 (0x00000002)

CompoundButton_buttonTintMode

public static final int CompoundButton_buttonTintMode

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\u2019s 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\u2019s 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]

Constant Value: 3 (0x00000003)

CompoundButton_checked

public static final int CompoundButton_checked

Indicates the initial checked state of this button.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ContactsDataKind_allContactsName

public static final int ContactsDataKind_allContactsName

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;

Constant Value: 5 (0x00000005)

ContactsDataKind_detailColumn

public static final int ContactsDataKind_detailColumn

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;

Constant Value: 3 (0x00000003)

ContactsDataKind_detailSocialSummary

public static final int ContactsDataKind_detailSocialSummary

Flag indicating that detail should be built from SocialProvider.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

ContactsDataKind_icon

public static final int ContactsDataKind_icon

Icon used to represent data of this kind.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

ContactsDataKind_mimeType

public static final int ContactsDataKind_mimeType

Mime-type handled by this mapping.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

ContactsDataKind_summaryColumn

public static final int ContactsDataKind_summaryColumn

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;

Constant Value: 2 (0x00000002)

ContentCaptureService_settingsActivity

public static final int ContentCaptureService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

CredentialProvider_Capabilities_capability

public static final int CredentialProvider_Capabilities_capability

An individual capability declared by the provider.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

CredentialProvider_settingsActivity

public static final int CredentialProvider_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

CredentialProvider_settingsSubtitle

public static final int CredentialProvider_settingsSubtitle

A string that is displayed to the user in the Credential Manager settings screen that can be used to provide more information about a provider. For longer strings it will be truncated.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

CycleInterpolator_cycles

public static final int CycleInterpolator_cycles

This symbol is the offset where the R.attr.cycles attribute's value can be found in the CycleInterpolator array.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

DatePicker_calendarTextColor

public static final int DatePicker_calendarTextColor

The text color list of the calendar.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 15 (0x0000000f)

DatePicker_calendarViewShown

public static final int DatePicker_calendarViewShown

Whether the calendar view is shown. Only valid for "spinner" mode.

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

DatePicker_datePickerMode

public static final int DatePicker_datePickerMode

Defines the look of the widget. Prior to the L release, the only choice was spinner. As of L, with the Material theme selected, the default layout is calendar, but this attribute can be used to force spinner to be used instead.

Must be one of the following constant values.

ConstantValueDescription
calendar2Date picker with calendar to select the date.
spinner1Date picker with spinner controls to select the date.

Constant Value: 16 (0x00000010)

DatePicker_dayOfWeekBackground

public static final int DatePicker_dayOfWeekBackground

The background color for the header's day of week.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 8 (0x00000008)

DatePicker_dayOfWeekTextAppearance

public static final int DatePicker_dayOfWeekTextAppearance

The text color for the header's day of week.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 9 (0x00000009)

DatePicker_endYear

public static final int DatePicker_endYear

The last year (inclusive), for example "2010".

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

DatePicker_firstDayOfWeek

public static final int DatePicker_firstDayOfWeek

The first day of week according to Calendar.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

DatePicker_headerBackground

public static final int DatePicker_headerBackground

The background for the selected date 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".

Constant Value: 0 (0x00000000)

DatePicker_headerDayOfMonthTextAppearance

public static final int DatePicker_headerDayOfMonthTextAppearance

The text appearance for the day of month (ex. 28) in the selected date header.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 11 (0x0000000b)

DatePicker_headerMonthTextAppearance

public static final int DatePicker_headerMonthTextAppearance

The text appearance for the month (ex. May) in the selected date header.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 10 (0x0000000a)

DatePicker_headerYearTextAppearance

public static final int DatePicker_headerYearTextAppearance

The text appearance for the year (ex. 2014) in the selected date header.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 12 (0x0000000c)

DatePicker_maxDate

public static final int DatePicker_maxDate

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;

Constant Value: 5 (0x00000005)

DatePicker_minDate

public static final int DatePicker_minDate

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;

Constant Value: 4 (0x00000004)

DatePicker_spinnersShown

public static final int DatePicker_spinnersShown

Whether the spinners are shown. Only valid for "spinner" mode.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

DatePicker_startYear

public static final int DatePicker_startYear

The first year (inclusive), for example "1940".

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

DatePicker_yearListItemTextAppearance

public static final int DatePicker_yearListItemTextAppearance

The list year's text appearance 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".

Constant Value: 13 (0x0000000d)

DatePicker_yearListSelectorColor

public static final int DatePicker_yearListSelectorColor

The list year's selected circle color in the list.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 14 (0x0000000e)

DecelerateInterpolator_factor

public static final int DecelerateInterpolator_factor

This is the amount of acceleration to add when easing out.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

DeviceAdmin_visible

public static final int DeviceAdmin_visible

Control whether the admin is visible to the user, even when it is not enabled. This is true by default. You may want to make it false if your admin does not make sense to be turned on unless some explicit action happens in your app.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

DialogPreference_dialogIcon

public static final int DialogPreference_dialogIcon

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".

Constant Value: 2 (0x00000002)

DialogPreference_dialogLayout

public static final int DialogPreference_dialogLayout

A layout to be used as the content View for the dialog. By default, this shouldn't be needed. If a custom DialogPreference is required, this should be set. For example, the EditTextPreference uses a layout with an EditText as this attribute.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 5 (0x00000005)

DialogPreference_dialogMessage

public static final int DialogPreference_dialogMessage

The message in the dialog. If a dialogLayout is provided and contains a TextView with ID android:id/message, this message will be placed in there.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

DialogPreference_dialogTitle

public static final int DialogPreference_dialogTitle

The title in the dialog.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

DialogPreference_negativeButtonText

public static final int DialogPreference_negativeButtonText

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;

Constant Value: 4 (0x00000004)

DialogPreference_positiveButtonText

public static final int DialogPreference_positiveButtonText

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;

Constant Value: 3 (0x00000003)

DrawableCorners_bottomLeftRadius

public static final int DrawableCorners_bottomLeftRadius

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).

Constant Value: 3 (0x00000003)

DrawableCorners_bottomRightRadius

public static final int DrawableCorners_bottomRightRadius

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).

Constant Value: 4 (0x00000004)

DrawableCorners_radius

public static final int DrawableCorners_radius

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).

Constant Value: 0 (0x00000000)

DrawableCorners_topLeftRadius

public static final int DrawableCorners_topLeftRadius

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).

Constant Value: 1 (0x00000001)

DrawableCorners_topRightRadius

public static final int DrawableCorners_topRightRadius

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).

Constant Value: 2 (0x00000002)

DrawableStates_state_accelerated

public static final int DrawableStates_state_accelerated

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".

Constant Value: 13 (0x0000000d)

DrawableStates_state_activated

public static final int DrawableStates_state_activated

State value for StateListDrawable, set when a view or its parent has been "activated" meaning the user has currently marked it as being of interest. 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".

Constant Value: 12 (0x0000000c)

DrawableStates_state_active

public static final int DrawableStates_state_active

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".

Constant Value: 6 (0x00000006)

DrawableStates_state_checkable

public static final int DrawableStates_state_checkable

State identifier indicating that the object may display a check mark. See R.attr.state_checked for the identifier that indicates whether it is actually checked.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

DrawableStates_state_checked

public static final int DrawableStates_state_checked

State identifier indicating that the object is currently checked. See 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".

Constant Value: 4 (0x00000004)

DrawableStates_state_drag_can_accept

public static final int DrawableStates_state_drag_can_accept

State for StateListDrawable indicating that the Drawable is in a view that is capable of accepting a drop of the content currently being manipulated in a drag-and-drop operation.

May be a boolean value, such as "true" or "false".

Constant Value: 15 (0x0000000f)

DrawableStates_state_drag_hovered

public static final int DrawableStates_state_drag_hovered

State for StateListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipient) is currently positioned over the Drawable.

May be a boolean value, such as "true" or "false".

Constant Value: 16 (0x00000010)

DrawableStates_state_enabled

public static final int DrawableStates_state_enabled

State value for StateListDrawable, set when a view is enabled.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

DrawableStates_state_first

public static final int DrawableStates_state_first

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".

Constant Value: 8 (0x00000008)

DrawableStates_state_focused

public static final int DrawableStates_state_focused

State value for StateListDrawable, set when a view has input focus.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

DrawableStates_state_hovered

public static final int DrawableStates_state_hovered

State value for StateListDrawable, set when a pointer is hovering over the view.

May be a boolean value, such as "true" or "false".

Constant Value: 14 (0x0000000e)

DrawableStates_state_last

public static final int DrawableStates_state_last

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".

Constant Value: 10 (0x0000000a)

DrawableStates_state_middle

public static final int DrawableStates_state_middle

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".

Constant Value: 9 (0x00000009)

DrawableStates_state_pressed

public static final int DrawableStates_state_pressed

State value for StateListDrawable, set when the user is pressing down in a view.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

DrawableStates_state_selected

public static final int DrawableStates_state_selected

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".

Constant Value: 5 (0x00000005)

DrawableStates_state_single

public static final int DrawableStates_state_single

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".

Constant Value: 7 (0x00000007)

DrawableStates_state_window_focused

public static final int DrawableStates_state_window_focused

State value for StateListDrawable, set when a view's window has input focus.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

DrawableWrapper_drawable

public static final int DrawableWrapper_drawable

The wrapped drawable.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

Drawable_autoMirrored

public static final int Drawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left). See Drawable.setAutoMirrored(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

Drawable_visible

public static final int Drawable_visible

Provides initial visibility state of the drawable; the default value is false. See Drawable.setVisible(boolean, boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

Dream_previewImage

public static final int Dream_previewImage

A preview, in a drawable resource id, of what the Dream will look like.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

Dream_settingsActivity

public static final int Dream_settingsActivity

Component name of an activity that allows the user to modify the settings for this dream.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

Dream_showClockAndComplications

public static final int Dream_showClockAndComplications

Whether to show clock and other complications such as weather in the overlay. Default to true. Note that the overlay on dreams is currently only supported on tablets.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

EdgeEffect_colorEdgeEffect

public static final int EdgeEffect_colorEdgeEffect

The color applied to the edge effect on scrolling containers.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

EditText_enableTextStylingShortcuts

public static final int EditText_enableTextStylingShortcuts

Enables styling shortcuts, e.g. Ctrl+B for bold. This is off by default.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ExpandableListChildIndicatorState_state_last

public static final int ExpandableListChildIndicatorState_state_last

State identifier indicating the child is the last child within its group.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ExpandableListGroupIndicatorState_state_empty

public static final int ExpandableListGroupIndicatorState_state_empty

State identifier indicating the group is empty (has no children).

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

ExpandableListGroupIndicatorState_state_expanded

public static final int ExpandableListGroupIndicatorState_state_expanded

State identifier indicating the group is expanded.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ExpandableListView_childDivider

public static final int ExpandableListView_childDivider

Drawable or color that is used as a divider for children. (It will drawn below and above child items.) The height of this will be the same as the height of the normal list item divider.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 6 (0x00000006)

ExpandableListView_childIndicator

public static final int ExpandableListView_childIndicator

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".

Constant Value: 1 (0x00000001)

ExpandableListView_childIndicatorEnd

public static final int ExpandableListView_childIndicatorEnd

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).

Constant Value: 10 (0x0000000a)

ExpandableListView_childIndicatorLeft

public static final int ExpandableListView_childIndicatorLeft

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).

Constant Value: 4 (0x00000004)

ExpandableListView_childIndicatorRight

public static final int ExpandableListView_childIndicatorRight

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).

Constant Value: 5 (0x00000005)

ExpandableListView_childIndicatorStart

public static final int ExpandableListView_childIndicatorStart

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).

Constant Value: 9 (0x00000009)

ExpandableListView_groupIndicator

public static final int ExpandableListView_groupIndicator

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".

Constant Value: 0 (0x00000000)

ExpandableListView_indicatorEnd

public static final int ExpandableListView_indicatorEnd

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).

Constant Value: 8 (0x00000008)

ExpandableListView_indicatorLeft

public static final int ExpandableListView_indicatorLeft

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).

Constant Value: 2 (0x00000002)

ExpandableListView_indicatorRight

public static final int ExpandableListView_indicatorRight

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).

Constant Value: 3 (0x00000003)

ExpandableListView_indicatorStart

public static final int ExpandableListView_indicatorStart

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).

Constant Value: 7 (0x00000007)

ExtendAnimation_fromExtendBottom

public static final int ExtendAnimation_fromExtendBottom

Defines the amount a window should be extended outward from the bottom at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 3 (0x00000003)

ExtendAnimation_fromExtendLeft

public static final int ExtendAnimation_fromExtendLeft

Defines the amount a window should be extended outward from the left at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 0 (0x00000000)

ExtendAnimation_fromExtendRight

public static final int ExtendAnimation_fromExtendRight

Defines the amount a window should be extended outward from the right at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 2 (0x00000002)

ExtendAnimation_fromExtendTop

public static final int ExtendAnimation_fromExtendTop

Defines the amount a window should be extended outward from the top at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 1 (0x00000001)

ExtendAnimation_toExtendBottom

public static final int ExtendAnimation_toExtendBottom

Defines the amount a window should be extended outward from the bottom by the end of the animation by transitioning from the fromExtendBottom amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 7 (0x00000007)

ExtendAnimation_toExtendLeft

public static final int ExtendAnimation_toExtendLeft

Defines the amount a window should be extended outward from the left by the end of the animation by transitioning from the fromExtendLeft amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 4 (0x00000004)

ExtendAnimation_toExtendRight

public static final int ExtendAnimation_toExtendRight

Defines the amount a window should be extended outward from the right by the end of the animation by transitioning from the fromExtendRight amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 6 (0x00000006)

ExtendAnimation_toExtendTop

public static final int ExtendAnimation_toExtendTop

Defines the amount a window should be extended outward from the top by the end of the animation by transitioning from the fromExtendTop amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 5 (0x00000005)

Extra_name

public static final int Extra_name

Required name of the extra data.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

Extra_value

public static final int Extra_value

Concrete value to put for this named extra data.

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".

Constant Value: 1 (0x00000001)

Fade_fadingMode

public static final int Fade_fadingMode

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.

Constant Value: 0 (0x00000000)

FastScroll_minHeight

public static final int FastScroll_minHeight

Minimum height of the section header preview.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 5 (0x00000005)

FastScroll_minWidth

public static final int FastScroll_minWidth

Minimum width of the section header preview.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 4 (0x00000004)

FastScroll_padding

public static final int FastScroll_padding

Padding for the section header preview.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 3 (0x00000003)

FastScroll_textAppearance

public static final int FastScroll_textAppearance

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".

Constant Value: 0 (0x00000000)

FastScroll_textColor

public static final int FastScroll_textColor

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".

Constant Value: 2 (0x00000002)

FastScroll_textSize

public static final int FastScroll_textSize

Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). Supported values include the following:

  • px Pixels
  • sp Scaled pixels (scaled to relative pixel size on screen). See DisplayMetrics for more information.
  • pt Points
  • dip Device independent pixels. See DisplayMetrics for more information.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

FastScroll_thumbPosition

public static final int FastScroll_thumbPosition

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.

Constant Value: 6 (0x00000006)

FontFamilyFont_font

public static final int FontFamilyFont_font

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".

Constant Value: 0 (0x00000000)

FontFamilyFont_fontStyle

public static final int FontFamilyFont_fontStyle

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

Constant Value: 2 (0x00000002)

FontFamilyFont_fontVariationSettings

public static final int FontFamilyFont_fontVariationSettings

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;

Constant Value: 4 (0x00000004)

FontFamilyFont_fontWeight

public static final int FontFamilyFont_fontWeight

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".

Constant Value: 1 (0x00000001)

FontFamilyFont_ttcIndex

public static final int FontFamilyFont_ttcIndex

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. 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".

Constant Value: 3 (0x00000003)

FontFamily_fontProviderAuthority

public static final int FontFamily_fontProviderAuthority

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;

Constant Value: 0 (0x00000000)

FontFamily_fontProviderCerts

public static final int FontFamily_fontProviderCerts

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".

Constant Value: 3 (0x00000003)

FontFamily_fontProviderPackage

public static final int FontFamily_fontProviderPackage

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;

Constant Value: 2 (0x00000002)

FontFamily_fontProviderQuery

public static final int FontFamily_fontProviderQuery

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;

Constant Value: 1 (0x00000001)

FontFamily_fontProviderSystemFontFamily

public static final int FontFamily_fontProviderSystemFontFamily

Provides the system font family name to check before downloading the font. For example if the fontProviderQuery asked for "Sans Serif", it is possible to define fontProviderSystemFontFamily as "sans-serif" to tell the system to use "sans-serif" font family if it exists on the system.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

FragmentAnimation_fragmentCloseEnterAnimation

public static final int FragmentAnimation_fragmentCloseEnterAnimation

This symbol is the offset where the R.attr.fragmentCloseEnterAnimation attribute's value can be found in the FragmentAnimation array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

FragmentAnimation_fragmentCloseExitAnimation

public static final int FragmentAnimation_fragmentCloseExitAnimation

This symbol is the offset where the R.attr.fragmentCloseExitAnimation attribute's value can be found in the FragmentAnimation array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 3 (0x00000003)

FragmentAnimation_fragmentFadeEnterAnimation

public static final int FragmentAnimation_fragmentFadeEnterAnimation

This symbol is the offset where the R.attr.fragmentFadeEnterAnimation attribute's value can be found in the FragmentAnimation array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 4 (0x00000004)

FragmentAnimation_fragmentFadeExitAnimation

public static final int FragmentAnimation_fragmentFadeExitAnimation

This symbol is the offset where the R.attr.fragmentFadeExitAnimation attribute's value can be found in the FragmentAnimation array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 5 (0x00000005)

FragmentAnimation_fragmentOpenEnterAnimation

public static final int FragmentAnimation_fragmentOpenEnterAnimation

This symbol is the offset where the R.attr.fragmentOpenEnterAnimation attribute's value can be found in the FragmentAnimation array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

FragmentAnimation_fragmentOpenExitAnimation

public static final int FragmentAnimation_fragmentOpenExitAnimation

This symbol is the offset where the R.attr.fragmentOpenExitAnimation attribute's value can be found in the FragmentAnimation array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

FragmentBreadCrumbs_gravity

public static final int FragmentBreadCrumbs_gravity

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
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.

Constant Value: 0 (0x00000000)

Fragment_fragmentAllowEnterTransitionOverlap

public static final int Fragment_fragmentAllowEnterTransitionOverlap

Sets whether the enter and exit transitions should overlap when transitioning forward. Corresponds to 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".

Constant Value: 9 (0x00000009)

Fragment_fragmentAllowReturnTransitionOverlap

public static final int Fragment_fragmentAllowReturnTransitionOverlap

Sets whether the enter and exit transitions should overlap when transitioning because of popping the back stack. Corresponds to 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".

Constant Value: 10 (0x0000000a)

Fragment_fragmentEnterTransition

public static final int Fragment_fragmentEnterTransition

The Transition that will be used to move Views into the initial scene. Corresponds to 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".

Constant Value: 4 (0x00000004)

Fragment_fragmentExitTransition

public static final int Fragment_fragmentExitTransition

The Transition that will be used to move Views out of the scene when the fragment is removed, hidden, or detached when not popping the back stack. Corresponds to 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".

Constant Value: 3 (0x00000003)

Fragment_fragmentReenterTransition

public static final int Fragment_fragmentReenterTransition

The Transition that will be used to move Views in to the scene when returning due to popping a back stack. Corresponds to 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".

Constant Value: 8 (0x00000008)

Fragment_fragmentReturnTransition

public static final int Fragment_fragmentReturnTransition

The Transition that will be used to move Views out of the scene when the Fragment is preparing to be removed, hidden, or detached because of popping the back stack. Corresponds to 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".

Constant Value: 6 (0x00000006)

Fragment_fragmentSharedElementEnterTransition

public static final int Fragment_fragmentSharedElementEnterTransition

The Transition that will be used for shared elements transferred into the content Scene. Corresponds to 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".

Constant Value: 5 (0x00000005)

Fragment_fragmentSharedElementReturnTransition

public static final int Fragment_fragmentSharedElementReturnTransition

The Transition that will be used for shared elements transferred back during a pop of the back stack. This Transition acts in the leaving Fragment. Corresponds to 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".

Constant Value: 7 (0x00000007)

Fragment_id

public static final int Fragment_id

Supply an identifier name for the top-level 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".

Constant Value: 1 (0x00000001)

Fragment_name

public static final int Fragment_name

Supply the name of the fragment class to instantiate.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

Fragment_tag

public static final int Fragment_tag

Supply a tag for the top-level 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;

Constant Value: 2 (0x00000002)

FrameLayout_Layout_layout_gravity

public static final int FrameLayout_Layout_layout_gravity

Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.

Must be one or more (separated by '|') of the following constant values.

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.

Constant Value: 0 (0x00000000)

FrameLayout_measureAllChildren

public static final int FrameLayout_measureAllChildren

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".

Constant Value: 0 (0x00000000)

public static final int Gallery_animationDuration

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".

Constant Value: 1 (0x00000001)

public static final int Gallery_gravity

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
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.

Constant Value: 0 (0x00000000)

public static final int Gallery_spacing

This symbol is the offset where the R.attr.spacing attribute's value can be found in the Gallery array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 2 (0x00000002)

public static final int Gallery_unselectedAlpha

Sets the alpha on the items that are not selected.

May be a floating point value, such as "1.2".

Constant Value: 3 (0x00000003)

GameModeConfig_allowGameAngleDriver

public static final int GameModeConfig_allowGameAngleDriver

Set true to enable ANGLE.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

GameModeConfig_allowGameDownscaling

public static final int GameModeConfig_allowGameDownscaling

Set true to allow resolution downscaling intervention.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

GameModeConfig_allowGameFpsOverride

public static final int GameModeConfig_allowGameFpsOverride

Set true to allow FPS override intervention.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

GameModeConfig_supportsBatteryGameMode

public static final int GameModeConfig_supportsBatteryGameMode

Set true to opt in BATTERY mode.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

GameModeConfig_supportsPerformanceGameMode

public static final int GameModeConfig_supportsPerformanceGameMode

Set true to opt in PERFORMANCE mode.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

GameService_gameSessionService

public static final int GameService_gameSessionService

The service that hosts active game sessions. This is required.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

GestureOverlayView_eventsInterceptionEnabled

public static final int GestureOverlayView_eventsInterceptionEnabled

Defines whether the overlay should intercept the motion events when a gesture is recognized.

May be a boolean value, such as "true" or "false".

Constant Value: 10 (0x0000000a)

GestureOverlayView_fadeDuration

public static final int GestureOverlayView_fadeDuration

Duration, in milliseconds, of the fade out effect after the user is done drawing a gesture.

May be an integer value, such as "100".

Constant Value: 5 (0x00000005)

GestureOverlayView_fadeEnabled

public static final int GestureOverlayView_fadeEnabled

Defines whether the gesture will automatically fade out after being recognized.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

GestureOverlayView_fadeOffset

public static final int GestureOverlayView_fadeOffset

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".

Constant Value: 4 (0x00000004)

GestureOverlayView_gestureColor

public static final int GestureOverlayView_gestureColor

Color used to draw a gesture.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 2 (0x00000002)

GestureOverlayView_gestureStrokeAngleThreshold

public static final int GestureOverlayView_gestureStrokeAngleThreshold

Minimum curve angle a stroke must contain before it is recognized as a gesture.

May be a floating point value, such as "1.2".

Constant Value: 9 (0x00000009)

GestureOverlayView_gestureStrokeLengthThreshold

public static final int GestureOverlayView_gestureStrokeLengthThreshold

Minimum length of a stroke before it is recognized as a gesture.

May be a floating point value, such as "1.2".

Constant Value: 7 (0x00000007)

GestureOverlayView_gestureStrokeSquarenessThreshold

public static final int GestureOverlayView_gestureStrokeSquarenessThreshold

Squareness threshold of a stroke before it is recognized as a gesture.

May be a floating point value, such as "1.2".

Constant Value: 8 (0x00000008)

GestureOverlayView_gestureStrokeType

public static final int GestureOverlayView_gestureStrokeType

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.

Constant Value: 6 (0x00000006)

GestureOverlayView_gestureStrokeWidth

public static final int GestureOverlayView_gestureStrokeWidth

Width of the stroke used to draw the gesture.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

GestureOverlayView_orientation

public static final int GestureOverlayView_orientation

Indicates whether horizontal (when the orientation is vertical) or vertical (when orientation is horizontal) strokes automatically define a gesture.

Must be one of the following constant values.

ConstantValueDescription
horizontal0Defines an horizontal widget.
vertical1Defines a vertical widget.

Constant Value: 0 (0x00000000)

GestureOverlayView_uncertainGestureColor

public static final int GestureOverlayView_uncertainGestureColor

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".

Constant Value: 3 (0x00000003)

GlowPadView_directionDescriptions

public static final int GlowPadView_directionDescriptions

Reference to an array resource that be used to announce the directions with targets around the circle.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

GlowPadView_targetDescriptions

public static final int GlowPadView_targetDescriptions

Reference to an array resource that be used as description for the targets around the circle.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

GradientColorItem_color

public static final int GradientColorItem_color

The current color for the offset inside the gradient.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

GradientColorItem_offset

public static final int GradientColorItem_offset

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".

Constant Value: 1 (0x00000001)

GradientColor_centerColor

public static final int GradientColor_centerColor

Optional center color.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 7 (0x00000007)

GradientColor_centerX

public static final int GradientColor_centerX

X coordinate of the center of the gradient within the path.

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.

Constant Value: 3 (0x00000003)

GradientColor_centerY

public static final int GradientColor_centerY

Y coordinate of the center of the gradient within the path.

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.

Constant Value: 4 (0x00000004)

GradientColor_endColor

public static final int GradientColor_endColor

End color of the gradient.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

GradientColor_endX

public static final int GradientColor_endX

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".

Constant Value: 10 (0x0000000a)

GradientColor_endY

public static final int GradientColor_endY

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".

Constant Value: 11 (0x0000000b)

GradientColor_gradientRadius

public static final int GradientColor_gradientRadius

Radius of the gradient, used only with radial gradient.

May be a floating point value, such as "1.2".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 5 (0x00000005)

GradientColor_startColor

public static final int GradientColor_startColor

Start color of the gradient.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

GradientColor_startX

public static final int GradientColor_startX

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".

Constant Value: 8 (0x00000008)

GradientColor_startY

public static final int GradientColor_startY

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".

Constant Value: 9 (0x00000009)

GradientColor_tileMode

public static final int GradientColor_tileMode

Defines the tile mode of the gradient. SweepGradient don't support tiling.

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.

Constant Value: 6 (0x00000006)

GradientColor_type

public static final int GradientColor_type

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.

Constant Value: 2 (0x00000002)

GradientDrawableGradient_angle

public static final int GradientDrawableGradient_angle

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".

Constant Value: 3 (0x00000003)

GradientDrawableGradient_centerColor

public static final int GradientDrawableGradient_centerColor

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".

Constant Value: 8 (0x00000008)

GradientDrawableGradient_centerX

public static final int GradientDrawableGradient_centerX

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.

Constant Value: 5 (0x00000005)

GradientDrawableGradient_centerY

public static final int GradientDrawableGradient_centerY

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.

Constant Value: 6 (0x00000006)

GradientDrawableGradient_endColor

public static final int GradientDrawableGradient_endColor

End color of the gradient.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

GradientDrawableGradient_gradientRadius

public static final int GradientDrawableGradient_gradientRadius

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.

Constant Value: 7 (0x00000007)

GradientDrawableGradient_startColor

public static final int GradientDrawableGradient_startColor

Start color of the gradient.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

GradientDrawableGradient_type

public static final int GradientDrawableGradient_type

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.

Constant Value: 4 (0x00000004)

GradientDrawableGradient_useLevel

public static final int GradientDrawableGradient_useLevel

Whether the drawable level value (see 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".

Constant Value: 2 (0x00000002)

GradientDrawablePadding_bottom

public static final int GradientDrawablePadding_bottom

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).

Constant Value: 3 (0x00000003)

GradientDrawablePadding_left

public static final int GradientDrawablePadding_left

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).

Constant Value: 0 (0x00000000)

GradientDrawablePadding_right

public static final int GradientDrawablePadding_right

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).

Constant Value: 2 (0x00000002)

GradientDrawablePadding_top

public static final int GradientDrawablePadding_top

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).

Constant Value: 1 (0x00000001)

GradientDrawableSize_height

public static final int GradientDrawableSize_height

Height of 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).

Constant Value: 0 (0x00000000)

GradientDrawableSize_width

public static final int GradientDrawableSize_width

Width of 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).

Constant Value: 1 (0x00000001)

GradientDrawableSolid_color

public static final int GradientDrawableSolid_color

Solid color for the gradient shape.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

GradientDrawableStroke_color

public static final int GradientDrawableStroke_color

Color of the gradient shape's stroke.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

GradientDrawableStroke_dashGap

public static final int GradientDrawableStroke_dashGap

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).

Constant Value: 3 (0x00000003)

GradientDrawableStroke_dashWidth

public static final int GradientDrawableStroke_dashWidth

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).

Constant Value: 2 (0x00000002)

GradientDrawableStroke_width

public static final int GradientDrawableStroke_width

Width of the gradient shape's 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).

Constant Value: 0 (0x00000000)

GradientDrawable_dither

public static final int GradientDrawable_dither

Enables or disables dithering.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

GradientDrawable_innerRadius

public static final int GradientDrawable_innerRadius

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).

Constant Value: 7 (0x00000007)

GradientDrawable_innerRadiusRatio

public static final int GradientDrawable_innerRadiusRatio

Inner radius of the ring expressed as a ratio of the ring's width. For instance, if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. This value is ignored if innerRadius is defined. Default value is 9.

May be a floating point value, such as "1.2".

Constant Value: 4 (0x00000004)

GradientDrawable_opticalInsetBottom

public static final int GradientDrawable_opticalInsetBottom

Bottom optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 13 (0x0000000d)

GradientDrawable_opticalInsetLeft

public static final int GradientDrawable_opticalInsetLeft

Left optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 10 (0x0000000a)

GradientDrawable_opticalInsetRight

public static final int GradientDrawable_opticalInsetRight

Right optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 12 (0x0000000c)

GradientDrawable_opticalInsetTop

public static final int GradientDrawable_opticalInsetTop

Top optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 11 (0x0000000b)

GradientDrawable_shape

public static final int GradientDrawable_shape

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.

Constant Value: 3 (0x00000003)

GradientDrawable_thickness

public static final int GradientDrawable_thickness

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).

Constant Value: 8 (0x00000008)

GradientDrawable_thicknessRatio

public static final int GradientDrawable_thicknessRatio

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".

Constant Value: 5 (0x00000005)

GradientDrawable_tint

public static final int GradientDrawable_tint

If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

GradientDrawable_tintMode

public static final int GradientDrawable_tintMode

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\u2019s 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\u2019s 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]

Constant Value: 9 (0x00000009)

GradientDrawable_useLevel

public static final int GradientDrawable_useLevel

Whether the drawable level value (see Drawable.getLevel()) is used to scale the shape. Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 360. For all other types, there is no effect. The default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

GradientDrawable_visible

public static final int GradientDrawable_visible

Indicates whether the drawable should intially be visible.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

GridLayoutAnimation_columnDelay

public static final int GridLayoutAnimation_columnDelay

Fraction of the animation duration used to delay the beginning of the animation of each column.

May be a floating point value, such as "1.2".

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 0 (0x00000000)

GridLayoutAnimation_direction

public static final int GridLayoutAnimation_direction

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.

Constant Value: 2 (0x00000002)

GridLayoutAnimation_directionPriority

public static final int GridLayoutAnimation_directionPriority

Priority of the rows and columns. When the priority is none, both rows and columns have the same priority. When the priority is column, the animations will be applied on the columns first. The same goes for rows.

Must be one of the following constant values.

ConstantValueDescription
column1Columns are animated first.
none0Rows and columns are animated at the same time.
row2Rows are animated first.

Constant Value: 3 (0x00000003)

GridLayoutAnimation_rowDelay

public static final int GridLayoutAnimation_rowDelay

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.

Constant Value: 1 (0x00000001)

GridLayout_Layout_layout_column

public static final int GridLayout_Layout_layout_column

The column boundary delimiting the left of the group of cells occupied by this view.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

GridLayout_Layout_layout_columnSpan

public static final int GridLayout_Layout_layout_columnSpan

The column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view. The default is one. See GridLayout.Spec.

May be an integer value, such as "100".

Constant Value: 4 (0x00000004)

GridLayout_Layout_layout_columnWeight

public static final int GridLayout_Layout_layout_columnWeight

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".

Constant Value: 6 (0x00000006)

GridLayout_Layout_layout_gravity

public static final int GridLayout_Layout_layout_gravity

Gravity specifies how a component should be placed in its group of cells. The default is LEFT | BASELINE. See GridLayout.LayoutParams.setGravity(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.
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.

Constant Value: 0 (0x00000000)

GridLayout_Layout_layout_row

public static final int GridLayout_Layout_layout_row

The row boundary delimiting the top of the group of cells occupied by this view.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

GridLayout_Layout_layout_rowSpan

public static final int GridLayout_Layout_layout_rowSpan

The row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view. The default is one. See GridLayout.Spec.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

GridLayout_Layout_layout_rowWeight

public static final int GridLayout_Layout_layout_rowWeight

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".

Constant Value: 5 (0x00000005)

GridLayout_alignmentMode

public static final int GridLayout_alignmentMode

When set to alignMargins, causes alignment to take place between the outer boundary of a view, as defined by its margins. When set to alignBounds, causes alignment to take place between the edges of the view. The default is alignMargins. See GridLayout.setAlignmentMode(int).

Must be one of the following constant values.

ConstantValueDescription
alignBounds0Align the bounds of the children. See GridLayout.ALIGN_BOUNDS.
alignMargins1Align the margins of the children. See GridLayout.ALIGN_MARGINS.

Constant Value: 6 (0x00000006)

GridLayout_columnCount

public static final int GridLayout_columnCount

The maximum number of columns to create when automatically positioning children.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

GridLayout_columnOrderPreserved

public static final int GridLayout_columnOrderPreserved

When set to true, forces column boundaries to appear in the same order as column indices. The default is true. See GridLayout.setColumnOrderPreserved(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

GridLayout_orientation

public static final int GridLayout_orientation

The orientation property is not used during layout. It is only used to allocate row and column parameters when they are not specified by its children's layout paramters. GridLayout works like LinearLayout in this case; putting all the components either in a single row or in a single column - depending on the value of this flag. In the horizontal case, a columnCount property may be additionally supplied to force new rows to be created when a row is full. The rowCount attribute may be used similarly in the vertical case. The default is horizontal.

Must be one of the following constant values.

ConstantValueDescription
horizontal0Defines an horizontal widget.
vertical1Defines a vertical widget.

Constant Value: 0 (0x00000000)

GridLayout_rowCount

public static final int GridLayout_rowCount

The maximum number of rows to create when automatically positioning children.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

GridLayout_rowOrderPreserved

public static final int GridLayout_rowOrderPreserved

When set to true, forces row boundaries to appear in the same order as row indices. The default is true. See GridLayout.setRowOrderPreserved(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

GridLayout_useDefaultMargins

public static final int GridLayout_useDefaultMargins

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 GridLayout.setUseDefaultMargins(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

GridView_columnWidth

public static final int GridView_columnWidth

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).

Constant Value: 4 (0x00000004)

GridView_gravity

public static final int GridView_gravity

Specifies the gravity within each cell.

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.

Constant Value: 0 (0x00000000)

GridView_horizontalSpacing

public static final int GridView_horizontalSpacing

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).

Constant Value: 1 (0x00000001)

GridView_numColumns

public static final int GridView_numColumns

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.

Constant Value: 5 (0x00000005)

GridView_stretchMode

public static final int GridView_stretchMode

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..

Constant Value: 3 (0x00000003)

GridView_verticalSpacing

public static final int GridView_verticalSpacing

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).

Constant Value: 2 (0x00000002)

HorizontalScrollView_fillViewport

public static final int HorizontalScrollView_fillViewport

Defines whether the scrollview should stretch its content to fill the viewport.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

HostApduService_apduServiceBanner

public static final int HostApduService_apduServiceBanner

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".

Constant Value: 3 (0x00000003)

HostApduService_description

public static final int HostApduService_description

Short description of the functionality the service implements. This attribute is mandatory.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

HostApduService_requireDeviceScreenOn

public static final int HostApduService_requireDeviceScreenOn

Whether the device must be screen on before routing data to this service. The default is true.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

HostApduService_requireDeviceUnlock

public static final int HostApduService_requireDeviceUnlock

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".

Constant Value: 2 (0x00000002)

HostApduService_settingsActivity

public static final int HostApduService_settingsActivity

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;

Constant Value: 1 (0x00000001)

HostApduService_shouldDefaultToObserveMode

public static final int HostApduService_shouldDefaultToObserveMode

Whether the device should default to observe mode when this service is default or in the foreground.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

HostNfcFService_description

public static final int HostNfcFService_description

Short description of the functionality the service implements. This attribute is mandatory.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

IconDefault_icon

public static final int IconDefault_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

IconMenuView_maxItemsPerRow

public static final int IconMenuView_maxItemsPerRow

Defines the maximum number of items per row.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

IconMenuView_maxRows

public static final int IconMenuView_maxRows

Defines the maximum number of rows displayed.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

IconMenuView_moreIcon

public static final int IconMenuView_moreIcon

'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".

Constant Value: 3 (0x00000003)

IconMenuView_rowHeight

public static final int IconMenuView_rowHeight

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).

Constant Value: 0 (0x00000000)

Icon_icon

public static final int Icon_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

Icon_mimeType

public static final int Icon_mimeType

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;

Constant Value: 1 (0x00000001)

ImageView_adjustViewBounds

public static final int ImageView_adjustViewBounds

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".

Constant Value: 2 (0x00000002)

ImageView_baseline

public static final int ImageView_baseline

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).

Constant Value: 8 (0x00000008)

ImageView_baselineAlignBottom

public static final int ImageView_baselineAlignBottom

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".

Constant Value: 6 (0x00000006)

ImageView_cropToPadding

public static final int ImageView_cropToPadding

If true, the image will be cropped to fit within its padding.

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

ImageView_maxHeight

public static final int ImageView_maxHeight

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).

Constant Value: 4 (0x00000004)

ImageView_maxWidth

public static final int ImageView_maxWidth

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).

Constant Value: 3 (0x00000003)

ImageView_scaleType

public static final int ImageView_scaleType

Controls how the image should be resized or moved to match the size of this ImageView. See 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 Matrix.ScaleToFit.CENTER.
fitEnd4Scale the image using Matrix.ScaleToFit.END.
fitStart2Scale the image using Matrix.ScaleToFit.START.
fitXY1Scale the image using Matrix.ScaleToFit.FILL.
matrix0Scale using the image matrix when drawing. See ImageView.setImageMatrix(Matrix).

Constant Value: 1 (0x00000001)

ImageView_src

public static final int ImageView_src

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".

Constant Value: 0 (0x00000000)

ImageView_tint

public static final int ImageView_tint

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 ImageView.setImageTintList(ColorStateList) and by similar tint attributes on other views.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 5 (0x00000005)

ImageView_tintMode

public static final int ImageView_tintMode

Blending mode used to apply the image 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\u2019s 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\u2019s 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]

Constant Value: 9 (0x00000009)

Include_id

public static final int Include_id

Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById(). This must be a resource reference; typically you set this using the @+ syntax to create a new ID resources. For example: android:id="@+id/my_id" which allows you to later retrieve the view with findViewById(R.id.my_id).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

Include_visibility

public static final int Include_visibility

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.

Constant Value: 1 (0x00000001)

InputMethodService_imeExtractEnterAnimation

public static final int InputMethodService_imeExtractEnterAnimation

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".

Constant Value: 1 (0x00000001)

InputMethodService_imeExtractExitAnimation

public static final int InputMethodService_imeExtractExitAnimation

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".

Constant Value: 2 (0x00000002)

InputMethodService_imeFullscreenBackground

public static final int InputMethodService_imeFullscreenBackground

Background to use for entire input method when it is being shown in fullscreen mode with the extract view, to ensure that it completely covers the application. This allows, for example, the candidate view to be hidden while in fullscreen mode without having the application show through behind it.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

InputMethod_Subtype_icon

public static final int InputMethod_Subtype_icon

The icon of the subtype.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

InputMethod_Subtype_imeSubtypeExtraValue

public static final int InputMethod_Subtype_imeSubtypeExtraValue

The extra value of the subtype. This string can be any string and will be passed to the IME when the framework calls the IME with the subtype.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

InputMethod_Subtype_imeSubtypeLocale

public static final int InputMethod_Subtype_imeSubtypeLocale

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;

Constant Value: 2 (0x00000002)

InputMethod_Subtype_imeSubtypeMode

public static final int InputMethod_Subtype_imeSubtypeMode

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. 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;

Constant Value: 3 (0x00000003)

InputMethod_Subtype_isAsciiCapable

public static final int InputMethod_Subtype_isAsciiCapable

Set to true if this subtype is ASCII capable. If the subtype is ASCII capable, it should guarantee that the user can input ASCII characters with this subtype. This is important because many password fields only allow ASCII-characters.

Note: In order to avoid some known system issues on Build.VERSION_CODES.P and prior OSes, you may want to include "AsciiCapable" in InputMethod_Subtype_imeSubtypeExtraValue when you specify true to this attribute.

May be a boolean value, such as "true" or "false".

Constant Value: 8 (0x00000008)

InputMethod_Subtype_isAuxiliary

public static final int InputMethod_Subtype_isAuxiliary

Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the input method selection list in the settings app. InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it chooses a target subtype.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

InputMethod_Subtype_label

public static final int InputMethod_Subtype_label

The name of the subtype.

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;

Constant Value: 0 (0x00000000)

InputMethod_Subtype_languageTag

public static final int InputMethod_Subtype_languageTag

The BCP-47 Language Tag of the subtype. This replaces InputMethod_Subtype_imeSubtypeLocale.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 9 (0x00000009)

InputMethod_Subtype_overridesImplicitlyEnabledSubtype

public static final int InputMethod_Subtype_overridesImplicitlyEnabledSubtype

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".

Constant Value: 6 (0x00000006)

InputMethod_Subtype_physicalKeyboardHintLanguageTag

public static final int InputMethod_Subtype_physicalKeyboardHintLanguageTag

The BCP-47 Language Tag of the preferred physical keyboard of the subtype. If it's not specified, InputMethod_Subtype_languageTag will be used. See also InputMethodSubtype.getPhysicalKeyboardHintLanguageTag().

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 10 (0x0000000a)

InputMethod_Subtype_physicalKeyboardHintLayoutType

public static final int InputMethod_Subtype_physicalKeyboardHintLayoutType

The layout type of the preferred physical keyboard of the subtype. It matches the layout type string in the keyboard layout definition. See also InputMethodSubtype.getPhysicalKeyboardHintLayoutType().

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 11 (0x0000000b)

InputMethod_Subtype_subtypeId

public static final int InputMethod_Subtype_subtypeId

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".

Constant Value: 7 (0x00000007)

InputMethod_configChanges

public static final int InputMethod_configChanges

Specify one or more configuration changes that the IME will handle itself. If not specified, the IME will be restarted if any of these configuration changes happen in the system. Otherwise, the IME will remain running and its InputMethodService.onConfigurationChanged(Configuration) method is 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.

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.
fontWeightAdjustment10000000The font weight adjustment value has changed. Used to reflect the user increasing font weight.
grammaticalGender8000The grammatical gender has changed, for example the user set the grammatical gender from the UI.
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 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 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.

Constant Value: 0 (0x00000000)

InputMethod_isDefault

public static final int InputMethod_isDefault

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".

Constant Value: 1 (0x00000001)

InputMethod_isVirtualDeviceOnly

public static final int InputMethod_isVirtualDeviceOnly

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

InputMethod_isVrOnly

public static final int InputMethod_isVrOnly

Specifies if an IME can only be used while a device is in VR mode or on a dedicated device

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

InputMethod_settingsActivity

public static final int InputMethod_settingsActivity

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;

Constant Value: 2 (0x00000002)

InputMethod_showInInputMethodPicker

public static final int InputMethod_showInInputMethodPicker

Specifies whether the IME wants to be shown in the Input Method picker. Defaults to true. Set this to false if the IME is intended to be accessed programmatically.

Note: This functions as a hint to the system, which may choose to ignore this preference in certain situations or in future releases.

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

InputMethod_stylusHandwritingSettingsActivity

public static final int InputMethod_stylusHandwritingSettingsActivity

Class name of an activity that allows the user to modify the stylus handwriting settings for this service

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 10 (0x0000000a)

InputMethod_supportsConnectionlessStylusHandwriting

public static final int InputMethod_supportsConnectionlessStylusHandwriting

Specifies whether the IME supports connectionless stylus handwriting sessions. A connectionless session differs from a regular session in that the IME does not use an input connection to communicate with a text editor. Instead, the IME directly returns recognised handwritten text via an InputMethodService handwriting lifecycle API.

If the IME supports connectionless sessions, apps or framework may start a connectionless session when a stylus motion event sequence begins. InputMethodService.onStartConnectionlessStylusHandwriting(int, CursorAnchorInfo) is called. If the IME is ready for stylus input, it should return {code true} to start the basic mode session. As in the regular session, the IME will receive stylus motion events to the stylus handwriting window and should render ink to a view in this window. When the user has stopped handwriting, the IME should end the session and deliver the result by calling InputMethodService.finishConnectionlessStylusHandwriting(CharSequence). The default value is {code false}. If {code true}, R.attr.supportsStylusHandwriting should also be {code true}.

May be a boolean value, such as "true" or "false".

Constant Value: 12 (0x0000000c)

InputMethod_supportsInlineSuggestions

public static final int InputMethod_supportsInlineSuggestions

Specifies whether the IME supports showing inline suggestions.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

InputMethod_supportsInlineSuggestionsWithTouchExploration

public static final int InputMethod_supportsInlineSuggestionsWithTouchExploration

Specifies whether the IME supports showing inline suggestions when touch exploration is enabled. This does nothing if supportsInlineSuggestions is false. The default value is false and most IMEs should not set this to true since the older menu-style Autofill works better with touch exploration. This attribute should be set to true in special situations, such as if this is an accessibility-focused IME which blocks user interaction with the app window while the IME is displayed.

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

InputMethod_supportsStylusHandwriting

public static final int InputMethod_supportsStylusHandwriting

Specifies whether the IME supports Handwriting using stylus. Defaults to false. When IME implements support for stylus handwriting, on every ACTION_DOWN with stylus on an editor, InputMethodService.onStartStylusHandwriting() is called. If IME is ready for stylus input, it must return true for Handwriting sessions to start. IME should attach it's View that renders Ink on screen to stylus handwriting inking window InputMethodService.getStylusHandwritingWindow(). IME will then receive Stylus MotionEvent(s) on DecorView i.e. the Inking view View.onTouchEvent(MotionEvent) attached by IME to Ink window. Handwriting mode can be finished by calling InputMethodService.finishStylusHandwriting() or will be finished by framework on next InputMethodService.onFinishInput().

May be a boolean value, such as "true" or "false".

Constant Value: 8 (0x00000008)

InputMethod_supportsSwitchingToNextInputMethod

public static final int InputMethod_supportsSwitchingToNextInputMethod

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".

Constant Value: 3 (0x00000003)

InputMethod_suppressesSpellChecker

public static final int InputMethod_suppressesSpellChecker

Specifies whether the IME suppresses system spell checker. The default value is false. If an IME sets this attribute to true, the system spell checker will be disabled while the IME has an active input session.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

InsetDrawable_drawable

public static final int InsetDrawable_drawable

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".

Constant Value: 1 (0x00000001)

InsetDrawable_inset

public static final int InsetDrawable_inset

This symbol is the offset where the R.attr.inset attribute's value can be found in the InsetDrawable array.

May be a dimension value, which is a floating point number appended with a unit such as "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.

Constant Value: 6 (0x00000006)

InsetDrawable_insetBottom

public static final int InsetDrawable_insetBottom

This symbol is the offset where the R.attr.insetBottom attribute's value can be found in the InsetDrawable array.

May be a dimension value, which is a floating point number appended with a unit such as "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.

Constant Value: 5 (0x00000005)

InsetDrawable_insetLeft

public static final int InsetDrawable_insetLeft

This symbol is the offset where the R.attr.insetLeft attribute's value can be found in the InsetDrawable array.

May be a dimension value, which is a floating point number appended with a unit such as "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.

Constant Value: 2 (0x00000002)

InsetDrawable_insetRight

public static final int InsetDrawable_insetRight

This symbol is the offset where the R.attr.insetRight attribute's value can be found in the InsetDrawable array.

May be a dimension value, which is a floating point number appended with a unit such as "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.

Constant Value: 3 (0x00000003)

InsetDrawable_insetTop

public static final int InsetDrawable_insetTop

This symbol is the offset where the R.attr.insetTop attribute's value can be found in the InsetDrawable array.

May be a dimension value, which is a floating point number appended with a unit such as "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.

Constant Value: 4 (0x00000004)

InsetDrawable_visible

public static final int InsetDrawable_visible

Provides initial visibility state of the drawable; the default value is false. See Drawable.setVisible(boolean, boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

IntentCategory_name

public static final int IntentCategory_name

Required name of the category.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

Intent_action

public static final int Intent_action

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;

Constant Value: 2 (0x00000002)

Intent_data

public static final int Intent_data

The data URI to assign to the Intent, as per Intent.setData().

Note: scheme and host name matching in the Android framework is case-sensitive, unlike the formal RFC. As a result, URIs here should always be normalized to use lower case letters for these elements (as well as other proper Uri normalization).

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

Intent_identifier

public static final int Intent_identifier

The identifier to assign to the intent, as per Intent.setIdentifier().

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 5 (0x00000005)

Intent_mimeType

public static final int Intent_mimeType

The MIME type name to assign to the Intent, as per Intent.setType().

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;

Constant Value: 1 (0x00000001)

Intent_targetClass

public static final int Intent_targetClass

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;

Constant Value: 4 (0x00000004)

Intent_targetPackage

public static final int Intent_targetPackage

The package 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;

Constant Value: 0 (0x00000000)

KeyboardLayout_keyboardLayout

public static final int KeyboardLayout_keyboardLayout

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".

Constant Value: 2 (0x00000002)

KeyboardLayout_keyboardLayoutType

public static final int KeyboardLayout_keyboardLayoutType

The layout type of the given keyboardLayout. NOTE: The enum to int value mapping must remain stable

Must be one of the following constant values.

ConstantValueDescription
azerty3Azerty-based keyboard layout.
colemak5Colemak keyboard layout.
dvorak4Dvorak keyboard layout.
extended9Keyboard layout that has been enhanced with a large number of extra characters.
qwerty1Qwerty-based keyboard layout.
qwertz2Qwertz-based keyboard layout.
turkish_f8Turkish-F keyboard layout.
turkish_q7Turkish-Q keyboard layout.
workman6Workman keyboard layout.

Constant Value: 4 (0x00000004)

KeyboardLayout_keyboardLocale

public static final int KeyboardLayout_keyboardLocale

The locales the given keyboard layout corresponds to. This is a list of BCP-47 conformant language tags separated by the delimiter ',' or '|'. Some examples of language tags are: en-US, zh-Hans-CN, el-Grek-polyton. It includes information for language code, country code, variant, and script code like \u2018Latn\u2019, \u2018Cyrl\u2019, etc.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

KeyboardLayout_label

public static final int KeyboardLayout_label

The display label of the keyboard layout.

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;

Constant Value: 0 (0x00000000)

KeyboardLayout_name

public static final int KeyboardLayout_name

The name of the keyboard layout, must be unique in the receiver.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

KeyboardViewPreviewState_state_long_pressable

public static final int KeyboardViewPreviewState_state_long_pressable

State for KeyboardView key preview background.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

KeyboardView_keyBackground

public static final int KeyboardView_keyBackground

Image for the key. This image needs to be a StateListDrawable, with the following possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, checkable+checked+pressed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

KeyboardView_keyPreviewHeight

public static final int KeyboardView_keyPreviewHeight

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).

Constant Value: 8 (0x00000008)

KeyboardView_keyPreviewLayout

public static final int KeyboardView_keyPreviewLayout

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".

Constant Value: 6 (0x00000006)

KeyboardView_keyPreviewOffset

public static final int KeyboardView_keyPreviewOffset

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).

Constant Value: 7 (0x00000007)

KeyboardView_keyTextColor

public static final int KeyboardView_keyTextColor

Color to use for the label in a key.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 5 (0x00000005)

KeyboardView_keyTextSize

public static final int KeyboardView_keyTextSize

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).

Constant Value: 3 (0x00000003)

KeyboardView_labelTextSize

public static final int KeyboardView_labelTextSize

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).

Constant Value: 4 (0x00000004)

KeyboardView_popupLayout

public static final int KeyboardView_popupLayout

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".

Constant Value: 10 (0x0000000a)

KeyboardView_shadowColor

public static final int KeyboardView_shadowColor

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

KeyboardView_shadowRadius

public static final int KeyboardView_shadowRadius

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

KeyboardView_verticalCorrection

public static final int KeyboardView_verticalCorrection

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).

Constant Value: 9 (0x00000009)

Keyboard_Key_codes

public static final int Keyboard_Key_codes

The unicode value or comma-separated values that this key outputs.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

Keyboard_Key_iconPreview

public static final int Keyboard_Key_iconPreview

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".

Constant Value: 7 (0x00000007)

Keyboard_Key_isModifier

public static final int Keyboard_Key_isModifier

Whether this is a modifier key such as Alt or Shift.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

Keyboard_Key_isRepeatable

public static final int Keyboard_Key_isRepeatable

Whether long-pressing on this key will make it repeat.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

Keyboard_Key_isSticky

public static final int Keyboard_Key_isSticky

Whether this is a toggle key.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

Keyboard_Key_keyEdgeFlags

public static final int Keyboard_Key_keyEdgeFlags

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.

Constant Value: 3 (0x00000003)

Keyboard_Key_keyIcon

public static final int Keyboard_Key_keyIcon

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".

Constant Value: 10 (0x0000000a)

Keyboard_Key_keyLabel

public static final int Keyboard_Key_keyLabel

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;

Constant Value: 9 (0x00000009)

Keyboard_Key_keyOutputText

public static final int Keyboard_Key_keyOutputText

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;

Constant Value: 8 (0x00000008)

Keyboard_Key_keyboardMode

public static final int Keyboard_Key_keyboardMode

Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the key 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".

Constant Value: 11 (0x0000000b)

Keyboard_Key_popupCharacters

public static final int Keyboard_Key_popupCharacters

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;

Constant Value: 2 (0x00000002)

Keyboard_Key_popupKeyboard

public static final int Keyboard_Key_popupKeyboard

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".

Constant Value: 1 (0x00000001)

Keyboard_Row_keyboardMode

public static final int Keyboard_Row_keyboardMode

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".

Constant Value: 1 (0x00000001)

Keyboard_Row_rowEdgeFlags

public static final int Keyboard_Row_rowEdgeFlags

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.

Constant Value: 0 (0x00000000)

Keyboard_horizontalGap

public static final int Keyboard_horizontalGap

Default horizontal gap between keys.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 2 (0x00000002)

Keyboard_keyHeight

public static final int Keyboard_keyHeight

Default height of a key, in pixels or percentage of display width.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 1 (0x00000001)

Keyboard_keyWidth

public static final int Keyboard_keyWidth

Default width of a key, in pixels or percentage of display width.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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.

Constant Value: 0 (0x00000000)

Keyboard_verticalGap

public static final int Keyboard_verticalGap

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.

Constant Value: 3 (0x00000003)

Keyframe_fraction

public static final int Keyframe_fraction

This symbol is the offset where the R.attr.fraction attribute's value can be found in the Keyframe array.

May be a floating point value, such as "1.2".

Constant Value: 3 (0x00000003)

Keyframe_interpolator

public static final int Keyframe_interpolator

Defines a per-interval interpolator for this keyframe. This interpolator will be used to interpolate between this keyframe and the previous keyframe.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

Keyframe_value

public static final int Keyframe_value

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".

Constant Value: 0 (0x00000000)

Keyframe_valueType

public static final int Keyframe_valueType

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.

Constant Value: 2 (0x00000002)

LayerDrawableItem_bottom

public static final int LayerDrawableItem_bottom

Bottom inset to apply to the layer.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 8 (0x00000008)

LayerDrawableItem_drawable

public static final int LayerDrawableItem_drawable

Drawable used to render the layer.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 4 (0x00000004)

LayerDrawableItem_end

public static final int LayerDrawableItem_end

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).

Constant Value: 10 (0x0000000a)

LayerDrawableItem_gravity

public static final int LayerDrawableItem_gravity

Gravity used to align the layer within its container. If no value is specified, the default behavior depends on whether an explicit width or height has been set, If no dimension is set, gravity in that direction defaults to fill_horizontal or fill_vertical; otherwise, it defaults to left or top.

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.

Constant Value: 0 (0x00000000)

LayerDrawableItem_height

public static final int LayerDrawableItem_height

Height of the layer. Defaults to the layer's intrinsic 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).

Constant Value: 2 (0x00000002)

LayerDrawableItem_id

public static final int LayerDrawableItem_id

Identifier of the layer. This can be used to retrieve the layer from a drawable container.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

LayerDrawableItem_left

public static final int LayerDrawableItem_left

Left inset to apply to the layer.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 5 (0x00000005)

LayerDrawableItem_right

public static final int LayerDrawableItem_right

Right inset to apply to the layer.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 7 (0x00000007)

LayerDrawableItem_start

public static final int LayerDrawableItem_start

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).

Constant Value: 9 (0x00000009)

LayerDrawableItem_top

public static final int LayerDrawableItem_top

Top inset to apply to the layer.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 6 (0x00000006)

LayerDrawableItem_width

public static final int LayerDrawableItem_width

Width of the layer. Defaults to the layer's intrinsic 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).

Constant Value: 3 (0x00000003)

LayerDrawable_autoMirrored

public static final int LayerDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

LayerDrawable_opacity

public static final int LayerDrawable_opacity

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).

Constant Value: 4 (0x00000004)

LayerDrawable_paddingBottom

public static final int LayerDrawable_paddingBottom

Explicit bottom padding. Overrides child 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).

Constant Value: 3 (0x00000003)

LayerDrawable_paddingEnd

public static final int LayerDrawable_paddingEnd

Explicit end padding. Overrides child padding. Takes precedence over absolute padding (for example, right when layout direction is LTR).

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 6 (0x00000006)

LayerDrawable_paddingLeft

public static final int LayerDrawable_paddingLeft

Explicit left padding. Overrides child 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).

Constant Value: 0 (0x00000000)

LayerDrawable_paddingMode

public static final int LayerDrawable_paddingMode

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.

Constant Value: 8 (0x00000008)

LayerDrawable_paddingRight

public static final int LayerDrawable_paddingRight

Explicit right padding. Overrides child 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).

Constant Value: 2 (0x00000002)

LayerDrawable_paddingStart

public static final int LayerDrawable_paddingStart

Explicit start padding. Overrides child padding. Takes precedence over absolute padding (for example, left when layout direction is LTR).

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 5 (0x00000005)

LayerDrawable_paddingTop

public static final int LayerDrawable_paddingTop

Explicit top padding. Overrides child 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).

Constant Value: 1 (0x00000001)

LayoutAnimation_animation

public static final int LayoutAnimation_animation

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".

Constant Value: 2 (0x00000002)

LayoutAnimation_animationOrder

public static final int LayoutAnimation_animationOrder

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.

Constant Value: 3 (0x00000003)

LayoutAnimation_delay

public static final int LayoutAnimation_delay

Fraction of the animation duration used to delay the beginning of the animation of each child.

May be a floating point value, such as "1.2".

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

Constant Value: 1 (0x00000001)

LayoutAnimation_interpolator

public static final int LayoutAnimation_interpolator

Interpolator used to interpolate the delay between the start of each animation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

LevelListDrawableItem_drawable

public static final int LevelListDrawableItem_drawable

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".

Constant Value: 0 (0x00000000)

LevelListDrawableItem_maxLevel

public static final int LevelListDrawableItem_maxLevel

The maximum level allowed for this item.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

LevelListDrawableItem_minLevel

public static final int LevelListDrawableItem_minLevel

The minimum level allowed for this item.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

Lighting_ambientShadowAlpha

public static final int Lighting_ambientShadowAlpha

Alpha value of the ambient shadow projected by elevated views, between 0 and 1.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

Lighting_spotShadowAlpha

public static final int Lighting_spotShadowAlpha

Alpha value of the spot shadow projected by elevated views, between 0 and 1.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

LinearLayout_Layout_layout_gravity

public static final int LinearLayout_Layout_layout_gravity

Gravity specifies how a component should be placed in its group of cells. The default is Gravity.TOP. See LinearLayout.setGravity(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.
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.

Constant Value: 0 (0x00000000)

LinearLayout_Layout_layout_height

public static final int LinearLayout_Layout_layout_height

Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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).

Constant Value: 2 (0x00000002)

LinearLayout_Layout_layout_weight

public static final int LinearLayout_Layout_layout_weight

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".

Constant Value: 3 (0x00000003)

LinearLayout_Layout_layout_width

public static final int LinearLayout_Layout_layout_width

Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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).

Constant Value: 1 (0x00000001)

LinearLayout_baselineAligned

public static final int LinearLayout_baselineAligned

When set to false, prevents the layout from aligning its children's baselines. This attribute is particularly useful when the children use different values for gravity. The default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

LinearLayout_baselineAlignedChildIndex

public static final int LinearLayout_baselineAlignedChildIndex

When a linear layout is part of another layout that is baseline aligned, it can specify which of its children to baseline align to (that is, which child TextView).

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

LinearLayout_divider

public static final int LinearLayout_divider

Drawable to use as a vertical divider between buttons.

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".

Constant Value: 5 (0x00000005)

LinearLayout_dividerPadding

public static final int LinearLayout_dividerPadding

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).

Constant Value: 8 (0x00000008)

LinearLayout_gravity

public static final int LinearLayout_gravity

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
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.

Constant Value: 0 (0x00000000)

LinearLayout_measureWithLargestChild

public static final int LinearLayout_measureWithLargestChild

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".

Constant Value: 6 (0x00000006)

LinearLayout_orientation

public static final int LinearLayout_orientation

Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column. The default is horizontal.

Must be one of the following constant values.

ConstantValueDescription
horizontal0Defines an horizontal widget.
vertical1Defines a vertical widget.

Constant Value: 1 (0x00000001)

LinearLayout_showDividers

public static final int LinearLayout_showDividers

Setting for which dividers to show.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
beginning1
end4
middle2
none0

Constant Value: 7 (0x00000007)

LinearLayout_weightSum

public static final int LinearLayout_weightSum

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".

Constant Value: 4 (0x00000004)

ListPopupWindow_dropDownHorizontalOffset

public static final int ListPopupWindow_dropDownHorizontalOffset

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).

Constant Value: 0 (0x00000000)

ListPopupWindow_dropDownVerticalOffset

public static final int ListPopupWindow_dropDownVerticalOffset

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).

Constant Value: 1 (0x00000001)

ListPreference_entries

public static final int ListPreference_entries

The human-readable array to present as a list. Each entry must have a corresponding index in entryValues.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

ListPreference_entryValues

public static final int ListPreference_entryValues

The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

ListView_divider

public static final int ListView_divider

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".

Constant Value: 1 (0x00000001)

ListView_dividerHeight

public static final int ListView_dividerHeight

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).

Constant Value: 2 (0x00000002)

ListView_entries

public static final int ListView_entries

Reference to an array resource that will populate the ListView. For static content, this is simpler than populating the ListView programmatically.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

ListView_footerDividersEnabled

public static final int ListView_footerDividersEnabled

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".

Constant Value: 4 (0x00000004)

ListView_headerDividersEnabled

public static final int ListView_headerDividersEnabled

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".

Constant Value: 3 (0x00000003)

ListView_overScrollFooter

public static final int ListView_overScrollFooter

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".

Constant Value: 6 (0x00000006)

ListView_overScrollHeader

public static final int ListView_overScrollHeader

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".

Constant Value: 5 (0x00000005)

LocaleConfig_Locale_name

public static final int LocaleConfig_Locale_name

The IETF BCP47 language tag of the supported locale. LocaleConfig

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

LocaleConfig_defaultLocale

public static final int LocaleConfig_defaultLocale

The IETF BCP47 language tag the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

MapView_apiKey

public static final int MapView_apiKey

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;

Constant Value: 0 (0x00000000)

MaterialProgressDrawable_color

public static final int MaterialProgressDrawable_color

Solid color for the gradient shape.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 3 (0x00000003)

MaterialProgressDrawable_height

public static final int MaterialProgressDrawable_height

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).

Constant Value: 0 (0x00000000)

MaterialProgressDrawable_innerRadius

public static final int MaterialProgressDrawable_innerRadius

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).

Constant Value: 4 (0x00000004)

MaterialProgressDrawable_thickness

public static final int MaterialProgressDrawable_thickness

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).

Constant Value: 5 (0x00000005)

MaterialProgressDrawable_visible

public static final int MaterialProgressDrawable_visible

Provides initial visibility state of the drawable; the default value is false. See Drawable.setVisible(boolean, boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

MaterialProgressDrawable_width

public static final int MaterialProgressDrawable_width

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).

Constant Value: 1 (0x00000001)

MediaRouteButton_mediaRouteTypes

public static final int MediaRouteButton_mediaRouteTypes

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.

Constant Value: 2 (0x00000002)

MediaRouteButton_minHeight

public static final int MediaRouteButton_minHeight

This symbol is the offset where the R.attr.minHeight attribute's value can be found in the MediaRouteButton array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

MediaRouteButton_minWidth

public static final int MediaRouteButton_minWidth

This symbol is the offset where the R.attr.minWidth attribute's value can be found in the MediaRouteButton array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 0 (0x00000000)

public static final int MenuGroup_checkableBehavior

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.

Constant Value: 5 (0x00000005)

public static final int MenuGroup_enabled

Whether the items are enabled.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

public static final int MenuGroup_id

The ID of the group.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

public static final int MenuGroup_menuCategory

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.

Constant Value: 3 (0x00000003)

public static final int MenuGroup_orderInCategory

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".

Constant Value: 4 (0x00000004)

public static final int MenuGroup_visible

Whether the items are shown/visible.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

public static final int MenuItemCheckedFocusedState_state_checkable

State identifier indicating that the object may display a check mark. See R.attr.state_checked for the identifier that indicates whether it is actually checked.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

public static final int MenuItemCheckedFocusedState_state_checked

State identifier indicating that the object is currently checked. See 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".

Constant Value: 2 (0x00000002)

public static final int MenuItemCheckedFocusedState_state_focused

State value for StateListDrawable, set when a view has input focus.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

public static final int MenuItemCheckedState_state_checkable

State identifier indicating that the object may display a check mark. See R.attr.state_checked for the identifier that indicates whether it is actually checked.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

public static final int MenuItemCheckedState_state_checked

State identifier indicating that the object is currently checked. See 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".

Constant Value: 1 (0x00000001)

public static final int MenuItemUncheckedFocusedState_state_checkable

State identifier indicating that the object may display a check mark. See R.attr.state_checked for the identifier that indicates whether it is actually checked.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

public static final int MenuItemUncheckedFocusedState_state_focused

State value for StateListDrawable, set when a view has input focus.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

public static final int MenuItemUncheckedState_state_checkable

State identifier indicating that the object may display a check mark. See R.attr.state_checked for the identifier that indicates whether it is actually checked.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

public static final int MenuItem_actionLayout

An optional layout to be used as an action view. See 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".

Constant Value: 15 (0x0000000f)

public static final int MenuItem_actionProviderClass

The name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item. See 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;

Constant Value: 17 (0x00000011)

public static final int MenuItem_actionViewClass

The name of an optional View class to instantiate and use as an action view. See 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;

Constant Value: 16 (0x00000010)

public static final int MenuItem_alphabeticModifiers

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

Constant Value: 19 (0x00000013)

public static final int MenuItem_alphabeticShortcut

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;

Constant Value: 9 (0x00000009)

public static final int MenuItem_checkable

Whether the item is capable of displaying a check mark.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

public static final int MenuItem_checked

Whether the item is checked. Note that you must first have enabled checking with the checkable attribute or else the check mark will not appear.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

public static final int MenuItem_contentDescription

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;

Constant Value: 13 (0x0000000d)

public static final int MenuItem_enabled

Whether the item is enabled.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

public static final int MenuItem_icon

The icon associated with this item. This icon will not always be shown, so the title should be sufficient in describing this item.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

public static final int MenuItem_iconTint

Tint to apply to the icon.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 21 (0x00000015)

public static final int MenuItem_iconTintMode

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\u2019s 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\u2019s 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]

Constant Value: 22 (0x00000016)

public static final int MenuItem_id

The ID of the item.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

public static final int MenuItem_menuCategory

The category applied to the item. (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.

Constant Value: 5 (0x00000005)

public static final int MenuItem_numericModifiers

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

Constant Value: 20 (0x00000014)

public static final int MenuItem_numericShortcut

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;

Constant Value: 10 (0x0000000a)

public static final int MenuItem_onClick

Name of a method on the Context used to inflate the menu that will be called when the item is clicked.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 12 (0x0000000c)

public static final int MenuItem_orderInCategory

The order within the category applied to the item. (This will be or'ed with the category attribute.)

May be an integer value, such as "100".

Constant Value: 6 (0x00000006)

public static final int MenuItem_showAsAction

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.

Constant Value: 14 (0x0000000e)

public static final int MenuItem_title

The title associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 7 (0x00000007)

public static final int MenuItem_titleCondensed

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;

Constant Value: 8 (0x00000008)

public static final int MenuItem_tooltipText

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;

Constant Value: 18 (0x00000012)

public static final int MenuItem_visible

Whether the item is shown/visible.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

public static final int MenuView_headerBackground

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".

Constant Value: 4 (0x00000004)

public static final int MenuView_horizontalDivider

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".

Constant Value: 2 (0x00000002)

public static final int MenuView_itemBackground

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".

Constant Value: 5 (0x00000005)

public static final int MenuView_itemIconDisabledAlpha

Default disabled icon alpha for each menu item that shows an icon.

May be a floating point value, such as "1.2".

Constant Value: 6 (0x00000006)

public static final int MenuView_itemTextAppearance

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".

Constant Value: 1 (0x00000001)

public static final int MenuView_subMenuArrow

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".

Constant Value: 7 (0x00000007)

public static final int MenuView_verticalDivider

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".

Constant Value: 3 (0x00000003)

public static final int MenuView_windowAnimationStyle

Default animations for the menu.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

MessagingLinearLayout_spacing

public static final int MessagingLinearLayout_spacing

This symbol is the offset where the R.attr.spacing attribute's value can be found in the MessagingLinearLayout array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 0 (0x00000000)

MultiSelectListPreference_entries

public static final int MultiSelectListPreference_entries

The human-readable array to present as a list. Each entry must have a corresponding index in entryValues.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

MultiSelectListPreference_entryValues

public static final int MultiSelectListPreference_entryValues

The array to find the value to save for a preference when an entry from entries is selected. If a user clicks 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".

Constant Value: 1 (0x00000001)

Nfcid2Filter_name

public static final int Nfcid2Filter_name

The NFCID2. This attribute is mandatory.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

NinePatchDrawable_alpha

public static final int NinePatchDrawable_alpha

Specifies the alpha multiplier to apply to the base drawable.

May be a floating point value, such as "1.2".

Constant Value: 3 (0x00000003)

NinePatchDrawable_autoMirrored

public static final int NinePatchDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

NinePatchDrawable_dither

public static final int NinePatchDrawable_dither

Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

NinePatchDrawable_src

public static final int NinePatchDrawable_src

Identifier of the bitmap file. This attribute is mandatory.

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".

Constant Value: 0 (0x00000000)

NinePatchDrawable_tint

public static final int NinePatchDrawable_tint

If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 2 (0x00000002)

NinePatchDrawable_tintMode

public static final int NinePatchDrawable_tintMode

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\u2019s 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\u2019s 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]

Constant Value: 5 (0x00000005)

NumberPicker_selectionDividerHeight

public static final int NumberPicker_selectionDividerHeight

The height of the selection divider.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

OffHostApduService_apduServiceBanner

public static final int OffHostApduService_apduServiceBanner

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".

Constant Value: 3 (0x00000003)

OffHostApduService_description

public static final int OffHostApduService_description

Short description of the functionality the service implements. This attribute is mandatory.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

OffHostApduService_requireDeviceScreenOn

public static final int OffHostApduService_requireDeviceScreenOn

Whether the device must be screen on before routing data to this service. The default is false.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

OffHostApduService_requireDeviceUnlock

public static final int OffHostApduService_requireDeviceUnlock

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".

Constant Value: 2 (0x00000002)

OffHostApduService_secureElementName

public static final int OffHostApduService_secureElementName

Secure Element which the AIDs should be routed to

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

OffHostApduService_settingsActivity

public static final int OffHostApduService_settingsActivity

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;

Constant Value: 1 (0x00000001)

OffHostApduService_shouldDefaultToObserveMode

public static final int OffHostApduService_shouldDefaultToObserveMode

Whether the device should default to observe mode when this service is default or in the foreground.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

OnDeviceRecognitionService_settingsActivity

public static final int OnDeviceRecognitionService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

OvershootInterpolator_tension

public static final int OvershootInterpolator_tension

This is the amount of tension.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

PathInterpolator_controlX1

public static final int PathInterpolator_controlX1

The x coordinate of the first control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

PathInterpolator_controlX2

public static final int PathInterpolator_controlX2

The x coordinate of the second control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Constant Value: 2 (0x00000002)

PathInterpolator_controlY1

public static final int PathInterpolator_controlY1

The y coordinate of the first control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

PathInterpolator_controlY2

public static final int PathInterpolator_controlY2

The y coordinate of the second control point of the cubic Bezier.

May be a floating point value, such as "1.2".

Constant Value: 3 (0x00000003)

PathInterpolator_pathData

public static final int PathInterpolator_pathData

The control points defined as a path. When pathData is defined, then both of the control points of the cubic Bezier will be ignored.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

PatternPathMotion_patternPathData

public static final int PatternPathMotion_patternPathData

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;

Constant Value: 0 (0x00000000)

PointerIcon_bitmap

public static final int PointerIcon_bitmap

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".

Constant Value: 0 (0x00000000)

PointerIcon_hotSpotX

public static final int PointerIcon_hotSpotX

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).

Constant Value: 1 (0x00000001)

PointerIcon_hotSpotY

public static final int PointerIcon_hotSpotY

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).

Constant Value: 2 (0x00000002)

PollingLoopFilter_autoTransact

public static final int PollingLoopFilter_autoTransact

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

PollingLoopFilter_name

public static final int PollingLoopFilter_name

The polling loop frame. This attribute is mandatory.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

PollingLoopPatternFilter_autoTransact

public static final int PollingLoopPatternFilter_autoTransact

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

PollingLoopPatternFilter_name

public static final int PollingLoopPatternFilter_name

The patter to match polling loop frames to, must to be compatible with Pattern.compile(String) and only contain hexadecimal numbers and `.`, `?` and `*` operators. This attribute is mandatory.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

PopupWindowBackgroundState_state_above_anchor

public static final int PopupWindowBackgroundState_state_above_anchor

State identifier indicating the popup will be above the anchor.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

public static final int PopupWindow_overlapAnchor

Whether the popup window should overlap its anchor view.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

public static final int PopupWindow_popupAnimationStyle

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".

Constant Value: 1 (0x00000001)

public static final int PopupWindow_popupBackground

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".

Constant Value: 0 (0x00000000)

public static final int PopupWindow_popupElevation

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).

Constant Value: 3 (0x00000003)

public static final int PopupWindow_popupEnterTransition

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".

Constant Value: 4 (0x00000004)

public static final int PopupWindow_popupExitTransition

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".

Constant Value: 5 (0x00000005)

PreferenceActivity_layout

public static final int PreferenceActivity_layout

The layout for the Preference Activity. This should rarely need to be changed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

PreferenceFragment_divider

public static final int PreferenceFragment_divider

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".

Constant Value: 1 (0x00000001)

PreferenceFragment_layout

public static final int PreferenceFragment_layout

The layout for the PreferenceFragment. This should rarely need to be changed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

PreferenceGroup_orderingFromXml

public static final int PreferenceGroup_orderingFromXml

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".

Constant Value: 0 (0x00000000)

PreferenceHeader_breadCrumbShortTitle

public static final int PreferenceHeader_breadCrumbShortTitle

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;

Constant Value: 6 (0x00000006)

PreferenceHeader_breadCrumbTitle

public static final int PreferenceHeader_breadCrumbTitle

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;

Constant Value: 5 (0x00000005)

PreferenceHeader_fragment

public static final int PreferenceHeader_fragment

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;

Constant Value: 4 (0x00000004)

PreferenceHeader_icon

public static final int PreferenceHeader_icon

An icon for the item.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

PreferenceHeader_id

public static final int PreferenceHeader_id

Identifier value for the header.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

PreferenceHeader_summary

public static final int PreferenceHeader_summary

The summary for the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

PreferenceHeader_title

public static final int PreferenceHeader_title

The title of the item that is shown to the user.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

PreferenceScreen_divider

public static final int PreferenceScreen_divider

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".

Constant Value: 0 (0x00000000)

Preference_defaultValue

public static final int Preference_defaultValue

The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.

May be a reference to another resource, in the form "@[+][package:]type/name" or 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".

Constant Value: 11 (0x0000000b)

Preference_dependency

public static final int Preference_dependency

The key of another Preference that this Preference will depend on. If the other Preference is not set or is off, this Preference will be disabled.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 10 (0x0000000a)

Preference_enabled

public static final int Preference_enabled

Whether the Preference is enabled.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

Preference_fragment

public static final int Preference_fragment

When used inside of a modern PreferenceActivity, this declares a new PreferenceFragment to be shown when the user selects this item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 13 (0x0000000d)

Preference_icon

public static final int Preference_icon

The optional icon for 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".

Constant Value: 0 (0x00000000)

Preference_iconSpaceReserved

public static final int Preference_iconSpaceReserved

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".

Constant Value: 16 (0x00000010)

Preference_key

public static final int Preference_key

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;

Constant Value: 6 (0x00000006)

Preference_layout

public static final int Preference_layout

The layout for the Preference in a PreferenceActivity screen. This should rarely need to be changed, look at widgetLayout instead.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 3 (0x00000003)

Preference_order

public static final int Preference_order

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".

Constant Value: 8 (0x00000008)

Preference_persistent

public static final int Preference_persistent

Whether the Preference stores its value to the storage.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

Preference_recycleEnabled

public static final int Preference_recycleEnabled

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".

Constant Value: 14 (0x0000000e)

Preference_selectable

public static final int Preference_selectable

Whether the Preference is selectable.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

Preference_shouldDisableView

public static final int Preference_shouldDisableView

Whether the view of this Preference should be disabled when this Preference is disabled.

May be a boolean value, such as "true" or "false".

Constant Value: 12 (0x0000000c)

Preference_singleLineTitle

public static final int Preference_singleLineTitle

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".

Constant Value: 15 (0x0000000f)

Preference_summary

public static final int Preference_summary

The summary for the Preference. In API 25 and earlier, this value is read as a plain string with styling information stripped.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 7 (0x00000007)

Preference_title

public static final int Preference_title

The title for the Preference. In API 25 and earlier, this value is read as a plain string with styling information stripped.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

Preference_widgetLayout

public static final int Preference_widgetLayout

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".

Constant Value: 9 (0x00000009)

PrintService_addPrintersActivity

public static final int PrintService_addPrintersActivity

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;

Constant Value: 1 (0x00000001)

PrintService_advancedPrintOptionsActivity

public static final int PrintService_advancedPrintOptionsActivity

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;

Constant Value: 3 (0x00000003)

PrintService_settingsActivity

public static final int PrintService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

PrintService_vendor

public static final int PrintService_vendor

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;

Constant Value: 2 (0x00000002)

ProgressBar_animationResolution

public static final int ProgressBar_animationResolution

Timeout between frames of animation in milliseconds. .

May be an integer value, such as "100".

Constant Value: 14 (0x0000000e)

ProgressBar_backgroundTint

public static final int ProgressBar_backgroundTint

Tint to apply to the background.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 24 (0x00000018)

ProgressBar_backgroundTintMode

public static final int ProgressBar_backgroundTintMode

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\u2019s 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\u2019s 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]

Constant Value: 25 (0x00000019)

ProgressBar_indeterminate

public static final int ProgressBar_indeterminate

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".

Constant Value: 5 (0x00000005)

ProgressBar_indeterminateBehavior

public static final int ProgressBar_indeterminateBehavior

Defines how the indeterminate mode should behave when the progress reaches max. Only affects the indeterminate animation if the indeterminate Drawable does not implement android.graphics.drawable.Animatable.

Must be one of the following constant values.

ConstantValueDescription
cycle2Progress keeps the current value and goes back to 0.
repeat1Progress starts over from 0.

Constant Value: 10 (0x0000000a)

ProgressBar_indeterminateDrawable

public static final int ProgressBar_indeterminateDrawable

Drawable used for the indeterminate mode. One that implements Animatable offers more control over the animation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 7 (0x00000007)

ProgressBar_indeterminateDuration

public static final int ProgressBar_indeterminateDuration

Duration of the indeterminate animation. Only affects the indeterminate animation if the indeterminate Drawable does not implement android.graphics.drawable.Animatable.

May be an integer value, such as "100".

Constant Value: 9 (0x00000009)

ProgressBar_indeterminateOnly

public static final int ProgressBar_indeterminateOnly

Restricts to ONLY indeterminate mode (state-keeping progress mode will not work).

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

ProgressBar_indeterminateTint

public static final int ProgressBar_indeterminateTint

Tint to apply to the indeterminate progress indicator.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 22 (0x00000016)

ProgressBar_indeterminateTintMode

public static final int ProgressBar_indeterminateTintMode

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\u2019s 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\u2019s 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]

Constant Value: 23 (0x00000017)

ProgressBar_interpolator

public static final int ProgressBar_interpolator

Sets the acceleration curve for the indeterminate animation. Defaults to a linear interpolation. Only affects the indeterminate animation if the indeterminate Drawable does not implement android.graphics.drawable.Animatable.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 13 (0x0000000d)

ProgressBar_max

public static final int ProgressBar_max

Defines the maximum value.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

ProgressBar_maxHeight

public static final int ProgressBar_maxHeight

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).

Constant Value: 1 (0x00000001)

ProgressBar_maxWidth

public static final int ProgressBar_maxWidth

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).

Constant Value: 0 (0x00000000)

ProgressBar_min

public static final int ProgressBar_min

Defines the minimum value.

May be an integer value, such as "100".

Constant Value: 26 (0x0000001a)

ProgressBar_minHeight

public static final int ProgressBar_minHeight

This symbol is the offset where the R.attr.minHeight attribute's value can be found in the ProgressBar array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 12 (0x0000000c)

ProgressBar_minWidth

public static final int ProgressBar_minWidth

This symbol is the offset where the R.attr.minWidth attribute's value can be found in the ProgressBar array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 11 (0x0000000b)

ProgressBar_mirrorForRtl

public static final int ProgressBar_mirrorForRtl

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".

Constant Value: 15 (0x0000000f)

ProgressBar_progress

public static final int ProgressBar_progress

Defines the default progress value, between 0 and max.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

ProgressBar_progressBackgroundTint

public static final int ProgressBar_progressBackgroundTint

Tint to apply to the progress indicator background.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 18 (0x00000012)

ProgressBar_progressBackgroundTintMode

public static final int ProgressBar_progressBackgroundTintMode

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\u2019s 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\u2019s 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]

Constant Value: 19 (0x00000013)

ProgressBar_progressDrawable

public static final int ProgressBar_progressDrawable

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".

Constant Value: 8 (0x00000008)

ProgressBar_progressTint

public static final int ProgressBar_progressTint

Tint to apply to the progress indicator.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 16 (0x00000010)

ProgressBar_progressTintMode

public static final int ProgressBar_progressTintMode

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\u2019s 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\u2019s 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]

Constant Value: 17 (0x00000011)

ProgressBar_secondaryProgress

public static final int ProgressBar_secondaryProgress

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".

Constant Value: 4 (0x00000004)

ProgressBar_secondaryProgressTint

public static final int ProgressBar_secondaryProgressTint

Tint to apply to the secondary progress indicator.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 20 (0x00000014)

ProgressBar_secondaryProgressTintMode

public static final int ProgressBar_secondaryProgressTintMode

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\u2019s 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\u2019s 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]

Constant Value: 21 (0x00000015)

PropertyAnimator_pathData

public static final int PropertyAnimator_pathData

The path used to animate the properties in the ObjectAnimator.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

PropertyAnimator_propertyName

public static final int PropertyAnimator_propertyName

Name of the property being animated.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

PropertyAnimator_propertyXName

public static final int PropertyAnimator_propertyXName

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;

Constant Value: 2 (0x00000002)

PropertyAnimator_propertyYName

public static final int PropertyAnimator_propertyYName

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;

Constant Value: 3 (0x00000003)

PropertyValuesHolder_propertyName

public static final int PropertyValuesHolder_propertyName

Name of the property being animated.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

PropertyValuesHolder_valueFrom

public static final int PropertyValuesHolder_valueFrom

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).

Constant Value: 0 (0x00000000)

PropertyValuesHolder_valueTo

public static final int PropertyValuesHolder_valueTo

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).

Constant Value: 1 (0x00000001)

PropertyValuesHolder_valueType

public static final int PropertyValuesHolder_valueType

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.

Constant Value: 2 (0x00000002)

QuickAccessWalletService_settingsActivity

public static final int QuickAccessWalletService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

QuickAccessWalletService_shortcutLongLabel

public static final int QuickAccessWalletService_shortcutLongLabel

Text shown on the empty state button if no cards are provided

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 3 (0x00000003)

QuickAccessWalletService_shortcutShortLabel

public static final int QuickAccessWalletService_shortcutShortLabel

Text shown on the button that takes users to the wallet application

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

QuickAccessWalletService_targetActivity

public static final int QuickAccessWalletService_targetActivity

Fully qualified class name of an activity that allows the user to view their entire wallet

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

RadioGroup_checkedButton

public static final int RadioGroup_checkedButton

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".

Constant Value: 1 (0x00000001)

RadioGroup_orientation

public static final int RadioGroup_orientation

Should the radio group be a column or a row? Use "horizontal" for a row, "vertical" for a column. The default is vertical.

Must be one of the following constant values.

ConstantValueDescription
horizontal0Defines an horizontal widget.
vertical1Defines a vertical widget.

Constant Value: 0 (0x00000000)

RatingBar_isIndicator

public static final int RatingBar_isIndicator

Whether this rating bar is an indicator (and non-changeable by the user).

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

RatingBar_numStars

public static final int RatingBar_numStars

The number of stars (or rating items) to show.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

RatingBar_rating

public static final int RatingBar_rating

The rating to set by default.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

RatingBar_stepSize

public static final int RatingBar_stepSize

The step size of the rating.

May be a floating point value, such as "1.2".

Constant Value: 2 (0x00000002)

RatingDefinition_contentAgeHint

public static final int RatingDefinition_contentAgeHint

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".

Constant Value: 3 (0x00000003)

RatingDefinition_description

public static final int RatingDefinition_description

The short description of the content rating.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

RatingDefinition_name

public static final int RatingDefinition_name

The unique name of the content rating.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

RatingDefinition_title

public static final int RatingDefinition_title

The title of the content rating which is shown to the user.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

RatingSystemDefinition_country

public static final int RatingSystemDefinition_country

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;

Constant Value: 3 (0x00000003)

RatingSystemDefinition_description

public static final int RatingSystemDefinition_description

The short description of the content rating system.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

RatingSystemDefinition_name

public static final int RatingSystemDefinition_name

The unique name of the content rating system.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

RatingSystemDefinition_title

public static final int RatingSystemDefinition_title

The title of the content rating system which is shown to the user.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

RecognitionService_selectableAsDefault

public static final int RecognitionService_selectableAsDefault

Flag indicating whether a recognition service can be selected as default. The default value of this flag is true.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

RecognitionService_settingsActivity

public static final int RecognitionService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

RecyclerView_descendantFocusability

public static final int RecyclerView_descendantFocusability

Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.

Must be one of the following constant values.

ConstantValueDescription
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.

Constant Value: 1 (0x00000001)

RecyclerView_orientation

public static final int RecyclerView_orientation

Standard orientation constant.

Must be one of the following constant values.

ConstantValueDescription
horizontal0Defines an horizontal widget.
vertical1Defines a vertical widget.

Constant Value: 0 (0x00000000)

RelativeLayout_Layout_layout_above

public static final int RelativeLayout_Layout_layout_above

Positions the bottom edge of this view above the given anchor view ID. Accommodates bottom margin of this view and top margin of anchor view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

RelativeLayout_Layout_layout_alignBaseline

public static final int RelativeLayout_Layout_layout_alignBaseline

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".

Constant Value: 4 (0x00000004)

RelativeLayout_Layout_layout_alignBottom

public static final int RelativeLayout_Layout_layout_alignBottom

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".

Constant Value: 8 (0x00000008)

RelativeLayout_Layout_layout_alignEnd

public static final int RelativeLayout_Layout_layout_alignEnd

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".

Constant Value: 20 (0x00000014)

RelativeLayout_Layout_layout_alignLeft

public static final int RelativeLayout_Layout_layout_alignLeft

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".

Constant Value: 5 (0x00000005)

RelativeLayout_Layout_layout_alignParentBottom

public static final int RelativeLayout_Layout_layout_alignParentBottom

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".

Constant Value: 12 (0x0000000c)

RelativeLayout_Layout_layout_alignParentEnd

public static final int RelativeLayout_Layout_layout_alignParentEnd

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".

Constant Value: 22 (0x00000016)

RelativeLayout_Layout_layout_alignParentLeft

public static final int RelativeLayout_Layout_layout_alignParentLeft

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".

Constant Value: 9 (0x00000009)

RelativeLayout_Layout_layout_alignParentRight

public static final int RelativeLayout_Layout_layout_alignParentRight

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".

Constant Value: 11 (0x0000000b)

RelativeLayout_Layout_layout_alignParentStart

public static final int RelativeLayout_Layout_layout_alignParentStart

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".

Constant Value: 21 (0x00000015)

RelativeLayout_Layout_layout_alignParentTop

public static final int RelativeLayout_Layout_layout_alignParentTop

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".

Constant Value: 10 (0x0000000a)

RelativeLayout_Layout_layout_alignRight

public static final int RelativeLayout_Layout_layout_alignRight

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".

Constant Value: 7 (0x00000007)

RelativeLayout_Layout_layout_alignStart

public static final int RelativeLayout_Layout_layout_alignStart

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".

Constant Value: 19 (0x00000013)

RelativeLayout_Layout_layout_alignTop

public static final int RelativeLayout_Layout_layout_alignTop

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".

Constant Value: 6 (0x00000006)

RelativeLayout_Layout_layout_alignWithParentIfMissing

public static final int RelativeLayout_Layout_layout_alignWithParentIfMissing

If set to true, the parent will be used as the anchor when the anchor cannot be be found for layout_toLeftOf, layout_toRightOf, etc.

May be a boolean value, such as "true" or "false".

Constant Value: 16 (0x00000010)

RelativeLayout_Layout_layout_below

public static final int RelativeLayout_Layout_layout_below

Positions the top edge of this view below the given anchor view ID. Accommodates top margin of this view and bottom margin of anchor view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 3 (0x00000003)

RelativeLayout_Layout_layout_centerHorizontal

public static final int RelativeLayout_Layout_layout_centerHorizontal

If true, centers this child horizontally within its parent.

May be a boolean value, such as "true" or "false".

Constant Value: 14 (0x0000000e)

RelativeLayout_Layout_layout_centerInParent

public static final int RelativeLayout_Layout_layout_centerInParent

If true, centers this child horizontally and vertically within its parent.

May be a boolean value, such as "true" or "false".

Constant Value: 13 (0x0000000d)

RelativeLayout_Layout_layout_centerVertical

public static final int RelativeLayout_Layout_layout_centerVertical

If true, centers this child vertically within its parent.

May be a boolean value, such as "true" or "false".

Constant Value: 15 (0x0000000f)

RelativeLayout_Layout_layout_toEndOf

public static final int RelativeLayout_Layout_layout_toEndOf

Positions the start edge of this view to the end of the given anchor view ID. Accommodates start margin of this view and end margin of anchor view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 18 (0x00000012)

RelativeLayout_Layout_layout_toLeftOf

public static final int RelativeLayout_Layout_layout_toLeftOf

Positions the right edge of this view to the left of the given anchor view ID. Accommodates right margin of this view and left margin of anchor view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

RelativeLayout_Layout_layout_toRightOf

public static final int RelativeLayout_Layout_layout_toRightOf

Positions the left edge of this view to the right of the given anchor view ID. Accommodates left margin of this view and right margin of anchor view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

RelativeLayout_Layout_layout_toStartOf

public static final int RelativeLayout_Layout_layout_toStartOf

Positions the end edge of this view to the start of the given anchor view ID. Accommodates end margin of this view and start margin of anchor view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 17 (0x00000011)

RelativeLayout_gravity

public static final int RelativeLayout_gravity

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
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.

Constant Value: 0 (0x00000000)

RelativeLayout_ignoreGravity

public static final int RelativeLayout_ignoreGravity

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".

Constant Value: 1 (0x00000001)

ResolverDrawerLayout_LayoutParams_layout_gravity

public static final int ResolverDrawerLayout_LayoutParams_layout_gravity

Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.

Must be one or more (separated by '|') of the following constant values.

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.

Constant Value: 0 (0x00000000)

ResolverDrawerLayout_maxWidth

public static final int ResolverDrawerLayout_maxWidth

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).

Constant Value: 0 (0x00000000)

RestrictionEntry_defaultValue

public static final int RestrictionEntry_defaultValue

The default value for the preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage.

May be a reference to another resource, in the form "@[+][package:]type/name" or 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".

Constant Value: 4 (0x00000004)

RestrictionEntry_description

public static final int RestrictionEntry_description

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".

Constant Value: 0 (0x00000000)

RestrictionEntry_entries

public static final int RestrictionEntry_entries

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".

Constant Value: 1 (0x00000001)

RestrictionEntry_entryValues

public static final int RestrictionEntry_entryValues

The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 5 (0x00000005)

RestrictionEntry_key

public static final int RestrictionEntry_key

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;

Constant Value: 3 (0x00000003)

RestrictionEntry_restrictionType

public static final int RestrictionEntry_restrictionType

This symbol is the offset where the R.attr.restrictionType attribute's value can be found in the RestrictionEntry array.

Must be one of the following constant values.

ConstantValueDescription
bool1
bundle7
bundle_array8
choice2
hidden0
integer5
multi-select4
string6

Constant Value: 6 (0x00000006)

RestrictionEntry_title

public static final int RestrictionEntry_title

The title associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

RingtonePreference_ringtoneType

public static final int RingtonePreference_ringtoneType

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.

Constant Value: 0 (0x00000000)

RingtonePreference_showDefault

public static final int RingtonePreference_showDefault

Whether to show an item for a default sound.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

RingtonePreference_showSilent

public static final int RingtonePreference_showSilent

Whether to show an item for 'Silent'.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

RippleDrawable_color

public static final int RippleDrawable_color

The color to use for ripple effects. This attribute is required.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

RippleDrawable_effectColor

public static final int RippleDrawable_effectColor

Secondary color of the ripple effect.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 2 (0x00000002)

RippleDrawable_radius

public static final int RippleDrawable_radius

The radius of the ripple when fully expanded. By default, the radius is computed based on the size of the ripple's container.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

RotateAnimation_fromDegrees

public static final int RotateAnimation_fromDegrees

This symbol is the offset where the R.attr.fromDegrees attribute's value can be found in the RotateAnimation array.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

RotateAnimation_pivotX

public static final int RotateAnimation_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the RotateAnimation array.

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.

Constant Value: 2 (0x00000002)

RotateAnimation_pivotY

public static final int RotateAnimation_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the RotateAnimation array.

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.

Constant Value: 3 (0x00000003)

RotateAnimation_toDegrees

public static final int RotateAnimation_toDegrees

This symbol is the offset where the R.attr.toDegrees attribute's value can be found in the RotateAnimation array.

May be a floating point value, such as "1.2".

Constant Value: 1 (0x00000001)

RotateDrawable_drawable

public static final int RotateDrawable_drawable

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".

Constant Value: 1 (0x00000001)

RotateDrawable_fromDegrees

public static final int RotateDrawable_fromDegrees

This symbol is the offset where the R.attr.fromDegrees attribute's value can be found in the RotateDrawable array.

May be a floating point value, such as "1.2".

Constant Value: 2 (0x00000002)

RotateDrawable_pivotX

public static final int RotateDrawable_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the RotateDrawable array.

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.

Constant Value: 4 (0x00000004)

RotateDrawable_pivotY

public static final int RotateDrawable_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the RotateDrawable array.

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.

Constant Value: 5 (0x00000005)

RotateDrawable_toDegrees

public static final int RotateDrawable_toDegrees

This symbol is the offset where the R.attr.toDegrees attribute's value can be found in the RotateDrawable array.

May be a floating point value, such as "1.2".

Constant Value: 3 (0x00000003)

RotateDrawable_visible

public static final int RotateDrawable_visible

Provides initial visibility state of the drawable; the default value is false. See Drawable.setVisible(boolean, boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ScaleAnimation_fromXScale

public static final int ScaleAnimation_fromXScale

This symbol is the offset where the R.attr.fromXScale attribute's value can be found in the ScaleAnimation array.

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.

Constant Value: 2 (0x00000002)

ScaleAnimation_fromYScale

public static final int ScaleAnimation_fromYScale

This symbol is the offset where the R.attr.fromYScale attribute's value can be found in the ScaleAnimation array.

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.

Constant Value: 4 (0x00000004)

ScaleAnimation_pivotX

public static final int ScaleAnimation_pivotX

This symbol is the offset where the R.attr.pivotX attribute's value can be found in the ScaleAnimation array.

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.

Constant Value: 0 (0x00000000)

ScaleAnimation_pivotY

public static final int ScaleAnimation_pivotY

This symbol is the offset where the R.attr.pivotY attribute's value can be found in the ScaleAnimation array.

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.

Constant Value: 1 (0x00000001)

ScaleAnimation_toXScale

public static final int ScaleAnimation_toXScale

This symbol is the offset where the R.attr.toXScale attribute's value can be found in the ScaleAnimation array.

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.

Constant Value: 3 (0x00000003)

ScaleAnimation_toYScale

public static final int ScaleAnimation_toYScale

This symbol is the offset where the R.attr.toYScale attribute's value can be found in the ScaleAnimation array.

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.

Constant Value: 5 (0x00000005)

ScaleDrawable_drawable

public static final int ScaleDrawable_drawable

Reference to a drawable resource to draw with the specified scale.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

ScaleDrawable_level

public static final int ScaleDrawable_level

Specifies the initial drawable level in the range 0 to 10000.

May be an integer value, such as "100".

Constant Value: 5 (0x00000005)

ScaleDrawable_scaleGravity

public static final int ScaleDrawable_scaleGravity

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.

Constant Value: 3 (0x00000003)

ScaleDrawable_scaleHeight

public static final int ScaleDrawable_scaleHeight

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;

Constant Value: 2 (0x00000002)

ScaleDrawable_scaleWidth

public static final int ScaleDrawable_scaleWidth

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;

Constant Value: 1 (0x00000001)

ScaleDrawable_useIntrinsicSizeAsMinimum

public static final int ScaleDrawable_useIntrinsicSizeAsMinimum

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".

Constant Value: 4 (0x00000004)

ScrollView_fillViewport

public static final int ScrollView_fillViewport

Defines whether the scrollview should stretch its content to fill the viewport.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

SearchView_closeIcon

public static final int SearchView_closeIcon

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".

Constant Value: 6 (0x00000006)

SearchView_commitIcon

public static final int SearchView_commitIcon

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".

Constant Value: 10 (0x0000000a)

SearchView_goIcon

public static final int SearchView_goIcon

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".

Constant Value: 7 (0x00000007)

SearchView_iconifiedByDefault

public static final int SearchView_iconifiedByDefault

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".

Constant Value: 4 (0x00000004)

SearchView_imeOptions

public static final int SearchView_imeOptions

The IME options to set on the query text field.

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 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 EditorInfo.IME_ACTION_GO.
actionNext5The action key performs a "next" operation, taking the user to the next field that will accept text. Corresponds to EditorInfo.IME_ACTION_NEXT.
actionNone1This editor has no action associated with it. Corresponds to EditorInfo.IME_ACTION_NONE.
actionPrevious7The action key performs a "previous" operation, taking the user to the previous field that will accept text. Corresponds to 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 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 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 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 TextView used for, typically, account ID or password input. It is expected that IMEs normally are able to input ASCII even without being told so (such IMEs already respect this flag in a sense), but there could be some cases they aren't when, for instance, only non-ASCII input languages like Arabic, Greek, Hebrew, Russian are enabled in the IME. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. However, it is strongly recommended for IME authors to respect this flag especially when their IME could end up with a state that has only non-ASCII input languages enabled.

Corresponds to 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 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 EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS.

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 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 TextView will automatically set this flag for you on multi-line text views.

Corresponds to 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 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 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.

Constant Value: 3 (0x00000003)

SearchView_inputType

public static final int SearchView_inputType

The input type to set on the query text field.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
date14For entering a date. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE.
datetime4For entering a date and time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_NORMAL.
none0There is no content type. The text is not editable.
number2A numeric only field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL.
numberDecimal2002Can be combined with number and its other options to allow a decimal (fractional) number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL.
numberPassword12A numeric password field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD.
numberSigned1002Can be combined with number and its other options to allow a signed number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED.
phone3For entering a phone number. Corresponds to InputType.TYPE_CLASS_PHONE.
text1Just plain old text. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE.
textAutoCorrect8001Can be combined with text and its variations to request auto-correction of text being input. Corresponds to InputType.TYPE_TEXT_FLAG_AUTO_CORRECT.
textCapCharacters1001Can be combined with text and its variations to request capitalization of all characters. Corresponds to 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 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 InputType.TYPE_TEXT_FLAG_CAP_WORDS.
textEmailAddress21Text that will be used as an e-mail address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS.
textEmailSubject31Text that is being supplied as the subject of an e-mail. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_SUBJECT.
textEnableTextConversionSuggestions100001Can be combined with text and its variations to indicate that if there is extra information, the IME should provide TextAttribute. Corresponds to InputType.TYPE_TEXT_FLAG_ENABLE_TEXT_CONVERSION_SUGGESTIONS.
textFilterb1Text that is filtering some other data. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_IME_MULTI_LINE.
textLongMessage51Text that is the content of a long message. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_MULTI_LINE. Note: If this flag is not set and the text field doesn't have max length limit, the framework automatically set maximum length of the characters to 5000 for the performance reasons.
textNoSuggestions80001Can be combined with text and its variations to indicate that the IME should not show any dictionary-based word suggestions. Corresponds to InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS.
textPassword81Text that is a password. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD.
textPersonName61Text that is the name of a person. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PHONETIC.
textPostalAddress71Text that is being supplied as a postal mailing address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_POSTAL_ADDRESS.
textShortMessage41Text that is the content of a short message. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_SHORT_MESSAGE.
textUri11Text that will be used as a URI. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_URI.
textVisiblePassword91Text that is a password that should be visible. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD.
textWebEditTexta1Text that is being supplied as text in a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT.
textWebEmailAddressd1Text that will be used as an e-mail address on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS.
textWebPassworde1Text that will be used as a password on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD.
time24For entering a time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_TIME.

Constant Value: 2 (0x00000002)

SearchView_layout

public static final int SearchView_layout

The layout to use for the search view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

SearchView_maxWidth

public static final int SearchView_maxWidth

An optional maximum width of the SearchView.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 1 (0x00000001)

SearchView_queryBackground

public static final int SearchView_queryBackground

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".

Constant Value: 12 (0x0000000c)

SearchView_queryHint

public static final int SearchView_queryHint

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;

Constant Value: 5 (0x00000005)

SearchView_searchHintIcon

public static final int SearchView_searchHintIcon

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".

Constant Value: 14 (0x0000000e)

SearchView_searchIcon

public static final int SearchView_searchIcon

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".

Constant Value: 8 (0x00000008)

SearchView_submitBackground

public static final int SearchView_submitBackground

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".

Constant Value: 13 (0x0000000d)

SearchView_suggestionRowLayout

public static final int SearchView_suggestionRowLayout

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".

Constant Value: 11 (0x0000000b)

SearchView_voiceIcon

public static final int SearchView_voiceIcon

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".

Constant Value: 9 (0x00000009)

SearchableActionKey_keycode

public static final int SearchableActionKey_keycode

This attribute denotes the action key you wish to respond to. Note that not all action keys are actually supported using this mechanism, as many of them are used for typing, navigation, or system functions. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the key code, use getIntExtra(SearchManager.ACTION_KEY).

Note, in addition to the keycode, you must also provide one or more of the action specifier attributes. Required attribute.

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_DEMO_APP_112d
KEYCODE_DEMO_APP_212e
KEYCODE_DEMO_APP_312f
KEYCODE_DEMO_APP_4130
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_FEATURED_APP_1129
KEYCODE_FEATURED_APP_212a
KEYCODE_FEATURED_APP_312b
KEYCODE_FEATURED_APP_412c
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_PROFILE_SWITCH120
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_THUMBS_DOWN11f
KEYCODE_THUMBS_UP11e
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_VIDEO_APP_1121
KEYCODE_VIDEO_APP_2122
KEYCODE_VIDEO_APP_3123
KEYCODE_VIDEO_APP_4124
KEYCODE_VIDEO_APP_5125
KEYCODE_VIDEO_APP_6126
KEYCODE_VIDEO_APP_7127
KEYCODE_VIDEO_APP_8128
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

Constant Value: 0 (0x00000000)

SearchableActionKey_queryActionMsg

public static final int SearchableActionKey_queryActionMsg

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;

Constant Value: 1 (0x00000001)

SearchableActionKey_suggestActionMsg

public static final int SearchableActionKey_suggestActionMsg

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;

Constant Value: 2 (0x00000002)

SearchableActionKey_suggestActionMsgColumn

public static final int SearchableActionKey_suggestActionMsgColumn

If you wish to handle an action key while a suggestion is being displayed and selected, but you do not wish to enable this action key for every suggestion, then you can use this attribute to control it on a suggestion-by-suggestion basis. 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;

Constant Value: 3 (0x00000003)

Searchable_autoUrlDetect

public static final int Searchable_autoUrlDetect

If provided and true, URLs entered in the search dialog while searching within this activity would be detected and treated as URLs (show a 'go' button in the keyboard and invoke the browser directly when user launches the URL instead of passing the URL to the activity). If set to false any URLs entered are treated as normal query text. The default value is false. Optional attribute..

May be a boolean value, such as "true" or "false".

Constant Value: 21 (0x00000015)

Searchable_hint

public static final int Searchable_hint

If supplied, this string will be displayed as a hint to the user. Optional attribute.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

Searchable_icon

public static final int Searchable_icon

This is deprecated.
The default application icon is now always used, so this attribute is obsolete.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

Searchable_imeOptions

public static final int Searchable_imeOptions

Additional features you can enable in an IME associated with an editor to improve the integration with your application. The constants here correspond to those defined by 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 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 EditorInfo.IME_ACTION_GO.
actionNext5The action key performs a "next" operation, taking the user to the next field that will accept text. Corresponds to EditorInfo.IME_ACTION_NEXT.
actionNone1This editor has no action associated with it. Corresponds to EditorInfo.IME_ACTION_NONE.
actionPrevious7The action key performs a "previous" operation, taking the user to the previous field that will accept text. Corresponds to 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 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 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 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 TextView used for, typically, account ID or password input. It is expected that IMEs normally are able to input ASCII even without being told so (such IMEs already respect this flag in a sense), but there could be some cases they aren't when, for instance, only non-ASCII input languages like Arabic, Greek, Hebrew, Russian are enabled in the IME. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. However, it is strongly recommended for IME authors to respect this flag especially when their IME could end up with a state that has only non-ASCII input languages enabled.

Corresponds to 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 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 EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS.

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 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 TextView will automatically set this flag for you on multi-line text views.

Corresponds to 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 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 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.

Constant Value: 16 (0x00000010)

Searchable_includeInGlobalSearch

public static final int Searchable_includeInGlobalSearch

If provided and true, this searchable activity will be included in any global lists of search targets. The default value is false. Optional attribute..

May be a boolean value, such as "true" or "false".

Constant Value: 18 (0x00000012)

Searchable_inputType

public static final int Searchable_inputType

The type of data being placed in a text field, used to help an input method decide how to let the user enter text. The constants here correspond to those defined by InputType. Generally you can select a single value, though some can be combined together as indicated. Setting this attribute to anything besides none also implies that the text is editable.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
date14For entering a date. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE.
datetime4For entering a date and time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_NORMAL.
none0There is no content type. The text is not editable.
number2A numeric only field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL.
numberDecimal2002Can be combined with number and its other options to allow a decimal (fractional) number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL.
numberPassword12A numeric password field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD.
numberSigned1002Can be combined with number and its other options to allow a signed number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED.
phone3For entering a phone number. Corresponds to InputType.TYPE_CLASS_PHONE.
text1Just plain old text. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE.
textAutoCorrect8001Can be combined with text and its variations to request auto-correction of text being input. Corresponds to InputType.TYPE_TEXT_FLAG_AUTO_CORRECT.
textCapCharacters1001Can be combined with text and its variations to request capitalization of all characters. Corresponds to 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 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 InputType.TYPE_TEXT_FLAG_CAP_WORDS.
textEmailAddress21Text that will be used as an e-mail address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS.
textEmailSubject31Text that is being supplied as the subject of an e-mail. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_SUBJECT.
textEnableTextConversionSuggestions100001Can be combined with text and its variations to indicate that if there is extra information, the IME should provide TextAttribute. Corresponds to InputType.TYPE_TEXT_FLAG_ENABLE_TEXT_CONVERSION_SUGGESTIONS.
textFilterb1Text that is filtering some other data. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_IME_MULTI_LINE.
textLongMessage51Text that is the content of a long message. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_MULTI_LINE. Note: If this flag is not set and the text field doesn't have max length limit, the framework automatically set maximum length of the characters to 5000 for the performance reasons.
textNoSuggestions80001Can be combined with text and its variations to indicate that the IME should not show any dictionary-based word suggestions. Corresponds to InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS.
textPassword81Text that is a password. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD.
textPersonName61Text that is the name of a person. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PHONETIC.
textPostalAddress71Text that is being supplied as a postal mailing address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_POSTAL_ADDRESS.
textShortMessage41Text that is the content of a short message. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_SHORT_MESSAGE.
textUri11Text that will be used as a URI. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_URI.
textVisiblePassword91Text that is a password that should be visible. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD.
textWebEditTexta1Text that is being supplied as text in a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT.
textWebEmailAddressd1Text that will be used as an e-mail address on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS.
textWebPassworde1Text that will be used as a password on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD.
time24For entering a time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_TIME.

Constant Value: 10 (0x0000000a)

Searchable_label

public static final int Searchable_label

This is the user-displayed name of the searchable activity. Required attribute.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

Searchable_queryAfterZeroResults

public static final int Searchable_queryAfterZeroResults

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".

Constant Value: 19 (0x00000013)

Searchable_searchButtonText

public static final int Searchable_searchButtonText

If supplied, this string will be displayed as the text of the "Search" button. Optional attribute.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 9 (0x00000009)

Searchable_searchMode

public static final int Searchable_searchMode

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.

Constant Value: 3 (0x00000003)

Searchable_searchSettingsDescription

public static final int Searchable_searchSettingsDescription

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;

Constant Value: 20 (0x00000014)

Searchable_searchSuggestAuthority

public static final int Searchable_searchSuggestAuthority

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;

Constant Value: 4 (0x00000004)

Searchable_searchSuggestIntentAction

public static final int Searchable_searchSuggestIntentAction

If provided, and not overridden by an action in the selected suggestion, this string will be placed in the action field of the Intent when the user clicks a suggestion. Optional attribute.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 7 (0x00000007)

Searchable_searchSuggestIntentData

public static final int Searchable_searchSuggestIntentData

If provided, and not overridden by an action in the selected suggestion, this string will be placed in the data field of the Intent when the user clicks a suggestion. Optional attribute.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 8 (0x00000008)

Searchable_searchSuggestPath

public static final int Searchable_searchSuggestPath

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;

Constant Value: 5 (0x00000005)

Searchable_searchSuggestSelection

public static final int Searchable_searchSuggestSelection

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;

Constant Value: 6 (0x00000006)

Searchable_searchSuggestThreshold

public static final int Searchable_searchSuggestThreshold

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".

Constant Value: 17 (0x00000011)

Searchable_voiceLanguage

public static final int Searchable_voiceLanguage

If provided, this specifies the spoken language to be expected, and that it will be different than the one set in the Locale.getDefault().

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 14 (0x0000000e)

Searchable_voiceLanguageModel

public static final int Searchable_voiceLanguageModel

If provided, this specifies the language model that should be used by the voice recognition system. See RecognizerIntent.EXTRA_LANGUAGE_MODEL for more information. If not provided, the default value 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;

Constant Value: 12 (0x0000000c)

Searchable_voiceMaxResults

public static final int Searchable_voiceMaxResults

If provided, enforces the maximum number of results to return, including the "best" result which will always be provided as the SEARCH intent's primary query. 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".

Constant Value: 15 (0x0000000f)

Searchable_voicePromptText

public static final int Searchable_voicePromptText

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;

Constant Value: 13 (0x0000000d)

Searchable_voiceSearchMode

public static final int Searchable_voiceSearchMode

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.

Constant Value: 11 (0x0000000b)

SeekBarPreference_layout

public static final int SeekBarPreference_layout

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

SeekBar_splitTrack

public static final int SeekBar_splitTrack

Whether to split the track and leave a gap for the thumb drawable.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

SeekBar_thumb

public static final int SeekBar_thumb

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".

Constant Value: 0 (0x00000000)

SeekBar_thumbOffset

public static final int SeekBar_thumbOffset

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).

Constant Value: 1 (0x00000001)

SeekBar_thumbTint

public static final int SeekBar_thumbTint

Tint to apply to the thumb drawable.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 3 (0x00000003)

SeekBar_thumbTintMode

public static final int SeekBar_thumbTintMode

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\u2019s 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\u2019s 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]

Constant Value: 4 (0x00000004)

SeekBar_tickMark

public static final int SeekBar_tickMark

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".

Constant Value: 5 (0x00000005)

SeekBar_tickMarkTint

public static final int SeekBar_tickMarkTint

Tint to apply to the tick mark drawable.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 6 (0x00000006)

SeekBar_tickMarkTintMode

public static final int SeekBar_tickMarkTintMode

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\u2019s 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\u2019s 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]

Constant Value: 7 (0x00000007)

SelectionModeDrawables_actionModeCopyDrawable

public static final int SelectionModeDrawables_actionModeCopyDrawable

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".

Constant Value: 1 (0x00000001)

SelectionModeDrawables_actionModeCutDrawable

public static final int SelectionModeDrawables_actionModeCutDrawable

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".

Constant Value: 0 (0x00000000)

SelectionModeDrawables_actionModePasteDrawable

public static final int SelectionModeDrawables_actionModePasteDrawable

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".

Constant Value: 2 (0x00000002)

SelectionModeDrawables_actionModeSelectAllDrawable

public static final int SelectionModeDrawables_actionModeSelectAllDrawable

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".

Constant Value: 3 (0x00000003)

SettingInjectorService_icon

public static final int SettingInjectorService_icon

The icon for the preference, should refer to all apps covered by the setting. Typically a generic icon for the developer.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

SettingInjectorService_settingsActivity

public static final int SettingInjectorService_settingsActivity

The activity to launch when the setting is clicked on.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

SettingInjectorService_title

public static final int SettingInjectorService_title

The title for the preference.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

SettingInjectorService_userRestriction

public static final int SettingInjectorService_userRestriction

The user restriction for this preference.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

ShapeDrawablePadding_bottom

public static final int ShapeDrawablePadding_bottom

Bottom 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).

Constant Value: 3 (0x00000003)

ShapeDrawablePadding_left

public static final int ShapeDrawablePadding_left

Left 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).

Constant Value: 0 (0x00000000)

ShapeDrawablePadding_right

public static final int ShapeDrawablePadding_right

Right 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).

Constant Value: 2 (0x00000002)

ShapeDrawablePadding_top

public static final int ShapeDrawablePadding_top

Top 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).

Constant Value: 1 (0x00000001)

ShapeDrawable_color

public static final int ShapeDrawable_color

Defines the color of the shape.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 4 (0x00000004)

ShapeDrawable_dither

public static final int ShapeDrawable_dither

Enables or disables dithering.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ShapeDrawable_height

public static final int ShapeDrawable_height

Defines the height of the 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).

Constant Value: 2 (0x00000002)

ShapeDrawable_tint

public static final int ShapeDrawable_tint

If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

ShapeDrawable_tintMode

public static final int ShapeDrawable_tintMode

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\u2019s 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\u2019s 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]

Constant Value: 5 (0x00000005)

ShapeDrawable_width

public static final int ShapeDrawable_width

Defines the width of the 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).

Constant Value: 3 (0x00000003)

ShortcutCategories_name

public static final int ShortcutCategories_name

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;

Constant Value: 0 (0x00000000)

Shortcut_enabled

public static final int Shortcut_enabled

Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. For example, a non-enabled EditText prevents the user from editing the contained text, and a non-enabled Button prevents the user from tapping the button. The appearance of enabled and non-enabled widgets may differ, if the drawables referenced from evaluating state_enabled differ.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

Shortcut_icon

public static final int Shortcut_icon

A Drawable resource providing a graphical representation of its associated item. Use with the application tag (to supply a default icon for all application components), or with the activity, receiver, service, or instrumentation tag (to supply a specific icon for that component). It may also be used with the intent-filter tag to supply an icon to show to the user when an activity is being selected based on a particular Intent.

The given icon will be used to display to the user a graphical representation of its associated component; for example, as the icon for main activity that is displayed in the launcher. This must be a reference to a Drawable resource containing the image definition.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

Shortcut_shortcutDisabledMessage

public static final int Shortcut_shortcutDisabledMessage

This symbol is the offset where the R.attr.shortcutDisabledMessage attribute's value can be found in the Shortcut array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 5 (0x00000005)

Shortcut_shortcutId

public static final int Shortcut_shortcutId

This symbol is the offset where the R.attr.shortcutId attribute's value can be found in the Shortcut array.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

Shortcut_shortcutLongLabel

public static final int Shortcut_shortcutLongLabel

This symbol is the offset where the R.attr.shortcutLongLabel attribute's value can be found in the Shortcut array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 4 (0x00000004)

Shortcut_shortcutShortLabel

public static final int Shortcut_shortcutShortLabel

This symbol is the offset where the R.attr.shortcutShortLabel attribute's value can be found in the Shortcut array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 3 (0x00000003)

Shortcut_splashScreenTheme

public static final int Shortcut_splashScreenTheme

This symbol is the offset where the R.attr.splashScreenTheme attribute's value can be found in the Shortcut array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 6 (0x00000006)

Slide_slideEdge

public static final int Slide_slideEdge

This symbol is the offset where the R.attr.slideEdge attribute's value can be found in the Slide array.

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.

Constant Value: 0 (0x00000000)

SlidingDrawer_allowSingleTap

public static final int SlidingDrawer_allowSingleTap

Indicates whether the drawer can be opened/closed by a single tap on the handle. (If false, the user must drag or fling, or click using the trackball, to open/close the drawer.) Default is true.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

SlidingDrawer_animateOnClick

public static final int SlidingDrawer_animateOnClick

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".

Constant Value: 6 (0x00000006)

SlidingDrawer_bottomOffset

public static final int SlidingDrawer_bottomOffset

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).

Constant Value: 1 (0x00000001)

SlidingDrawer_content

public static final int SlidingDrawer_content

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".

Constant Value: 5 (0x00000005)

SlidingDrawer_handle

public static final int SlidingDrawer_handle

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".

Constant Value: 4 (0x00000004)

SlidingDrawer_orientation

public static final int SlidingDrawer_orientation

Orientation of the SlidingDrawer.

Must be one of the following constant values.

ConstantValueDescription
horizontal0Defines an horizontal widget.
vertical1Defines a vertical widget.

Constant Value: 0 (0x00000000)

SlidingDrawer_topOffset

public static final int SlidingDrawer_topOffset

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).

Constant Value: 2 (0x00000002)

SlidingTab_orientation

public static final int SlidingTab_orientation

Use "horizontal" for a row, "vertical" for a column. The default is horizontal.

Must be one of the following constant values.

ConstantValueDescription
horizontal0Defines an horizontal widget.
vertical1Defines a vertical widget.

Constant Value: 0 (0x00000000)

SpellChecker_Subtype_label

public static final int SpellChecker_Subtype_label

The name of the subtype.

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;

Constant Value: 0 (0x00000000)

SpellChecker_Subtype_languageTag

public static final int SpellChecker_Subtype_languageTag

The BCP-47 Language Tag of the subtype. This replaces SpellChecker_Subtype_subtypeLocale.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 4 (0x00000004)

SpellChecker_Subtype_subtypeExtraValue

public static final int SpellChecker_Subtype_subtypeExtraValue

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;

Constant Value: 2 (0x00000002)

SpellChecker_Subtype_subtypeId

public static final int SpellChecker_Subtype_subtypeId

The unique id for the subtype. The text service (spell checker) framework keeps track of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs will stay enabled even if other attributes are different. If the ID is unspecified or explicitly specified to 0 in XML resources, Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead.

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

SpellChecker_Subtype_subtypeLocale

public static final int SpellChecker_Subtype_subtypeLocale

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. 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;

Constant Value: 1 (0x00000001)

SpellChecker_label

public static final int SpellChecker_label

The name of the spell checker.

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;

Constant Value: 0 (0x00000000)

SpellChecker_settingsActivity

public static final int SpellChecker_settingsActivity

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;

Constant Value: 1 (0x00000001)

Spinner_dropDownSelector

public static final int Spinner_dropDownSelector

List selector to use for spinnerMode="dropdown" display.

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".

Constant Value: 1 (0x00000001)

Spinner_dropDownWidth

public static final int Spinner_dropDownWidth

Width of the dropdown in spinnerMode="dropdown".

May be a dimension value, which is a floating point number appended with a unit such as "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.

Constant Value: 4 (0x00000004)

Spinner_gravity

public static final int Spinner_gravity

Gravity setting for positioning the currently selected item.

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.

Constant Value: 0 (0x00000000)

Spinner_popupBackground

public static final int Spinner_popupBackground

Background drawable to use for the dropdown in spinnerMode="dropdown".

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".

Constant Value: 2 (0x00000002)

Spinner_popupElevation

public static final int Spinner_popupElevation

Window elevation to use for the dropdown in spinnerMode="dropdown".

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 6 (0x00000006)

Spinner_popupTheme

public static final int Spinner_popupTheme

Theme to use for the drop-down or dialog 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".

Constant Value: 7 (0x00000007)

Spinner_prompt

public static final int Spinner_prompt

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".

Constant Value: 3 (0x00000003)

Spinner_spinnerMode

public static final int Spinner_spinnerMode

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.

Constant Value: 5 (0x00000005)

StateListAnimatorItem_animation

public static final int StateListAnimatorItem_animation

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".

Constant Value: 0 (0x00000000)

StateListDrawableItem_drawable

public static final int StateListDrawableItem_drawable

Reference to a drawable resource to use for the state. 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".

Constant Value: 0 (0x00000000)

StateListDrawable_autoMirrored

public static final int StateListDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

StateListDrawable_constantSize

public static final int StateListDrawable_constantSize

If true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states. If false, the size will vary based on the current state.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

StateListDrawable_dither

public static final int StateListDrawable_dither

Enables or disables dithering of the bitmap if the bitmap does not have the same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with an RGB 565 screen).

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

StateListDrawable_enterFadeDuration

public static final int StateListDrawable_enterFadeDuration

Amount of time (in milliseconds) to fade in a new state drawable.

May be an integer value, such as "100".

Constant Value: 4 (0x00000004)

StateListDrawable_exitFadeDuration

public static final int StateListDrawable_exitFadeDuration

Amount of time (in milliseconds) to fade out an old state drawable.

May be an integer value, such as "100".

Constant Value: 5 (0x00000005)

StateListDrawable_variablePadding

public static final int StateListDrawable_variablePadding

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".

Constant Value: 2 (0x00000002)

StateListDrawable_visible

public static final int StateListDrawable_visible

Indicates whether the drawable should be initially visible.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

SwitchPreference_disableDependentsState

public static final int SwitchPreference_disableDependentsState

The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

SwitchPreference_summaryOff

public static final int SwitchPreference_summaryOff

The summary for the Preference in a PreferenceActivity screen when the SwitchPreference 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;

Constant Value: 1 (0x00000001)

SwitchPreference_summaryOn

public static final int SwitchPreference_summaryOn

The summary for the Preference in a PreferenceActivity screen when the SwitchPreference 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;

Constant Value: 0 (0x00000000)

SwitchPreference_switchTextOff

public static final int SwitchPreference_switchTextOff

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;

Constant Value: 4 (0x00000004)

SwitchPreference_switchTextOn

public static final int SwitchPreference_switchTextOn

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;

Constant Value: 3 (0x00000003)

Switch_showText

public static final int Switch_showText

Whether to draw on/off text.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

Switch_splitTrack

public static final int Switch_splitTrack

Whether to split the track and leave a gap for the thumb drawable.

May be a boolean value, such as "true" or "false".

Constant Value: 8 (0x00000008)

Switch_switchMinWidth

public static final int Switch_switchMinWidth

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).

Constant Value: 5 (0x00000005)

Switch_switchPadding

public static final int Switch_switchPadding

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).

Constant Value: 6 (0x00000006)

Switch_switchTextAppearance

public static final int Switch_switchTextAppearance

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".

Constant Value: 3 (0x00000003)

Switch_textOff

public static final int Switch_textOff

Text to use when the switch is in the unchecked/"off" state.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

Switch_textOn

public static final int Switch_textOn

Text to use when the switch is in the checked/"on" state.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

Switch_thumb

public static final int Switch_thumb

Drawable to use as the "thumb" that switches back and forth.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

Switch_thumbTextPadding

public static final int Switch_thumbTextPadding

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).

Constant Value: 7 (0x00000007)

Switch_thumbTint

public static final int Switch_thumbTint

Tint to apply to the thumb.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 9 (0x00000009)

Switch_thumbTintMode

public static final int Switch_thumbTintMode

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\u2019s 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\u2019s 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]

Constant Value: 10 (0x0000000a)

Switch_track

public static final int Switch_track

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".

Constant Value: 4 (0x00000004)

Switch_trackTint

public static final int Switch_trackTint

Tint to apply to the track.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 12 (0x0000000c)

Switch_trackTintMode

public static final int Switch_trackTintMode

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\u2019s 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\u2019s 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]

Constant Value: 13 (0x0000000d)

SyncAdapter_accountType

public static final int SyncAdapter_accountType

The account type this authenticator handles.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

SyncAdapter_allowParallelSyncs

public static final int SyncAdapter_allowParallelSyncs

Set to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority. Otherwise the SyncManager will be sure not to issue a start sync request to this SyncAdapter if the SyncAdapter is already syncing another account. Defaults to false.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

SyncAdapter_contentAuthority

public static final int SyncAdapter_contentAuthority

the authority of a content provider.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

SyncAdapter_isAlwaysSyncable

public static final int SyncAdapter_isAlwaysSyncable

Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. Defaults to false.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

SyncAdapter_settingsActivity

public static final int SyncAdapter_settingsActivity

If provided, specifies the action of the settings activity for this SyncAdapter.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

SyncAdapter_supportsUploading

public static final int SyncAdapter_supportsUploading

This symbol is the offset where the R.attr.supportsUploading attribute's value can be found in the SyncAdapter array.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

SyncAdapter_userVisible

public static final int SyncAdapter_userVisible

This symbol is the offset where the R.attr.userVisible attribute's value can be found in the SyncAdapter array.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

SystemCodeFilter_name

public static final int SystemCodeFilter_name

The System Code. This attribute is mandatory.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

T3tPmmFilter_name

public static final int T3tPmmFilter_name

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;

Constant Value: 0 (0x00000000)

TabWidget_divider

public static final int TabWidget_divider

Drawable used to draw the divider between tabs.

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".

Constant Value: 0 (0x00000000)

TabWidget_tabStripEnabled

public static final int TabWidget_tabStripEnabled

Determines whether the strip under the tab indicators is drawn or not.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

TabWidget_tabStripLeft

public static final int TabWidget_tabStripLeft

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".

Constant Value: 1 (0x00000001)

TabWidget_tabStripRight

public static final int TabWidget_tabStripRight

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".

Constant Value: 2 (0x00000002)

TableLayout_collapseColumns

public static final int TableLayout_collapseColumns

The zero-based index of the columns to collapse. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

TableLayout_shrinkColumns

public static final int TableLayout_shrinkColumns

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;

Constant Value: 1 (0x00000001)

TableLayout_stretchColumns

public static final int TableLayout_stretchColumns

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;

Constant Value: 0 (0x00000000)

TableRow_Cell_layout_column

public static final int TableRow_Cell_layout_column

The index of the column in which this child should be.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

TableRow_Cell_layout_span

public static final int TableRow_Cell_layout_span

Defines how many columns this child should span. Must be >= 1.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

TextAppearance_elegantTextHeight

public static final int TextAppearance_elegantTextHeight

Elegant text height, especially for less compacted complex script text.

May be a boolean value, such as "true" or "false".

Constant Value: 13 (0x0000000d)

TextAppearance_fallbackLineSpacing

public static final int TextAppearance_fallbackLineSpacing

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".

Constant Value: 17 (0x00000011)

TextAppearance_focusedSearchResultHighlightColor

public static final int TextAppearance_focusedSearchResultHighlightColor

Color of focused search result highlight. This color is typically used when TextView/EditText shows search result in-app text search invoked with Ctrl+F.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 23 (0x00000017)

TextAppearance_fontFamily

public static final int TextAppearance_fontFamily

Font family (named by string or as a font resource reference) for the text.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 12 (0x0000000c)

TextAppearance_fontFeatureSettings

public static final int TextAppearance_fontFeatureSettings

Font feature settings.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 15 (0x0000000f)

TextAppearance_fontVariationSettings

public static final int TextAppearance_fontVariationSettings

Font variation settings.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 16 (0x00000010)

TextAppearance_letterSpacing

public static final int TextAppearance_letterSpacing

Text letter-spacing.

May be a floating point value, such as "1.2".

Constant Value: 14 (0x0000000e)

TextAppearance_lineBreakStyle

public static final int TextAppearance_lineBreakStyle

Specifies the strictness of line-breaking rules applied within an element.

Must be one of the following constant values.

ConstantValueDescription
loose1The least restrictive line-break rules are used for line breaking.
none0No line-break rules are used for line breaking.
normal2The most common line-break rules are used for line breaking.
strict3The most strict line-break rules are used for line breaking.

Constant Value: 20 (0x00000014)

TextAppearance_lineBreakWordStyle

public static final int TextAppearance_lineBreakWordStyle

Specifies the phrase-based breaking opportunities.

Must be one of the following constant values.

ConstantValueDescription
none0No line-break word style is used for line breaking.
phrase1Line breaking is based on phrases, which results in text wrapping only on meaningful words.

Constant Value: 21 (0x00000015)

TextAppearance_searchResultHighlightColor

public static final int TextAppearance_searchResultHighlightColor

Color of search results highlight. This color is typically used when TextView/EditText shows search result in-app text search invoked with Ctrl+F.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 22 (0x00000016)

TextAppearance_shadowColor

public static final int TextAppearance_shadowColor

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".

Constant Value: 7 (0x00000007)

TextAppearance_shadowDx

public static final int TextAppearance_shadowDx

Horizontal offset of the text shadow.

May be a floating point value, such as "1.2".

Constant Value: 8 (0x00000008)

TextAppearance_shadowDy

public static final int TextAppearance_shadowDy

Vertical offset of the text shadow.

May be a floating point value, such as "1.2".

Constant Value: 9 (0x00000009)

TextAppearance_shadowRadius

public static final int TextAppearance_shadowRadius

Blur radius of the text shadow.

May be a floating point value, such as "1.2".

Constant Value: 10 (0x0000000a)

TextAppearance_textAllCaps

public static final int TextAppearance_textAllCaps

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".

Constant Value: 11 (0x0000000b)

TextAppearance_textColor

public static final int TextAppearance_textColor

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".

Constant Value: 3 (0x00000003)

TextAppearance_textColorHighlight

public static final int TextAppearance_textColorHighlight

Color of the text selection highlight.

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".

Constant Value: 4 (0x00000004)

TextAppearance_textColorHint

public static final int TextAppearance_textColorHint

Color of the hint 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".

Constant Value: 5 (0x00000005)

public static final int TextAppearance_textColorLink

Color of the links.

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".

Constant Value: 6 (0x00000006)

TextAppearance_textFontWeight

public static final int TextAppearance_textFontWeight

Weight for the font used in the TextView.

May be an integer value, such as "100".

Constant Value: 18 (0x00000012)

TextAppearance_textLocale

public static final int TextAppearance_textLocale

Specifies the LocaleList for the text. May be a string value, which is a comma-separated language tag list, such as "ja-JP,zh-CN". When not specified or an empty string is given, it will fallback to the default one.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 19 (0x00000013)

TextAppearance_textSize

public static final int TextAppearance_textSize

Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 0 (0x00000000)

TextAppearance_textStyle

public static final int TextAppearance_textStyle

Style (normal, bold, italic, bold|italic) for the text.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bold1
italic2
normal0

Constant Value: 2 (0x00000002)

TextAppearance_typeface

public static final int TextAppearance_typeface

Typeface (normal, sans, serif, monospace) for the text.

Must be one of the following constant values.

ConstantValueDescription
monospace3
normal0
sans1
serif2

Constant Value: 1 (0x00000001)

TextClock_format12Hour

public static final int TextClock_format12Hour

Specifies the formatting pattern used to show the time and/or date in 12-hour mode. Please refer to DateFormat for a complete description of accepted formatting patterns. The default pattern is a locale-appropriate equivalent of "h:mm a".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

TextClock_format24Hour

public static final int TextClock_format24Hour

Specifies the formatting pattern used to show the time and/or date in 24-hour mode. Please refer to DateFormat for a complete description of accepted formatting patterns. The default pattern is a locale-appropriate equivalent of "H:mm".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

TextClock_timeZone

public static final int TextClock_timeZone

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 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;

Constant Value: 2 (0x00000002)

TextToSpeechEngine_settingsActivity

public static final int TextToSpeechEngine_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

TextViewAppearance_textAppearance

public static final int TextViewAppearance_textAppearance

Base 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".

Constant Value: 0 (0x00000000)

TextViewMultiLineBackgroundState_state_multiline

public static final int TextViewMultiLineBackgroundState_state_multiline

State identifier indicating a TextView has a multi-line layout.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

TextView_allowUndo

public static final int TextView_allowUndo

Whether undo should be allowed for editable text. Defaults to true.

May be a boolean value, such as "true" or "false".

Constant Value: 83 (0x00000053)

public static final int TextView_autoLink

Controls whether links such as urls and email addresses are automatically found and converted to clickable links. The default value is "none", disabling this feature.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
allfMatch all patterns (equivalent to web|email|phone|map).
email2Match email addresses.
map8Match map addresses. Deprecated: see Linkify.MAP_ADDRESSES.
none0Match no patterns (default).
phone4Match phone numbers.
web1Match Web URLs.

Constant Value: 11 (0x0000000b)

TextView_autoSizeMaxTextSize

public static final int TextView_autoSizeMaxTextSize

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).

Constant Value: 88 (0x00000058)

TextView_autoSizeMinTextSize

public static final int TextView_autoSizeMinTextSize

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).

Constant Value: 87 (0x00000057)

TextView_autoSizePresetSizes

public static final int TextView_autoSizePresetSizes

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.

Constant Value: 86 (0x00000056)

TextView_autoSizeStepGranularity

public static final int TextView_autoSizeStepGranularity

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).

Constant Value: 85 (0x00000055)

TextView_autoSizeTextType

public static final int TextView_autoSizeTextType

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.

Constant Value: 84 (0x00000054)

TextView_autoText

public static final int TextView_autoText

If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors. The default is "false".

May be a boolean value, such as "true" or "false".

Constant Value: 45 (0x0000002d)

TextView_breakStrategy

public static final int TextView_breakStrategy

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.

Constant Value: 81 (0x00000051)

TextView_bufferType

public static final int TextView_bufferType

Determines the minimum type that getText() will return. The default is "normal". Note that EditText and LogTextBox always return Editable, even if you specify something less powerful here.

Must be one of the following constant values.

ConstantValueDescription
editable2Can only return Spannable and Editable.
normal0Can return any CharSequence, possibly a Spanned one if the source text was Spanned.
spannable1Can only return Spannable.

Constant Value: 17 (0x00000011)

TextView_capitalize

public static final int TextView_capitalize

If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. The default is "none".

Must be one of the following constant values.

ConstantValueDescription
characters3Capitalize every character.
none0Don't automatically capitalize anything.
sentences1Capitalize the first word of each sentence.
words2Capitalize the first letter of every word.

Constant Value: 44 (0x0000002c)

TextView_cursorVisible

public static final int TextView_cursorVisible

Makes the cursor visible (the default) or invisible.

May be a boolean value, such as "true" or "false".

Constant Value: 21 (0x00000015)

TextView_digits

public static final int TextView_digits

If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. If this is set, numeric is implied to be true. The default is false.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 41 (0x00000029)

TextView_drawableBottom

public static final int TextView_drawableBottom

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".

Constant Value: 49 (0x00000031)

TextView_drawableEnd

public static final int TextView_drawableEnd

The drawable to be drawn to the end of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 74 (0x0000004a)

TextView_drawableLeft

public static final int TextView_drawableLeft

The drawable to be drawn to the left of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 50 (0x00000032)

TextView_drawablePadding

public static final int TextView_drawablePadding

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).

Constant Value: 52 (0x00000034)

TextView_drawableRight

public static final int TextView_drawableRight

The drawable to be drawn to the right of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 51 (0x00000033)

TextView_drawableStart

public static final int TextView_drawableStart

The drawable to be drawn to the start of the text.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 73 (0x00000049)

TextView_drawableTint

public static final int TextView_drawableTint

Tint to apply to the compound (left, top, etc.) drawables.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 79 (0x0000004f)

TextView_drawableTintMode

public static final int TextView_drawableTintMode

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\u2019s 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\u2019s 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]

Constant Value: 80 (0x00000050)

TextView_drawableTop

public static final int TextView_drawableTop

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".

Constant Value: 48 (0x00000030)

TextView_editable

public static final int TextView_editable

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.

May be a boolean value, such as "true" or "false".

Constant Value: 46 (0x0000002e)

TextView_editorExtras

public static final int TextView_editorExtras

Reference to an <input-extras> XML resource containing additional data to supply to an input method, which is private to the implementation of the input method. This simply fills in the EditorInfo.extras field when the input method is connected.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 58 (0x0000003a)

TextView_elegantTextHeight

public static final int TextView_elegantTextHeight

Elegant text height, especially for less compacted complex script text.

May be a boolean value, such as "true" or "false".

Constant Value: 76 (0x0000004c)

TextView_ellipsize

public static final int TextView_ellipsize

If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle. You will often also want to set scrollHorizontally or singleLine as well so that the text as a whole is also constrained to a single line instead of still allowed to be broken onto multiple lines.

Must be one of the following constant values.

ConstantValueDescription
end3
marquee4
middle2
none0
start1

Constant Value: 9 (0x00000009)

TextView_ems

public static final int TextView_ems

Makes the TextView be exactly this many ems wide.

May be an integer value, such as "100".

Constant Value: 27 (0x0000001b)

TextView_enabled

public static final int TextView_enabled

Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. For example, a non-enabled EditText prevents the user from editing the contained text, and a non-enabled Button prevents the user from tapping the button. The appearance of enabled and non-enabled widgets may differ, if the drawables referenced from evaluating state_enabled differ.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

TextView_fallbackLineSpacing

public static final int TextView_fallbackLineSpacing

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".

Constant Value: 91 (0x0000005b)

TextView_firstBaselineToTopHeight

public static final int TextView_firstBaselineToTopHeight

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).

Constant Value: 92 (0x0000005c)

TextView_focusedSearchResultHighlightColor

public static final int TextView_focusedSearchResultHighlightColor

Color of focused search result highlight. This color is typically used when TextView/EditText shows search result in-app text search invoked with Ctrl+F.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 100 (0x00000064)

TextView_fontFamily

public static final int TextView_fontFamily

Font family (named by string or as a font resource reference) for the text.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 75 (0x0000004b)

TextView_fontFeatureSettings

public static final int TextView_fontFeatureSettings

Font feature settings.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 78 (0x0000004e)

TextView_fontVariationSettings

public static final int TextView_fontVariationSettings

Font variation settings.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 90 (0x0000005a)

TextView_freezesText

public static final int TextView_freezesText

If set, the text view will include its current complete text inside of its frozen icicle in addition to meta-data such as the current cursor position. By default this is disabled; it can be useful when the contents of a text view is not stored in a persistent place such as a content provider. For EditText it is always enabled, regardless of the value of the attribute.

May be a boolean value, such as "true" or "false".

Constant Value: 47 (0x0000002f)

TextView_gravity

public static final int TextView_gravity

Specifies how to align the text by the view's x- and/or y-axis when the text is smaller than the view.

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.

Constant Value: 10 (0x0000000a)

TextView_height

public static final int TextView_height

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).

Constant Value: 24 (0x00000018)

TextView_hint

public static final int TextView_hint

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;

Constant Value: 19 (0x00000013)

TextView_hyphenationFrequency

public static final int TextView_hyphenationFrequency

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.
fullFast4Same to hyphenationFrequency="full" but using faster algorithm for measuring hyphenation break points. To make text rendering faster with hyphenation, this algorithm ignores some hyphen character related typographic features, e.g. kerning.
none0No hyphenation.
normal1Less frequent hyphenation, useful for informal use cases, such as chat messages.
normalFast3Same to hyphenationFrequency="normal" but using faster algorithm for measuring hyphenation break points. To make text rendering faster with hyphenation, this algorithm ignores some hyphen character related typographic features, e.g. kerning.

Constant Value: 82 (0x00000052)

TextView_imeActionId

public static final int TextView_imeActionId

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".

Constant Value: 61 (0x0000003d)

TextView_imeActionLabel

public static final int TextView_imeActionLabel

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;

Constant Value: 60 (0x0000003c)

TextView_imeOptions

public static final int TextView_imeOptions

Additional features you can enable in an IME associated with an editor to improve the integration with your application. The constants here correspond to those defined by 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 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 EditorInfo.IME_ACTION_GO.
actionNext5The action key performs a "next" operation, taking the user to the next field that will accept text. Corresponds to EditorInfo.IME_ACTION_NEXT.
actionNone1This editor has no action associated with it. Corresponds to EditorInfo.IME_ACTION_NONE.
actionPrevious7The action key performs a "previous" operation, taking the user to the previous field that will accept text. Corresponds to 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 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 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 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 TextView used for, typically, account ID or password input. It is expected that IMEs normally are able to input ASCII even without being told so (such IMEs already respect this flag in a sense), but there could be some cases they aren't when, for instance, only non-ASCII input languages like Arabic, Greek, Hebrew, Russian are enabled in the IME. Applications need to be aware that the flag is not a guarantee, and not all IMEs will respect it. However, it is strongly recommended for IME authors to respect this flag especially when their IME could end up with a state that has only non-ASCII input languages enabled.

Corresponds to 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 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 EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS.

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 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 TextView will automatically set this flag for you on multi-line text views.

Corresponds to 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 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 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.

Constant Value: 59 (0x0000003b)

TextView_includeFontPadding

public static final int TextView_includeFontPadding

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".

Constant Value: 34 (0x00000022)

TextView_inputMethod

public static final int TextView_inputMethod

If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name).

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 43 (0x0000002b)

TextView_inputType

public static final int TextView_inputType

The type of data being placed in a text field, used to help an input method decide how to let the user enter text. The constants here correspond to those defined by InputType. Generally you can select a single value, though some can be combined together as indicated. Setting this attribute to anything besides none also implies that the text is editable.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
date14For entering a date. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE.
datetime4For entering a date and time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_NORMAL.
none0There is no content type. The text is not editable.
number2A numeric only field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_NORMAL.
numberDecimal2002Can be combined with number and its other options to allow a decimal (fractional) number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL.
numberPassword12A numeric password field. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD.
numberSigned1002Can be combined with number and its other options to allow a signed number. Corresponds to InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED.
phone3For entering a phone number. Corresponds to InputType.TYPE_CLASS_PHONE.
text1Just plain old text. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE.
textAutoCorrect8001Can be combined with text and its variations to request auto-correction of text being input. Corresponds to InputType.TYPE_TEXT_FLAG_AUTO_CORRECT.
textCapCharacters1001Can be combined with text and its variations to request capitalization of all characters. Corresponds to 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 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 InputType.TYPE_TEXT_FLAG_CAP_WORDS.
textEmailAddress21Text that will be used as an e-mail address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS.
textEmailSubject31Text that is being supplied as the subject of an e-mail. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_SUBJECT.
textEnableTextConversionSuggestions100001Can be combined with text and its variations to indicate that if there is extra information, the IME should provide TextAttribute. Corresponds to InputType.TYPE_TEXT_FLAG_ENABLE_TEXT_CONVERSION_SUGGESTIONS.
textFilterb1Text that is filtering some other data. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_IME_MULTI_LINE.
textLongMessage51Text that is the content of a long message. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_TEXT_FLAG_MULTI_LINE. Note: If this flag is not set and the text field doesn't have max length limit, the framework automatically set maximum length of the characters to 5000 for the performance reasons.
textNoSuggestions80001Can be combined with text and its variations to indicate that the IME should not show any dictionary-based word suggestions. Corresponds to InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS.
textPassword81Text that is a password. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD.
textPersonName61Text that is the name of a person. Corresponds to InputType.TYPE_CLASS_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 InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PHONETIC.
textPostalAddress71Text that is being supplied as a postal mailing address. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_POSTAL_ADDRESS.
textShortMessage41Text that is the content of a short message. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_SHORT_MESSAGE.
textUri11Text that will be used as a URI. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_URI.
textVisiblePassword91Text that is a password that should be visible. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD.
textWebEditTexta1Text that is being supplied as text in a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT.
textWebEmailAddressd1Text that will be used as an e-mail address on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS.
textWebPassworde1Text that will be used as a password on a web form. Corresponds to InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD.
time24For entering a time. Corresponds to InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_TIME.

Constant Value: 56 (0x00000038)

TextView_justificationMode

public static final int TextView_justificationMode

Mode for justification.

Must be one of the following constant values.

ConstantValueDescription
inter_character2@FlaggedApi("com.android.text.flags.inter_character_justification")
inter_word1Justification by stretching word spacing.
none0No justification.

Constant Value: 89 (0x00000059)

TextView_lastBaselineToBottomHeight

public static final int TextView_lastBaselineToBottomHeight

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).

Constant Value: 93 (0x0000005d)

TextView_letterSpacing

public static final int TextView_letterSpacing

Text letter-spacing.

May be a floating point value, such as "1.2".

Constant Value: 77 (0x0000004d)

TextView_lineBreakStyle

public static final int TextView_lineBreakStyle

Specifies the line-break strategies for text wrapping.

Must be one of the following constant values.

ConstantValueDescription
loose1The least restrictive line-break rules are used for line breaking.
none0No line-break rules are used for line breaking.
normal2The most common line-break rules are used for line breaking.
strict3The most strict line-break rules are used for line breaking.

Constant Value: 97 (0x00000061)

TextView_lineBreakWordStyle

public static final int TextView_lineBreakWordStyle

Specifies the line-break word strategies for text wrapping.

Must be one of the following constant values.

ConstantValueDescription
none0No line-break word style is used for line breaking.
phrase1Line breaking is based on phrases, which results in text wrapping only on meaningful words.

Constant Value: 98 (0x00000062)

TextView_lineHeight

public static final int TextView_lineHeight

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).

Constant Value: 94 (0x0000005e)

TextView_lineSpacingExtra

public static final int TextView_lineSpacingExtra

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).

Constant Value: 53 (0x00000035)

TextView_lineSpacingMultiplier

public static final int TextView_lineSpacingMultiplier

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".

Constant Value: 54 (0x00000036)

TextView_lines

public static final int TextView_lines

Makes the TextView be exactly this many lines tall.

May be an integer value, such as "100".

Constant Value: 23 (0x00000017)

TextView_linksClickable

public static final int TextView_linksClickable

If set to false, keeps the movement method from being set to the link movement method even if autoLink causes links to be found.

May be a boolean value, such as "true" or "false".

Constant Value: 12 (0x0000000c)

TextView_marqueeRepeatLimit

public static final int TextView_marqueeRepeatLimit

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.

Constant Value: 55 (0x00000037)

TextView_maxEms

public static final int TextView_maxEms

Makes the TextView be at most this many ems wide.

May be an integer value, such as "100".

Constant Value: 26 (0x0000001a)

TextView_maxHeight

public static final int TextView_maxHeight

Makes the TextView be at most this many pixels tall.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 14 (0x0000000e)

TextView_maxLength

public static final int TextView_maxLength

Set an input filter to constrain the text length to the specified number.

May be an integer value, such as "100".

Constant Value: 35 (0x00000023)

TextView_maxLines

public static final int TextView_maxLines

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".

Constant Value: 22 (0x00000016)

TextView_maxWidth

public static final int TextView_maxWidth

Makes the TextView be at most this many pixels wide.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 13 (0x0000000d)

TextView_minEms

public static final int TextView_minEms

Makes the TextView be at least this many ems wide.

May be an integer value, such as "100".

Constant Value: 29 (0x0000001d)

TextView_minHeight

public static final int TextView_minHeight

Makes the TextView be at least this many pixels tall.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 16 (0x00000010)

TextView_minLines

public static final int TextView_minLines

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".

Constant Value: 25 (0x00000019)

TextView_minWidth

public static final int TextView_minWidth

Makes the TextView be at least this many pixels wide.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 15 (0x0000000f)

TextView_numeric

public static final int TextView_numeric

If set, specifies that this TextView has a numeric input method. The default is false.

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.

Constant Value: 40 (0x00000028)

TextView_password

public static final int TextView_password

Whether the characters of the field are displayed as password dots instead of themselves.

May be a boolean value, such as "true" or "false".

Constant Value: 31 (0x0000001f)

TextView_phoneNumber

public static final int TextView_phoneNumber

If set, specifies that this TextView has a phone number input method. The default is false.

May be a boolean value, such as "true" or "false".

Constant Value: 42 (0x0000002a)

TextView_privateImeOptions

public static final int TextView_privateImeOptions

An addition content type description to supply to the input method attached to the text view, which is private to the implementation of the input method. 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;

Constant Value: 57 (0x00000039)

TextView_scrollHorizontally

public static final int TextView_scrollHorizontally

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".

Constant Value: 30 (0x0000001e)

TextView_searchResultHighlightColor

public static final int TextView_searchResultHighlightColor

Color of search results highlight. This color is typically used when TextView/EditText shows search result in-app text search invoked with Ctrl+F.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 99 (0x00000063)

TextView_selectAllOnFocus

public static final int TextView_selectAllOnFocus

If the text is selectable, select it all when the view takes focus.

May be a boolean value, such as "true" or "false".

Constant Value: 33 (0x00000021)

TextView_shadowColor

public static final int TextView_shadowColor

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".

Constant Value: 36 (0x00000024)

TextView_shadowDx

public static final int TextView_shadowDx

Horizontal offset of the text shadow.

May be a floating point value, such as "1.2".

Constant Value: 37 (0x00000025)

TextView_shadowDy

public static final int TextView_shadowDy

Vertical offset of the text shadow.

May be a floating point value, such as "1.2".

Constant Value: 38 (0x00000026)

TextView_shadowRadius

public static final int TextView_shadowRadius

Blur radius of the text shadow.

May be a floating point value, such as "1.2".

Constant Value: 39 (0x00000027)

TextView_shiftDrawingOffsetForStartOverhang

public static final int TextView_shiftDrawingOffsetForStartOverhang

May be a boolean value, such as "true" or "false".

Constant Value: 103 (0x00000067)

TextView_singleLine

public static final int TextView_singleLine

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).

May be a boolean value, such as "true" or "false".

Constant Value: 32 (0x00000020)

TextView_text

public static final int TextView_text

Text to display.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 18 (0x00000012)

TextView_textAllCaps

public static final int TextView_textAllCaps

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".

Constant Value: 72 (0x00000048)

TextView_textAppearance

public static final int TextView_textAppearance

Base 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".

Constant Value: 1 (0x00000001)

TextView_textColor

public static final int TextView_textColor

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".

Constant Value: 5 (0x00000005)

TextView_textColorHighlight

public static final int TextView_textColorHighlight

Color of the text selection highlight.

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".

Constant Value: 6 (0x00000006)

TextView_textColorHint

public static final int TextView_textColorHint

Color of the hint 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".

Constant Value: 7 (0x00000007)

public static final int TextView_textColorLink

Text color for links.

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".

Constant Value: 8 (0x00000008)

TextView_textCursorDrawable

public static final int TextView_textCursorDrawable

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".

Constant Value: 70 (0x00000046)

TextView_textEditNoPasteWindowLayout

public static final int TextView_textEditNoPasteWindowLayout

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".

Constant Value: 66 (0x00000042)

TextView_textEditPasteWindowLayout

public static final int TextView_textEditPasteWindowLayout

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".

Constant Value: 65 (0x00000041)

TextView_textEditSideNoPasteWindowLayout

public static final int TextView_textEditSideNoPasteWindowLayout

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".

Constant Value: 69 (0x00000045)

TextView_textEditSidePasteWindowLayout

public static final int TextView_textEditSidePasteWindowLayout

Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 68 (0x00000044)

TextView_textEditSuggestionItemLayout

public static final int TextView_textEditSuggestionItemLayout

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".

Constant Value: 71 (0x00000047)

TextView_textFontWeight

public static final int TextView_textFontWeight

Weight for the font used in the TextView.

May be an integer value, such as "100".

Constant Value: 95 (0x0000005f)

TextView_textIsSelectable

public static final int TextView_textIsSelectable

Indicates that the content of a non-editable text can be selected.

May be a boolean value, such as "true" or "false".

Constant Value: 67 (0x00000043)

TextView_textLocale

public static final int TextView_textLocale

Specifies the LocaleList for the text in this TextView. If not given, the system default will be used. May be a string value, which is a comma-separated language tag list, such as "ja-JP,zh-CN". When not specified or an empty string is given, it will fallback to the default one.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 96 (0x00000060)

TextView_textScaleX

public static final int TextView_textScaleX

Sets the horizontal scaling factor for the text.

May be a floating point value, such as "1.2".

Constant Value: 20 (0x00000014)

TextView_textSelectHandle

public static final int TextView_textSelectHandle

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".

Constant Value: 64 (0x00000040)

TextView_textSelectHandleLeft

public static final int TextView_textSelectHandleLeft

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".

Constant Value: 62 (0x0000003e)

TextView_textSelectHandleRight

public static final int TextView_textSelectHandleRight

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".

Constant Value: 63 (0x0000003f)

TextView_textSize

public static final int TextView_textSize

Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 2 (0x00000002)

TextView_textStyle

public static final int TextView_textStyle

Style (normal, bold, italic, bold|italic) for the text.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
bold1
italic2
normal0

Constant Value: 4 (0x00000004)

TextView_typeface

public static final int TextView_typeface

Typeface (normal, sans, serif, monospace) for the text.

Must be one of the following constant values.

ConstantValueDescription
monospace3
normal0
sans1
serif2

Constant Value: 3 (0x00000003)

TextView_useBoundsForWidth

public static final int TextView_useBoundsForWidth

May be a boolean value, such as "true" or "false".

Constant Value: 101 (0x00000065)

TextView_useLocalePreferredLineHeightForMinimum

public static final int TextView_useLocalePreferredLineHeightForMinimum

May be a boolean value, such as "true" or "false".

Constant Value: 102 (0x00000066)

TextView_width

public static final int TextView_width

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).

Constant Value: 28 (0x0000001c)

Theme_absListViewStyle

public static final int Theme_absListViewStyle

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".

Constant Value: 51 (0x00000033)

Theme_actionBarDivider

public static final int Theme_actionBarDivider

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".

Constant Value: 203 (0x000000cb)

Theme_actionBarItemBackground

public static final int Theme_actionBarItemBackground

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".

Constant Value: 204 (0x000000cc)

Theme_actionBarPopupTheme

public static final int Theme_actionBarPopupTheme

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".

Constant Value: 248 (0x000000f8)

Theme_actionBarSize

public static final int Theme_actionBarSize

Size of the Action Bar, including the contextual bar used to present Action Modes.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.

ConstantValueDescription
wrap_content0

Constant Value: 139 (0x0000008b)

Theme_actionBarSplitStyle

public static final int Theme_actionBarSplitStyle

Reference to a style for the split Action Bar. This style controls the split component that holds the menu/action buttons. actionBarStyle is still used for the primary bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 195 (0x000000c3)

Theme_actionBarStyle

public static final int Theme_actionBarStyle

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".

Constant Value: 131 (0x00000083)

Theme_actionBarTabBarStyle

public static final int Theme_actionBarTabBarStyle

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".

Constant Value: 142 (0x0000008e)

Theme_actionBarTabStyle

public static final int Theme_actionBarTabStyle

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".

Constant Value: 141 (0x0000008d)

Theme_actionBarTabTextStyle

public static final int Theme_actionBarTabTextStyle

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".

Constant Value: 143 (0x0000008f)

Theme_actionBarTheme

public static final int Theme_actionBarTheme

Reference to a theme that should be used to inflate the action bar. This will be inherited by any widget inflated into the action bar.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 225 (0x000000e1)

Theme_actionBarWidgetTheme

public static final int Theme_actionBarWidgetTheme

Reference to a theme that should be used to inflate widgets and layouts destined for the action bar. Most of the time this will be a reference to the current theme, but when the action bar has a significantly different contrast profile than the rest of the activity the difference can become important. If this is set to @null the current theme will be used.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 202 (0x000000ca)

Theme_actionButtonStyle

public static final int Theme_actionButtonStyle

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".

Constant Value: 134 (0x00000086)

Theme_actionDropDownStyle

public static final int Theme_actionDropDownStyle

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".

Constant Value: 133 (0x00000085)

Theme_actionMenuTextAppearance

public static final int Theme_actionMenuTextAppearance

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".

Constant Value: 187 (0x000000bb)

Theme_actionMenuTextColor

public static final int Theme_actionMenuTextColor

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".

Constant Value: 188 (0x000000bc)

Theme_actionModeBackground

public static final int Theme_actionModeBackground

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".

Constant Value: 135 (0x00000087)

Theme_actionModeCloseButtonStyle

public static final int Theme_actionModeCloseButtonStyle

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".

Constant Value: 145 (0x00000091)

Theme_actionModeCloseDrawable

public static final int Theme_actionModeCloseDrawable

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".

Constant Value: 136 (0x00000088)

Theme_actionModeCopyDrawable

public static final int Theme_actionModeCopyDrawable

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".

Constant Value: 159 (0x0000009f)

Theme_actionModeCutDrawable

public static final int Theme_actionModeCutDrawable

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".

Constant Value: 158 (0x0000009e)

Theme_actionModeFindDrawable

public static final int Theme_actionModeFindDrawable

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".

Constant Value: 242 (0x000000f2)

Theme_actionModePasteDrawable

public static final int Theme_actionModePasteDrawable

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".

Constant Value: 160 (0x000000a0)

Theme_actionModeSelectAllDrawable

public static final int Theme_actionModeSelectAllDrawable

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".

Constant Value: 192 (0x000000c0)

Theme_actionModeShareDrawable

public static final int Theme_actionModeShareDrawable

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".

Constant Value: 241 (0x000000f1)

Theme_actionModeSplitBackground

public static final int Theme_actionModeSplitBackground

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".

Constant Value: 205 (0x000000cd)

Theme_actionModeStyle

public static final int Theme_actionModeStyle

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".

Constant Value: 201 (0x000000c9)

Theme_actionModeWebSearchDrawable

public static final int Theme_actionModeWebSearchDrawable

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".

Constant Value: 243 (0x000000f3)

Theme_actionOverflowButtonStyle

public static final int Theme_actionOverflowButtonStyle

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".

Constant Value: 144 (0x00000090)

Theme_actionOverflowMenuStyle

public static final int Theme_actionOverflowMenuStyle

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".

Constant Value: 238 (0x000000ee)

Theme_activatedBackgroundIndicator

public static final int Theme_activatedBackgroundIndicator

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".

Constant Value: 146 (0x00000092)

Theme_alertDialogIcon

public static final int Theme_alertDialogIcon

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".

Constant Value: 180 (0x000000b4)

Theme_alertDialogStyle

public static final int Theme_alertDialogStyle

This symbol is the offset where the R.attr.alertDialogStyle attribute's value can be found in the Theme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 45 (0x0000002d)

Theme_alertDialogTheme

public static final int Theme_alertDialogTheme

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".

Constant Value: 154 (0x0000009a)

Theme_ambientShadowAlpha

public static final int Theme_ambientShadowAlpha

Alpha value of the ambient shadow projected by elevated views, between 0 and 1.

May be a floating point value, such as "1.2".

Constant Value: 258 (0x00000102)

Theme_autoCompleteTextViewStyle

public static final int Theme_autoCompleteTextViewStyle

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".

Constant Value: 52 (0x00000034)

Theme_autofilledHighlight

public static final int Theme_autofilledHighlight

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".

Constant Value: 275 (0x00000113)

Theme_backgroundDimAmount

public static final int Theme_backgroundDimAmount

Default background dim amount when a menu, dialog, or something similar pops up.

May be a floating point value, such as "1.2".

Constant Value: 2 (0x00000002)

Theme_backgroundDimEnabled

public static final int Theme_backgroundDimEnabled

Control whether dimming behind the window is enabled. The default theme does not set this value, meaning it is based on whether the window is floating.

May be a boolean value, such as "true" or "false".

Constant Value: 106 (0x0000006a)

Theme_borderlessButtonStyle

public static final int Theme_borderlessButtonStyle

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".

Constant Value: 164 (0x000000a4)

Theme_buttonBarButtonStyle

public static final int Theme_buttonBarButtonStyle

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".

Constant Value: 167 (0x000000a7)

Theme_buttonBarNegativeButtonStyle

public static final int Theme_buttonBarNegativeButtonStyle

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".

Constant Value: 247 (0x000000f7)

Theme_buttonBarNeutralButtonStyle

public static final int Theme_buttonBarNeutralButtonStyle

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".

Constant Value: 246 (0x000000f6)

Theme_buttonBarPositiveButtonStyle

public static final int Theme_buttonBarPositiveButtonStyle

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".

Constant Value: 245 (0x000000f5)

Theme_buttonBarStyle

public static final int Theme_buttonBarStyle

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".

Constant Value: 166 (0x000000a6)

Theme_buttonCornerRadius

public static final int Theme_buttonCornerRadius

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).

Constant Value: 277 (0x00000115)

Theme_buttonStyle

public static final int Theme_buttonStyle

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".

Constant Value: 24 (0x00000018)

Theme_buttonStyleInset

public static final int Theme_buttonStyleInset

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".

Constant Value: 26 (0x0000001a)

Theme_buttonStyleSmall

public static final int Theme_buttonStyleSmall

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".

Constant Value: 25 (0x00000019)

Theme_buttonStyleToggle

public static final int Theme_buttonStyleToggle

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".

Constant Value: 27 (0x0000001b)

Theme_calendarViewStyle

public static final int Theme_calendarViewStyle

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".

Constant Value: 184 (0x000000b8)

Theme_candidatesTextStyleSpans

public static final int Theme_candidatesTextStyleSpans

A styled string, specifying the style to be used for showing inline candidate text when composing with an input method. The text itself will be ignored, but the style spans will be applied to the candidate text as it is edited.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 109 (0x0000006d)

Theme_checkBoxPreferenceStyle

public static final int Theme_checkBoxPreferenceStyle

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".

Constant Value: 87 (0x00000057)

Theme_checkboxStyle

public static final int Theme_checkboxStyle

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".

Constant Value: 53 (0x00000035)

Theme_checkedTextViewStyle

public static final int Theme_checkedTextViewStyle

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".

Constant Value: 214 (0x000000d6)

Theme_colorAccent

public static final int Theme_colorAccent

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".

Constant Value: 229 (0x000000e5)

Theme_colorActivatedHighlight

public static final int Theme_colorActivatedHighlight

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".

Constant Value: 199 (0x000000c7)

Theme_colorBackground

public static final int Theme_colorBackground

Default color of background imagery, ex. full-screen windows.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

Theme_colorBackgroundCacheHint

public static final int Theme_colorBackgroundCacheHint

This is a hint for a solid color that can be used for caching rendered views. This should be the color of the background when there is a solid background color; it should be null when the background is a texture or translucent. When a device is able to use accelerated drawing (thus setting state_accelerated), the cache hint is ignored and always assumed to be transparent.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 117 (0x00000075)

Theme_colorBackgroundFloating

public static final int Theme_colorBackgroundFloating

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".

Constant Value: 263 (0x00000107)

Theme_colorButtonNormal

public static final int Theme_colorButtonNormal

The color applied to framework buttons in their normal state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 223 (0x000000df)

Theme_colorControlActivated

public static final int Theme_colorControlActivated

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".

Constant Value: 222 (0x000000de)

Theme_colorControlHighlight

public static final int Theme_colorControlHighlight

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".

Constant Value: 224 (0x000000e0)

Theme_colorControlNormal

public static final int Theme_colorControlNormal

The color applied to framework controls in their normal state.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 221 (0x000000dd)

Theme_colorEdgeEffect

public static final int Theme_colorEdgeEffect

The color applied to the edge effect on scrolling containers.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 261 (0x00000105)

Theme_colorError

public static final int Theme_colorError

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".

Constant Value: 272 (0x00000110)

Theme_colorFocusedHighlight

public static final int Theme_colorFocusedHighlight

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".

Constant Value: 198 (0x000000c6)

Theme_colorForeground

public static final int Theme_colorForeground

Default color of foreground imagery.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 0 (0x00000000)

Theme_colorForegroundInverse

public static final int Theme_colorForegroundInverse

Default color of foreground imagery on an inverted background.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 94 (0x0000005e)

Theme_colorLongPressedHighlight

public static final int Theme_colorLongPressedHighlight

Default highlight color for items that are long-pressed.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 197 (0x000000c5)

Theme_colorMultiSelectHighlight

public static final int Theme_colorMultiSelectHighlight

Default highlight color for items in multiple selection mode.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 200 (0x000000c8)

Theme_colorPressedHighlight

public static final int Theme_colorPressedHighlight

Default highlight color for items that are pressed.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 196 (0x000000c4)

Theme_colorPrimary

public static final int Theme_colorPrimary

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".

Constant Value: 227 (0x000000e3)

Theme_colorPrimaryDark

public static final int Theme_colorPrimaryDark

Dark variant of the primary branding color. By default, this is the color applied to the status bar (via statusBarColor) and navigation bar (via navigationBarColor).

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 228 (0x000000e4)

Theme_colorSecondary

public static final int Theme_colorSecondary

The secondary branding color for the app.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 271 (0x0000010f)

Theme_contextPopupMenuStyle

public static final int Theme_contextPopupMenuStyle

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".

Constant Value: 266 (0x0000010a)

Theme_datePickerDialogTheme

public static final int Theme_datePickerDialogTheme

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".

Constant Value: 252 (0x000000fc)

Theme_datePickerStyle

public static final int Theme_datePickerStyle

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".

Constant Value: 183 (0x000000b7)

Theme_detailsElementBackground

public static final int Theme_detailsElementBackground

Background that can be used behind parts of a UI that provide details on data the user is selecting. For example, this is the background element of PreferenceActivity's embedded preference fragment.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 174 (0x000000ae)

Theme_dialogCornerRadius

public static final int Theme_dialogCornerRadius

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).

Constant Value: 276 (0x00000114)

Theme_dialogPreferenceStyle

public static final int Theme_dialogPreferenceStyle

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".

Constant Value: 89 (0x00000059)

Theme_dialogPreferredPadding

public static final int Theme_dialogPreferredPadding

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).

Constant Value: 262 (0x00000106)

Theme_dialogTheme

public static final int Theme_dialogTheme

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".

Constant Value: 153 (0x00000099)

Theme_disabledAlpha

public static final int Theme_disabledAlpha

Default disabled alpha for widgets that set enabled/disabled alpha programmatically.

May be a floating point value, such as "1.2".

Constant Value: 3 (0x00000003)

Theme_dividerHorizontal

public static final int Theme_dividerHorizontal

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".

Constant Value: 165 (0x000000a5)

Theme_dividerVertical

public static final int Theme_dividerVertical

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".

Constant Value: 155 (0x0000009b)

Theme_dropDownHintAppearance

public static final int Theme_dropDownHintAppearance

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".

Constant Value: 80 (0x00000050)

Theme_dropDownItemStyle

public static final int Theme_dropDownItemStyle

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".

Constant Value: 78 (0x0000004e)

Theme_dropDownListViewStyle

public static final int Theme_dropDownListViewStyle

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".

Constant Value: 54 (0x00000036)

Theme_dropDownSpinnerStyle

public static final int Theme_dropDownSpinnerStyle

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".

Constant Value: 132 (0x00000084)

Theme_editTextBackground

public static final int Theme_editTextBackground

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".

Constant Value: 178 (0x000000b2)

Theme_editTextColor

public static final int Theme_editTextColor

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".

Constant Value: 177 (0x000000b1)

Theme_editTextPreferenceStyle

public static final int Theme_editTextPreferenceStyle

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".

Constant Value: 90 (0x0000005a)

Theme_editTextStyle

public static final int Theme_editTextStyle

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".

Constant Value: 55 (0x00000037)

Theme_effectColor

public static final int Theme_effectColor

Color applied to effects.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 283 (0x0000011b)

Theme_expandableListPreferredChildIndicatorLeft

public static final int Theme_expandableListPreferredChildIndicatorLeft

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).

Constant Value: 34 (0x00000022)

Theme_expandableListPreferredChildIndicatorRight

public static final int Theme_expandableListPreferredChildIndicatorRight

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).

Constant Value: 35 (0x00000023)

Theme_expandableListPreferredChildPaddingLeft

public static final int Theme_expandableListPreferredChildPaddingLeft

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).

Constant Value: 31 (0x0000001f)

Theme_expandableListPreferredItemIndicatorLeft

public static final int Theme_expandableListPreferredItemIndicatorLeft

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).

Constant Value: 32 (0x00000020)

Theme_expandableListPreferredItemIndicatorRight

public static final int Theme_expandableListPreferredItemIndicatorRight

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).

Constant Value: 33 (0x00000021)

Theme_expandableListPreferredItemPaddingLeft

public static final int Theme_expandableListPreferredItemPaddingLeft

The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft). This takes into account the indicator that will be shown to next to the item.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 30 (0x0000001e)

Theme_expandableListViewStyle

public static final int Theme_expandableListViewStyle

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".

Constant Value: 56 (0x00000038)

Theme_expandableListViewWhiteStyle

public static final int Theme_expandableListViewWhiteStyle

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".

Constant Value: 124 (0x0000007c)

Theme_fastScrollOverlayPosition

public static final int Theme_fastScrollOverlayPosition

Position of the fast scroll index overlay window.

Must be one of the following constant values.

ConstantValueDescription
aboveThumb2
atThumb1
floating0

Constant Value: 173 (0x000000ad)

Theme_fastScrollPreviewBackgroundLeft

public static final int Theme_fastScrollPreviewBackgroundLeft

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".

Constant Value: 170 (0x000000aa)

Theme_fastScrollPreviewBackgroundRight

public static final int Theme_fastScrollPreviewBackgroundRight

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".

Constant Value: 171 (0x000000ab)

Theme_fastScrollTextColor

public static final int Theme_fastScrollTextColor

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".

Constant Value: 181 (0x000000b5)

Theme_fastScrollThumbDrawable

public static final int Theme_fastScrollThumbDrawable

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".

Constant Value: 169 (0x000000a9)

Theme_fastScrollTrackDrawable

public static final int Theme_fastScrollTrackDrawable

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".

Constant Value: 172 (0x000000ac)

Theme_fingerprintAuthDrawable

public static final int Theme_fingerprintAuthDrawable

Icon that should be used to indicate that an app is waiting for a fingerprint scan. This should be used whenever an app is requesting the user to place a finger on the fingerprint sensor. It can be combined with other drawables such as colored circles, so the appearance matches the branding of the app requesting the fingerprint scan.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 264 (0x00000108)

Theme_forceDarkAllowed

public static final int Theme_forceDarkAllowed

Whether or not the force dark feature is allowed to be applied to this theme.

Setting this to false will disable the auto-dark feature on everything this theme is applied to along with anything drawn by any children of views using this theme.

Setting this to true will allow this view to be automatically made dark, however a value of 'true' will not override any 'false' value in its parent chain nor will it prevent any 'false' in any of its children.

May be a boolean value, such as "true" or "false".

Constant Value: 278 (0x00000116)

Theme_galleryItemBackground

public static final int Theme_galleryItemBackground

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".

Constant Value: 28 (0x0000001c)

Theme_galleryStyle

public static final int Theme_galleryStyle

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".

Constant Value: 57 (0x00000039)

Theme_gridViewStyle

public static final int Theme_gridViewStyle

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".

Constant Value: 58 (0x0000003a)

Theme_homeAsUpIndicator

public static final int Theme_homeAsUpIndicator

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".

Constant Value: 156 (0x0000009c)

Theme_horizontalScrollViewStyle

public static final int Theme_horizontalScrollViewStyle

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".

Constant Value: 179 (0x000000b3)

Theme_imageButtonStyle

public static final int Theme_imageButtonStyle

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".

Constant Value: 59 (0x0000003b)

Theme_imageWellStyle

public static final int Theme_imageWellStyle

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".

Constant Value: 60 (0x0000003c)

Theme_isLightTheme

public static final int Theme_isLightTheme

Specifies that a theme has a light background with dark text on top.

May be a boolean value, such as "true" or "false".

Constant Value: 279 (0x00000117)

Theme_listChoiceBackgroundIndicator

public static final int Theme_listChoiceBackgroundIndicator

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".

Constant Value: 140 (0x0000008c)

Theme_listChoiceIndicatorMultiple

public static final int Theme_listChoiceIndicatorMultiple

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".

Constant Value: 104 (0x00000068)

Theme_listChoiceIndicatorSingle

public static final int Theme_listChoiceIndicatorSingle

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".

Constant Value: 103 (0x00000067)

Theme_listDivider

public static final int Theme_listDivider

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".

Constant Value: 102 (0x00000066)

Theme_listDividerAlertDialog

public static final int Theme_listDividerAlertDialog

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".

Constant Value: 151 (0x00000097)

Theme_listMenuViewStyle

public static final int Theme_listMenuViewStyle

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".

Constant Value: 265 (0x00000109)

Theme_listPopupWindowStyle

public static final int Theme_listPopupWindowStyle

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".

Constant Value: 147 (0x00000093)

Theme_listPreferredItemHeight

public static final int Theme_listPreferredItemHeight

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).

Constant Value: 29 (0x0000001d)

Theme_listPreferredItemHeightLarge

public static final int Theme_listPreferredItemHeightLarge

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).

Constant Value: 193 (0x000000c1)

Theme_listPreferredItemHeightSmall

public static final int Theme_listPreferredItemHeightSmall

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).

Constant Value: 194 (0x000000c2)

Theme_listPreferredItemPaddingEnd

public static final int Theme_listPreferredItemPaddingEnd

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).

Constant Value: 212 (0x000000d4)

Theme_listPreferredItemPaddingLeft

public static final int Theme_listPreferredItemPaddingLeft

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).

Constant Value: 208 (0x000000d0)

Theme_listPreferredItemPaddingRight

public static final int Theme_listPreferredItemPaddingRight

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).

Constant Value: 209 (0x000000d1)

Theme_listPreferredItemPaddingStart

public static final int Theme_listPreferredItemPaddingStart

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).

Constant Value: 211 (0x000000d3)

Theme_listSeparatorTextViewStyle

public static final int Theme_listSeparatorTextViewStyle

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".

Constant Value: 96 (0x00000060)

Theme_listViewStyle

public static final int Theme_listViewStyle

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".

Constant Value: 61 (0x0000003d)

Theme_listViewWhiteStyle

public static final int Theme_listViewWhiteStyle

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".

Constant Value: 62 (0x0000003e)

Theme_mapViewStyle

public static final int Theme_mapViewStyle

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".

Constant Value: 82 (0x00000052)

Theme_mediaRouteButtonStyle

public static final int Theme_mediaRouteButtonStyle

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".

Constant Value: 210 (0x000000d2)

Theme_numberPickerStyle

public static final int Theme_numberPickerStyle

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".

Constant Value: 270 (0x0000010e)

Theme_panelBackground

public static final int Theme_panelBackground

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".

Constant Value: 46 (0x0000002e)

Theme_panelColorBackground

public static final int Theme_panelColorBackground

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".

Constant Value: 49 (0x00000031)

Theme_panelColorForeground

public static final int Theme_panelColorForeground

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".

Constant Value: 48 (0x00000030)

Theme_panelFullBackground

public static final int Theme_panelFullBackground

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".

Constant Value: 47 (0x0000002f)

Theme_panelTextAppearance

public static final int Theme_panelTextAppearance

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".

Constant Value: 50 (0x00000032)

Theme_popupMenuStyle

public static final int Theme_popupMenuStyle

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".

Constant Value: 148 (0x00000094)

Theme_popupWindowStyle

public static final int Theme_popupWindowStyle

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".

Constant Value: 63 (0x0000003f)

Theme_preferenceCategoryStyle

public static final int Theme_preferenceCategoryStyle

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".

Constant Value: 84 (0x00000054)

Theme_preferenceFragmentStyle

public static final int Theme_preferenceFragmentStyle

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".

Constant Value: 269 (0x0000010d)

Theme_preferenceInformationStyle

public static final int Theme_preferenceInformationStyle

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".

Constant Value: 85 (0x00000055)

Theme_preferenceLayoutChild

public static final int Theme_preferenceLayoutChild

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".

Constant Value: 92 (0x0000005c)

Theme_preferenceScreenStyle

public static final int Theme_preferenceScreenStyle

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".

Constant Value: 83 (0x00000053)

Theme_preferenceStyle

public static final int Theme_preferenceStyle

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".

Constant Value: 86 (0x00000056)

Theme_presentationTheme

public static final int Theme_presentationTheme

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".

Constant Value: 213 (0x000000d5)

Theme_primaryContentAlpha

public static final int Theme_primaryContentAlpha

The alpha applied to the foreground color to create the primary text color.

May be a floating point value, such as "1.2".

Constant Value: 273 (0x00000111)

Theme_progressBarStyle

public static final int Theme_progressBarStyle

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".

Constant Value: 64 (0x00000040)

Theme_progressBarStyleHorizontal

public static final int Theme_progressBarStyleHorizontal

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".

Constant Value: 65 (0x00000041)

Theme_progressBarStyleInverse

public static final int Theme_progressBarStyleInverse

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".

Constant Value: 110 (0x0000006e)

Theme_progressBarStyleLarge

public static final int Theme_progressBarStyleLarge

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".

Constant Value: 67 (0x00000043)

Theme_progressBarStyleLargeInverse

public static final int Theme_progressBarStyleLargeInverse

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".

Constant Value: 112 (0x00000070)

Theme_progressBarStyleSmall

public static final int Theme_progressBarStyleSmall

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".

Constant Value: 66 (0x00000042)

Theme_progressBarStyleSmallInverse

public static final int Theme_progressBarStyleSmallInverse

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".

Constant Value: 111 (0x0000006f)

Theme_progressBarStyleSmallTitle

public static final int Theme_progressBarStyleSmallTitle

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".

Constant Value: 98 (0x00000062)

Theme_quickContactBadgeStyleSmallWindowLarge

public static final int Theme_quickContactBadgeStyleSmallWindowLarge

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".

Constant Value: 123 (0x0000007b)

Theme_quickContactBadgeStyleSmallWindowMedium

public static final int Theme_quickContactBadgeStyleSmallWindowMedium

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".

Constant Value: 122 (0x0000007a)

Theme_quickContactBadgeStyleSmallWindowSmall

public static final int Theme_quickContactBadgeStyleSmallWindowSmall

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".

Constant Value: 121 (0x00000079)

Theme_quickContactBadgeStyleWindowLarge

public static final int Theme_quickContactBadgeStyleWindowLarge

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".

Constant Value: 120 (0x00000078)

Theme_quickContactBadgeStyleWindowMedium

public static final int Theme_quickContactBadgeStyleWindowMedium

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".

Constant Value: 119 (0x00000077)

Theme_quickContactBadgeStyleWindowSmall

public static final int Theme_quickContactBadgeStyleWindowSmall

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".

Constant Value: 118 (0x00000076)

Theme_radioButtonStyle

public static final int Theme_radioButtonStyle

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".

Constant Value: 71 (0x00000047)

Theme_ratingBarStyle

public static final int Theme_ratingBarStyle

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".

Constant Value: 69 (0x00000045)

Theme_ratingBarStyleIndicator

public static final int Theme_ratingBarStyleIndicator

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".

Constant Value: 99 (0x00000063)

Theme_ratingBarStyleSmall

public static final int Theme_ratingBarStyleSmall

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".

Constant Value: 70 (0x00000046)

Theme_ringtonePreferenceStyle

public static final int Theme_ringtonePreferenceStyle

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".

Constant Value: 91 (0x0000005b)

Theme_scrollViewStyle

public static final int Theme_scrollViewStyle

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".

Constant Value: 72 (0x00000048)

Theme_searchViewStyle

public static final int Theme_searchViewStyle

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".

Constant Value: 244 (0x000000f4)

Theme_secondaryContentAlpha

public static final int Theme_secondaryContentAlpha

The alpha applied to the foreground color to create the secondary text color.

May be a floating point value, such as "1.2".

Constant Value: 274 (0x00000112)

Theme_seekBarStyle

public static final int Theme_seekBarStyle

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".

Constant Value: 68 (0x00000044)

Theme_segmentedButtonStyle

public static final int Theme_segmentedButtonStyle

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".

Constant Value: 168 (0x000000a8)

Theme_selectableItemBackground

public static final int Theme_selectableItemBackground

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".

Constant Value: 157 (0x0000009d)

Theme_selectableItemBackgroundBorderless

public static final int Theme_selectableItemBackgroundBorderless

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".

Constant Value: 239 (0x000000ef)

Theme_spinnerDropDownItemStyle

public static final int Theme_spinnerDropDownItemStyle

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".

Constant Value: 79 (0x0000004f)

Theme_spinnerItemStyle

public static final int Theme_spinnerItemStyle

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".

Constant Value: 81 (0x00000051)

Theme_spinnerStyle

public static final int Theme_spinnerStyle

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".

Constant Value: 73 (0x00000049)

Theme_spotShadowAlpha

public static final int Theme_spotShadowAlpha

Alpha value of the spot shadow projected by elevated views, between 0 and 1.

May be a floating point value, such as "1.2".

Constant Value: 259 (0x00000103)

Theme_stackViewStyle

public static final int Theme_stackViewStyle

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".

Constant Value: 236 (0x000000ec)

Theme_starStyle

public static final int Theme_starStyle

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".

Constant Value: 74 (0x0000004a)

Theme_switchPreferenceStyle

public static final int Theme_switchPreferenceStyle

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".

Constant Value: 189 (0x000000bd)

Theme_switchStyle

public static final int Theme_switchStyle

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".

Constant Value: 237 (0x000000ed)

Theme_tabWidgetStyle

public static final int Theme_tabWidgetStyle

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".

Constant Value: 75 (0x0000004b)

Theme_textAppearance

public static final int Theme_textAppearance

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".

Constant Value: 4 (0x00000004)

Theme_textAppearanceButton

public static final int Theme_textAppearanceButton

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".

Constant Value: 95 (0x0000005f)

Theme_textAppearanceInverse

public static final int Theme_textAppearanceInverse

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".

Constant Value: 5 (0x00000005)

Theme_textAppearanceLarge

public static final int Theme_textAppearanceLarge

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".

Constant Value: 16 (0x00000010)

Theme_textAppearanceLargeInverse

public static final int Theme_textAppearanceLargeInverse

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".

Constant Value: 19 (0x00000013)

Theme_textAppearanceLargePopupMenu

public static final int Theme_textAppearanceLargePopupMenu

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".

Constant Value: 149 (0x00000095)

Theme_textAppearanceListItem

public static final int Theme_textAppearanceListItem

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".

Constant Value: 206 (0x000000ce)

Theme_textAppearanceListItemSecondary

public static final int Theme_textAppearanceListItemSecondary

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".

Constant Value: 226 (0x000000e2)

Theme_textAppearanceListItemSmall

public static final int Theme_textAppearanceListItemSmall

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".

Constant Value: 207 (0x000000cf)

Theme_textAppearanceMedium

public static final int Theme_textAppearanceMedium

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".

Constant Value: 17 (0x00000011)

Theme_textAppearanceMediumInverse

public static final int Theme_textAppearanceMediumInverse

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".

Constant Value: 20 (0x00000014)

Theme_textAppearancePopupMenuHeader

public static final int Theme_textAppearancePopupMenuHeader

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".

Constant Value: 267 (0x0000010b)

Theme_textAppearanceSearchResultSubtitle

public static final int Theme_textAppearanceSearchResultSubtitle

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".

Constant Value: 115 (0x00000073)

Theme_textAppearanceSearchResultTitle

public static final int Theme_textAppearanceSearchResultTitle

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".

Constant Value: 116 (0x00000074)

Theme_textAppearanceSmall

public static final int Theme_textAppearanceSmall

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".

Constant Value: 18 (0x00000012)

Theme_textAppearanceSmallInverse

public static final int Theme_textAppearanceSmallInverse

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".

Constant Value: 21 (0x00000015)

Theme_textAppearanceSmallPopupMenu

public static final int Theme_textAppearanceSmallPopupMenu

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".

Constant Value: 150 (0x00000096)

Theme_textCheckMark

public static final int Theme_textCheckMark

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".

Constant Value: 22 (0x00000016)

Theme_textCheckMarkInverse

public static final int Theme_textCheckMarkInverse

This symbol is the offset where the R.attr.textCheckMarkInverse attribute's value can be found in the Theme array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 23 (0x00000017)

Theme_textColorAlertDialogListItem

public static final int Theme_textColorAlertDialogListItem

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".

Constant Value: 152 (0x00000098)

Theme_textColorHighlightInverse

public static final int Theme_textColorHighlightInverse

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".

Constant Value: 175 (0x000000af)

Theme_textColorHintInverse

public static final int Theme_textColorHintInverse

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".

Constant Value: 15 (0x0000000f)

Theme_textColorLinkInverse

public static final int Theme_textColorLinkInverse

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".

Constant Value: 176 (0x000000b0)

Theme_textColorPrimary

public static final int Theme_textColorPrimary

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".

Constant Value: 6 (0x00000006)

Theme_textColorPrimaryDisableOnly

public static final int Theme_textColorPrimaryDisableOnly

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".

Constant Value: 7 (0x00000007)

Theme_textColorPrimaryInverse

public static final int Theme_textColorPrimaryInverse

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".

Constant Value: 9 (0x00000009)

Theme_textColorPrimaryInverseDisableOnly

public static final int Theme_textColorPrimaryInverseDisableOnly

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".

Constant Value: 113 (0x00000071)

Theme_textColorPrimaryInverseNoDisable

public static final int Theme_textColorPrimaryInverseNoDisable

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".

Constant Value: 13 (0x0000000d)

Theme_textColorPrimaryNoDisable

public static final int Theme_textColorPrimaryNoDisable

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".

Constant Value: 11 (0x0000000b)

Theme_textColorSecondary

public static final int Theme_textColorSecondary

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".

Constant Value: 8 (0x00000008)

Theme_textColorSecondaryInverse

public static final int Theme_textColorSecondaryInverse

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".

Constant Value: 10 (0x0000000a)

Theme_textColorSecondaryInverseNoDisable

public static final int Theme_textColorSecondaryInverseNoDisable

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".

Constant Value: 14 (0x0000000e)

Theme_textColorSecondaryNoDisable

public static final int Theme_textColorSecondaryNoDisable

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".

Constant Value: 12 (0x0000000c)

Theme_textColorTertiary

public static final int Theme_textColorTertiary

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".

Constant Value: 100 (0x00000064)

Theme_textColorTertiaryInverse

public static final int Theme_textColorTertiaryInverse

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".

Constant Value: 101 (0x00000065)

Theme_textEditNoPasteWindowLayout

public static final int Theme_textEditNoPasteWindowLayout

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".

Constant Value: 162 (0x000000a2)

Theme_textEditPasteWindowLayout

public static final int Theme_textEditPasteWindowLayout

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".

Constant Value: 161 (0x000000a1)

Theme_textEditSideNoPasteWindowLayout

public static final int Theme_textEditSideNoPasteWindowLayout

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".

Constant Value: 186 (0x000000ba)

Theme_textEditSidePasteWindowLayout

public static final int Theme_textEditSidePasteWindowLayout

Used instead of textEditPasteWindowLayout when the window is moved on the side of the insertion cursor because it would be clipped if it were positioned on top.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 185 (0x000000b9)

Theme_textEditSuggestionItemLayout

public static final int Theme_textEditSuggestionItemLayout

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".

Constant Value: 191 (0x000000bf)

Theme_textSelectHandle

public static final int Theme_textSelectHandle

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".

Constant Value: 128 (0x00000080)

Theme_textSelectHandleLeft

public static final int Theme_textSelectHandleLeft

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".

Constant Value: 126 (0x0000007e)

Theme_textSelectHandleRight

public static final int Theme_textSelectHandleRight

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".

Constant Value: 127 (0x0000007f)

Theme_textSelectHandleWindowStyle

public static final int Theme_textSelectHandleWindowStyle

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".

Constant Value: 129 (0x00000081)

Theme_textSuggestionsWindowStyle

public static final int Theme_textSuggestionsWindowStyle

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".

Constant Value: 190 (0x000000be)

Theme_textViewStyle

public static final int Theme_textViewStyle

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".

Constant Value: 76 (0x0000004c)

Theme_timePickerDialogTheme

public static final int Theme_timePickerDialogTheme

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".

Constant Value: 250 (0x000000fa)

Theme_timePickerStyle

public static final int Theme_timePickerStyle

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".

Constant Value: 249 (0x000000f9)

Theme_toolbarStyle

public static final int Theme_toolbarStyle

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".

Constant Value: 251 (0x000000fb)

Theme_webTextViewStyle

public static final int Theme_webTextViewStyle

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".

Constant Value: 125 (0x0000007d)

Theme_webViewStyle

public static final int Theme_webViewStyle

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".

Constant Value: 77 (0x0000004d)

Theme_windowActionBar

public static final int Theme_windowActionBar

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".

Constant Value: 130 (0x00000082)

Theme_windowActionBarOverlay

public static final int Theme_windowActionBarOverlay

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".

Constant Value: 138 (0x0000008a)

Theme_windowActionModeOverlay

public static final int Theme_windowActionModeOverlay

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".

Constant Value: 137 (0x00000089)

Theme_windowActivityTransitions

public static final int Theme_windowActivityTransitions

Flag indicating whether this window allows Activity Transitions. Corresponds to Window.FEATURE_ACTIVITY_TRANSITIONS.

May be a boolean value, such as "true" or "false".

Constant Value: 260 (0x00000104)

Theme_windowAllowEnterTransitionOverlap

public static final int Theme_windowAllowEnterTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. Corresponds to Window.setAllowEnterTransitionOverlap(boolean). The default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 235 (0x000000eb)

Theme_windowAllowReturnTransitionOverlap

public static final int Theme_windowAllowReturnTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. Corresponds to Window.setAllowReturnTransitionOverlap(boolean). The default value is true.

May be a boolean value, such as "true" or "false".

Constant Value: 234 (0x000000ea)

Theme_windowAnimationStyle

public static final int Theme_windowAnimationStyle

Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 93 (0x0000005d)

Theme_windowBackground

public static final int Theme_windowBackground

Drawable to use as the overall window background. As of Build.VERSION_CODES.HONEYCOMB, this may be a selector that uses state_accelerated to pick a non-solid color when running on devices that can draw such a bitmap with complex compositing on top at 60fps.

There are a few special considerations to use when setting this drawable:

  • This information will be used to infer the pixel format for your window's surface. If the drawable has any non-opaque pixels, your window will be translucent (32 bpp).
  • If you want to draw the entire background yourself, you should set this drawable to some solid color that closely matches that background (so the system's preview of your window will match), and then in code manually set your window's background to null so it will not be drawn.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 36 (0x00000024)

Theme_windowBackgroundBlurRadius

public static final int Theme_windowBackgroundBlurRadius

Blur the screen behind the window with the bounds of the window. The radius defines the size of the neighbouring area, from which pixels will be averaged to form the final color for each pixel in the region. A radius of 0 means no blur. The higher the radius, the denser the blur. Corresponds to Window.setBackgroundBlurRadius(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).

Constant Value: 282 (0x0000011a)

Theme_windowBackgroundFallback

public static final int Theme_windowBackgroundFallback

Drawable to draw selectively within the inset areas when the windowBackground has been set to null. This protects against seeing visual garbage in the surface when the app has not drawn any content into this area. One example is when the user is resizing a window of an activity in multi-window mode.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 268 (0x0000010c)

Theme_windowBlurBehindEnabled

public static final int Theme_windowBlurBehindEnabled

If set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.

May be a boolean value, such as "true" or "false".

Constant Value: 281 (0x00000119)

Theme_windowBlurBehindRadius

public static final int Theme_windowBlurBehindRadius

When windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window. The range is from 0, which means no blur, to 150.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 280 (0x00000118)

Theme_windowCloseOnTouchOutside

public static final int Theme_windowCloseOnTouchOutside

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 Build.VERSION_CODES.HONEYCOMB or later.

May be a boolean value, such as "true" or "false".

Constant Value: 182 (0x000000b6)

Theme_windowContentOverlay

public static final int Theme_windowContentOverlay

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".

Constant Value: 41 (0x00000029)

Theme_windowContentTransitionManager

public static final int Theme_windowContentTransitionManager

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".

Constant Value: 220 (0x000000dc)

Theme_windowContentTransitions

public static final int Theme_windowContentTransitions

Flag indicating whether this window requests that content changes be performed as scene changes with transitions. Corresponds to Window.FEATURE_CONTENT_TRANSITIONS.

May be a boolean value, such as "true" or "false".

Constant Value: 219 (0x000000db)

Theme_windowDisablePreview

public static final int Theme_windowDisablePreview

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".

Constant Value: 107 (0x0000006b)

Theme_windowEnableSplitTouch

public static final int Theme_windowEnableSplitTouch

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".

Constant Value: 163 (0x000000a3)

Theme_windowEnterTransition

public static final int Theme_windowEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. Corresponds to 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".

Constant Value: 230 (0x000000e6)

Theme_windowExitTransition

public static final int Theme_windowExitTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity. Corresponds to 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".

Constant Value: 231 (0x000000e7)

Theme_windowFrame

public static final int Theme_windowFrame

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".

Constant Value: 37 (0x00000025)

Theme_windowFullscreen

public static final int Theme_windowFullscreen

Flag indicating whether this window should fill the entire screen. Corresponds to WindowManager.LayoutParams.FLAG_FULLSCREEN.

May be a boolean value, such as "true" or "false".

Constant Value: 97 (0x00000061)

Theme_windowIsFloating

public static final int Theme_windowIsFloating

Flag indicating whether this is a floating window.

May be a boolean value, such as "true" or "false".

Constant Value: 39 (0x00000027)

Theme_windowIsTranslucent

public static final int Theme_windowIsTranslucent

Flag indicating whether this is a translucent window.

May be a boolean value, such as "true" or "false".

Constant Value: 40 (0x00000028)

Theme_windowNoDisplay

public static final int Theme_windowNoDisplay

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".

Constant Value: 105 (0x00000069)

Theme_windowNoTitle

public static final int Theme_windowNoTitle

Flag indicating whether there should be no title on this window.

May be a boolean value, such as "true" or "false".

Constant Value: 38 (0x00000026)

Theme_windowOverscan

public static final int Theme_windowOverscan

This constant is deprecated.
Overscan areas aren't set by any Android product anymore as of Android 11.

May be a boolean value, such as "true" or "false".

Flag indicating whether this window should extend into overscan region. Corresponds to WindowManager.LayoutParams.FLAG_LAYOUT_IN_OVERSCAN.

Constant Value: 215 (0x000000d7)

Theme_windowReenterTransition

public static final int Theme_windowReenterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity. Corresponds to 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".

Constant Value: 254 (0x000000fe)

Theme_windowReturnTransition

public static final int Theme_windowReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close. Corresponds to 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".

Constant Value: 253 (0x000000fd)

Theme_windowSharedElementEnterTransition

public static final int Theme_windowSharedElementEnterTransition

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 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".

Constant Value: 232 (0x000000e8)

Theme_windowSharedElementExitTransition

public static final int Theme_windowSharedElementExitTransition

Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity. Corresponds to 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".

Constant Value: 233 (0x000000e9)

Theme_windowSharedElementReenterTransition

public static final int Theme_windowSharedElementReenterTransition

Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. Corresponds to 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".

Constant Value: 256 (0x00000100)

Theme_windowSharedElementReturnTransition

public static final int Theme_windowSharedElementReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. Corresponds to 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".

Constant Value: 255 (0x000000ff)

Theme_windowSharedElementsUseOverlay

public static final int Theme_windowSharedElementsUseOverlay

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".

Constant Value: 257 (0x00000101)

Theme_windowShowWallpaper

public static final int Theme_windowShowWallpaper

Flag indicating that this window's background should be the user's current wallpaper. Corresponds to WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER.

May be a boolean value, such as "true" or "false".

Constant Value: 114 (0x00000072)

Theme_windowSoftInputMode

public static final int Theme_windowSoftInputMode

Defines the default soft input state that this window would like when it is displayed. Corresponds to 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).

Constant Value: 108 (0x0000006c)

Theme_windowSwipeToDismiss

public static final int Theme_windowSwipeToDismiss

This constant is deprecated.
Swipe-to-dismiss isn't functional anymore.

May be a boolean value, such as "true" or "false".

Flag to indicate that a window can be swiped away to be dismissed. Corresponds to 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.

Constant Value: 218 (0x000000da)

Theme_windowTitleBackgroundStyle

public static final int Theme_windowTitleBackgroundStyle

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".

Constant Value: 44 (0x0000002c)

Theme_windowTitleSize

public static final int Theme_windowTitleSize

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).

Constant Value: 42 (0x0000002a)

Theme_windowTitleStyle

public static final int Theme_windowTitleStyle

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".

Constant Value: 43 (0x0000002b)

Theme_windowTransitionBackgroundFadeDuration

public static final int Theme_windowTransitionBackgroundFadeDuration

The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition. Corresponds to Window.setTransitionBackgroundFadeDuration(long).

May be an integer value, such as "100".

Constant Value: 240 (0x000000f0)

Theme_windowTranslucentNavigation

public static final int Theme_windowTranslucentNavigation

Flag indicating whether this window requests a translucent navigation bar. Corresponds to WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION.

May be a boolean value, such as "true" or "false".

Constant Value: 217 (0x000000d9)

Theme_windowTranslucentStatus

public static final int Theme_windowTranslucentStatus

Flag indicating whether this window requests a translucent status bar. Corresponds to WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS.

May be a boolean value, such as "true" or "false".

Constant Value: 216 (0x000000d8)

Theme_yesNoPreferenceStyle

public static final int Theme_yesNoPreferenceStyle

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".

Constant Value: 88 (0x00000058)

TimePicker_amPmBackgroundColor

public static final int TimePicker_amPmBackgroundColor

The background color state list for the AM/PM selectors.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 7 (0x00000007)

TimePicker_amPmTextColor

public static final int TimePicker_amPmTextColor

The color for the AM/PM selectors.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 6 (0x00000006)

TimePicker_headerAmPmTextAppearance

public static final int TimePicker_headerAmPmTextAppearance

This constant is deprecated.
Use headerTextColor instead.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

The text appearance for the AM/PM header.

Constant Value: 2 (0x00000002)

TimePicker_headerBackground

public static final int TimePicker_headerBackground

The background for the header containing the currently selected time.

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".

Constant Value: 0 (0x00000000)

TimePicker_headerTimeTextAppearance

public static final int TimePicker_headerTimeTextAppearance

This constant is deprecated.
Use headerTextColor instead.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

The text appearance for the time header.

Constant Value: 1 (0x00000001)

TimePicker_numbersBackgroundColor

public static final int TimePicker_numbersBackgroundColor

The background color for the hours/minutes numbers.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 4 (0x00000004)

TimePicker_numbersInnerTextColor

public static final int TimePicker_numbersInnerTextColor

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".

Constant Value: 9 (0x00000009)

TimePicker_numbersSelectorColor

public static final int TimePicker_numbersSelectorColor

The color for the hours/minutes selector.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 5 (0x00000005)

TimePicker_numbersTextColor

public static final int TimePicker_numbersTextColor

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".

Constant Value: 3 (0x00000003)

TimePicker_timePickerMode

public static final int TimePicker_timePickerMode

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.

Constant Value: 8 (0x00000008)

ToggleButton_disabledAlpha

public static final int ToggleButton_disabledAlpha

The alpha to apply to the indicator when disabled.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

ToggleButton_textOff

public static final int ToggleButton_textOff

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;

Constant Value: 2 (0x00000002)

ToggleButton_textOn

public static final int ToggleButton_textOn

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;

Constant Value: 1 (0x00000001)

Toolbar_LayoutParams_layout_gravity

public static final int Toolbar_LayoutParams_layout_gravity

Standard gravity constant that a child supplies to its parent. Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout.

Must be one or more (separated by '|') of the following constant values.

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.

Constant Value: 0 (0x00000000)

Toolbar_buttonGravity

public static final int Toolbar_buttonGravity

This symbol is the offset where the R.attr.buttonGravity attribute's value can be found in the Toolbar array.

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.

Constant Value: 23 (0x00000017)

Toolbar_collapseContentDescription

public static final int Toolbar_collapseContentDescription

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;

Constant Value: 13 (0x0000000d)

Toolbar_collapseIcon

public static final int Toolbar_collapseIcon

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".

Constant Value: 24 (0x00000018)

Toolbar_contentInsetEnd

public static final int Toolbar_contentInsetEnd

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).

Constant Value: 7 (0x00000007)

Toolbar_contentInsetEndWithActions

public static final int Toolbar_contentInsetEndWithActions

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).

Constant Value: 26 (0x0000001a)

Toolbar_contentInsetLeft

public static final int Toolbar_contentInsetLeft

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).

Constant Value: 8 (0x00000008)

Toolbar_contentInsetRight

public static final int Toolbar_contentInsetRight

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).

Constant Value: 9 (0x00000009)

Toolbar_contentInsetStart

public static final int Toolbar_contentInsetStart

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).

Constant Value: 6 (0x00000006)

Toolbar_contentInsetStartWithNavigation

public static final int Toolbar_contentInsetStartWithNavigation

Minimum inset for content views within a bar when a navigation button is present, such as the Up button. Only valid for some themes and configurations.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 25 (0x00000019)

Toolbar_gravity

public static final int Toolbar_gravity

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
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.

Constant Value: 0 (0x00000000)

public static final int Toolbar_logo

Drawable to set as the logo that appears at the starting side of the Toolbar, just after the navigation button.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

Toolbar_logoDescription

public static final int Toolbar_logoDescription

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;

Constant Value: 16 (0x00000010)

Toolbar_maxButtonHeight

public static final int Toolbar_maxButtonHeight

This symbol is the offset where the R.attr.maxButtonHeight attribute's value can be found in the Toolbar array.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 22 (0x00000016)

Toolbar_navigationContentDescription

public static final int Toolbar_navigationContentDescription

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;

Constant Value: 12 (0x0000000c)

Toolbar_navigationIcon

public static final int Toolbar_navigationIcon

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".

Constant Value: 11 (0x0000000b)

Toolbar_popupTheme

public static final int Toolbar_popupTheme

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".

Constant Value: 10 (0x0000000a)

Toolbar_subtitle

public static final int Toolbar_subtitle

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;

Constant Value: 3 (0x00000003)

Toolbar_subtitleTextAppearance

public static final int Toolbar_subtitleTextAppearance

This symbol is the offset where the R.attr.subtitleTextAppearance attribute's value can be found in the Toolbar array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 5 (0x00000005)

Toolbar_subtitleTextColor

public static final int Toolbar_subtitleTextColor

A color to apply to the subtitle string.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 15 (0x0000000f)

Toolbar_title

public static final int Toolbar_title

The title associated with the item.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

Toolbar_titleMargin

public static final int Toolbar_titleMargin

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).

Constant Value: 17 (0x00000011)

Toolbar_titleMarginBottom

public static final int Toolbar_titleMarginBottom

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).

Constant Value: 21 (0x00000015)

Toolbar_titleMarginEnd

public static final int Toolbar_titleMarginEnd

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).

Constant Value: 19 (0x00000013)

Toolbar_titleMarginStart

public static final int Toolbar_titleMarginStart

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).

Constant Value: 18 (0x00000012)

Toolbar_titleMarginTop

public static final int Toolbar_titleMarginTop

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).

Constant Value: 20 (0x00000014)

Toolbar_titleTextAppearance

public static final int Toolbar_titleTextAppearance

This symbol is the offset where the R.attr.titleTextAppearance attribute's value can be found in the Toolbar array.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 4 (0x00000004)

Toolbar_titleTextColor

public static final int Toolbar_titleTextColor

A color to apply to the title string.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 14 (0x0000000e)

TransitionManager_fromScene

public static final int TransitionManager_fromScene

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".

Constant Value: 0 (0x00000000)

TransitionManager_toScene

public static final int TransitionManager_toScene

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".

Constant Value: 1 (0x00000001)

TransitionManager_transition

public static final int TransitionManager_transition

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".

Constant Value: 2 (0x00000002)

TransitionSet_transitionOrdering

public static final int TransitionSet_transitionOrdering

This symbol is the offset where the R.attr.transitionOrdering attribute's value can be found in the TransitionSet array.

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.

Constant Value: 0 (0x00000000)

TransitionTarget_excludeClass

public static final int TransitionTarget_excludeClass

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;

Constant Value: 3 (0x00000003)

TransitionTarget_excludeId

public static final int TransitionTarget_excludeId

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".

Constant Value: 2 (0x00000002)

TransitionTarget_excludeName

public static final int TransitionTarget_excludeName

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;

Constant Value: 5 (0x00000005)

TransitionTarget_targetClass

public static final int TransitionTarget_targetClass

The fully-qualified name of the Class to include in this transition.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

TransitionTarget_targetId

public static final int TransitionTarget_targetId

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".

Constant Value: 1 (0x00000001)

TransitionTarget_targetName

public static final int TransitionTarget_targetName

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;

Constant Value: 4 (0x00000004)

Transition_duration

public static final int Transition_duration

Amount of time (in milliseconds) that the transition should run.

May be an integer value, such as "100".

Constant Value: 1 (0x00000001)

Transition_interpolator

public static final int Transition_interpolator

Interpolator to be used in the animations spawned by 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".

Constant Value: 0 (0x00000000)

Transition_matchOrder

public static final int Transition_matchOrder

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 Transition.MATCH_ID, Transition.MATCH_ITEM_ID, Transition.MATCH_NAME, and Transition.MATCH_INSTANCE, respectively. This corresponds to Transition.setMatchOrder(int).

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 3 (0x00000003)

Transition_startDelay

public static final int Transition_startDelay

Delay in milliseconds before the transition starts.

May be an integer value, such as "100".

Constant Value: 2 (0x00000002)

TranslateAnimation_fromXDelta

public static final int TranslateAnimation_fromXDelta

This symbol is the offset where the R.attr.fromXDelta attribute's value can be found in the TranslateAnimation array.

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.

Constant Value: 0 (0x00000000)

TranslateAnimation_fromYDelta

public static final int TranslateAnimation_fromYDelta

This symbol is the offset where the R.attr.fromYDelta attribute's value can be found in the TranslateAnimation array.

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.

Constant Value: 2 (0x00000002)

TranslateAnimation_toXDelta

public static final int TranslateAnimation_toXDelta

This symbol is the offset where the R.attr.toXDelta attribute's value can be found in the TranslateAnimation array.

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.

Constant Value: 1 (0x00000001)

TranslateAnimation_toYDelta

public static final int TranslateAnimation_toYDelta

This symbol is the offset where the R.attr.toYDelta attribute's value can be found in the TranslateAnimation array.

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.

Constant Value: 3 (0x00000003)

TranslationService_settingsActivity

public static final int TranslationService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

TvAdService_adServiceTypes

public static final int TvAdService_adServiceTypes

The advertisement types that the TV ad service supports. Reference to a string array resource that describes the supported types, e.g. linear, overlay.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

TvInputService_canPauseRecording

public static final int TvInputService_canPauseRecording

Attribute whether the TV input service can pause recording programs. This value can be changed at runtime by calling TvInputManager.updateTvInputInfo(android.media.tv.TvInputInfo) .

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

TvInputService_canRecord

public static final int TvInputService_canRecord

Attribute whether the TV input service can record programs. This value can be changed at runtime by calling TvInputManager.updateTvInputInfo(android.media.tv.TvInputInfo).

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

TvInputService_settingsActivity

public static final int TvInputService_settingsActivity

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;

Constant Value: 0 (0x00000000)

TvInputService_setupActivity

public static final int TvInputService_setupActivity

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;

Constant Value: 1 (0x00000001)

TvInputService_tunerCount

public static final int TvInputService_tunerCount

The number of tuners that the TV input service is associated with. This value can be changed at runtime by calling TvInputManager.updateTvInputInfo(android.media.tv.TvInputInfo).

May be an integer value, such as "100".

Constant Value: 3 (0x00000003)

TvInteractiveAppService_supportedTypes

public static final int TvInteractiveAppService_supportedTypes

The interactive app types that the TV interactive app service supports. Reference to a string array resource that describes the supported types, e.g. HbbTv, Ginga.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

TwoLineListItem_mode

public static final int TwoLineListItem_mode

This symbol is the offset where the R.attr.mode attribute's value can be found in the TwoLineListItem array.

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.

Constant Value: 0 (0x00000000)

VectorDrawableClipPath_name

public static final int VectorDrawableClipPath_name

The Name of this path.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

VectorDrawableClipPath_pathData

public static final int VectorDrawableClipPath_pathData

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;

Constant Value: 1 (0x00000001)

VectorDrawableGroup_name

public static final int VectorDrawableGroup_name

The name of this group.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

VectorDrawableGroup_pivotX

public static final int VectorDrawableGroup_pivotX

The X coordinate of the center of rotation of a group.

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.

Constant Value: 1 (0x00000001)

VectorDrawableGroup_pivotY

public static final int VectorDrawableGroup_pivotY

The Y coordinate of the center of rotation of a group.

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.

Constant Value: 2 (0x00000002)

VectorDrawableGroup_rotation

public static final int VectorDrawableGroup_rotation

The amount to rotate the group.

May be a floating point value, such as "1.2".

Constant Value: 5 (0x00000005)

VectorDrawableGroup_scaleX

public static final int VectorDrawableGroup_scaleX

The amount to scale the group on X coordinate.

May be a floating point value, such as "1.2".

Constant Value: 3 (0x00000003)

VectorDrawableGroup_scaleY

public static final int VectorDrawableGroup_scaleY

The amount to scale the group on X coordinate.

May be a floating point value, such as "1.2".

Constant Value: 4 (0x00000004)

VectorDrawableGroup_translateX

public static final int VectorDrawableGroup_translateX

The amount to translate the group on X coordinate.

May be a floating point value, such as "1.2".

Constant Value: 6 (0x00000006)

VectorDrawableGroup_translateY

public static final int VectorDrawableGroup_translateY

The amount to translate the group on Y coordinate.

May be a floating point value, such as "1.2".

Constant Value: 7 (0x00000007)

VectorDrawablePath_fillAlpha

public static final int VectorDrawablePath_fillAlpha

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".

Constant Value: 12 (0x0000000c)

VectorDrawablePath_fillColor

public static final int VectorDrawablePath_fillColor

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".

Constant Value: 1 (0x00000001)

VectorDrawablePath_fillType

public static final int VectorDrawablePath_fillType

sets the fillType for a path. It is the same as SVG's "fill-rule" properties. For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty.

Must be one of the following constant values.

ConstantValueDescription
evenOdd1
nonZero0

Constant Value: 13 (0x0000000d)

VectorDrawablePath_name

public static final int VectorDrawablePath_name

The name of this path.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

VectorDrawablePath_pathData

public static final int VectorDrawablePath_pathData

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;

Constant Value: 2 (0x00000002)

VectorDrawablePath_strokeAlpha

public static final int VectorDrawablePath_strokeAlpha

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".

Constant Value: 11 (0x0000000b)

VectorDrawablePath_strokeColor

public static final int VectorDrawablePath_strokeColor

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".

Constant Value: 3 (0x00000003)

VectorDrawablePath_strokeLineCap

public static final int VectorDrawablePath_strokeLineCap

sets the linecap for a stroked path.

Must be one of the following constant values.

ConstantValueDescription
butt0
round1
square2

Constant Value: 8 (0x00000008)

VectorDrawablePath_strokeLineJoin

public static final int VectorDrawablePath_strokeLineJoin

sets the lineJoin for a stroked path.

Must be one of the following constant values.

ConstantValueDescription
bevel2
miter0
round1

Constant Value: 9 (0x00000009)

VectorDrawablePath_strokeMiterLimit

public static final int VectorDrawablePath_strokeMiterLimit

sets the Miter limit for a stroked path.

May be a floating point value, such as "1.2".

Constant Value: 10 (0x0000000a)

VectorDrawablePath_strokeWidth

public static final int VectorDrawablePath_strokeWidth

The width a path stroke.

May be a floating point value, such as "1.2".

Constant Value: 4 (0x00000004)

VectorDrawablePath_trimPathEnd

public static final int VectorDrawablePath_trimPathEnd

The fraction of the path to trim from the end from 0 to 1 .

May be a floating point value, such as "1.2".

Constant Value: 6 (0x00000006)

VectorDrawablePath_trimPathOffset

public static final int VectorDrawablePath_trimPathOffset

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".

Constant Value: 7 (0x00000007)

VectorDrawablePath_trimPathStart

public static final int VectorDrawablePath_trimPathStart

The fraction of the path to trim from the start from 0 to 1.

May be a floating point value, such as "1.2".

Constant Value: 5 (0x00000005)

VectorDrawable_alpha

public static final int VectorDrawable_alpha

The opacity of the whole vector drawable, as a value between 0 (completely transparent) and 1 (completely opaque).

May be a floating point value, such as "1.2".

Constant Value: 4 (0x00000004)

VectorDrawable_autoMirrored

public static final int VectorDrawable_autoMirrored

Indicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

VectorDrawable_height

public static final int VectorDrawable_height

The intrinsic height of the Vector Drawable.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 2 (0x00000002)

VectorDrawable_name

public static final int VectorDrawable_name

The name of this vector drawable.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

VectorDrawable_opticalInsetBottom

public static final int VectorDrawable_opticalInsetBottom

Bottom optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 12 (0x0000000c)

VectorDrawable_opticalInsetLeft

public static final int VectorDrawable_opticalInsetLeft

Left optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 9 (0x00000009)

VectorDrawable_opticalInsetRight

public static final int VectorDrawable_opticalInsetRight

Right optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 11 (0x0000000b)

VectorDrawable_opticalInsetTop

public static final int VectorDrawable_opticalInsetTop

Top optical inset.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 10 (0x0000000a)

VectorDrawable_tint

public static final int VectorDrawable_tint

If set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May be a color state list.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

VectorDrawable_tintMode

public static final int VectorDrawable_tintMode

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\u2019s 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\u2019s 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]

Constant Value: 6 (0x00000006)

VectorDrawable_viewportHeight

public static final int VectorDrawable_viewportHeight

The height of the canvas the drawing is on.

May be a floating point value, such as "1.2".

Constant Value: 8 (0x00000008)

VectorDrawable_viewportWidth

public static final int VectorDrawable_viewportWidth

The width of the canvas the drawing is on.

May be a floating point value, such as "1.2".

Constant Value: 7 (0x00000007)

VectorDrawable_width

public static final int VectorDrawable_width

The intrinsic width of the Vector Drawable.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 3 (0x00000003)

VerticalSlider_Layout_layout_scale

public static final int VerticalSlider_Layout_layout_scale

This symbol is the offset where the R.attr.layout_scale attribute's value can be found in the VerticalSlider_Layout array.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

ViewAnimator_animateFirstView

public static final int ViewAnimator_animateFirstView

Defines whether to animate the current View when the ViewAnimation is first displayed.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

ViewAnimator_inAnimation

public static final int ViewAnimator_inAnimation

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".

Constant Value: 0 (0x00000000)

ViewAnimator_outAnimation

public static final int ViewAnimator_outAnimation

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".

Constant Value: 1 (0x00000001)

ViewDrawableStates_state_accelerated

public static final int ViewDrawableStates_state_accelerated

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".

Constant Value: 6 (0x00000006)

ViewDrawableStates_state_activated

public static final int ViewDrawableStates_state_activated

State value for StateListDrawable, set when a view or its parent has been "activated" meaning the user has currently marked it as being of interest. 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".

Constant Value: 5 (0x00000005)

ViewDrawableStates_state_drag_can_accept

public static final int ViewDrawableStates_state_drag_can_accept

State for StateListDrawable indicating that the Drawable is in a view that is capable of accepting a drop of the content currently being manipulated in a drag-and-drop operation.

May be a boolean value, such as "true" or "false".

Constant Value: 8 (0x00000008)

ViewDrawableStates_state_drag_hovered

public static final int ViewDrawableStates_state_drag_hovered

State for StateListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipient) is currently positioned over the Drawable.

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

ViewDrawableStates_state_enabled

public static final int ViewDrawableStates_state_enabled

State value for StateListDrawable, set when a view is enabled.

May be a boolean value, such as "true" or "false".

Constant Value: 2 (0x00000002)

ViewDrawableStates_state_focused

public static final int ViewDrawableStates_state_focused

State value for StateListDrawable, set when a view has input focus.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ViewDrawableStates_state_hovered

public static final int ViewDrawableStates_state_hovered

State value for StateListDrawable, set when a pointer is hovering over the view.

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

ViewDrawableStates_state_pressed

public static final int ViewDrawableStates_state_pressed

State value for StateListDrawable, set when the user is pressing down in a view.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

ViewDrawableStates_state_selected

public static final int ViewDrawableStates_state_selected

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".

Constant Value: 3 (0x00000003)

ViewDrawableStates_state_window_focused

public static final int ViewDrawableStates_state_window_focused

State value for StateListDrawable, set when a view's window has input focus.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

ViewFlipper_autoStart

public static final int ViewFlipper_autoStart

When true, automatically start animating.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

ViewFlipper_flipInterval

public static final int ViewFlipper_flipInterval

This symbol is the offset where the R.attr.flipInterval attribute's value can be found in the ViewFlipper array.

May be an integer value, such as "100".

Constant Value: 0 (0x00000000)

ViewGroup_Layout_layout_height

public static final int ViewGroup_Layout_layout_height

Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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).

Constant Value: 1 (0x00000001)

ViewGroup_Layout_layout_width

public static final int ViewGroup_Layout_layout_width

Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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).

Constant Value: 0 (0x00000000)

ViewGroup_MarginLayout_layout_height

public static final int ViewGroup_MarginLayout_layout_height

Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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).

Constant Value: 1 (0x00000001)

ViewGroup_MarginLayout_layout_margin

public static final int ViewGroup_MarginLayout_layout_margin

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).

Constant Value: 2 (0x00000002)

ViewGroup_MarginLayout_layout_marginBottom

public static final int ViewGroup_MarginLayout_layout_marginBottom

Specifies extra space on the bottom side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 6 (0x00000006)

ViewGroup_MarginLayout_layout_marginEnd

public static final int ViewGroup_MarginLayout_layout_marginEnd

Specifies extra space on the end side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 8 (0x00000008)

ViewGroup_MarginLayout_layout_marginHorizontal

public static final int ViewGroup_MarginLayout_layout_marginHorizontal

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).

Constant Value: 9 (0x00000009)

ViewGroup_MarginLayout_layout_marginLeft

public static final int ViewGroup_MarginLayout_layout_marginLeft

Specifies extra space on the left side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 3 (0x00000003)

ViewGroup_MarginLayout_layout_marginRight

public static final int ViewGroup_MarginLayout_layout_marginRight

Specifies extra space on the right side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 5 (0x00000005)

ViewGroup_MarginLayout_layout_marginStart

public static final int ViewGroup_MarginLayout_layout_marginStart

Specifies extra space on the start side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 7 (0x00000007)

ViewGroup_MarginLayout_layout_marginTop

public static final int ViewGroup_MarginLayout_layout_marginTop

Specifies extra space on the top side of this view. This space is outside this view's bounds. Margin values should be positive.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 4 (0x00000004)

ViewGroup_MarginLayout_layout_marginVertical

public static final int ViewGroup_MarginLayout_layout_marginVertical

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).

Constant Value: 10 (0x0000000a)

ViewGroup_MarginLayout_layout_width

public static final int ViewGroup_MarginLayout_layout_width

Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), 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).

Constant Value: 0 (0x00000000)

ViewGroup_addStatesFromChildren

public static final int ViewGroup_addStatesFromChildren

Sets whether this ViewGroup's drawable states also include its children's drawable states. This is used, for example, to make a group appear to be focused when its child EditText or button is focused.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

ViewGroup_alwaysDrawnWithCache

public static final int ViewGroup_alwaysDrawnWithCache

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".

Constant Value: 5 (0x00000005)

ViewGroup_animateLayoutChanges

public static final int ViewGroup_animateLayoutChanges

Defines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run. When this flag is set to true, a default LayoutTransition object will be set on the ViewGroup container and default animations will run when these layout changes occur.

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

ViewGroup_animationCache

public static final int ViewGroup_animationCache

Defines whether layout animations should create a drawing cache for their children. Enabling the animation cache consumes more memory and requires a longer initialization but provides better performance. The animation cache is enabled by default.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

ViewGroup_clipChildren

public static final int ViewGroup_clipChildren

Defines whether a child is limited to draw inside of its bounds or not. This is useful with animations that scale the size of the children to more than 100% for instance. In such a case, this property should be set to false to allow the children to draw outside of their bounds. The default value of this property is true.

May be a boolean value, such as "true" or "false".

Constant Value: 0 (0x00000000)

ViewGroup_clipToPadding

public static final int ViewGroup_clipToPadding

Defines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero. This property is set to true by default.

May be a boolean value, such as "true" or "false".

Constant Value: 1 (0x00000001)

ViewGroup_descendantFocusability

public static final int ViewGroup_descendantFocusability

Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.

Must be one of the following constant values.

ConstantValueDescription
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.

Constant Value: 7 (0x00000007)

ViewGroup_layoutAnimation

public static final int ViewGroup_layoutAnimation

Defines the layout animation to use the first time the ViewGroup is laid out. Layout animations can also be started manually after the first layout.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 2 (0x00000002)

ViewGroup_layoutMode

public static final int ViewGroup_layoutMode

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.

Constant Value: 10 (0x0000000a)

ViewGroup_persistentDrawingCache

public static final int ViewGroup_persistentDrawingCache

Defines the persistence of the drawing cache. The drawing cache might be enabled by a ViewGroup for all its children in specific situations (for instance during a scrolling.) This property lets you persist the cache in memory after its initial usage. Persisting the cache consumes more memory but may prevent frequent garbage collection if the cache is created over and over again. By default the persistence is set to scrolling. Deprecated: The view drawing cache was largely made obsolete with the introduction of hardware-accelerated rendering in API 11.

Must be one or more (separated by '|') of the following constant values.

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.

Constant Value: 4 (0x00000004)

ViewGroup_splitMotionEvents

public static final int ViewGroup_splitMotionEvents

Sets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch. If false (default prior to HONEYCOMB), touch events will be dispatched to the child view where the first pointer went down until the last pointer goes up. If true (default for HONEYCOMB and later), touch events may be dispatched to multiple children. MotionEvents for each pointer will be dispatched to the child view where the initial ACTION_DOWN event happened. See ViewGroup.setMotionEventSplittingEnabled(boolean) for more information.

May be a boolean value, such as "true" or "false".

Constant Value: 8 (0x00000008)

ViewGroup_touchscreenBlocksFocus

public static final int ViewGroup_touchscreenBlocksFocus

Set to true if this ViewGroup blocks focus in the presence of a touchscreen.

May be a boolean value, such as "true" or "false".

Constant Value: 12 (0x0000000c)

ViewGroup_transitionGroup

public static final int ViewGroup_transitionGroup

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 ActivityOptions.makeSceneTransitionAnimation(android.app.Activity, android.view.View, String) for more information. Corresponds to ViewGroup.setTransitionGroup(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

ViewStub_id

public static final int ViewStub_id

Supply an identifier name for this view.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

ViewStub_inflatedId

public static final int ViewStub_inflatedId

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".

Constant Value: 2 (0x00000002)

ViewStub_layout

public static final int ViewStub_layout

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

ViewTag_id

public static final int ViewTag_id

Specifies the key identifying a tag. This must be a resource reference.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 1 (0x00000001)

ViewTag_value

public static final int ViewTag_value

Specifies the value with which to tag the view.

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".

Constant Value: 0 (0x00000000)

View_accessibilityDataSensitive

public static final int View_accessibilityDataSensitive

Describes whether this view should allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.

May be an integer value, such as "100".

Must be one of the following constant values.

ConstantValueDescription
auto0The system determines whether the view's accessibility data is sensitive - default (recommended).
no2Allow interactions from all AccessibilityServices, regardless of their isAccessibilityTool property.
yes1Allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.

Constant Value: 112 (0x00000070)

View_accessibilityHeading

public static final int View_accessibilityHeading

Whether or not this view is a heading for accessibility purposes.

May be a boolean value, such as "true" or "false".

Constant Value: 99 (0x00000063)

View_accessibilityLiveRegion

public static final int View_accessibilityLiveRegion

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.

Constant Value: 71 (0x00000047)

View_accessibilityPaneTitle

public static final int View_accessibilityPaneTitle

The title this view should present to accessibility as a pane title. See View.setAccessibilityPaneTitle(CharSequence)

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 98 (0x00000062)

View_accessibilityTraversalAfter

public static final int View_accessibilityTraversalAfter

Sets the id of a view that screen readers are requested to visit before this view. Requests that a screen-reader visits the content of the other view before the content of this one. This does nothing if either view is not important for accessibility.

May be an integer value, such as "100".

Constant Value: 83 (0x00000053)

View_accessibilityTraversalBefore

public static final int View_accessibilityTraversalBefore

Sets the id of a view that screen readers are requested to visit after this view. Requests that a screen-reader visits the content of this view before the content of the one it precedes. This does nothing if either view is not important for accessibility.

May be an integer value, such as "100".

Constant Value: 82 (0x00000052)

View_allowClickWhenDisabled

public static final int View_allowClickWhenDisabled

Whether or not allow clicks on disabled view.

May be a boolean value, such as "true" or "false".

Constant Value: 104 (0x00000068)

View_alpha

public static final int View_alpha

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".

Constant Value: 50 (0x00000032)

View_autoHandwritingEnabled

public static final int View_autoHandwritingEnabled

Whether or not the auto handwriting initiation is enabled in this View.

For a view with an active InputConnection, if auto handwriting initiation is enabled, stylus movement within its view boundary will automatically trigger the handwriting mode. See View.setAutoHandwritingEnabled(boolean).

The default value of this flag is configurable by the device manufacturer.

May be a boolean value, such as "true" or "false".

Constant Value: 107 (0x0000006b)

View_autofillHints

public static final int View_autofillHints

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;

Constant Value: 94 (0x0000005e)

View_background

public static final int View_background

A drawable to use as the background. This can be either a reference to a full drawable resource (such as a PNG image, 9-patch, XML state list description, etc), or a solid color such as "#ff000000" (black).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 13 (0x0000000d)

View_backgroundTint

public static final int View_backgroundTint

Tint to apply to the background.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 77 (0x0000004d)

View_backgroundTintMode

public static final int View_backgroundTintMode

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\u2019s 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\u2019s 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]

Constant Value: 78 (0x0000004e)

View_clickable

public static final int View_clickable

Defines whether this view reacts to click events.

May be a boolean value, such as "true" or "false".

Constant Value: 30 (0x0000001e)

View_clipToOutline

public static final int View_clipToOutline

Whether the View's Outline should be used to clip the contents of the View.

Only a single non-rectangular clip can be applied on a View at any time. Circular clips from a ViewAnimationUtils.createCircularReveal(View, int, int, float, float) circular reveal animation take priority over Outline clipping, and child Outline clipping takes priority over Outline clipping done by a parent.

Note that this flag will only be respected if the View's Outline returns true from Outline.canClip().

May be a boolean value, such as "true" or "false".

Constant Value: 105 (0x00000069)

View_contentDescription

public static final int View_contentDescription

Defines text that briefly describes content of the view. This property is used primarily for accessibility. Since some views do not have textual representation this attribute can be used for providing such.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 44 (0x0000002c)

View_contentSensitivity

public static final int View_contentSensitivity

Must be one of the following constant values.

ConstantValueDescription
auto0Let the Android System use its heuristics to determine if the view renders sensitive content.
notSensitive2This view doesn't render sensitive content.
sensitive1This view renders sensitive content.

Constant Value: 114 (0x00000072)

View_contextClickable

public static final int View_contextClickable

Defines whether this view reacts to context click events.

May be a boolean value, such as "true" or "false".

Constant Value: 85 (0x00000055)

View_defaultFocusHighlightEnabled

public static final int View_defaultFocusHighlightEnabled

Whether this View should use a default focus highlight when it gets focused but doesn't have R.attr.state_focused defined in its background.

May be a boolean value, such as "true" or "false".

Constant Value: 96 (0x00000060)

View_drawingCacheQuality

public static final int View_drawingCacheQuality

Defines the quality of translucent drawing caches. This property is used only when the drawing cache is enabled and translucent. The default value is auto. 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.

Constant Value: 33 (0x00000021)

View_duplicateParentState

public static final int View_duplicateParentState

When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.

May be a boolean value, such as "true" or "false".

Constant Value: 34 (0x00000022)

View_elevation

public static final int View_elevation

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).

Constant Value: 75 (0x0000004b)

View_fadeScrollbars

public static final int View_fadeScrollbars

Defines whether to fade out scrollbars when they are not in use.

May be a boolean value, such as "true" or "false".

Constant Value: 47 (0x0000002f)

View_fadingEdge

public static final int View_fadingEdge

This attribute is ignored in API level 14 (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.

Constant Value: 24 (0x00000018)

View_fadingEdgeLength

public static final int View_fadingEdgeLength

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).

Constant Value: 25 (0x00000019)

View_filterTouchesWhenObscured

public static final int View_filterTouchesWhenObscured

Specifies whether to filter touches when the view's window is obscured by another visible window. When set to true, the view will not receive touches whenever a toast, dialog or other window appears above the view's window. Refer to the View security documentation for more details.

May be a boolean value, such as "true" or "false".

Constant Value: 49 (0x00000031)

View_fitsSystemWindows

public static final int View_fitsSystemWindows

Boolean internal attribute to adjust view layout based on system windows such as the status bar. If true, adjusts the padding of this view to leave space for the system windows. Will only take effect if this view is in a non-embedded activity.

May be a boolean value, such as "true" or "false".

Constant Value: 22 (0x00000016)

View_focusable

public static final int View_focusable

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 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

Constant Value: 19 (0x00000013)

View_focusableInTouchMode

public static final int View_focusableInTouchMode

Boolean that controls whether a view can take focus while in touch mode. If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.

May be a boolean value, such as "true" or "false".

Constant Value: 20 (0x00000014)

View_focusedByDefault

public static final int View_focusedByDefault

Whether this view is a default-focus view. Only one view per keyboard navigation cluster can have this attribute set to true. See View.setFocusedByDefault(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 93 (0x0000005d)

View_forceDarkAllowed

public static final int View_forceDarkAllowed

Whether or not the force dark feature is allowed to be applied to this View.

Setting this to false will disable the auto-dark feature on this View draws including any descendants.

Setting this to true will allow this view to be automatically made dark, however a value of 'true' will not override any 'false' value in its parent chain nor will it prevent any 'false' in any of its children.

May be a boolean value, such as "true" or "false".

Constant Value: 102 (0x00000066)

View_forceHasOverlappingRendering

public static final int View_forceHasOverlappingRendering

Whether this view has elements that may overlap when drawn. See View.forceHasOverlappingRendering(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 87 (0x00000057)

View_foreground

public static final int View_foreground

Defines the drawable to draw over the content. This can be used as an overlay. The foreground drawable participates in the padding of the content if the gravity is set to fill.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 35 (0x00000023)

View_foregroundGravity

public static final int View_foregroundGravity

Defines the gravity to apply to the foreground drawable. The gravity defaults to fill.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
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.

Constant Value: 38 (0x00000026)

View_foregroundTint

public static final int View_foregroundTint

Tint to apply to the foreground.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 79 (0x0000004f)

View_foregroundTintMode

public static final int View_foregroundTintMode

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\u2019s 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\u2019s 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]

Constant Value: 80 (0x00000050)

View_handwritingBoundsOffsetBottom

public static final int View_handwritingBoundsOffsetBottom

The amount of offset that is applied to the bottom edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See View.setHandwritingBoundsOffsets(float, float, float, float)

The default value is 40dp for TextView and EditText, and 0dp for all other views.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 111 (0x0000006f)

View_handwritingBoundsOffsetLeft

public static final int View_handwritingBoundsOffsetLeft

The amount of offset that is applied to the left edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See View.setHandwritingBoundsOffsets(float, float, float, float)

The default value is 10dp for TextView and EditText, and 0dp for other views.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 108 (0x0000006c)

View_handwritingBoundsOffsetRight

public static final int View_handwritingBoundsOffsetRight

The amount of offset that is applied to the right edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See View.setHandwritingBoundsOffsets(float, float, float, float)

The default value is 10dp for TextView and EditText, and 0dp for other views.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 110 (0x0000006e)

View_handwritingBoundsOffsetTop

public static final int View_handwritingBoundsOffsetTop

The amount of offset that is applied to the top edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

This attribute is mainly used to enlarge the view's handwriting bounds for better user experience. Note that a positive offset means the bounds is extended outwards, and vice versa. See View.setHandwritingBoundsOffsets(float, float, float, float)

The default value is 40dp for TextView and EditText, and 0dp for other views.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 109 (0x0000006d)

View_hapticFeedbackEnabled

public static final int View_hapticFeedbackEnabled

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".

Constant Value: 42 (0x0000002a)

View_id

public static final int View_id

Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById(). This must be a resource reference; typically you set this using the @+ syntax to create a new ID resources. For example: android:id="@+id/my_id" which allows you to later retrieve the view with findViewById(R.id.my_id).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 9 (0x00000009)

View_importantForAccessibility

public static final int View_importantForAccessibility

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.

Constant Value: 64 (0x00000040)

View_importantForAutofill

public static final int View_importantForAutofill

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.

Constant Value: 95 (0x0000005f)

View_importantForContentCapture

public static final int View_importantForContentCapture

Hints the Android System whether the view node associated with this View should be use for content capture purposes.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
auto0Let the Android System use its heuristics to determine if the view is important for content capture.
no2Hint the Android System that this view is *not* important for content capture, but its children (if any) will be traversed..
noExcludeDescendants8Hint the Android System that this view is *not* important for content capture, and its children (if any) will not be traversed.
yes1Hint the Android System that this view is important for content capture, and its children (if any) will be traversed..
yesExcludeDescendants4Hint the Android System that this view is important for content capture, but its children (if any) will not be traversed.

Constant Value: 103 (0x00000067)

View_isCredential

public static final int View_isCredential

Boolean that hints the Android System that the view is credential and associated with CredentialManager

May be a boolean value, such as "true" or "false".

Constant Value: 113 (0x00000071)

View_isScrollContainer

public static final int View_isScrollContainer

Set this if the view will serve as a scrolling container, meaning that it can be resized to shrink its overall window so that there will be space for an input method. If not set, the default value will be true if "scrollbars" has the vertical scrollbar set, else it will be false.

May be a boolean value, such as "true" or "false".

Constant Value: 41 (0x00000029)

View_keepScreenOn

public static final int View_keepScreenOn

Controls whether the view's window should keep the screen on while visible.

May be a boolean value, such as "true" or "false".

Constant Value: 40 (0x00000028)

View_keyboardNavigationCluster

public static final int View_keyboardNavigationCluster

Whether this view is a root of a keyboard navigation cluster. See View.setKeyboardNavigationCluster(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 91 (0x0000005b)

View_labelFor

public static final int View_labelFor

Specifies the id of a view for which this view serves as a label for accessibility purposes. For example, a TextView before an EditText in the UI usually specifies what information is contained in the EditText. Hence, the TextView is a label for the EditText.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 70 (0x00000046)

View_layerType

public static final int View_layerType

Specifies the type of layer backing this view. The default value is none. Refer to View.setLayerType(int, android.graphics.Paint) for more information.

Must be one of the following constant values.

ConstantValueDescription
hardware2Use a hardware layer. Refer to View.setLayerType(int, android.graphics.Paint) for more information.
none0Don't use a layer.
software1Use a software layer. Refer to View.setLayerType(int, android.graphics.Paint) for more information.

Constant Value: 62 (0x0000003e)

View_layoutDirection

public static final int View_layoutDirection

Defines the direction of layout drawing. This typically is associated with writing direction of the language script used. The possible values are "ltr" for Left-to-Right, "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction used in "en-US". The default for this attribute is "inherit".

Must be one of the following constant values.

ConstantValueDescription
inherit2Inherit from parent.
locale3Locale.
ltr0Left-to-Right.
rtl1Right-to-Left.

Constant Value: 67 (0x00000043)

View_longClickable

public static final int View_longClickable

Defines whether this view reacts to long click events.

May be a boolean value, such as "true" or "false".

Constant Value: 31 (0x0000001f)

View_minHeight

public static final int View_minHeight

Defines the minimum height of the view. It is not guaranteed the view will be able to achieve this minimum height (for example, if its parent layout constrains it with less 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).

Constant Value: 37 (0x00000025)

View_minWidth

public static final int View_minWidth

Defines the minimum width of the view. It is not guaranteed the view will be able to achieve this minimum width (for example, if its parent layout constrains it with less 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).

Constant Value: 36 (0x00000024)

View_nestedScrollingEnabled

public static final int View_nestedScrollingEnabled

Specifies that this view should permit nested scrolling within a compatible ancestor view.

May be a boolean value, such as "true" or "false".

Constant Value: 74 (0x0000004a)

View_nextClusterForward

public static final int View_nextClusterForward

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 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".

Constant Value: 92 (0x0000005c)

View_nextFocusDown

public static final int View_nextFocusDown

Defines the next view to give focus to when the next focus is View.FOCUS_DOWN If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 29 (0x0000001d)

View_nextFocusForward

public static final int View_nextFocusForward

Defines the next view to give focus to when the next focus is View.FOCUS_FORWARD If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 61 (0x0000003d)

View_nextFocusLeft

public static final int View_nextFocusLeft

Defines the next view to give focus to when the next focus is View.FOCUS_LEFT. If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 26 (0x0000001a)

View_nextFocusRight

public static final int View_nextFocusRight

Defines the next view to give focus to when the next focus is View.FOCUS_RIGHT If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 27 (0x0000001b)

View_nextFocusUp

public static final int View_nextFocusUp

Defines the next view to give focus to when the next focus is View.FOCUS_UP If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 28 (0x0000001c)

View_onClick

public static final int View_onClick

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;

Constant Value: 43 (0x0000002b)

View_outlineAmbientShadowColor

public static final int View_outlineAmbientShadowColor

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 R.attr.ambientShadowAlpha theme attribute.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 101 (0x00000065)

View_outlineProvider

public static final int View_outlineProvider

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.

Constant Value: 81 (0x00000051)

View_outlineSpotShadowColor

public static final int View_outlineSpotShadowColor

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 R.attr.spotShadowAlpha theme attribute.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 100 (0x00000064)

View_overScrollMode

public static final int View_overScrollMode

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.

Constant Value: 48 (0x00000030)

View_padding

public static final int View_padding

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 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).

Constant Value: 14 (0x0000000e)

View_paddingBottom

public static final int View_paddingBottom

Sets the padding, in pixels, of the bottom edge; see 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).

Constant Value: 18 (0x00000012)

View_paddingEnd

public static final int View_paddingEnd

Sets the padding, in pixels, of the end edge; see 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).

Constant Value: 69 (0x00000045)

View_paddingHorizontal

public static final int View_paddingHorizontal

Sets the padding, in pixels, of the left and right edges; see 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).

Constant Value: 89 (0x00000059)

View_paddingLeft

public static final int View_paddingLeft

Sets the padding, in pixels, of the left edge; see 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).

Constant Value: 15 (0x0000000f)

View_paddingRight

public static final int View_paddingRight

Sets the padding, in pixels, of the right edge; see 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).

Constant Value: 17 (0x00000011)

View_paddingStart

public static final int View_paddingStart

Sets the padding, in pixels, of the start edge; see 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).

Constant Value: 68 (0x00000044)

View_paddingTop

public static final int View_paddingTop

Sets the padding, in pixels, of the top edge; see 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).

Constant Value: 16 (0x00000010)

View_paddingVertical

public static final int View_paddingVertical

Sets the padding, in pixels, of the top and bottom edges; see 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).

Constant Value: 90 (0x0000005a)

View_pointerIcon

public static final int View_pointerIcon

This symbol is the offset where the R.attr.pointerIcon attribute's value can be found in the View array.

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.
handwriting3fePointer icon indicating handwriting.
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.

Constant Value: 86 (0x00000056)

View_preferKeepClear

public static final int View_preferKeepClear

Sets a preference to keep the bounds of this view clear from floating windows above this view's window. This informs the system that the view is considered a vital area for the user and that ideally it should not be covered. Setting this is only appropriate for UI where the user would likely take action to uncover it.

The system will try to respect this, but when not possible will ignore it.

This is equivalent to View.setPreferKeepClear(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 106 (0x0000006a)

View_requiresFadingEdge

public static final int View_requiresFadingEdge

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.

Constant Value: 63 (0x0000003f)

View_rotation

public static final int View_rotation

rotation of the view, in degrees.

May be a floating point value, such as "1.2".

Constant Value: 57 (0x00000039)

View_rotationX

public static final int View_rotationX

rotation of the view around the x axis, in degrees.

May be a floating point value, such as "1.2".

Constant Value: 58 (0x0000003a)

View_rotationY

public static final int View_rotationY

rotation of the view around the y axis, in degrees.

May be a floating point value, such as "1.2".

Constant Value: 59 (0x0000003b)

View_saveEnabled

public static final int View_saveEnabled

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".

Constant Value: 32 (0x00000020)

View_scaleX

public static final int View_scaleX

scale of the view in the x direction.

May be a floating point value, such as "1.2".

Constant Value: 55 (0x00000037)

View_scaleY

public static final int View_scaleY

scale of the view in the y direction.

May be a floating point value, such as "1.2".

Constant Value: 56 (0x00000038)

View_screenReaderFocusable

public static final int View_screenReaderFocusable

Whether this view should be treated as a focusable unit by screen reader accessibility tools. See 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".

Constant Value: 97 (0x00000061)

View_scrollIndicators

public static final int View_scrollIndicators

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.

Constant Value: 84 (0x00000054)

View_scrollX

public static final int View_scrollX

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).

Constant Value: 11 (0x0000000b)

View_scrollY

public static final int View_scrollY

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).

Constant Value: 12 (0x0000000c)

View_scrollbarAlwaysDrawHorizontalTrack

public static final int View_scrollbarAlwaysDrawHorizontalTrack

Defines whether the horizontal scrollbar track should always be drawn.

May be a boolean value, such as "true" or "false".

Constant Value: 6 (0x00000006)

View_scrollbarAlwaysDrawVerticalTrack

public static final int View_scrollbarAlwaysDrawVerticalTrack

Defines whether the vertical scrollbar track should always be drawn.

May be a boolean value, such as "true" or "false".

Constant Value: 7 (0x00000007)

View_scrollbarDefaultDelayBeforeFade

public static final int View_scrollbarDefaultDelayBeforeFade

Defines the delay in milliseconds that a scrollbar waits before fade out.

May be an integer value, such as "100".

Constant Value: 46 (0x0000002e)

View_scrollbarFadeDuration

public static final int View_scrollbarFadeDuration

Defines the delay in milliseconds that a scrollbar takes to fade out.

May be an integer value, such as "100".

Constant Value: 45 (0x0000002d)

View_scrollbarSize

public static final int View_scrollbarSize

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).

Constant Value: 1 (0x00000001)

View_scrollbarStyle

public static final int View_scrollbarStyle

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.

Constant Value: 8 (0x00000008)

View_scrollbarThumbHorizontal

public static final int View_scrollbarThumbHorizontal

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".

Constant Value: 2 (0x00000002)

View_scrollbarThumbVertical

public static final int View_scrollbarThumbVertical

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".

Constant Value: 3 (0x00000003)

View_scrollbarTrackHorizontal

public static final int View_scrollbarTrackHorizontal

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".

Constant Value: 4 (0x00000004)

View_scrollbarTrackVertical

public static final int View_scrollbarTrackVertical

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".

Constant Value: 5 (0x00000005)

View_scrollbars

public static final int View_scrollbars

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.

Constant Value: 23 (0x00000017)

View_soundEffectsEnabled

public static final int View_soundEffectsEnabled

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".

Constant Value: 39 (0x00000027)

View_stateListAnimator

public static final int View_stateListAnimator

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".

Constant Value: 76 (0x0000004c)

View_tag

public static final int View_tag

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;

Constant Value: 10 (0x0000000a)

View_textAlignment

public static final int View_textAlignment

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\u2019s 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\u2019s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise.
viewStart5Align to the start of the view, which is ALIGN_LEFT if the view\u2019s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise.

Constant Value: 66 (0x00000042)

View_textDirection

public static final int View_textDirection

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\u2019s 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\u2019s 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.

Constant Value: 65 (0x00000041)

View_theme

public static final int View_theme

Specifies a theme override for a view. When a theme override is set, the view will be inflated using a Context themed with the specified resource. During XML inflation, any child views under the view with a theme override will inherit the themed context.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

View_tooltipText

public static final int View_tooltipText

Defines text displayed in a small popup window on hover or long press.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 88 (0x00000058)

View_transformPivotX

public static final int View_transformPivotX

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).

Constant Value: 51 (0x00000033)

View_transformPivotY

public static final int View_transformPivotY

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).

Constant Value: 52 (0x00000034)

View_transitionName

public static final int View_transitionName

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;

Constant Value: 73 (0x00000049)

View_translationX

public static final int View_translationX

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).

Constant Value: 53 (0x00000035)

View_translationY

public static final int View_translationY

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).

Constant Value: 54 (0x00000036)

View_translationZ

public static final int View_translationZ

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).

Constant Value: 72 (0x00000048)

View_verticalScrollbarPosition

public static final int View_verticalScrollbarPosition

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.

Constant Value: 60 (0x0000003c)

View_visibility

public static final int View_visibility

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.

Constant Value: 21 (0x00000015)

VisibilityTransition_transitionVisibilityMode

public static final int VisibilityTransition_transitionVisibilityMode

Changes whether the transition supports appearing and/or disappearing Views. Corresponds to 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.

Constant Value: 0 (0x00000000)

VoiceInteractionService_recognitionService

public static final int VoiceInteractionService_recognitionService

The service that provides voice recognition. This is required. On Android 11 and earlier, this must be a valid RecognitionService.

From Android 12 onward, this attribute does nothing. However, we still require it to be set to something to reduce the risk that an app with an unspecified value gets pushed to older platform versions, where it will cause a boot loop. To make sure developers don't miss it, the system will reset the current assistant if this isn't specified.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 2 (0x00000002)

VoiceInteractionService_sessionService

public static final int VoiceInteractionService_sessionService

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;

Constant Value: 1 (0x00000001)

VoiceInteractionService_settingsActivity

public static final int VoiceInteractionService_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 0 (0x00000000)

VoiceInteractionService_supportsAssist

public static final int VoiceInteractionService_supportsAssist

Flag indicating whether this voice interaction service is capable of handling the assist action.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

VoiceInteractionService_supportsLaunchVoiceAssistFromKeyguard

public static final int VoiceInteractionService_supportsLaunchVoiceAssistFromKeyguard

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".

Constant Value: 4 (0x00000004)

VoiceInteractionService_supportsLocalInteraction

public static final int VoiceInteractionService_supportsLocalInteraction

Flag indicating whether this voice interaction service can handle local voice interaction requests from an Activity. This flag is new in Build.VERSION_CODES.N and not used in previous versions.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

VolumePreference_streamType

public static final int VolumePreference_streamType

Different audio stream types.

Must be one of the following constant values.

ConstantValueDescription
alarm4
music3
ring2
system1
voice0

Constant Value: 0 (0x00000000)

WallpaperPreviewInfo_staticWallpaperPreview

public static final int WallpaperPreviewInfo_staticWallpaperPreview

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".

Constant Value: 0 (0x00000000)

Wallpaper_author

public static final int Wallpaper_author

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".

Constant Value: 3 (0x00000003)

Wallpaper_contextDescription

public static final int Wallpaper_contextDescription

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".

Constant Value: 5 (0x00000005)

Wallpaper_contextUri

public static final int Wallpaper_contextUri

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".

Constant Value: 4 (0x00000004)

Wallpaper_description

public static final int Wallpaper_description

Short description of the component's purpose or behavior.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 0 (0x00000000)

Wallpaper_settingsActivity

public static final int Wallpaper_settingsActivity

Fully qualified class name of an activity that allows the user to modify the settings for this service.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 1 (0x00000001)

Wallpaper_settingsSliceUri

public static final int Wallpaper_settingsSliceUri

Uri that specifies a settings Slice for this wallpaper.

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

Constant Value: 8 (0x00000008)

Wallpaper_shouldUseDefaultUnfoldTransition

public static final int Wallpaper_shouldUseDefaultUnfoldTransition

Indicates that this wallpaper service should receive zoom transition updates when changing the structural state of the device (e.g. when folding or unfolding a foldable device). When this value is set to true WallpaperService.Engine could receive zoom updates before or after changing the device state. Wallpapers receive zoom updates using WallpaperService.Engine.onZoomChanged(float) and zoom rendering should be handled manually. Zoom updates are delivered only when WallpaperService.Engine is created and not destroyed. Default value is true. Corresponds to WallpaperInfo.shouldUseDefaultUnfoldTransition()

May be a boolean value, such as "true" or "false".

Constant Value: 10 (0x0000000a)

Wallpaper_showMetadataInPreview

public static final int Wallpaper_showMetadataInPreview

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".

Constant Value: 6 (0x00000006)

Wallpaper_supportsMultipleDisplays

public static final int Wallpaper_supportsMultipleDisplays

Indicates that this wallpaper service can support multiple engines to render on each surface independently. An example use case is a multi-display set-up where the wallpaper service can render surfaces to each of the connected displays. Corresponds to WallpaperInfo.supportsMultipleDisplays()

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

Wallpaper_thumbnail

public static final int Wallpaper_thumbnail

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".

Constant Value: 2 (0x00000002)

WindowAnimation_activityCloseEnterAnimation

public static final int WindowAnimation_activityCloseEnterAnimation

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".

Constant Value: 6 (0x00000006)

WindowAnimation_activityCloseExitAnimation

public static final int WindowAnimation_activityCloseExitAnimation

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".

Constant Value: 7 (0x00000007)

WindowAnimation_activityOpenEnterAnimation

public static final int WindowAnimation_activityOpenEnterAnimation

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".

Constant Value: 4 (0x00000004)

WindowAnimation_activityOpenExitAnimation

public static final int WindowAnimation_activityOpenExitAnimation

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".

Constant Value: 5 (0x00000005)

WindowAnimation_launchTaskBehindSourceAnimation

public static final int WindowAnimation_launchTaskBehindSourceAnimation

When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the old task (which is already on the screen and then stays on).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 25 (0x00000019)

WindowAnimation_launchTaskBehindTargetAnimation

public static final int WindowAnimation_launchTaskBehindTargetAnimation

When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, this is the animation that is run on the activity of the new task (which is entering the screen and then leaving).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 24 (0x00000018)

WindowAnimation_taskCloseEnterAnimation

public static final int WindowAnimation_taskCloseEnterAnimation

When closing the last activity of a task, this is the animation that is run on the activity of the next task (which is entering the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 10 (0x0000000a)

WindowAnimation_taskCloseExitAnimation

public static final int WindowAnimation_taskCloseExitAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 11 (0x0000000b)

WindowAnimation_taskOpenEnterAnimation

public static final int WindowAnimation_taskOpenEnterAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the new task (which is entering the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 8 (0x00000008)

WindowAnimation_taskOpenExitAnimation

public static final int WindowAnimation_taskOpenExitAnimation

When opening an activity in a new task, this is the animation that is run on the activity of the old task (which is exiting the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 9 (0x00000009)

WindowAnimation_taskToBackEnterAnimation

public static final int WindowAnimation_taskToBackEnterAnimation

When sending the current task to the background, this is the animation that is run on the top activity of the task behind it (which is entering the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 14 (0x0000000e)

WindowAnimation_taskToBackExitAnimation

public static final int WindowAnimation_taskToBackExitAnimation

When sending the current task to the background, this is the animation that is run on the top activity of the current task (which is exiting the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 15 (0x0000000f)

WindowAnimation_taskToFrontEnterAnimation

public static final int WindowAnimation_taskToFrontEnterAnimation

When bringing an existing task to the foreground, this is the animation that is run on the top activity of the task being brought to the foreground (which is entering the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 12 (0x0000000c)

WindowAnimation_taskToFrontExitAnimation

public static final int WindowAnimation_taskToFrontExitAnimation

When bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 13 (0x0000000d)

WindowAnimation_wallpaperCloseEnterAnimation

public static final int WindowAnimation_wallpaperCloseEnterAnimation

When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the new activity (which is entering the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 18 (0x00000012)

WindowAnimation_wallpaperCloseExitAnimation

public static final int WindowAnimation_wallpaperCloseExitAnimation

When opening a new activity that hides the wallpaper, while currently showing the wallpaper, this is the animation that is run on the old wallpaper activity (which is exiting the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 19 (0x00000013)

WindowAnimation_wallpaperIntraCloseEnterAnimation

public static final int WindowAnimation_wallpaperIntraCloseEnterAnimation

When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the previous activity (which is entering the screen). 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".

Constant Value: 22 (0x00000016)

WindowAnimation_wallpaperIntraCloseExitAnimation

public static final int WindowAnimation_wallpaperIntraCloseExitAnimation

When closing a foreround activity that is on top of the wallpaper when the previous activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). 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".

Constant Value: 23 (0x00000017)

WindowAnimation_wallpaperIntraOpenEnterAnimation

public static final int WindowAnimation_wallpaperIntraOpenEnterAnimation

When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the new activity (which is entering the screen). 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".

Constant Value: 20 (0x00000014)

WindowAnimation_wallpaperIntraOpenExitAnimation

public static final int WindowAnimation_wallpaperIntraOpenExitAnimation

When opening a new activity that is on top of the wallpaper when the current activity is also on top of the wallpaper, this is the animation that is run on the current activity (which is exiting the screen). 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".

Constant Value: 21 (0x00000015)

WindowAnimation_wallpaperOpenEnterAnimation

public static final int WindowAnimation_wallpaperOpenEnterAnimation

When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the new wallpaper activity (which is entering the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 16 (0x00000010)

WindowAnimation_wallpaperOpenExitAnimation

public static final int WindowAnimation_wallpaperOpenExitAnimation

When opening a new activity that shows the wallpaper, while currently not showing the wallpaper, this is the animation that is run on the current activity (which is exiting the screen).

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 17 (0x00000011)

WindowAnimation_windowEnterAnimation

public static final int WindowAnimation_windowEnterAnimation

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".

Constant Value: 0 (0x00000000)

WindowAnimation_windowExitAnimation

public static final int WindowAnimation_windowExitAnimation

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".

Constant Value: 1 (0x00000001)

WindowAnimation_windowHideAnimation

public static final int WindowAnimation_windowHideAnimation

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".

Constant Value: 3 (0x00000003)

WindowAnimation_windowShowAnimation

public static final int WindowAnimation_windowShowAnimation

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".

Constant Value: 2 (0x00000002)

Window_backgroundDimAmount

public static final int Window_backgroundDimAmount

Default background dim amount when a menu, dialog, or something similar pops up.

May be a floating point value, such as "1.2".

Constant Value: 0 (0x00000000)

Window_backgroundDimEnabled

public static final int Window_backgroundDimEnabled

Control whether dimming behind the window is enabled. The default theme does not set this value, meaning it is based on whether the window is floating.

May be a boolean value, such as "true" or "false".

Constant Value: 11 (0x0000000b)

Window_enforceNavigationBarContrast

public static final int Window_enforceNavigationBarContrast

Sets whether the system should ensure that the navigation bar has enough contrast when a fully transparent background is requested.

If set to this value, the system will determine whether a scrim is necessary to ensure that the navigation bar has enough contrast with the contents of this app, and set an appropriate effective bar background color accordingly.

When the navigation bar color has a non-zero alpha value, the value of this attribute has no effect.

If the app does not target at least Q, this attribute is ignored.

Constant Value: 52 (0x00000034)

Window_enforceStatusBarContrast

public static final int Window_enforceStatusBarContrast

This constant is deprecated.
Draw proper background behind WindowInsets.Type.statusBars()} instead.

May be a boolean value, such as "true" or "false".

Sets whether the system should ensure that the status bar has enough contrast when a fully transparent background is requested.

If set to this value, the system will determine whether a scrim is necessary to ensure that the status bar has enough contrast with the contents of this app, and set an appropriate effective bar background color accordingly.

When the status bar color has a non-zero alpha value, the value of this attribute has no effect.

If the app does not target at least Q, this attribute is ignored.

Constant Value: 51 (0x00000033)

Window_navigationBarColor

public static final int Window_navigationBarColor

This constant is deprecated.
Draw proper background behind WindowInsets.Type.navigationBars() or WindowInsets.Type.tappableElement() instead.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

The color for the navigation bar. If the color is not opaque, consider setting View.SYSTEM_UI_FLAG_LAYOUT_STABLE and View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION. For this to take effect, the window must be drawing the system bar backgrounds with R.attr.windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with R.attr.windowTranslucentNavigation. Corresponds to Window.setNavigationBarColor(int).

If the color is transparent and the window enforces the navigation bar contrast, the system will determine whether a scrim is necessary and draw one on behalf of the app to ensure that the navigation bar has enough contrast with the contents of this app, and set an appropriate effective bar background accordingly. See: R.attr.enforceNavigationBarContrast

If the window belongs to an app targeting VANILLA_ICE_CREAM or above, this attribute is ignored.

Constant Value: 35 (0x00000023)

Window_navigationBarDividerColor

public static final int Window_navigationBarDividerColor

This constant is deprecated.
Draw proper background behind WindowInsets.Type.navigationBars() or WindowInsets.Type.tappableElement() instead.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

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 R.attr.windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with R.attr.windowTranslucentNavigation. Corresponds to Window.setNavigationBarDividerColor(int).

If the window belongs to an app targeting VANILLA_ICE_CREAM or above, this attribute is ignored.

Constant Value: 49 (0x00000031)

Window_statusBarColor

public static final int Window_statusBarColor

This constant is deprecated.
Draw proper background behind WindowInsets.Type.statusBars()} instead.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

The color for the status bar. If the color is not opaque, consider setting View.SYSTEM_UI_FLAG_LAYOUT_STABLE and View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN. For this to take effect, the window must be drawing the system bar backgrounds with R.attr.windowDrawsSystemBarBackgrounds and the status bar must not have been requested to be translucent with R.attr.windowTranslucentStatus. Corresponds to Window.setStatusBarColor(int).

If the color is transparent and the window enforces the status bar contrast, the system will determine whether a scrim is necessary and draw one on behalf of the app to ensure that the status bar has enough contrast with the contents of this app, and set an appropriate effective bar background accordingly. See: R.attr.enforceStatusBarContrast

If the window belongs to an app targeting VANILLA_ICE_CREAM or above, this attribute is ignored.

Constant Value: 34 (0x00000022)

Window_textColor

public static final int Window_textColor

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".

Constant Value: 7 (0x00000007)

Window_windowActionBar

public static final int Window_windowActionBar

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".

Constant Value: 15 (0x0000000f)

Window_windowActionBarOverlay

public static final int Window_windowActionBarOverlay

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".

Constant Value: 17 (0x00000011)

Window_windowActionModeOverlay

public static final int Window_windowActionModeOverlay

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".

Constant Value: 16 (0x00000010)

Window_windowActivityTransitions

public static final int Window_windowActivityTransitions

Flag indicating whether this window allows Activity Transitions. Corresponds to Window.FEATURE_ACTIVITY_TRANSITIONS.

May be a boolean value, such as "true" or "false".

Constant Value: 44 (0x0000002c)

Window_windowAllowEnterTransitionOverlap

public static final int Window_windowAllowEnterTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity. Corresponds to Window.setAllowEnterTransitionOverlap(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 32 (0x00000020)

Window_windowAllowReturnTransitionOverlap

public static final int Window_windowAllowReturnTransitionOverlap

Flag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes. Corresponds to Window.setAllowReturnTransitionOverlap(boolean).

May be a boolean value, such as "true" or "false".

Constant Value: 31 (0x0000001f)

Window_windowAnimationStyle

public static final int Window_windowAnimationStyle

Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 8 (0x00000008)

Window_windowBackground

public static final int Window_windowBackground

Drawable to use as the overall window background. As of Build.VERSION_CODES.HONEYCOMB, this may be a selector that uses state_accelerated to pick a non-solid color when running on devices that can draw such a bitmap with complex compositing on top at 60fps.

There are a few special considerations to use when setting this drawable:

  • This information will be used to infer the pixel format for your window's surface. If the drawable has any non-opaque pixels, your window will be translucent (32 bpp).
  • If you want to draw the entire background yourself, you should set this drawable to some solid color that closely matches that background (so the system's preview of your window will match), and then in code manually set your window's background to null so it will not be drawn.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 1 (0x00000001)

Window_windowBackgroundBlurRadius

public static final int Window_windowBackgroundBlurRadius

Blur the screen behind the window with the bounds of the window. The radius defines the size of the neighbouring area, from which pixels will be averaged to form the final color for each pixel in the region. A radius of 0 means no blur. The higher the radius, the denser the blur. Corresponds to Window.setBackgroundBlurRadius(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).

Constant Value: 55 (0x00000037)

Window_windowBackgroundFallback

public static final int Window_windowBackgroundFallback

Drawable to draw selectively within the inset areas when the windowBackground has been set to null. This protects against seeing visual garbage in the surface when the app has not drawn any content into this area. One example is when the user is resizing a window of an activity in multi-window mode.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 46 (0x0000002e)

Window_windowBlurBehindEnabled

public static final int Window_windowBlurBehindEnabled

If set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.

May be a boolean value, such as "true" or "false".

Constant Value: 54 (0x00000036)

Window_windowBlurBehindRadius

public static final int Window_windowBlurBehindRadius

When windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window. The range is from 0, which means no blur, to 150.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Constant Value: 53 (0x00000035)

Window_windowClipToOutline

public static final int Window_windowClipToOutline

Whether to clip window content to the outline of the window background.

May be a boolean value, such as "true" or "false".

Constant Value: 38 (0x00000026)

Window_windowCloseOnTouchOutside

public static final int Window_windowCloseOnTouchOutside

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 Build.VERSION_CODES.HONEYCOMB or later.

May be a boolean value, such as "true" or "false".

Constant Value: 21 (0x00000015)

Window_windowContentOverlay

public static final int Window_windowContentOverlay

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".

Constant Value: 6 (0x00000006)

Window_windowContentTransitionManager

public static final int Window_windowContentTransitionManager

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".

Constant Value: 26 (0x0000001a)

Window_windowContentTransitions

public static final int Window_windowContentTransitions

Flag indicating whether this window requests that content changes be performed as scene changes with transitions. Corresponds to Window.FEATURE_CONTENT_TRANSITIONS.

May be a boolean value, such as "true" or "false".

Constant Value: 25 (0x00000019)

Window_windowDisablePreview

public static final int Window_windowDisablePreview

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".

Constant Value: 12 (0x0000000c)

Window_windowDrawsSystemBarBackgrounds

public static final int Window_windowDrawsSystemBarBackgrounds

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 R.attr.statusBarColor and R.attr.navigationBarColor. Corresponds to WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS.

May be a boolean value, such as "true" or "false".

Constant Value: 33 (0x00000021)

Window_windowElevation

public static final int Window_windowElevation

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).

Constant Value: 37 (0x00000025)

Window_windowEnableSplitTouch

public static final int Window_windowEnableSplitTouch

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".

Constant Value: 18 (0x00000012)

Window_windowEnterTransition

public static final int Window_windowEnterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene. Corresponds to 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".

Constant Value: 27 (0x0000001b)

Window_windowExitTransition

public static final int Window_windowExitTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the Window's content Scene when launching a new Activity. Corresponds to 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".

Constant Value: 28 (0x0000001c)

Window_windowFrame

public static final int Window_windowFrame

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".

Constant Value: 2 (0x00000002)

Window_windowFullscreen

public static final int Window_windowFullscreen

Flag indicating whether this window should fill the entire screen. Corresponds to WindowManager.LayoutParams.FLAG_FULLSCREEN.

May be a boolean value, such as "true" or "false".

Constant Value: 9 (0x00000009)

Window_windowIsFloating

public static final int Window_windowIsFloating

Flag indicating whether this is a floating window.

May be a boolean value, such as "true" or "false".

Constant Value: 4 (0x00000004)

Window_windowIsFrameRatePowerSavingsBalanced

public static final int Window_windowIsFrameRatePowerSavingsBalanced

Offer Window the ability to opt out the UI Toolkit discrete variable refresh rate. This feature allows device to adjust refresh rate as needed and can be useful for power saving. Set to false to reduce the frame rate optimizations on devices with variable refresh rate screens. The default is true.

May be a boolean value, such as "true" or "false".

Constant Value: 64 (0x00000040)

Window_windowIsTranslucent

public static final int Window_windowIsTranslucent

Flag indicating whether this is a translucent window.

May be a boolean value, such as "true" or "false".

Constant Value: 5 (0x00000005)

Window_windowLayoutInDisplayCutoutMode

public static final int Window_windowLayoutInDisplayCutoutMode

Controls how the window is laid out if there is a DisplayCutout.

Defaults to default. But if the window fills the screen, and it belongs to an app targeting VANILLA_ICE_CREAM or above, the behavior will be the same as specifying always regardless.

See also WindowManager.LayoutParams.layoutInDisplayCutoutMode, WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT, WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES, WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, and DisplayCutout

Must be one of the following constant values.

ConstantValueDescription
always3

The window is always allowed to extend into the DisplayCutout areas on the all edges of the screen.

The window must make sure that no important content overlaps with the DisplayCutout.

Corresponds to LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS.

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.

Constant Value: 50 (0x00000032)

Window_windowLightNavigationBar

public static final int Window_windowLightNavigationBar

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 R.attr.windowDrawsSystemBarBackgrounds and the navigation bar must not have been requested to be translucent with R.attr.windowTranslucentNavigation. Corresponds to setting View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR on the decor view and WindowInsetsController.APPEARANCE_LIGHT_NAVIGATION_BARS on the WindowInsetsController.

May be a boolean value, such as "true" or "false".

Constant Value: 48 (0x00000030)

Window_windowLightStatusBar

public static final int Window_windowLightStatusBar

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 R.attr.windowDrawsSystemBarBackgrounds and the status bar must not have been requested to be translucent with R.attr.windowTranslucentStatus. Corresponds to setting View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR on the decor view and WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS on the WindowInsetsController.

May be a boolean value, such as "true" or "false".

Constant Value: 45 (0x0000002d)

Window_windowMinWidthMajor

public static final int Window_windowMinWidthMajor

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.

Constant Value: 19 (0x00000013)

Window_windowMinWidthMinor

public static final int Window_windowMinWidthMinor

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.

Constant Value: 20 (0x00000014)

Window_windowNoDisplay

public static final int Window_windowNoDisplay

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".

Constant Value: 10 (0x0000000a)

Window_windowNoMoveAnimation

public static final int Window_windowNoMoveAnimation

Flag indicating whether this window should skip movement animations. See also WindowManager.LayoutParams.setCanPlayMoveAnimation(boolean)

May be a boolean value, such as "true" or "false".

Constant Value: 62 (0x0000003e)

Window_windowNoTitle

public static final int Window_windowNoTitle

Flag indicating whether there should be no title on this window.

May be a boolean value, such as "true" or "false".

Constant Value: 3 (0x00000003)

Window_windowOptOutEdgeToEdgeEnforcement

public static final int Window_windowOptOutEdgeToEdgeEnforcement

Flag indicating whether this window would opt-out the edge-to-edge enforcement.

If this is false, the edge-to-edge enforcement will be applied to the window if it belongs to an app targeting VANILLA_ICE_CREAM or above. The affected behaviors are:

If this is true, the edge-to-edge enforcement won't be applied. However, this attribute will be deprecated and disabled in a future SDK level.

This is false by default.

May be a boolean value, such as "true" or "false".

Constant Value: 63 (0x0000003f)

Window_windowOverscan

public static final int Window_windowOverscan

This constant is deprecated.
Overscan areas aren't set by any Android product anymore as of Android 11.

May be a boolean value, such as "true" or "false".

Flag indicating whether this window should extend into overscan region. Corresponds to WindowManager.LayoutParams.FLAG_LAYOUT_IN_OVERSCAN.

Constant Value: 22 (0x00000016)

Window_windowReenterTransition

public static final int Window_windowReenterTransition

Reference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity. Corresponds to 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".

Constant Value: 40 (0x00000028)

Window_windowReturnTransition

public static final int Window_windowReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close. Corresponds to 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".

Constant Value: 39 (0x00000027)

Window_windowSharedElementEnterTransition

public static final int Window_windowSharedElementEnterTransition

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 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".

Constant Value: 29 (0x0000001d)

Window_windowSharedElementExitTransition

public static final int Window_windowSharedElementExitTransition

Reference to a Transition XML resource defining the desired Transition used when starting a new Activity to move shared elements prior to transferring to the called Activity. Corresponds to 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".

Constant Value: 30 (0x0000001e)

Window_windowSharedElementReenterTransition

public static final int Window_windowSharedElementReenterTransition

Reference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity. Corresponds to 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".

Constant Value: 42 (0x0000002a)

Window_windowSharedElementReturnTransition

public static final int Window_windowSharedElementReturnTransition

Reference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity. Corresponds to 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".

Constant Value: 41 (0x00000029)

Window_windowSharedElementsUseOverlay

public static final int Window_windowSharedElementsUseOverlay

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".

Constant Value: 43 (0x0000002b)

Window_windowShowWallpaper

public static final int Window_windowShowWallpaper

Flag indicating that this window's background should be the user's current wallpaper. Corresponds to WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER.

May be a boolean value, such as "true" or "false".

Constant Value: 14 (0x0000000e)

Window_windowSoftInputMode

public static final int Window_windowSoftInputMode

Defines the default soft input state that this window would like when it is displayed. Corresponds to 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).

Constant Value: 13 (0x0000000d)

Window_windowSplashScreenAnimatedIcon

public static final int Window_windowSplashScreenAnimatedIcon

Replace an icon in the center of the starting window, if the object is animated and drawable(e.g. AnimationDrawable, AnimatedVectorDrawable), then it will also play the animation while showing the starting window.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 57 (0x00000039)

Window_windowSplashScreenAnimationDuration

public static final int Window_windowSplashScreenAnimationDuration

This constant is deprecated.
Not used by framework starting from API level 33. The system estimates the duration of the vector animation automatically.

May be an integer value, such as "100".

The duration, in milliseconds, of the window splash screen icon animation duration when playing the splash screen starting window. The maximum animation duration should be limited below 1000ms.

Constant Value: 58 (0x0000003a)

Window_windowSplashScreenBackground

public static final int Window_windowSplashScreenBackground

The background color for the splash screen, if not specify then system will calculate from windowBackground.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 56 (0x00000038)

Window_windowSplashScreenBehavior

public static final int Window_windowSplashScreenBehavior

Specify whether this application always wants the icon to be displayed on the splash screen.

Must be one of the following constant values.

ConstantValueDescription
default0The icon is shown when the launching activity sets the splashScreenStyle to SPLASH_SCREEN_STYLE_ICON. If the launching activity does not specify any style, follow the system behavior.
icon_preferred1The icon is shown unless the launching app specified SPLASH_SCREEN_STYLE_EMPTY

Constant Value: 61 (0x0000003d)

Window_windowSplashScreenBrandingImage

public static final int Window_windowSplashScreenBrandingImage

Place a drawable image in the bottom of the starting window. The image can be used to represent the branding of the application.

May be a reference to another resource, in the form "@[+][package:]type/name" or a theme attribute in the form "?[package:]type/name".

Constant Value: 59 (0x0000003b)

Window_windowSplashScreenIconBackgroundColor

public static final int Window_windowSplashScreenIconBackgroundColor

Set a background behind the splash screen icon. This is useful if there is not enough contrast between the window background and the icon. Note the shape would also be masking like an icon.

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Constant Value: 60 (0x0000003c)

Window_windowSplashscreenContent

public static final int Window_windowSplashscreenContent

Reference to a drawable to be used as the splash screen content of the window. This drawable will be placed on top of the 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 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".

Constant Value: 47 (0x0000002f)

Window_windowTransitionBackgroundFadeDuration

public static final int Window_windowTransitionBackgroundFadeDuration

The duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition. Corresponds to Window.setTransitionBackgroundFadeDuration(long).

May be an integer value, such as "100".

Constant Value: 36 (0x00000024)

Window_windowTranslucentNavigation

public static final int Window_windowTranslucentNavigation

Flag indicating whether this window requests a translucent navigation bar. Corresponds to WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION.

May be a boolean value, such as "true" or "false".

Constant Value: 24 (0x00000018)

Window_windowTranslucentStatus

public static final int Window_windowTranslucentStatus

Flag indicating whether this window requests a translucent status bar. Corresponds to WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS.

May be a boolean value, such as "true" or "false".

Constant Value: 23 (0x00000017)

Fields

AbsListView

public static final int[] AbsListView

Attributes that can be used with a AbsListView.

Includes the following attributes:

AttributeDescription
android:listSelectorDrawable used to indicate the currently selected item in the list.
android:drawSelectorOnTopWhen set to true, the selector will be drawn over the selected item.
android:stackFromBottomUsed by ListView and GridView to stack their content from the bottom.
android:scrollingCacheWhen set to true, the list uses a drawing cache during scrolling.
android:textFilterEnabledWhen set to true, the list will filter results as the user types.
android:transcriptModeSets the transcript mode for the list.
android:cacheColorHintIndicates that this list will always be drawn on top of solid, single-color opaque background.
android:choiceModeDefines the choice behavior for the view.
android:fastScrollEnabledEnables the fast scroll thumb that can be dragged to quickly scroll through the list.
android:smoothScrollbarWhen set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen.
android:fastScrollAlwaysVisibleWhen set to true, the list will always show the fast scroll interface.
android:fastScrollStyleSpecifies the style of the fast scroll decorations.

AbsSpinner

public static final int[] AbsSpinner

Attributes that can be used with a AbsSpinner.

Includes the following attributes:

AttributeDescription
android:entriesReference to an array resource that will populate a list/adapter.

See also:

AbsoluteLayout_Layout

public static final int[] AbsoluteLayout_Layout

Attributes that can be used with a AbsoluteLayout_Layout.

Includes the following attributes:

AttributeDescription
android:layout_x
android:layout_y

AccelerateInterpolator

public static final int[] AccelerateInterpolator

Attributes that can be used with a AccelerateInterpolator.

Includes the following attributes:

AttributeDescription
android:factorThis is the amount of deceleration to add when easing in.

AccessibilityService

public static final int[] AccessibilityService

Use accessibility-service as the root tag of the XML resource that describes an AccessibilityService service, which is referenced from its AccessibilityService.SERVICE_META_DATA meta-data entry.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:summaryThe summary for the item.
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:accessibilityEventTypesThe event types this service would like to receive as specified in AccessibilityEvent.
android:packageNamesComma separated package names from which this service would like to receive events (leave out for all packages).
android:accessibilityFeedbackTypeThe feedback types this service provides as specified in AccessibilityServiceInfo.
android:notificationTimeoutThe minimal period in milliseconds between two accessibility events of the same type are sent to this service.
android:accessibilityFlagsAdditional flags as specified in AccessibilityServiceInfo.
android:canRetrieveWindowContentAttribute whether the accessibility service wants to be able to retrieve the active window content.
android:canRequestTouchExplorationModeAttribute 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.
android:canRequestEnhancedWebAccessibilityAttribute whether the accessibility service wants to be able to request enhanced web accessibility enhancements.
android:canRequestFilterKeyEventsAttribute whether the accessibility service wants to be able to request to filter key events.
android:canControlMagnificationAttribute whether the accessibility service wants to be able to control display magnification.
android:canPerformGesturesAttribute whether the accessibility service wants to be able to perform gestures.
android:canRequestFingerprintGesturesAttribute whether the accessibility service wants to be able to capture gestures from the fingerprint sensor.
android:nonInteractiveUiTimeoutA recommended timeout in milliseconds used in android.view.accessibility.AccessibilityManager.getRecommendedTimeoutMillis(int, int) to return a suitable value for UIs that do not include interactive controls.
android:interactiveUiTimeoutA recommended timeout in milliseconds used in android.view.accessibility.AccessibilityManager.getRecommendedTimeoutMillis(int, int) to return a suitable value for interactive controls.
android:animatedImageDrawableAnimated image of the target of accessibility shortcut purpose or behavior, to help users understand how the target of accessibility shortcut can help them.
android:htmlDescriptionHtml description of the target of accessibility shortcut usage, availability, or limitations (e.g.
android:canTakeScreenshotAttribute whether the accessibility service wants to be able to take screenshot.
android:isAccessibilityToolAttribute indicating whether the accessibility service is used to assist users with disabilities.
android:tileServiceFully qualified class name of TileService is associated with this accessibility shortcut target for one to one mapping.
android:introDetailed intro of the target of accessibility shortcut purpose or behavior.

See also:

AccessibilityShortcutTarget

public static final int[] AccessibilityShortcutTarget

Use accessibility-shortcut-target as the root tag of the XML resource that describes an activity, which is referenced from the android.accessibilityshortcut.target meta-data entry.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:summaryThe summary for the item.
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:animatedImageDrawableAnimated image of the target of accessibility shortcut purpose or behavior, to help users understand how the target of accessibility shortcut can help them.
android:htmlDescriptionHtml description of the target of accessibility shortcut usage, availability, or limitations (e.g.
android:tileServiceFully qualified class name of TileService is associated with this accessibility shortcut target for one to one mapping.
android:introDetailed intro of the target of accessibility shortcut purpose or behavior.

AccountAuthenticator

public static final int[] AccountAuthenticator

Use account-authenticator as the root tag of the XML resource that describes an account authenticator.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:accountTypeThe account type this authenticator handles.
android:smallIconSmaller icon of the authenticator.
android:accountPreferencesA preferences.xml file for authenticator-specific settings.
android:customTokensAccount handles its own token storage and permissions.

ActionBar

public static final int[] ActionBar

Attributes used to style the Action Bar.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:progressBarStyleDefault ProgressBar style.
android:backgroundA drawable to use as the background.
android:dividerDrawable or color to draw between list items.
android:heightMakes the TextView be exactly this tall.
android:titleThe title associated with the item.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:navigationModeThe type of navigation to use.
android:displayOptionsOptions affecting how the action bar is displayed.
android:subtitleSpecifies subtitle text used for navigationMode="normal".
android:customNavigationLayoutSpecifies a layout for custom navigation.
android:titleTextStyleSpecifies a style to use for title text.
android:subtitleTextStyleSpecifies a style to use for subtitle text.
android:homeAsUpIndicatorSpecifies a drawable to use for the 'home as up' indicator.
android:indeterminateProgressStyleSpecifies a style resource to use for an indeterminate progress spinner.
android:progressBarPaddingSpecifies the horizontal padding on either end for an embedded progress bar.
android:homeLayoutSpecifies a layout to use for the "home" section of the action bar.
android:itemPaddingSpecifies padding that should be applied to the left and right sides of system-provided items in the bar.
android:backgroundStackedSpecifies a background drawable for a second stacked row of the action bar.
android:backgroundSplitSpecifies a background drawable for the bottom component of a split action bar.
android:elevationbase z depth of the view.
android:hideOnContentScrollSet true to hide the action bar on a vertical nested scroll of content.
android:contentInsetStartMinimum inset for content views within a bar.
android:contentInsetEndMinimum inset for content views within a bar.
android:contentInsetLeftMinimum inset for content views within a bar.
android:contentInsetRightMinimum inset for content views within a bar.
android:popupThemeReference to a theme that should be used to inflate popups shown by widgets in the toolbar.
android:contentInsetStartWithNavigationMinimum inset for content views within a bar when a navigation button is present, such as the Up button.
android:contentInsetEndWithActionsMinimum inset for content views within a bar when actions from a menu are present.

ActionBar_LayoutParams

public static final int[] ActionBar_LayoutParams

Attributes that can be used with a ActionBar_LayoutParams.

Includes the following attributes:

AttributeDescription
android:layout_gravityStandard gravity constant that a child supplies to its parent.

ActionMenuItemView

public static final int[] ActionMenuItemView

Attributes that can be used with a ActionMenuItemView.

Includes the following attributes:

AttributeDescription
android:minWidth

ActionMode

public static final int[] ActionMode

Attributes that can be used with a ActionMode.

Includes the following attributes:

AttributeDescription
android:backgroundA drawable to use as the background.
android:heightMakes the TextView be exactly this tall.
android:titleTextStyleSpecifies a style to use for title text.
android:subtitleTextStyleSpecifies a style to use for subtitle text.
android:backgroundSplitSpecifies a background drawable for the bottom component of a split action bar.

ActivityChooserView

public static final int[] ActivityChooserView

Attrbitutes for a ActvityChooserView.

Includes the following attributes:

AttributeDescription

AdapterViewAnimator

public static final int[] AdapterViewAnimator

Attributes that can be used with a AdapterViewAnimator.

Includes the following attributes:

AttributeDescription
android:inAnimationIdentifier for the animation to use when a view is shown.
android:outAnimationIdentifier for the animation to use when a view is hidden.
android:animateFirstViewDefines whether to animate the current View when the ViewAnimation is first displayed.
android:loopViewsDefines whether the animator loops to the first view once it has reached the end of the list.

AdapterViewFlipper

public static final int[] AdapterViewFlipper

Attributes that can be used with a AdapterViewFlipper.

Includes the following attributes:

AttributeDescription
android:flipInterval
android:autoStartWhen true, automatically start animating.

AdaptiveIconDrawableLayer

public static final int[] AdaptiveIconDrawableLayer

Drawable used to draw adaptive icons with foreground and background layers.

Includes the following attributes:

AttributeDescription
android:drawableReference to a drawable resource to use for the frame.

AidFilter

public static final int[] AidFilter

Specify one or more aid-filter elements inside a aid-group element to specify an ISO7816 Application ID (AID) your service can handle.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

See also:

AidGroup

public static final int[] AidGroup

Specify one or more aid-group elements inside a host-apdu-service or offhost-apdu-service element to define a group of ISO7816 Application ID (AIDs) that your service can handle.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:categoryThe category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly.

AidPrefixFilter

public static final int[] AidPrefixFilter

Specify one or more aid-prefix-filter elements inside a aid-group element to specify an ISO7816 Application ID (AID) prefix your service can handle.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AlertDialog

public static final int[] AlertDialog

The set of attributes that describe a AlertDialog's theme.

Includes the following attributes:

AttributeDescription
android:fullDark
android:topDark
android:centerDark
android:bottomDark
android:fullBright
android:topBright
android:centerBright
android:bottomBright
android:bottomMedium
android:centerMedium
android:layoutSupply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.

AlphaAnimation

public static final int[] AlphaAnimation

Attributes that can be used with a AlphaAnimation.

Includes the following attributes:

AttributeDescription
android:fromAlpha
android:toAlpha

AnalogClock

public static final int[] AnalogClock

Attributes that can be used with a AnalogClock.

Includes the following attributes:

AttributeDescription
android:dial
android:hand_hour
android:hand_minute
android:timeZoneSpecifies the time zone to use.
android:hand_second
android:dialTintTint to apply to the dial graphic.
android:dialTintModeBlending mode used to apply the dial graphic tint.
android:hand_hourTintTint to apply to the hour hand graphic.
android:hand_hourTintModeBlending mode used to apply the hour hand graphic tint.
android:hand_minuteTintTint to apply to the minute hand graphic.
android:hand_minuteTintModeBlending mode used to apply the minute hand graphic tint.
android:hand_secondTintTint to apply to the second hand graphic.
android:hand_secondTintModeBlending mode used to apply the second hand graphic tint.

AndroidManifest

public static final int[] AndroidManifest

The manifest tag is the root of an AndroidManifest.xml file, describing the contents of an Android package (.apk) file. One attribute must always be supplied: package gives a unique name for the package, using a Java-style naming convention to avoid name collisions. For example, applications published by Google could have names of the form com.google.app.appname

Inside of the manifest tag, may appear the following tags in any order: attribution, permission, permission-group, permission-tree, uses-sdk, uses-permission, uses-configuration, application, instrumentation, uses-feature.

Includes the following attributes:

AttributeDescription
android:sharedUserIdSpecify the name of a user ID that will be shared between multiple packages.
android:versionCodeInternal version code.
android:versionNameThe text shown to the user to indicate the version they have.
android:sharedUserLabelSpecify a label for the shared user UID of this package.
android:installLocationThe default install location defined by an application.
android:revisionCodeInternal revision code.
android:isolatedSplitsIf 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.
android:targetSandboxVersionSpecifies the target sandbox this app wants to use.
android:isFeatureSplitIf set to true, indicates to the platform that this APK is a 'feature' split and that it implicitly depends on the base APK.
android:compileSdkVersionThe user-visible SDK version (ex.
android:compileSdkVersionCodenameThe development codename (ex.
android:versionCodeMajorInternal major version code.
android:isSplitRequiredFlag to specify if this APK requires at least one split [either feature or resource] to be present in order to function.
android:sharedUserMaxSdkVersionThe maximum device SDK version for which the application will remain in the user ID defined in sharedUserId.
android:requiredSplitTypesList of split types required by this APK to be present in order to function properly, separated by commas.
android:splitTypesList of split types offered by this APK, separated by commas.

AndroidManifestAction

public static final int[] AndroidManifestAction

Attributes that can be supplied in an AndroidManifest.xml action tag, a child of the intent-filter tag. See IntentFilter.addAction(String) for more information.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestActivity

public static final int[] AndroidManifestActivity

The activity tag declares an Activity class that is available as part of the package's application components, implementing a part of the application's user interface.

Zero or more intent-filter tags can be included inside of an activity, to specify the Intents that it can handle. If none are specified, the activity can only be started through direct specification of its class name. The activity tag appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:themeThe overall theme to use for an activity.
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:permissionSpecify a permission that a client is required to have in order to use the associated object.
android:enabledSpecifies whether the widget is enabled.
android:exportedFlag indicating whether the given application component is available to other applications.
android:processSpecify a specific process that the associated code is to run in.
android:taskAffinitySpecify a task name that activities have an "affinity" to.
android:multiprocessSpecify whether a component is allowed to have multiple instances of itself running in different processes.
android:finishOnTaskLaunchSpecify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen.
android:clearTaskOnLaunchSpecify whether an activity's task should be cleared when it is re-launched from the home screen.
android:stateNotNeededIndicates that an Activity does not need to have its freeze state (as returned by Activity.onSaveInstanceState(Bundle) retained in order to be restarted.
android:excludeFromRecentsIndicates that an Activity should be excluded from the list of recently launched activities.
android:launchModeSpecify how an activity should be launched.
android:screenOrientationSpecify the orientation an activity should be run in.
android:configChangesSpecify one or more configuration changes that the activity will handle itself.
android:descriptionDescriptive text for the associated data.
android:alwaysRetainTaskStateSpecify whether an activity's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations.
android:allowTaskReparentingSpecify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate.
android:windowSoftInputModeDefines the default soft input state that this window would like when it is displayed.
android:noHistorySpecify whether an activity should be kept in its history stack.
android:finishOnCloseSystemDialogsSpecify whether an activity should be finished when a "close system windows" request has been made.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:immersiveFlag declaring this activity to be 'immersive'; immersive activities should not be interrupted with other activities or notifications.
android:hardwareAccelerated

Flag indicating whether the application's rendering should be hardware accelerated if possible.

android:uiOptionsExtra options for an activity's UI.
android:parentActivityNameThe name of the logical parent of the activity as it appears in the manifest.
android:singleUserIf set to true, a single instance of this component will run for all users.
android:showOnLockScreenSpecify that an Activity should be shown over the lock screen and, in a multiuser environment, across all users' windows.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:allowEmbeddedIndicate that the activity can be launched as the embedded child of another activity.
android:persistableModeDefine how an activity persist across reboots.
android:documentLaunchModeThis attribute specifies that an activity shall become the root activity of a new task each time it is launched.
android:maxRecentsThe maximum number of entries of tasks rooted at this activity in the recent task list.
android:autoRemoveFromRecentsTasks launched by activities with this attribute will remain in the recent tasks list until the last activity in the task is completed.
android:relinquishTaskIdentityTasks whose root has this attribute set to true will replace baseIntent with that of the next activity in the task.
android:resumeWhilePausingIndicate 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.
android:lockTaskModeThis value indicates how tasks rooted at this activity will behave in lockTask mode.
android:showForAllUsersSpecify that an Activity should be shown even if the current/foreground user is different from the user of the Activity.
android:resizeableActivityHint to platform that the activity works well in multi-window mode.
android:supportsPictureInPictureIndicates that the activity specifically supports the picture-in-picture form of multi-window.
android:directBootAwareIndicate 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).
android:enableVrModeFlag declaring that this activity will be run in VR mode, and specifying the component of the VrListenerService that should be bound while this Activity is visible if it is installed and enabled on this device.
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:visibleToInstantAppsSpecify whether a component should be visible to instant apps.
android:rotationAnimationFlag that specifies the activity's preferred screen rotation animation.
android:recreateOnConfigChangesSpecify the configuration changes that trigger the system to recreate the current activity if any of these configuration changes happen in the system.
android:splitNameWhen an application is partitioned into splits, this is the name of the split that contains the defined component.
android:colorModeSpecify the color mode the activity desires.
android:maxAspectRatioThis value indicates the maximum aspect ratio the activity supports.
android:showWhenLockedSpecifies whether an Activity should be shown on top of the lock screen whenever the lockscreen is up and the activity is resumed.
android:turnScreenOnSpecifies whether the screen should be turned on when the Activity is resumed.
android:minAspectRatioThis value indicates the minimum aspect ratio the activity supports.
android:inheritShowWhenLockedSpecifies whether this Activity should be shown on top of the lock screen whenever the lockscreen is up and this activity has another activity behind it with the R.attr.showWhenLocked attribute set.
android:forceQueryable
android:preferMinimalPostProcessingIndicates whether the activity wants the connected display to do minimal post processing on the produced image or video frames.
android:attributionTagsAttribution tag to be used for permission sub-attribution if a permission is checked in Context.sendBroadcast(Intent, String).
android:playHomeTransitionSoundSpecifies whether a home sound effect should be played if the home app moves to front after an activity with this flag set to true.
android:canDisplayOnRemoteDevicesIndicates whether the activity can be displayed on a remote device which may or may not be running Android.
android:allowUntrustedActivityEmbeddingIndicate that the activity can be embedded by untrusted hosts.
android:knownActivityEmbeddingCertsA reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity.
android:enableOnBackInvokedCallbackIf false, KEYCODE_BACK and Activity.onBackPressed() and related event will be forwarded to the Activity and its views.
android:requiredDisplayCategorySpecifies the required display category of the activity.
android:systemUserOnlyIf set to true, only a single instance of this component will run and be available for the SYSTEM user.
android:requireContentUriPermissionFromCallerSpecifies permissions necessary to launch this activity when passing content URIs.

See also:

AndroidManifestActivityAlias

public static final int[] AndroidManifestActivityAlias

The activity-alias tag declares a new name for an existing activity tag.

Zero or more intent-filter tags can be included inside of an activity-alias, to specify the Intents that it can handle. If none are specified, the activity can only be started through direct specification of its class name. The activity-alias tag appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:permissionSpecify a permission that a client is required to have in order to use the associated object.
android:enabledSpecifies whether the widget is enabled.
android:exportedFlag indicating whether the given application component is available to other applications.
android:descriptionDescriptive text for the associated data.
android:targetActivityFully qualified class name of an activity that allows the user to view their entire wallet
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:parentActivityNameThe name of the logical parent of the activity as it appears in the manifest.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:attributionTagsAttribution tag to be used for permission sub-attribution if a permission is checked in Context.sendBroadcast(Intent, String).
android:allowUntrustedActivityEmbeddingIndicate that the activity can be embedded by untrusted hosts.
android:knownActivityEmbeddingCertsA reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity.

AndroidManifestAdditionalCertificate

public static final int[] AndroidManifestAdditionalCertificate

The additional-certificate specifies the SHA-256 digest of a static shared library's additional signing certificate. You need to use this tag if the library is singed with more than one certificate.

This appears as a child tag of the uses-static-library or uses-package tag.

Includes the following attributes:

AttributeDescription
android:certDigestOptional SHA-256 digest of the package signing certificate.

AndroidManifestAllowPermission

public static final int[] AndroidManifestAllowPermission

The allow-permission tag specifies that a permission is to be allowed for a particular process, when it was previously denied for all processes through deny-permission

This appears as a child tag of the processes and process tags.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestApplication

public static final int[] AndroidManifestApplication

The application tag describes application-level components contained in the package, as well as general application attributes. Many of the attributes you can supply here (such as theme, label, icon, permission, process, taskAffinity, and allowTaskReparenting) serve as default values for the corresponding attributes of components declared inside of the application.

Inside of this element you specify what the application contains, using the elements provider, service, receiver, activity, activity-alias, uses-library, uses-static-library, and uses-package. The application tag appears as a child of the root manifest tag in an application's manifest file.

Includes the following attributes:

AttributeDescription
android:themeThe overall theme to use for an activity.
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:manageSpaceActivityName of the activity to be launched to manage application's space on device.
android:allowClearUserDataOption to let applications specify that user data can/cannot be cleared.
android:permissionSpecify a permission that a client is required to have in order to use the associated object.
android:hasCodeIndicate whether this application contains code.
android:persistentFlag to control special persistent mode of an application.
android:enabledSpecifies whether the widget is enabled.
android:debuggableFlag indicating whether the application can be debugged, even when running on a device that is running in user mode.
android:processSpecify a specific process that the associated code is to run in.
android:taskAffinitySpecify a task name that activities have an "affinity" to.
android:descriptionDescriptive text for the associated data.
android:allowTaskReparentingSpecify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate.
android:testOnlyOption to indicate this application is only for testing purposes.
android:backupAgentThe name of the class subclassing BackupAgent to manage backup and restore of the application's data on external storage.
android:allowBackupWhether to allow the application to participate in the backup and restore infrastructure.
android:killAfterRestoreWhether the application in question should be terminated after its settings have been restored during a full-system restore operation.
android:restoreNeedsApplication@deprecated This attribute is not used by the Android operating system.
android:vmSafeModeFlag indicating whether the application requests the VM to operate in the safe mode.
android:restoreAnyVersionIndicate 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.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:hardwareAccelerated

Flag indicating whether the application's rendering should be hardware accelerated if possible.

android:largeHeapRequest that your application's processes be created with a large Dalvik heap.
android:uiOptionsExtra options for an activity's UI.
android:supportsRtlDeclare that your application will be able to deal with RTL (right to left) layouts.
android:requiredForAllUsersFlag to specify if this application needs to be present for all users.
android:restrictedAccountTypeDeclare that this application requires access to restricted accounts of a certain type.
android:requiredAccountTypeDeclare that this application requires an account of a certain type.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:isGameA boolean flag used to indicate if an application is a Game or not.
android:fullBackupOnlyIndicates that even though the application provides a BackupAgent, only full-data streaming backup operations are to be performed to save the app's data.
android:multiArchDeclare that code from this application will need to be loaded into other applications' processes.
android:extractNativeLibsWhen set installer will extract native libraries.
android:fullBackupContentApplications will set this in their manifest to opt-in to or out of full app data back-up and restore.
android:usesCleartextTrafficDeclare that this application may use cleartext traffic, such as HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, SMTP without STARTTLS or TLS.
android:resizeableActivityHint to platform that the activity works well in multi-window mode.
android:defaultToDeviceProtectedStorage
android:directBootAwareIndicate 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).
android:backupInForegroundIndicates that full-data backup operations for this application may be performed even if the application is in a foreground-equivalent state.
android:networkSecurityConfigAn XML resource with the application's Network Security Config.
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:appCategoryDeclare the category of this app.
android:maxAspectRatioThis value indicates the maximum aspect ratio the activity supports.
android:persistentWhenFeatureAvailableIf set, the "persistent" attribute will only be honored if the feature specified here is present on the device.
android:classLoaderThe classname of the classloader used to load the application's classes from its APK.
android:cantSaveStateDeclare that this application can't participate in the normal state save/restore mechanism.
android:appComponentFactoryThe (optional) fully-qualified name for a subclass of AppComponentFactory that the system uses to instantiate every other manifest defined class.
android:usesNonSdkApi
android:hasFragileUserDataIf true the user is prompted to keep the app's data on uninstall
android:minAspectRatioThis value indicates the minimum aspect ratio the activity supports.
android:zygotePreloadNameName of the class that gets invoked for preloading application code, when starting an R.attr.isolatedProcess service that has R.attr.useAppZygote set to true.
android:useEmbeddedDexFlag to specify if this app (or process) wants to run the dex within its APK but not extracted or locally compiled variants.
android:allowClearUserDataOnFailedRestoreIf true the system will clear app's data if a restore operation fails.
android:allowAudioPlaybackCaptureIf true the app's non sensitive audio can be captured by other apps with AudioPlaybackCaptureConfiguration and a MediaProjection.
android:requestLegacyExternalStorageIf true this app would like to run under the legacy storage model.
android:forceQueryable
android:crossProfileIf true indicates that this application is capable of presenting a unified interface representing multiple profiles.
android:allowNativeHeapPointerTaggingIf true this app will receive tagged pointers to native heap allocations from functions like malloc() on compatible devices.
android:autoRevokePermissionsNo longer used.
android:preserveLegacyExternalStorageIf true this app would like to preserve the legacy storage model from a previously installed version.
android:gwpAsanModeEnable sampled memory bug detection in this process.
android:rollbackDataPolicyDeclare the policy to deal with user data when rollback is committed.
android:memtagModeEnable hardware memory tagging (ARM MTE) in this process.
android:nativeHeapZeroInitializedIf true enables automatic zero initialization of all native heap allocations.
android:dataExtractionRulesApplications can set this attribute to an xml resource within their app where they specified the rules determining which files and directories can be copied from the device as part of backup or transfer operations.
android:requestRawExternalStorageAccessIf true this app would like raw external storage access.
android:attributionsAreUserVisibleWhether attributions provided are meant to be user-visible.
android:resetEnabledSettingsOnAppDataClearedSpecifies whether enabled settings of components in the application should be reset to PackageManager.COMPONENT_ENABLED_STATE_DEFAULT when the application's user data is cleared.
android:localeConfigAn XML resource with the application's LocaleConfig
android:knownActivityEmbeddingCertsA reference to an array resource containing the signing certificate digests, one of which a client is required to be signed with in order to embed the activity.
android:enableOnBackInvokedCallbackIf false, KEYCODE_BACK and Activity.onBackPressed() and related event will be forwarded to the Activity and its views.
android:allowCrossUidActivitySwitchFromBelow

See also:

AndroidManifestAttribution

public static final int[] AndroidManifestAttribution

An attribution is a logical part of an app and is identified by a tag. E.g. a photo sharing app might include a direct messaging component. To tag certain code as belonging to an attribution, use a context created via Context.createAttributionContext(String) for any interaction with the system.

This appears as a child tag of the root manifest tag.

In case this attribution inherits from another attribution, this tag can contain one or multiple inherit-from tags.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:tagSupply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().

AndroidManifestAttributionInheritFrom

public static final int[] AndroidManifestAttributionInheritFrom

Declares previously declared attributions this attribution inherits from.

Includes the following attributes:

AttributeDescription
android:tagSupply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().

AndroidManifestCategory

public static final int[] AndroidManifestCategory

Attributes that can be supplied in an AndroidManifest.xml category tag, a child of the intent-filter tag. See IntentFilter.addCategory(String) for more information.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestCompatibleScreensScreen

public static final int[] AndroidManifestCompatibleScreensScreen

Attributes that can be supplied in an AndroidManifest.xml screen tag, a child of compatible-screens, which is itself a child of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:screenSizeSpecifies a compatible screen size, as per the device configuration screen size bins.
android:screenDensitySpecifies a compatible screen density, as per the device configuration screen density bins.

AndroidManifestData

public static final int[] AndroidManifestData

Attributes that can be supplied in an AndroidManifest.xml data tag, a child of the intent-filter tag, describing the types of data that match. This tag can be specified multiple times to supply multiple data options, as described in the IntentFilter class. Note that all such tags are adding options to the same IntentFilter so that, for example, <data android:scheme="myscheme" android:host="me.com" /> is equivalent to <data android:scheme="myscheme" /> <data android:host="me.com" />.

Includes the following attributes:

AttributeDescription
android:mimeTypeSpecify a MIME type that is handled, as per IntentFilter.addDataType().
android:schemeSpecify a URI scheme that is handled, as per IntentFilter.addDataScheme().
android:hostSpecify a URI authority host that is handled, as per IntentFilter.addDataAuthority().
android:portSpecify a URI authority port that is handled, as per IntentFilter.addDataAuthority().
android:pathSpecify a URI path that must exactly match, as per PatternMatcher with PatternMatcher.PATTERN_LITERAL.
android:pathPrefixSpecify a URI path that must be a prefix to match, as per PatternMatcher with PatternMatcher.PATTERN_PREFIX.
android:pathPatternSpecify a URI path that matches a simple pattern, as per PatternMatcher with PatternMatcher.PATTERN_SIMPLE_GLOB.
android:fragmentThe fragment that is displayed when the user selects this item.
android:sspSpecify a URI scheme specific part that must exactly match, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_LITERAL.
android:sspPrefixSpecify a URI scheme specific part that must be a prefix to match, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_PREFIX.
android:sspPatternSpecify a URI scheme specific part that matches a simple pattern, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_SIMPLE_GLOB.
android:mimeGroupSpecify a group of MIME types that are handled.
android:pathSuffixSpecify a URI path that must be a suffix to match, as per PatternMatcher with PatternMatcher.PATTERN_SUFFIX.
android:sspSuffixSpecify a URI scheme specific part that must be a suffix to match, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_SUFFIX.
android:pathAdvancedPattern
android:sspAdvancedPatternSpecify a URI scheme specific part that matches an advanced pattern, as per IntentFilter.addDataSchemeSpecificPart() with PatternMatcher.PATTERN_ADVANCED_GLOB.
android:querySpecify a URI query that must exactly match, as a UriRelativeFilter with PatternMatcher.PATTERN_LITERAL.
android:queryPrefixSpecify a URI query that must be a prefix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_PREFIX.
android:queryPatternSpecify a URI query that matches a simple pattern, as a UriRelativeFilter with PatternMatcher.PATTERN_SIMPLE_GLOB.
android:queryAdvancedPatternSpecify a URI query that matches an advanced pattern, as a UriRelativeFilter with PatternMatcher.PATTERN_ADVANCED_GLOB.
android:querySuffixSpecify a URI query that must be a suffix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_SUFFIX.
android:fragmentPrefixSpecify a URI fragment that must be a prefix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_PREFIX.
android:fragmentPatternSpecify a URI fragment that matches a simple pattern, as a UriRelativeFilter with PatternMatcher.PATTERN_SIMPLE_GLOB.
android:fragmentAdvancedPatternSpecify a URI fragment that matches an advanced pattern, as a UriRelativeFilter with PatternMatcher.PATTERN_ADVANCED_GLOB.
android:fragmentSuffixSpecify a URI fragment that must be a suffix to match, as a UriRelativeFilter with PatternMatcher.PATTERN_SUFFIX.

AndroidManifestDenyPermission

public static final int[] AndroidManifestDenyPermission

The deny-permission tag specifies that a permission is to be denied for a particular process (if specified under the process tag) or by default for all processes {if specified under theR.styleable

AndroidManifestExtensionSdk

public static final int[] AndroidManifestExtensionSdk

The extension-sdk tag is a child of the tag, and specifies required extension sdk features.

Includes the following attributes:

AttributeDescription
android:sdkVersionThe extension SDK version that this tag refers to.
android:minExtensionVersionThe minimum version of the extension SDK this application requires.

AndroidManifestFeatureGroup

public static final int[] AndroidManifestFeatureGroup

The feature-group tag specifies a set of one or more uses-feature elements that the application can utilize. An application uses multiple feature-group sets to indicate that it can support different combinations of features.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.

AndroidManifestGrantUriPermission

public static final int[] AndroidManifestGrantUriPermission

Attributes that can be supplied in an AndroidManifest.xml grant-uri-permission tag, a child of the provider tag, describing a specific URI path that can be granted as a permission. This tag can be specified multiple time to supply multiple paths. If multiple path matching attributes are supplied, they will be evaluated in the following order with the first attribute being the only one honored: pathAdvancedPattern, pathPattern, pathPrefix, pathSuffix, path.

Includes the following attributes:

AttributeDescription
android:pathSpecify a URI path that must exactly match, as per PatternMatcher with PatternMatcher.PATTERN_LITERAL.
android:pathPrefixSpecify a URI path that must be a prefix to match, as per PatternMatcher with PatternMatcher.PATTERN_PREFIX.
android:pathPatternSpecify a URI path that matches a simple pattern, as per PatternMatcher with PatternMatcher.PATTERN_SIMPLE_GLOB.
android:pathSuffixSpecify a URI path that must be a suffix to match, as per PatternMatcher with PatternMatcher.PATTERN_SUFFIX.
android:pathAdvancedPattern

AndroidManifestInstallConstraints

public static final int[] AndroidManifestInstallConstraints

AndroidManifestInstrumentation

public static final int[] AndroidManifestInstrumentation

Attributes that can be supplied in an AndroidManifest.xml instrumentation tag, a child of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:targetPackageThe name of the application package that an Instrumentation object will run against.
android:handleProfilingFlag 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.
android:functionalTestFlag indicating that an Instrumentation class should be run as a functional test.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:targetProcessesThe name of an application's processes that an Instrumentation object will run against.

AndroidManifestIntentFilter

public static final int[] AndroidManifestIntentFilter

The intent-filter tag is used to construct an IntentFilter object that will be used to determine which component can handle a particular Intent that has been given to the system. It can be used as a child of the activity, receiver and service tags.

Zero or more action, category, and/or data tags should be included inside to describe the contents of the filter.

The optional label and icon attributes here are used with an activity to supply an alternative description of that activity when it is being started through an Intent matching this filter.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:prioritySpecify the relative importance or ability in handling a particular Intent.
android:orderThe order for the Preference (lower values are to be ordered first).
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:autoVerifySpecify whether an activity intent filter will need to be verified thru its set of data URIs.
android:roundIconA Drawable resource providing a graphical representation of its associated item.

AndroidManifestKeySet

public static final int[] AndroidManifestKeySet

Attributes that can be used with a AndroidManifestKeySet.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestLayout

public static final int[] AndroidManifestLayout

layout tag allows configuring the layout for the activity within multi-window environment.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:minWidth
android:minHeight
android:defaultWidthDefault width of the activity.
android:defaultHeightDefault height of the activity.
android:windowLayoutAffinityWindow layout affinity of this activity.

AndroidManifestLibrary

public static final int[] AndroidManifestLibrary

The library tag declares that this apk is providing itself as a shared library for other applications to use. It can only be used with apks that are built in to the system image. Other apks can link to it with the uses-library tag.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestMetaData

public static final int[] AndroidManifestMetaData

The meta-data tag is used to attach additional arbitrary data to an application component. The data can later be retrieved programmatically from the ComponentInfo.metaData field. There is no meaning given to this data by the system. You may supply the data through either the value or resource attribute; if both are given, then resource will be used.

It is highly recommended that you avoid supplying related data as multiple separate meta-data entries. Instead, if you have complex data to associate with a component, then use the resource attribute to assign an XML resource that the client can parse to retrieve the complete data.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:valueConcrete value to assign to this piece of named meta-data.
android:resourceResource identifier to assign to this piece of named meta-data.

AndroidManifestOriginalPackage

public static final int[] AndroidManifestOriginalPackage

Private tag to declare the original package name that this package is based on. Only used for packages installed in the system image. If given, and different than the actual package name, and the given original package was previously installed on the device but the new one was not, then the data for the old one will be renamed to be for the new package.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestPackageVerifier

public static final int[] AndroidManifestPackageVerifier

Attributes relating to a package verifier.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:publicKeyThe attribute that holds a Base64-encoded public key.

AndroidManifestPathPermission

public static final int[] AndroidManifestPathPermission

Attributes that can be supplied in an AndroidManifest.xml path-permission tag, a child of the provider tag, describing a permission that allows access to a specific path in the provider. This tag can be specified multiple time to supply multiple paths. If multiple path matching attributes are supplied, they will be evaluated in the following order with the first attribute being the only one honored: pathAdvancedPattern, pathPattern, pathPrefix, pathSuffix, path.

Includes the following attributes:

AttributeDescription
android:permissionSpecify a permission that a client is required to have in order to use the associated object.
android:readPermissionA specific R.attr.permission name for read-only access to a ContentProvider.
android:writePermissionA specific R.attr.permission name for write access to a ContentProvider.
android:pathSpecify a URI path that must exactly match, as per PatternMatcher with PatternMatcher.PATTERN_LITERAL.
android:pathPrefixSpecify a URI path that must be a prefix to match, as per PatternMatcher with PatternMatcher.PATTERN_PREFIX.
android:pathPatternSpecify a URI path that matches a simple pattern, as per PatternMatcher with PatternMatcher.PATTERN_SIMPLE_GLOB.
android:pathSuffixSpecify a URI path that must be a suffix to match, as per PatternMatcher with PatternMatcher.PATTERN_SUFFIX.
android:pathAdvancedPattern

AndroidManifestPermission

public static final int[] AndroidManifestPermission

The permission tag declares a security permission that can be used to control access from other packages to specific components or features in your package (or other packages). See the Security and Permissions document for more information on permissions.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:protectionLevelCharacterizes 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.
android:permissionGroupSpecified the name of a group that this permission is associated with.
android:descriptionDescriptive text for the associated data.
android:maxSdkVersionOptional: specify the maximum version of the Android OS for which the application wishes to request the permission.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:permissionFlagsFlags indicating more context for a permission.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:knownCertsA reference to an array resource containing the signing certificate digests to be granted this permission when using the knownSigner protection flag.

AndroidManifestPermissionGroup

public static final int[] AndroidManifestPermissionGroup

The permission-group tag declares a logical grouping of related permissions.

Note that this tag does not declare a permission itself, only a namespace in which further permissions can be placed. See the <permission> tag for more information.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:prioritySpecify the relative importance or ability in handling a particular Intent.
android:descriptionDescriptive text for the associated data.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:permissionGroupFlagsFlags indicating more context for a permission group.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:roundIconA Drawable resource providing a graphical representation of its associated item.

AndroidManifestPermissionTree

public static final int[] AndroidManifestPermissionTree

The permission-tree tag declares the base of a tree of permission values: it declares that this package has ownership of the given permission name, as well as all names underneath it (separated by '.'). This allows you to use the PackageManager.addPermission() method to dynamically add new permissions under this tree.

Note that this tag does not declare a permission itself, only a namespace in which further permissions can be placed. See the <permission> tag for more information.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:roundIconA Drawable resource providing a graphical representation of its associated item.

AndroidManifestProcess

public static final int[] AndroidManifestProcess

The process tag enumerates one of the available processes under its containing processes tag.

This appears as a child tag of the processes tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:processSpecify a specific process that the associated code is to run in.
android:useEmbeddedDexFlag to specify if this app (or process) wants to run the dex within its APK but not extracted or locally compiled variants.
android:gwpAsanModeEnable sampled memory bug detection in this process.
android:memtagModeEnable hardware memory tagging (ARM MTE) in this process.
android:nativeHeapZeroInitializedIf true enables automatic zero initialization of all native heap allocations.

AndroidManifestProcesses

public static final int[] AndroidManifestProcesses

AndroidManifestProfileable

public static final int[] AndroidManifestProfileable

Attributes that can be used with a AndroidManifestProfileable.

Includes the following attributes:

AttributeDescription
android:enabledSpecifies whether the widget is enabled.
android:shellFlag indicating whether the application can be profiled by the shell user, even when running on a device that is running in user mode.

AndroidManifestProperty

public static final int[] AndroidManifestProperty

The property tag is used to attach additional data that can be supplied to the parent component. A component element can contain any number of property subelements. Valid names are any of the PROPERTY_ constants defined in the PackageManager class. Values are obtained using the appropriate method on the PackageManager.Property class.

Ordinary values are specified through the value attribute. Resource IDs are specified through the resource attribute.

It is invalid to specify both a value and resource attributes.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:valueConcrete value to assign to this piece of named meta-data.
android:resourceResource identifier to assign to this piece of named meta-data.

AndroidManifestProtectedBroadcast

public static final int[] AndroidManifestProtectedBroadcast

Private tag to declare system protected broadcast actions.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestProvider

public static final int[] AndroidManifestProvider

The provider tag declares a ContentProvider class that is available as part of the package's application components, supplying structured access to data managed by the application.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:permissionSpecify a permission that a client is required to have in order to use the associated object.
android:readPermissionA specific R.attr.permission name for read-only access to a ContentProvider.
android:writePermissionA specific R.attr.permission name for write access to a ContentProvider.
android:enabledSpecifies whether the widget is enabled.
android:exportedFlag indicating whether the given application component is available to other applications.
android:processSpecify a specific process that the associated code is to run in.
android:multiprocessSpecify whether a component is allowed to have multiple instances of itself running in different processes.
android:authoritiesSpecify the authorities under which this content provider can be found.
android:syncableFlag indicating whether this content provider would like to participate in data synchronization.
android:initOrderSpecify the order in which content providers hosted by a process are instantiated when that process is created.
android:grantUriPermissionsIf 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.
android:descriptionDescriptive text for the associated data.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:singleUserIf set to true, a single instance of this component will run for all users.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:directBootAwareIndicate 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).
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:visibleToInstantAppsSpecify whether a component should be visible to instant apps.
android:splitNameWhen an application is partitioned into splits, this is the name of the split that contains the defined component.
android:forceUriPermissionsIf true, the system will always create URI permission grants in the cases where Intent.FLAG_GRANT_READ_URI_PERMISSION or Intent.FLAG_GRANT_WRITE_URI_PERMISSION would apply.
android:attributionTagsAttribution tag to be used for permission sub-attribution if a permission is checked in Context.sendBroadcast(Intent, String).
android:systemUserOnlyIf set to true, only a single instance of this component will run and be available for the SYSTEM user.

See also:

AndroidManifestPublicKey

public static final int[] AndroidManifestPublicKey

Attributes that can be used with a AndroidManifestPublicKey.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:valueConcrete value to assign to this piece of named meta-data.

AndroidManifestQueries

public static final int[] AndroidManifestQueries

AndroidManifestQueriesIntent

public static final int[] AndroidManifestQueriesIntent

AndroidManifestQueriesPackage

public static final int[] AndroidManifestQueriesPackage

Attributes that can be used with a AndroidManifestQueriesPackage.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestQueriesProvider

public static final int[] AndroidManifestQueriesProvider

Attributes that can be used with a AndroidManifestQueriesProvider.

Includes the following attributes:

AttributeDescription
android:authoritiesSpecify the authorities under which this content provider can be found.

AndroidManifestReceiver

public static final int[] AndroidManifestReceiver

The receiver tag declares an BroadcastReceiver class that is available as part of the package's application components, allowing the application to receive actions or data broadcast by other applications even if it is not currently running.

Zero or more intent-filter tags can be included inside of a receiver, to specify the Intents it will receive. If none are specified, the receiver will only be run when an Intent is broadcast that is directed at its specific class name. The receiver tag appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:permissionSpecify a permission that a client is required to have in order to use the associated object.
android:enabledSpecifies whether the widget is enabled.
android:exportedFlag indicating whether the given application component is available to other applications.
android:processSpecify a specific process that the associated code is to run in.
android:descriptionDescriptive text for the associated data.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:singleUserIf set to true, a single instance of this component will run for all users.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:directBootAwareIndicate 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).
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:attributionTagsAttribution tag to be used for permission sub-attribution if a permission is checked in Context.sendBroadcast(Intent, String).

AndroidManifestRequiredFeature

public static final int[] AndroidManifestRequiredFeature

required-feature and required-not-feature elements inside uses-permission can be used to request the permission based on the fact whether the system supports or does not support certain features. If multiple required-feature and/or required-not-feature elements are present, the permission will be \u201crequested\u201d only if the system supports all of the listed "required-features" and does not support any of the "required-not-features".

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestRequiredNotFeature

public static final int[] AndroidManifestRequiredNotFeature

Attributes that can be used with a AndroidManifestRequiredNotFeature.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestResourceOverlay

public static final int[] AndroidManifestResourceOverlay

Attributes relating to resource overlay packages.

Includes the following attributes:

AttributeDescription
android:prioritySpecify the relative importance or ability in handling a particular Intent.
android:targetPackageThe name of the application package that an Instrumentation object will run against.
android:categoryThe category attribute will be used by the Android platform to present multiple applications that register ISO 7816 Application IDs (AIDs) in the same category uniformly.
android:targetNameThe transitionName of the target on which this transition will animation changes.
android:isStaticWhether the given RRO is static or not.
android:resourcesMapThe xml file that defines the target id to overlay value mappings.

AndroidManifestSdkLibrary

public static final int[] AndroidManifestSdkLibrary

The sdk-library tag declares that this apk is providing itself as an SDK library for other applications to use. Any app can declare an SDK library and there can be only one SDK library per package. These SDK libraries are updatable, multiple major versions can be installed at the same time, and an app depends on a specific version. Other apks can link to it with the uses-sdk-library tag.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:versionMajorOptional minimum major version of the package that satisfies the dependency.

AndroidManifestService

public static final int[] AndroidManifestService

The service tag declares a Service class that is available as part of the package's application components, implementing long-running background operations or a rich communication API that can be called by other packages.

Zero or more intent-filter tags can be included inside of a service, to specify the Intents that can connect with it. If none are specified, the service can only be accessed by direct specification of its class name. The service tag appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:nameA unique name for the given item.
android:permissionSpecify a permission that a client is required to have in order to use the associated object.
android:enabledSpecifies whether the widget is enabled.
android:exportedFlag indicating whether the given application component is available to other applications.
android:processSpecify a specific process that the associated code is to run in.
android:descriptionDescriptive text for the associated data.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:stopWithTaskIf set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application.
android:isolatedProcessIf set to true, this service will run under a special process that is isolated from the rest of the system.
android:singleUserIf set to true, a single instance of this component will run for all users.
android:bannerA Drawable resource providing an extended graphical banner for its associated item.
android:directBootAwareIndicate 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).
android:externalServiceIf the service is an R.attr.isolatedProcess service, this permits a client to bind to the service as if it were running it its own package.
android:roundIconA Drawable resource providing a graphical representation of its associated item.
android:visibleToInstantAppsSpecify whether a component should be visible to instant apps.
android:splitNameWhen an application is partitioned into splits, this is the name of the split that contains the defined component.
android:useAppZygoteIf true, and this is an R.attr.isolatedProcess service, the service will be spawned from an Application Zygote, instead of the regular Zygote.
android:foregroundServiceTypeSpecify the type of foreground service.
android:attributionTagsAttribution tag to be used for permission sub-attribution if a permission is checked in Context.sendBroadcast(Intent, String).
android:allowSharedIsolatedProcessIf true, and this is an R.attr.isolatedProcess service, the service is allowed to be bound in a shared isolated process with other isolated services.
android:systemUserOnlyIf set to true, only a single instance of this component will run and be available for the SYSTEM user.

AndroidManifestStaticLibrary

public static final int[] AndroidManifestStaticLibrary

The static-library tag declares that this apk is providing itself as a static shared library for other applications to use. Any app can declare such a library and there can be only one static shared library per package. These libraries are updatable, multiple versions can be installed at the same time, and an app links against a specific version simulating static linking while allowing code sharing. Other apks can link to it with the uses-static-library tag.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:versionThe version of the feature that is being used.
android:versionMajorOptional minimum major version of the package that satisfies the dependency.

AndroidManifestSupportsInputInputType

public static final int[] AndroidManifestSupportsInputInputType

The input-type tag is a child of the supports-input tag, which is itself a child of the root manifest tag. Each input-type tag specifices the name of a specific input device type. When grouped with the other elements of the parent supports-input tag it defines a collection of input devices, which when all used together, are considered a supported input mechanism for the application. There may be multiple supports-input tags defined, each containing a different combination of input device types.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestSupportsScreens

public static final int[] AndroidManifestSupportsScreens

The supports-screens specifies the screen dimensions an application supports. By default a modern application supports all screen sizes and must explicitly disable certain screen sizes here; older applications are assumed to only support the traditional normal (HVGA) screen size. Note that screen size is a separate axis from density, and is determined as the available pixels to an application after density scaling has been applied.

This appears as a child tag of the manifest tag.

Includes the following attributes:

AttributeDescription
android:anyDensityIndicates whether the application can accommodate any screen density.
android:smallScreensIndicates whether the application supports smaller screen form-factors.
android:normalScreensIndicates whether an application supports the normal screen form-factors.
android:largeScreensIndicates whether the application supports larger screen form-factors.
android:resizeableIndicates whether the application can resize itself to newer screen sizes.
android:xlargeScreensIndicates whether the application supports extra large screen form-factors.
android:requiresSmallestWidthDpStarting with Build.VERSION_CODES.HONEYCOMB_MR2, this is the new way to specify the minimum screen size an application is compatible with.
android:compatibleWidthLimitDpStarting with Build.VERSION_CODES.HONEYCOMB_MR2, this is the new way to specify the largest screens an application is compatible with.
android:largestWidthLimitDpStarting with Build.VERSION_CODES.HONEYCOMB_MR2, this is the new way to specify the screens an application is compatible with.

AndroidManifestUpgradeKeySet

public static final int[] AndroidManifestUpgradeKeySet

Associate declared KeySets with upgrading capability.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestUriRelativeFilterGroup

public static final int[] AndroidManifestUriRelativeFilterGroup

Attributes that can be supplied in an AndroidManifest.xml data tag, a child of the intent-filter tag, describing a group matching rule consisting of one or more data tags that must all match. This tag can be specified multiple times to create multiple groups that will be matched in the order they are defined.

Includes the following attributes:

AttributeDescription
android:allowSpecify if this group is allow rule or disallow rule.

AndroidManifestUsesConfiguration

public static final int[] AndroidManifestUsesConfiguration

This field is deprecated.
Use feature-group instead.

Includes the following attributes:

AttributeDescription
android:reqTouchScreenThe touch screen type used by an application.
android:reqKeyboardTypeThe input method preferred by an application.
android:reqHardKeyboardApplication's requirement for a hard keyboard
android:reqNavigationThe navigation device preferred by an application.
android:reqFiveWayNavApplication's requirement for five way navigation

The uses-configuration tag specifies a specific hardware configuration value used by the application. For example an application might specify that it requires a physical keyboard or a particular navigation method like trackball. Multiple such attribute values can be specified by the application.

This appears as a child tag of the root manifest tag.

AndroidManifestUsesFeature

public static final int[] AndroidManifestUsesFeature

The uses-feature tag specifies a specific device hardware or software feature used by the application. For example an application might specify that it requires a camera. Multiple attribute values can be specified by the application.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:glEsVersionThe GLES driver version number needed by an application.
android:requiredSpecify whether this feature is required for the application.
android:versionThe version of the feature that is being used.

AndroidManifestUsesLibrary

public static final int[] AndroidManifestUsesLibrary

The uses-libraries specifies a shared library that this package requires to be linked against. Specifying this flag tells the system to include this library's code in your class loader.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:requiredSpecify whether this feature is required for the application.

AndroidManifestUsesNativeLibrary

public static final int[] AndroidManifestUsesNativeLibrary

The uses-native-library specifies a native shared library that this package requires to be linked against. Specifying this flag tells the system to make the native library to be available to your app.

On devices running R or lower, this is ignored and the app has access to all the public native shared libraries that are exported from the platform. This is also ignored if the app is targeting R or lower.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:requiredSpecify whether this feature is required for the application.

AndroidManifestUsesPackage

public static final int[] AndroidManifestUsesPackage

The uses-package specifies some kind of dependency on another package. It does not have any impact on the app's execution on the device, but provides information about dependencies it has on other packages that need to be satisfied for it to run correctly. That is, this is primarily for installers to know what other apps need to be installed along with this one.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:versionThe version of the feature that is being used.
android:certDigestOptional SHA-256 digest of the package signing certificate.
android:versionMajorOptional minimum major version of the package that satisfies the dependency.
android:packageTypeRequired type of association with the package, for example "android.package.ad_service" if it provides an advertising service.

AndroidManifestUsesPermission

public static final int[] AndroidManifestUsesPermission

The uses-permission tag requests a <permission> that the containing package must be granted in order for it to operate correctly. For runtime permissions, i.e. ones with dangerous protection level, on a platform that supports runtime permissions, the permission will not be granted until the app explicitly requests it at runtime and the user approves the grant. You cannot request at runtime permissions that are not declared as used in the manifest. See the Security and Permissions document for more information on permissions. Also available is a list of permissions included with the base platform.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:minSdkVersionThis is the minimum SDK version number that the application requires.
android:maxSdkVersionOptional: specify the maximum version of the Android OS for which the application wishes to request the permission.
android:requiredFeatureOptional: the system must support this feature for the permission to be requested.
android:requiredNotFeatureOptional: the system must NOT support this feature for the permission to be requested.
android:usesPermissionFlagsOptional: set of flags that should apply to this permission request.

AndroidManifestUsesSdk

public static final int[] AndroidManifestUsesSdk

The uses-sdk tag describes the SDK features that the containing package must be running on to operate correctly.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:minSdkVersionThis is the minimum SDK version number that the application requires.
android:targetSdkVersionThis is the SDK version number that the application is targeting.
android:maxSdkVersionOptional: specify the maximum version of the Android OS for which the application wishes to request the permission.

AndroidManifestUsesSdkLibrary

public static final int[] AndroidManifestUsesSdkLibrary

The uses-sdk-library specifies a shared SDK library that this package requires to be present on the device.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:certDigestOptional SHA-256 digest of the package signing certificate.
android:versionMajorOptional minimum major version of the package that satisfies the dependency.
android:optionalSpecify whether the SDK is optional.

AndroidManifestUsesSplit

public static final int[] AndroidManifestUsesSplit

Attributes that can be used with a AndroidManifestUsesSplit.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

AndroidManifestUsesStaticLibrary

public static final int[] AndroidManifestUsesStaticLibrary

The uses-static-library specifies a shared static library that this package requires to be statically linked against. Specifying this tag tells the system to include this library's code in your class loader. Depending on a static shared library is equivalent to statically linking with the library at build time while it offers apps to share code defined in such libraries. Hence, static libraries are strictly required.

On devices running O MR1 or higher, if the library is singed with multiple signing certificates you must to specify the SHA-256 hashes of the additional certificates via adding additional-certificate tags.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:versionThe version of the feature that is being used.
android:certDigestOptional SHA-256 digest of the package signing certificate.

AnimatedImageDrawable

public static final int[] AnimatedImageDrawable

Drawable used to draw animated images (gif).

Includes the following attributes:

AttributeDescription
android:srcSets a drawable as the content of this ImageView.
android:repeatCountDefines how many times the animation should repeat.
android:autoStartWhen true, automatically start animating.
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

AnimatedRotateDrawable

public static final int[] AnimatedRotateDrawable

Attributes that can be used with a AnimatedRotateDrawable.

Includes the following attributes:

AttributeDescription
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:drawableReference to a drawable resource to use for the frame.
android:pivotX
android:pivotY

AnimatedStateListDrawable

public static final int[] AnimatedStateListDrawable

Drawable used to render several states with animated transitions. Each state is represented by a child drawable with an optional keyframe ID.

Includes the following attributes:

AttributeDescription
android:ditherEnables 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).
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:variablePaddingIf true, allows the drawable's padding to change based on the current state that is selected.
android:constantSizeIf true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states.
android:enterFadeDurationAmount of time (in milliseconds) to fade in a new state drawable.
android:exitFadeDurationAmount of time (in milliseconds) to fade out an old state drawable.
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

AnimatedStateListDrawableItem

public static final int[] AnimatedStateListDrawableItem

Transition used to animate between states with keyframe IDs.

Includes the following attributes:

AttributeDescription
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:drawableReference to a drawable resource to use for the frame.

AnimatedStateListDrawableTransition

public static final int[] AnimatedStateListDrawableTransition

Transition used to animate between states with keyframe IDs.

Includes the following attributes:

AttributeDescription
android:drawableReference to a drawable resource to use for the frame.
android:toIdKeyframe identifier for the ending state.
android:fromIdKeyframe identifier for the starting state.
android:reversibleWhether this transition is reversible.

AnimatedVectorDrawable

public static final int[] AnimatedVectorDrawable

Define the AnimatedVectorDrawable.

Includes the following attributes:

AttributeDescription
android:drawableReference to a drawable resource to use for the frame.

AnimatedVectorDrawableTarget

public static final int[] AnimatedVectorDrawableTarget

Defines the target used in the AnimatedVectorDrawable.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:animationAnimation to use on each child.

Animation

public static final int[] Animation

Attributes that can be used with a Animation.

Includes the following attributes:

AttributeDescription
android:backgroundA drawable to use as the background.
android:interpolatorSets the acceleration curve for the indeterminate animation.
android:durationAmount of time (in milliseconds) to display this frame.
android:fillBeforeWhen set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started.
android:fillAfterWhen set to true, the animation transformation is applied after the animation is over.
android:startOffsetDelay in milliseconds before the animation runs, once start time is reached.
android:repeatCountDefines how many times the animation should repeat.
android:repeatModeDefines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite.
android:zAdjustmentAllows for an adjustment of the Z ordering of the content being animated for the duration of the animation.
android:fillEnabledWhen set to true, the value of fillBefore is taken into account.
android:detachWallpaperSpecial option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it.
android:showBackdropSpecial option for window animations: whether to show a background behind the animating windows.
android:backdropColorSpecial option for window animations: whether the window's background should be used as a background to the animation.

AnimationDrawable

public static final int[] AnimationDrawable

Drawable used to render several animated frames.

Includes the following attributes:

AttributeDescription
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:variablePaddingIf true, allows the drawable's padding to change based on the current state that is selected.
android:oneshotIf true, the animation will only run a single time and then stop.

AnimationDrawableItem

public static final int[] AnimationDrawableItem

Represents a single frame inside an AnimationDrawable.

Includes the following attributes:

AttributeDescription
android:durationAmount of time (in milliseconds) to display this frame.
android:drawableReference to a drawable resource to use for the frame.

AnimationScaleListDrawable

public static final int[] AnimationScaleListDrawable

AnimationSet

public static final int[] AnimationSet

Attributes that can be used with a AnimationSet.

Includes the following attributes:

AttributeDescription
android:durationAmount of time (in milliseconds) to display this frame.
android:shareInterpolator
android:fillBeforeWhen set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started.
android:fillAfterWhen set to true, the animation transformation is applied after the animation is over.
android:startOffsetDelay in milliseconds before the animation runs, once start time is reached.
android:repeatModeDefines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite.

Animator

public static final int[] Animator

Attributes that can be used with a Animator.

Includes the following attributes:

AttributeDescription
android:interpolatorSets the acceleration curve for the indeterminate animation.
android:durationAmount of time (in milliseconds) to display this frame.
android:startOffsetDelay in milliseconds before the animation runs, once start time is reached.
android:repeatCountDefines how many times the animation should repeat.
android:repeatModeDefines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite.
android:valueFromValue the animation starts from.
android:valueToValue the animation animates to.
android:valueTypeThe type of valueFrom and valueTo.

AnimatorSet

public static final int[] AnimatorSet

Attributes that can be used with a AnimatorSet.

Includes the following attributes:

AttributeDescription
android:orderingName of the property being animated.

AnticipateInterpolator

public static final int[] AnticipateInterpolator

Attributes that can be used with a AnticipateInterpolator.

Includes the following attributes:

AttributeDescription
android:tensionThis is the amount of tension.

AnticipateOvershootInterpolator

public static final int[] AnticipateOvershootInterpolator

Attributes that can be used with a AnticipateOvershootInterpolator.

Includes the following attributes:

AttributeDescription
android:tensionThis is the amount of tension.
android:extraTensionThis is the amount by which to multiply the tension.

AppWidgetProviderInfo

public static final int[] AppWidgetProviderInfo

Use appwidget-provider as the root tag of the XML resource that describes an AppWidget provider. See android.appwidget package for more info.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:minWidth
android:minHeight
android:updatePeriodMillisUpdate period in milliseconds, or 0 if the AppWidget will update itself.
android:initialLayoutA resource id of a layout.
android:configureA class name in the AppWidget's package to be launched to configure.
android:previewImageA preview, in a drawable resource id, of what the Dream will look like.
android:autoAdvanceViewIdThe view id of the AppWidget subview which should be auto-advanced.
android:resizeModeOptional parameter which indicates if and how this widget can be resized.
android:minResizeWidthMinimum width that the AppWidget can be resized to.
android:minResizeHeightMinimum height that the AppWidget can be resized to.
android:initialKeyguardLayoutA resource id of a layout.
android:widgetCategoryOptional parameter which indicates where this widget can be shown, ie.
android:widgetFeaturesFlags indicating various features supported by the widget.
android:previewLayoutThe layout resource id of a preview of what the AppWidget will look like after it's configured.
android:maxResizeWidthMaximum width that the AppWidget can be resized to.
android:maxResizeHeightMaximum height that the AppWidget can be resized to.
android:targetCellWidthDefault width of the AppWidget in units of launcher grid cells.
android:targetCellHeightDefault height of the AppWidget in units of launcher grid cells.

ArcMotion

public static final int[] ArcMotion

Use arcMotion as the root tag of the XML resource that describes a ArcMotion. This must be used within a transition with which the PathMotion should be associated.

Includes the following attributes:

AttributeDescription
android:minimumHorizontalAngleThe minimum arc angle in degrees between the start and end points when they are close to horizontal.
android:minimumVerticalAngleThe minimum arc angle in degrees between the start and end points when they are close to vertical.
android:maximumAngleThe maximum arc angle in degrees between the start and end points.

AutoCompleteTextView

public static final int[] AutoCompleteTextView

Attributes that can be used with a AutoCompleteTextView.

Includes the following attributes:

AttributeDescription
android:completionHintDefines the hint displayed in the drop down menu.
android:completionHintViewDefines the hint view displayed in the drop down menu.
android:completionThresholdDefines the number of characters that the user must type before completion suggestions are displayed in a drop down menu.
android:dropDownSelectorSelector in a drop down list.
android:inputTypeThe type of data being placed in a text field, used to help an input method decide how to let the user enter text.
android:dropDownWidthSpecifies the basic width of the dropdown.
android:dropDownAnchorView to anchor the auto-complete dropdown to.
android:dropDownHeightSpecifies the basic height of the dropdown.
android:popupThemeReference to a theme that should be used to inflate popups shown by widgets in the toolbar.

AutofillService

public static final int[] AutofillService

Use autofill-service as the root tag of the XML resource that describes a AutofillService, which is referenced from its AutofillService.SERVICE_META_DATA meta-data entry.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:supportsInlineSuggestionsSpecifies whether the AutofillService supports inline suggestions
android:passwordsActivityFully qualified class name of an activity that allows the user to view any passwords saved by this service.

AutofillService_CompatibilityPackage

public static final int[] AutofillService_CompatibilityPackage

Use compatibility-package as a child tag of autofill-service in the XML resource that describes an AutofillService to specify a package and an optional max version code for which to request compatibility mode. If no max version code is specified compatibility mode is requested for all package versions. The max version code is useful to avoid requesting compatibility mode for newer package versions that are known to natively support autofill.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:maxLongVersionCodeThe max version code of the package for which compatibility mode is requested.

BitmapDrawable

public static final int[] BitmapDrawable

Drawable used to draw bitmaps.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:srcSets a drawable as the content of this ImageView.
android:antialiasEnables or disables antialiasing.
android:filterEnables or disables bitmap filtering.
android:ditherEnables 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).
android:tintThe tinting color for the image.
android:tileModeDefines the tile mode.
android:alphaalpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
android:mipMapEnables or disables the mipmap hint.
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
android:tintModeWhen a tint color is set, specifies its Porter-Duff blending mode.
android:tileModeXDefines the horizontal tile mode.
android:tileModeYDefines the vertical tile mode.

Button

public static final int[] Button

CalendarView

public static final int[] CalendarView

Attributes that can be used with a CalendarView.

Includes the following attributes:

AttributeDescription
android:firstDayOfWeekThe first day of week according to Calendar.
android:showWeekNumber@deprecated Whether do show week numbers.
android:minDateThe minimal date shown by this calendar view in mm/dd/yyyy format.
android:maxDateThe maximal date shown by this calendar view in mm/dd/yyyy format.
android:shownWeekCount@deprecated The number of weeks to be shown.
android:selectedWeekBackgroundColor@deprecated The background color for the selected week.
android:focusedMonthDateColor@deprecated The color for the dates of the focused month.
android:unfocusedMonthDateColor@deprecated The color for the dates of an unfocused month.
android:weekNumberColor@deprecated The color for the week numbers.
android:weekSeparatorLineColor@deprecated The color for the separator line between weeks.
android:selectedDateVerticalBar@deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date.
android:weekDayTextAppearanceThe text appearance for the week day abbreviation in the calendar header.
android:dateTextAppearanceThe text appearance for the day numbers in the calendar grid.

ChangeBounds

public static final int[] ChangeBounds

Use changeBoundsas the root tag of the XML resource that describes a ChangeBounds transition. The attributes of the Transition resource are available in addition to the specific attributes of ChangeBounds described here.

Includes the following attributes:

AttributeDescription
android:resizeClipResize the view by adjusting the clipBounds rather than changing the dimensions of the view itself.

ChangeTransform

public static final int[] ChangeTransform

Use changeTransform as the root tag of the XML resource that describes a ChangeTransform transition.

Includes the following attributes:

AttributeDescription
android:reparentTells ChangeTransform to track parent changes.
android:reparentWithOverlayA parent change should use an overlay or affect the transform of the transitionining View.

CheckBoxPreference

public static final int[] CheckBoxPreference

Base attributes available to CheckBoxPreference.

Includes the following attributes:

AttributeDescription
android:summaryOnThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.
android:summaryOffThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.
android:disableDependentsStateThe state (true for on, or false for off) that causes dependents to be disabled.

CheckedTextView

public static final int[] CheckedTextView

Attributes that can be used with a CheckedTextView.

Includes the following attributes:

AttributeDescription
android:checkedIndicates the initial checked state of this button.
android:checkMarkDrawable used for the check mark graphic.
android:checkMarkTintTint to apply to the check mark.
android:checkMarkTintModeBlending mode used to apply the check mark tint.

Chronometer

public static final int[] Chronometer

Attributes that can be used with a Chronometer.

Includes the following attributes:

AttributeDescription
android:formatFormat 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.
android:countDownSpecifies whether this Chronometer counts down or counts up from the base.

ClipDrawable

public static final int[] ClipDrawable

Attributes that can be used with a ClipDrawable.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:drawableReference to a drawable resource to use for the frame.
android:clipOrientationThe orientation for the clip.

ClipRectAnimation

public static final int[] ClipRectAnimation

Attributes that can be used with a ClipRectAnimation.

Includes the following attributes:

AttributeDescription

ColorDrawable

public static final int[] ColorDrawable

Drawable used to draw a single color.

Includes the following attributes:

AttributeDescription
android:colorSolid color for the gradient shape.

ColorStateListItem

public static final int[] ColorStateListItem

Attributes that can be assigned to a ColorStateList item.

Includes the following attributes:

AttributeDescription
android:colorSolid color for the gradient shape.
android:alphaalpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
android:lStarPerceptual luminance of a color, in accessibility friendly color space.

CompoundButton

public static final int[] CompoundButton

Attributes that can be used with a CompoundButton.

Includes the following attributes:

AttributeDescription
android:checkedIndicates the initial checked state of this button.
android:buttonDrawable used for the button graphic (for example, checkbox and radio button).
android:buttonTintTint to apply to the button graphic.
android:buttonTintModeBlending mode used to apply the button graphic tint.

ContactsDataKind

public static final int[] ContactsDataKind

Maps a specific contact data MIME-type to styling information.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:mimeTypeSpecify a MIME type that is handled, as per IntentFilter.addDataType().
android:summaryColumnColumn in data table that summarizes this data.
android:detailColumnColumn in data table that contains details for this data.
android:detailSocialSummaryFlag indicating that detail should be built from SocialProvider.
android:allContactsNameResource representing the term "All Contacts" (for example, "All Friends" or "All connections").

CredentialProvider

public static final int[] CredentialProvider

Contains Credential Provider related metadata. Since providers are exposed as services these should live under the service.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:settingsSubtitleA string that is displayed to the user in the Credential Manager settings screen that can be used to provide more information about a provider.

CredentialProvider_Capabilities

public static final int[] CredentialProvider_Capabilities

A list of capabilities that indicates to the OS what kinds of credentials this provider supports.

Includes the following attributes:

AttributeDescription
android:capabilityAn individual capability declared by the provider.

CycleInterpolator

public static final int[] CycleInterpolator

Attributes that can be used with a CycleInterpolator.

Includes the following attributes:

AttributeDescription
android:cycles

DatePicker

public static final int[] DatePicker

Attributes that can be used with a DatePicker.

Includes the following attributes:

AttributeDescription
android:headerBackgroundDefault background for the menu header.
android:startYearThe first year (inclusive), for example "1940".
android:endYearThe last year (inclusive), for example "2010".
android:firstDayOfWeekThe first day of week according to Calendar.
android:minDateThe minimal date shown by this calendar view in mm/dd/yyyy format.
android:maxDateThe maximal date shown by this calendar view in mm/dd/yyyy format.
android:spinnersShownWhether the spinners are shown.
android:calendarViewShownWhether the calendar view is shown.
android:dayOfWeekBackgroundThe background color for the header's day of week.
android:dayOfWeekTextAppearanceThe text color for the header's day of week.
android:headerMonthTextAppearanceThe text appearance for the month (ex.
android:headerDayOfMonthTextAppearanceThe text appearance for the day of month (ex.
android:headerYearTextAppearanceThe text appearance for the year (ex.
android:yearListItemTextAppearanceThe list year's text appearance in the list.
android:yearListSelectorColorThe list year's selected circle color in the list.
android:calendarTextColorThe text color list of the calendar.
android:datePickerModeDefines the look of the widget.

DateTimeView

public static final int[] DateTimeView

Attributes that can be used with a DateTimeView.

Includes the following attributes:

AttributeDescription

DecelerateInterpolator

public static final int[] DecelerateInterpolator

Attributes that can be used with a DecelerateInterpolator.

Includes the following attributes:

AttributeDescription
android:factorThis is the amount of deceleration to add when easing in.

DeviceAdmin

public static final int[] DeviceAdmin

Use device-admin as the root tag of the XML resource that describes a DeviceAdminReceiver, which is referenced from its DeviceAdminReceiver.DEVICE_ADMIN_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:visibleProvides initial visibility state of the drawable; the default value is false.

DialogPreference

public static final int[] DialogPreference

Base attributes available to DialogPreference.

Includes the following attributes:

AttributeDescription
android:dialogTitleThe title in the dialog.
android:dialogMessageThe message in the dialog.
android:dialogIconThe icon for the dialog.
android:positiveButtonTextThe positive button text for the dialog.
android:negativeButtonTextThe negative button text for the dialog.
android:dialogLayoutA layout to be used as the content View for the dialog.

Drawable

public static final int[] Drawable

Base attributes that are available to all Drawable objects.

Includes the following attributes:

AttributeDescription
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

DrawableCorners

public static final int[] DrawableCorners

Describes the corners for the rectangle shape of a GradientDrawable. This can be used to render rounded corners.

Includes the following attributes:

AttributeDescription
android:radiusDefines the radius of the four corners.
android:topLeftRadiusRadius of the top left corner.
android:topRightRadiusRadius of the top right corner.
android:bottomLeftRadiusRadius of the bottom left corner.
android:bottomRightRadiusRadius of the bottom right corner.

DrawableStates

public static final int[] DrawableStates

Set of framework-provided states that may be specified on a Drawable. Actual usage of states may vary between view implementations, as documented on the individual state attributes.

Includes the following attributes:

AttributeDescription
android:state_focusedState value for StateListDrawable, set when a view has input focus.
android:state_window_focusedState value for StateListDrawable, set when a view's window has input focus.
android:state_enabledState value for StateListDrawable, set when a view is enabled.
android:state_checkableState identifier indicating that the object may display a check mark.
android:state_checkedState identifier indicating that the object is currently checked.
android:state_selectedState value for StateListDrawable, set when a view (or one of its parents) is currently selected.
android:state_activeState value for StateListDrawable, set when a view or drawable is considered "active" by its host.
android:state_singleState value for StateListDrawable, set when a view or drawable is considered "single" by its host.
android:state_firstState value for StateListDrawable, set when a view or drawable is in the first position in an ordered set.
android:state_middleState value for StateListDrawable, set when a view or drawable is in the middle position in an ordered set.
android:state_lastState value for StateListDrawable, set when a view or drawable is in the last position in an ordered set.
android:state_pressedState value for StateListDrawable, set when the user is pressing down in a view.
android:state_activatedState value for StateListDrawable, set when a view or its parent has been "activated" meaning the user has currently marked it as being of interest.
android:state_acceleratedState value for StateListDrawable, indicating that the Drawable is in a view that is hardware accelerated.
android:state_hoveredState value for StateListDrawable, set when a pointer is hovering over the view.
android:state_drag_can_acceptState 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.
android:state_drag_hoveredState for StateListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipient) is currently positioned over the Drawable.

DrawableWrapper

public static final int[] DrawableWrapper

Drawable class used to wrap other drawables.

Includes the following attributes:

AttributeDescription
android:drawableReference to a drawable resource to use for the frame.

Dream

public static final int[] Dream

Use dream as the root tag of the XML resource that describes an DreamService, which is referenced from its DreamService.DREAM_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:previewImageA preview, in a drawable resource id, of what the Dream will look like.
android:showClockAndComplicationsWhether to show clock and other complications such as weather in the overlay.

EdgeEffect

public static final int[] EdgeEffect

Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits.

Includes the following attributes:

AttributeDescription
android:colorEdgeEffectThe color applied to the edge effect on scrolling containers.

EditText

public static final int[] EditText

Attributes that can be used with a EditText.

Includes the following attributes:

AttributeDescription
android:enableTextStylingShortcutsEnables styling shortcuts, e.g.

ExpandableListChildIndicatorState

public static final int[] ExpandableListChildIndicatorState

State array representing an expandable list child's indicator.

Includes the following attributes:

AttributeDescription
android:state_lastState value for StateListDrawable, set when a view or drawable is in the last position in an ordered set.

ExpandableListGroupIndicatorState

public static final int[] ExpandableListGroupIndicatorState

State array representing an expandable list group's indicator.

Includes the following attributes:

AttributeDescription
android:state_expandedState identifier indicating the group is expanded.
android:state_emptyState identifier indicating the group is empty (has no children).

ExpandableListView

public static final int[] ExpandableListView

Attributes that can be used with a ExpandableListView.

Includes the following attributes:

AttributeDescription
android:groupIndicatorIndicator shown beside the group View.
android:childIndicatorIndicator shown beside the child View.
android:indicatorLeftThe left bound for an item's indicator.
android:indicatorRightThe right bound for an item's indicator.
android:childIndicatorLeftThe left bound for a child's indicator.
android:childIndicatorRightThe right bound for a child's indicator.
android:childDividerDrawable or color that is used as a divider for children.
android:indicatorStartThe start bound for an item's indicator.
android:indicatorEndThe end bound for an item's indicator.
android:childIndicatorStartThe start bound for a child's indicator.
android:childIndicatorEndThe end bound for a child's indicator.

ExtendAnimation

public static final int[] ExtendAnimation

Defines the ExtendAnimation used to extend windows during animations

Includes the following attributes:

AttributeDescription
android:fromExtendLeftDefines the amount a window should be extended outward from the left at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.
android:fromExtendTopDefines the amount a window should be extended outward from the top at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.
android:fromExtendRightDefines the amount a window should be extended outward from the right at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.
android:fromExtendBottomDefines the amount a window should be extended outward from the bottom at the start of the animation in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.
android:toExtendLeftDefines the amount a window should be extended outward from the left by the end of the animation by transitioning from the fromExtendLeft amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.
android:toExtendTopDefines the amount a window should be extended outward from the top by the end of the animation by transitioning from the fromExtendTop amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.
android:toExtendRightDefines the amount a window should be extended outward from the right by the end of the animation by transitioning from the fromExtendRight amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's width.
android:toExtendBottomDefines the amount a window should be extended outward from the bottom by the end of the animation by transitioning from the fromExtendBottom amount in an absolute dimension (interpreted as pixels if no dimension unit is provided) or as a percentage of the animation target's height.

Extra

public static final int[] Extra

An extra data value to place into a an extra/name value pair held in a Bundle, as per Bundle.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:valueConcrete value to assign to this piece of named meta-data.

Fade

public static final int[] Fade

Use fadeas the root tag of the XML resource that describes a Fade transition. The attributes of the Transition resource are available in addition to the specific attributes of Fade described here.

Includes the following attributes:

AttributeDescription
android:fadingModeEquivalent to transitionVisibilityMode, fadingMode works only with the Fade transition.

See also:

FastScroll

public static final int[] FastScroll

Attributes that can be used with a FastScroll.

Includes the following attributes:

AttributeDescription
android:textAppearanceDefault appearance of text: color, typeface, size, and style.
android:textSizeSize of text.
android:textColorColor of text (usually same as colorForeground).
android:paddingSets the padding, in pixels, of all four edges.
android:minWidth
android:minHeight
android:thumbPositionPosition of thumb in relation to the track.

FontFamily

public static final int[] FontFamily

This field is deprecated.
Use Jetpack Core library instead.

Attributes that are read when parsing a <fontfamily> tag.

Includes the following attributes:

AttributeDescription
android:fontProviderAuthorityThe authority of the Font Provider to be used for the request.
android:fontProviderQueryThe query to be sent over to the provider.
android:fontProviderPackageThe package for the Font Provider to be used for the request.
android:fontProviderCertsThe sets of hashes for the certificates the provider should be signed with.
android:fontProviderSystemFontFamilyProvides the system font family name to check before downloading the font.

FontFamilyFont

public static final int[] FontFamilyFont

Attributes that are read when parsing a <font> tag, which is a child of <font-family>. This represents an actual font file and its attributes.

Includes the following attributes:

AttributeDescription
android:fontThe reference to the font file to be used.
android:fontWeightThe weight of the given font file.
android:fontStyleThe style of the given font file.
android:ttcIndexThe index of the font in the ttc (TrueType Collection) font file.
android:fontVariationSettingsThe variation settings to be applied to the font.

Fragment

public static final int[] Fragment

Attributes that can be used with <fragment> tags inside of the layout of an Activity. This instantiates the given Fragment and inserts its content view into the current location in the layout.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:tagSupply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().
android:fragmentExitTransitionThe 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.
android:fragmentEnterTransitionThe Transition that will be used to move Views into the initial scene.
android:fragmentSharedElementEnterTransitionThe Transition that will be used for shared elements transferred into the content Scene.
android:fragmentReturnTransitionThe 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.
android:fragmentSharedElementReturnTransitionThe Transition that will be used for shared elements transferred back during a pop of the back stack.
android:fragmentReenterTransitionThe Transition that will be used to move Views in to the scene when returning due to popping a back stack.
android:fragmentAllowEnterTransitionOverlapSets whether the enter and exit transitions should overlap when transitioning forward.
android:fragmentAllowReturnTransitionOverlapSets whether the enter and exit transitions should overlap when transitioning because of popping the back stack.

FragmentBreadCrumbs

public static final int[] FragmentBreadCrumbs

Attributes that can be used with <FragmentBreadCrumbs> tags.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.

FrameLayout

public static final int[] FrameLayout

Attributes that can be used with a FrameLayout.

Includes the following attributes:

AttributeDescription
android:measureAllChildrenDetermines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring.

FrameLayout_Layout

public static final int[] FrameLayout_Layout

Attributes that can be used with a FrameLayout_Layout.

Includes the following attributes:

AttributeDescription
android:layout_gravityStandard gravity constant that a child supplies to its parent.

public static final int[] Gallery

Attributes that can be used with a Gallery.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:animationDurationSets how long a transition animation should run (in milliseconds) when layout has changed.
android:spacing
android:unselectedAlphaSets the alpha on the items that are not selected.

GameModeConfig

public static final int[] GameModeConfig

Use game-mode-config as the root tag of the XML resource that describes a GameModeConfig. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:supportsBatteryGameModeSet true to opt in BATTERY mode.
android:supportsPerformanceGameModeSet true to opt in PERFORMANCE mode.
android:allowGameAngleDriverSet true to enable ANGLE.
android:allowGameDownscalingSet true to allow resolution downscaling intervention.
android:allowGameFpsOverrideSet true to allow FPS override intervention.

GameService

public static final int[] GameService

Use game-service as the root tag of the XML resource that describes a GameService. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:gameSessionServiceThe service that hosts active game sessions.

GestureOverlayView

public static final int[] GestureOverlayView

GestureOverlayView specific attributes. These attributes are used to configure a GestureOverlayView from XML.

Includes the following attributes:

AttributeDescription
android:orientationStandard orientation constant.
android:gestureStrokeWidthWidth of the stroke used to draw the gesture.
android:gestureColorColor used to draw a gesture.
android:uncertainGestureColorColor used to draw the user's strokes until we are sure it's a gesture.
android:fadeOffsetTime, in milliseconds, to wait before the gesture fades out after the user is done drawing it.
android:fadeDurationDuration, in milliseconds, of the fade out effect after the user is done drawing a gesture.
android:gestureStrokeTypeDefines the type of strokes that define a gesture.
android:gestureStrokeLengthThresholdMinimum length of a stroke before it is recognized as a gesture.
android:gestureStrokeSquarenessThresholdSquareness threshold of a stroke before it is recognized as a gesture.
android:gestureStrokeAngleThresholdMinimum curve angle a stroke must contain before it is recognized as a gesture.
android:eventsInterceptionEnabledDefines whether the overlay should intercept the motion events when a gesture is recognized.
android:fadeEnabledDefines whether the gesture will automatically fade out after being recognized.

GlowPadView

public static final int[] GlowPadView

Attributes that can be used with a GlowPadView.

Includes the following attributes:

AttributeDescription
android:targetDescriptionsReference to an array resource that be used as description for the targets around the circle.
android:directionDescriptionsReference to an array resource that be used to announce the directions with targets around the circle.

GradientColor

public static final int[] GradientColor

Used to describe the gradient for fill or stroke in a path of VectorDrawable.

Includes the following attributes:

AttributeDescription
android:startColorStart color of the gradient.
android:endColorEnd color of the gradient.
android:typeType of gradient.
android:centerXX-position of the center point of the gradient within the shape as a fraction of the width.
android:centerYY-position of the center point of the gradient within the shape as a fraction of the height.
android:gradientRadiusRadius of the gradient, used only with radial gradient.
android:tileModeDefines the tile mode.
android:centerColorOptional center color.
android:startXX coordinate of the start point origin of the gradient.
android:startYY coordinate of the start point of the gradient within the shape.
android:endXX coordinate of the end point origin of the gradient.
android:endYY coordinate of the end point of the gradient within the shape.

GradientColorItem

public static final int[] GradientColorItem

Describes an item of a GradientColor. Minimally need 2 items to define the gradient Colors defined in override the simple color attributes such as "startColor / centerColor / endColor" are ignored.

Includes the following attributes:

AttributeDescription
android:colorSolid color for the gradient shape.
android:offsetThe offset (or ratio) of this current color item inside the gradient.

GradientDrawable

public static final int[] GradientDrawable

Drawable used to render a geometric shape, with a gradient or a solid color.

Includes the following attributes:

AttributeDescription
android:ditherEnables 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).
android:tintThe tinting color for the image.
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:shapeIndicates what shape to fill with a gradient.
android:innerRadiusRatioInner radius of the ring expressed as a ratio of the ring's width.
android:thicknessRatioThickness of the ring expressed as a ratio of the ring's width.
android:useLevelWhether the drawable level value (see Drawable.getLevel()) is used to scale the gradient.
android:innerRadiusInner radius of the ring.
android:thicknessThickness of the ring.
android:tintModeWhen a tint color is set, specifies its Porter-Duff blending mode.
android:opticalInsetLeftLeft optical inset.
android:opticalInsetTopTop optical inset.
android:opticalInsetRightRight optical inset.
android:opticalInsetBottomBottom optical inset.

GradientDrawableGradient

public static final int[] GradientDrawableGradient

Used to describe the gradient used to fill the shape of a GradientDrawable.

Includes the following attributes:

AttributeDescription
android:startColorStart color of the gradient.
android:endColorEnd color of the gradient.
android:useLevelWhether the drawable level value (see Drawable.getLevel()) is used to scale the gradient.
android:angleAngle of the gradient, used only with linear gradient.
android:typeType of gradient.
android:centerXX-position of the center point of the gradient within the shape as a fraction of the width.
android:centerYY-position of the center point of the gradient within the shape as a fraction of the height.
android:gradientRadiusRadius of the gradient, used only with radial gradient.
android:centerColorOptional center color.

GradientDrawablePadding

public static final int[] GradientDrawablePadding

Used to specify the optional padding of a GradientDrawable.

Includes the following attributes:

AttributeDescription
android:leftAmount of left padding inside the gradient shape.
android:topAmount of top padding inside the gradient shape.
android:rightAmount of right padding inside the gradient shape.
android:bottomAmount of bottom padding inside the gradient shape.

GradientDrawableSize

public static final int[] GradientDrawableSize

Used to specify the size of the shape for GradientDrawable.

Includes the following attributes:

AttributeDescription
android:heightMakes the TextView be exactly this tall.
android:widthMakes the TextView be exactly this wide.

GradientDrawableSolid

public static final int[] GradientDrawableSolid

Used to fill the shape of GradientDrawable with a solid color.

Includes the following attributes:

AttributeDescription
android:colorSolid color for the gradient shape.

GradientDrawableStroke

public static final int[] GradientDrawableStroke

Used to describe the optional stroke of a GradientDrawable.

Includes the following attributes:

AttributeDescription
android:widthMakes the TextView be exactly this wide.
android:colorSolid color for the gradient shape.
android:dashWidthLength of a dash in the stroke.
android:dashGapGap between dashes in the stroke.

GridLayout

public static final int[] GridLayout

Attributes that can be used with a GridLayout.

Includes the following attributes:

AttributeDescription
android:orientationStandard orientation constant.
android:rowCountThe maximum number of rows to create when automatically positioning children.
android:rowOrderPreservedWhen set to true, forces row boundaries to appear in the same order as row indices.
android:columnCountThe maximum number of columns to create when automatically positioning children.
android:columnOrderPreservedWhen set to true, forces column boundaries to appear in the same order as column indices.
android:useDefaultMarginsWhen set to true, tells GridLayout to use default margins when none are specified in a view's layout parameters.
android:alignmentModeAlignment constants.

GridLayoutAnimation

public static final int[] GridLayoutAnimation

Attributes that can be used with a GridLayoutAnimation.

Includes the following attributes:

AttributeDescription
android:columnDelayFraction of the animation duration used to delay the beginning of the animation of each column.
android:rowDelayFraction of the animation duration used to delay the beginning of the animation of each row.
android:directionDirection of the animation in the grid.
android:directionPriorityPriority of the rows and columns.

GridLayout_Layout

public static final int[] GridLayout_Layout

Attributes that can be used with a GridLayout_Layout.

Includes the following attributes:

AttributeDescription
android:layout_gravityStandard gravity constant that a child supplies to its parent.
android:layout_columnThe index of the column in which this child should be.
android:layout_rowThe row boundary delimiting the top of the group of cells occupied by this view.
android:layout_rowSpanThe row span: the difference between the top and bottom boundaries delimiting the group of cells occupied by this view.
android:layout_columnSpanThe column span: the difference between the right and left boundaries delimiting the group of cells occupied by this view.
android:layout_rowWeightThe relative proportion of vertical space that should be allocated to this view during excess space distribution.
android:layout_columnWeightThe relative proportion of horizontal space that should be allocated to this view during excess space distribution.

GridView

public static final int[] GridView

Attributes that can be used with a GridView.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:horizontalSpacingDefines the default horizontal spacing between columns.
android:verticalSpacingDefines the default vertical spacing between rows.
android:stretchModeDefines how columns should stretch to fill the available empty space, if any.
android:columnWidthSpecifies the fixed width for each column.
android:numColumnsDefines how many columns to show.

HorizontalScrollView

public static final int[] HorizontalScrollView

Attributes that can be used with a HorizontalScrollView.

Includes the following attributes:

AttributeDescription
android:fillViewportDefines whether the scrollview should stretch its content to fill the viewport.

HostApduService

public static final int[] HostApduService

Use host-apdu-service as the root tag of the XML resource that describes an HostApduService service, which is referenced from its HostApduService.SERVICE_META_DATA entry.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:requireDeviceUnlockWhether the device must be unlocked before routing data to this service.
android:apduServiceBannerA drawable that can be rendered in Android's system UI for representing the service.
android:requireDeviceScreenOnWhether the device must be screen on before routing data to this service.
android:shouldDefaultToObserveModeWhether the device should default to observe mode when this service is default or in the foreground.

HostNfcFService

public static final int[] HostNfcFService

Use host-nfcf-service as the root tag of the XML resource that describes an HostNfcFService service, which is referenced from its HostNfcFService.SERVICE_META_DATA entry.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.

Icon

public static final int[] Icon

Attributes that can be used with a Icon.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:mimeTypeSpecify a MIME type that is handled, as per IntentFilter.addDataType().

IconDefault

public static final int[] IconDefault

Attributes that can be used with a IconDefault.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.

See also:

IconMenuView

public static final int[] IconMenuView

Attributes that can be used with a IconMenuView.

Includes the following attributes:

AttributeDescription
android:rowHeightDefines the height of each row.
android:maxRowsDefines the maximum number of rows displayed.
android:maxItemsPerRowDefines the maximum number of items per row.
android:moreIcon'More' icon.

ImageSwitcher

public static final int[] ImageSwitcher

ImageView

public static final int[] ImageView

Attributes that can be used with a ImageView.

Includes the following attributes:

AttributeDescription
android:srcSets a drawable as the content of this ImageView.
android:scaleTypeControls how the image should be resized or moved to match the size of this ImageView.
android:adjustViewBoundsSet this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
android:maxWidthAn optional argument to supply a maximum width for this view.
android:maxHeightAn optional argument to supply a maximum height for this view.
android:tintThe tinting color for the image.
android:baselineAlignBottomIf true, the image view will be baseline aligned with based on its bottom edge.
android:cropToPaddingIf true, the image will be cropped to fit within its padding.
android:baselineThe offset of the baseline within this view.
android:tintModeWhen a tint color is set, specifies its Porter-Duff blending mode.

InputExtras

public static final int[] InputExtras

InputMethodService

public static final int[] InputMethodService

Attributes that can be used with a InputMethodService.

Includes the following attributes:

AttributeDescription
android:imeFullscreenBackgroundBackground 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.
android:imeExtractEnterAnimationAnimation to use when showing the fullscreen extract UI after it had previously been hidden.
android:imeExtractExitAnimationAnimation to use when hiding the fullscreen extract UI after it had previously been shown.

InputMethod_Subtype

public static final int[] InputMethod_Subtype

This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This subtype allows the system to call the specified subtype of the IME directly.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:imeSubtypeLocaleThe locale of the subtype.
android:imeSubtypeModeThe mode of the subtype.
android:imeSubtypeExtraValueThe extra value of the subtype.
android:isAuxiliarySet true if the subtype is auxiliary.
android:overridesImplicitlyEnabledSubtypeSet true when this subtype should be selected by default if no other subtypes are selected explicitly.
android:subtypeIdThe unique id for the subtype.
android:isAsciiCapableSet to true if this subtype is ASCII capable.
android:languageTagThe BCP-47 Language Tag of the subtype.
android:physicalKeyboardHintLanguageTagThe BCP-47 Language Tag of the preferred physical keyboard of the subtype.
android:physicalKeyboardHintLayoutTypeThe layout type of the preferred physical keyboard of the subtype.

InsetDrawable

public static final int[] InsetDrawable

Drawable used to wrap and inset another drawable.

Includes the following attributes:

AttributeDescription
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:drawableReference to a drawable resource to use for the frame.
android:insetLeft
android:insetRight
android:insetTop
android:insetBottom
android:inset

Intent

public static final int[] Intent

Declaration of an Intent object in XML. May also include zero or more and tags.

Includes the following attributes:

AttributeDescription
android:targetPackageThe name of the application package that an Instrumentation object will run against.
android:mimeTypeSpecify a MIME type that is handled, as per IntentFilter.addDataType().
android:actionThe action name to assign to the Intent, as per Intent.setAction().
android:dataThe data URI to assign to the Intent, as per Intent.setData().
android:targetClassThe class part of the ComponentName to assign to the Intent, as per Intent.setComponent().
android:identifierThe identifier to assign to the intent, as per Intent.setIdentifier().

IntentCategory

public static final int[] IntentCategory

A category to add to an Intent, as per Intent.addCategory().

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

Keyboard

public static final int[] Keyboard

This field is deprecated.
Copy this definition into your own application project.

Includes the following attributes:

AttributeDescription
android:keyWidthDefault width of a key, in pixels or percentage of display width.
android:keyHeightDefault height of a key, in pixels or percentage of display width.
android:horizontalGapDefault horizontal gap between keys.
android:verticalGapDefault vertical gap between rows of keys.

KeyboardLayout

public static final int[] KeyboardLayout

Use keyboard-layouts as the root tag of the XML resource that describes a collection of keyboard layouts provided by an application. Each keyboard layout is declared by a keyboard-layout tag with these attributes. The XML resource that contains the keyboard layouts must be referenced from its InputManager.META_DATA_KEYBOARD_LAYOUTS meta-data entry used with broadcast receivers for InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:nameA unique name for the given item.
android:keyboardLayoutThe key character map file resource.
android:keyboardLocaleThe locales the given keyboard layout corresponds to.
android:keyboardLayoutTypeThe layout type of the given keyboardLayout.

KeyboardView

public static final int[] KeyboardView

This field is deprecated.
Copy this definition into your own application project.

Includes the following attributes:

AttributeDescription
android:shadowColorPlace a blurred shadow of text underneath the text, drawn with the specified color.
android:shadowRadiusBlur radius of the text shadow.
android:keyBackgroundImage for the key.
android:keyTextSizeSize of the text for character keys.
android:labelTextSizeSize of the text for custom keys with some text and no icon.
android:keyTextColorColor to use for the label in a key.
android:keyPreviewLayoutLayout resource for key press feedback.
android:keyPreviewOffsetVertical offset of the key press feedback from the key.
android:keyPreviewHeightHeight of the key press feedback popup.
android:verticalCorrectionAmount to offset the touch Y coordinate by, for bias correction.
android:popupLayoutLayout resource for popup keyboards.

KeyboardViewPreviewState

public static final int[] KeyboardViewPreviewState

This field is deprecated.
Copy this definition into your own application project.

Includes the following attributes:

AttributeDescription
android:state_long_pressableState for KeyboardView key preview background.

Keyboard_Key

public static final int[] Keyboard_Key

This field is deprecated.
Copy this definition into your own application project.

Includes the following attributes:

AttributeDescription
android:codesThe unicode value or comma-separated values that this key outputs.
android:popupKeyboardThe XML keyboard layout of any popup keyboard.
android:popupCharactersThe characters to display in the popup keyboard.
android:keyEdgeFlagsKey edge flags.
android:isModifierWhether this is a modifier key such as Alt or Shift.
android:isStickyWhether this is a toggle key.
android:isRepeatableWhether long-pressing on this key will make it repeat.
android:iconPreviewThe icon to show in the popup preview.
android:keyOutputTextThe string of characters to output when this key is pressed.
android:keyLabelThe label to display on the key.
android:keyIconThe icon to display on the key instead of the label.
android:keyboardModeMode of the keyboard.

Keyboard_Row

public static final int[] Keyboard_Row

This field is deprecated.
Copy this definition into your own application project.

Includes the following attributes:

AttributeDescription
android:rowEdgeFlagsRow edge flags.
android:keyboardModeMode of the keyboard.

Keyframe

public static final int[] Keyframe

Attributes that can be used with a Keyframe.

Includes the following attributes:

AttributeDescription
android:valueConcrete value to assign to this piece of named meta-data.
android:interpolatorSets the acceleration curve for the indeterminate animation.
android:valueTypeThe type of valueFrom and valueTo.
android:fraction

KeyguardGlowStripView

public static final int[] KeyguardGlowStripView

Attributes that can be used with a KeyguardGlowStripView.

Includes the following attributes:

AttributeDescription

LayerDrawable

public static final int[] LayerDrawable

Drawable used to render several drawables stacked on top of each other. Each child drawable can be controlled individually.

Includes the following attributes:

AttributeDescription
android:paddingLeftSets the padding, in pixels, of the left edge; see R.attr.padding.
android:paddingTopSets the padding, in pixels, of the top edge; see R.attr.padding.
android:paddingRightSets the padding, in pixels, of the right edge; see R.attr.padding.
android:paddingBottomSets the padding, in pixels, of the bottom edge; see R.attr.padding.
android:opacityIndicates the opacity of the layer.
android:paddingStartSets the padding, in pixels, of the start edge; see R.attr.padding.
android:paddingEndSets the padding, in pixels, of the end edge; see R.attr.padding.
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
android:paddingModeIndicates how layer padding should affect the bounds of subsequent layers.

LayerDrawableItem

public static final int[] LayerDrawableItem

Describes an item (or child) of a LayerDrawable.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:heightMakes the TextView be exactly this tall.
android:widthMakes the TextView be exactly this wide.
android:drawableReference to a drawable resource to use for the frame.
android:leftAmount of left padding inside the gradient shape.
android:topAmount of top padding inside the gradient shape.
android:rightAmount of right padding inside the gradient shape.
android:bottomAmount of bottom padding inside the gradient shape.
android:startStart inset to apply to the layer.
android:endEnd inset to apply to the layer.

LayoutAnimation

public static final int[] LayoutAnimation

Attributes that can be used with a LayoutAnimation.

Includes the following attributes:

AttributeDescription
android:interpolatorSets the acceleration curve for the indeterminate animation.
android:delayFraction of the animation duration used to delay the beginning of the animation of each child.
android:animationAnimation to use on each child.
android:animationOrderThe order in which the animations will be started.

LevelListDrawableItem

public static final int[] LevelListDrawableItem

Attributes that can be used with a LevelListDrawableItem.

Includes the following attributes:

AttributeDescription
android:drawableReference to a drawable resource to use for the frame.
android:minLevelThe minimum level allowed for this item.
android:maxLevelThe maximum level allowed for this item.

LinearLayout

public static final int[] LinearLayout

Attributes that can be used with a LinearLayout.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:orientationStandard orientation constant.
android:baselineAlignedWhen set to false, prevents the layout from aligning its children's baselines.
android:baselineAlignedChildIndexWhen 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).
android:weightSumDefines the maximum weight sum.
android:dividerDrawable or color to draw between list items.
android:measureWithLargestChildWhen set to true, all children with a weight will be considered having the minimum size of the largest child.
android:showDividersSetting for which dividers to show.
android:dividerPaddingSize of padding on either end of a divider.

LinearLayout_Layout

public static final int[] LinearLayout_Layout

Attributes that can be used with a LinearLayout_Layout.

Includes the following attributes:

AttributeDescription
android:layout_gravityStandard gravity constant that a child supplies to its parent.
android:layout_widthSpecifies the basic width of the view.
android:layout_heightSpecifies the basic height of the view.
android:layout_weightIndicates how much of the extra space in the LinearLayout is allocated to the view associated with these LayoutParams.

ListPopupWindow

public static final int[] ListPopupWindow

Attributes that can be used with a ListPopupWindow.

Includes the following attributes:

AttributeDescription
android:dropDownHorizontalOffsetAmount of pixels by which the drop down should be offset horizontally.
android:dropDownVerticalOffsetAmount of pixels by which the drop down should be offset vertically.

ListPreference

public static final int[] ListPreference

Base attributes available to ListPreference.

Includes the following attributes:

AttributeDescription
android:entriesReference to an array resource that will populate a list/adapter.
android:entryValuesThe array to find the value to save for a preference when an entry from entries is selected.

ListView

public static final int[] ListView

Attributes that can be used with a ListView.

Includes the following attributes:

AttributeDescription
android:entriesReference to an array resource that will populate a list/adapter.
android:dividerDrawable or color to draw between list items.
android:dividerHeightHeight of the divider.
android:headerDividersEnabledWhen set to false, the ListView will not draw the divider after each header view.
android:footerDividersEnabledWhen set to false, the ListView will not draw the divider before each footer view.
android:overScrollHeaderDrawable to draw above list content.
android:overScrollFooterDrawable to draw below list content.

LocaleConfig

public static final int[] LocaleConfig

Includes the following attributes:

AttributeDescription
android:defaultLocaleThe IETF BCP47 language tag the strings in values/strings.xml (the default strings in the directory with no locale qualifier) are in.

LocaleConfig_Locale

public static final int[] LocaleConfig_Locale

The attributes of the <locale> tag within <locale-config>.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

LockPatternView

public static final int[] LockPatternView

Attributes that can be used with a LockPatternView.

Includes the following attributes:

AttributeDescription

Magnifier

public static final int[] Magnifier

Attributes that can be used with a Magnifier.

Includes the following attributes:

AttributeDescription

MapView

public static final int[] MapView

The set of attributes for a MapView.

Includes the following attributes:

AttributeDescription
android:apiKeyValue is a string that specifies the Maps API Key to use.

See also:

MaterialProgressDrawable

public static final int[] MaterialProgressDrawable

Drawable used to render the Material progress indicator.

Includes the following attributes:

AttributeDescription
android:heightMakes the TextView be exactly this tall.
android:widthMakes the TextView be exactly this wide.
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:colorSolid color for the gradient shape.
android:innerRadiusInner radius of the ring.
android:thicknessThickness of the ring.

MediaRouteButton

public static final int[] MediaRouteButton

Attributes that can be used with a MediaRouteButton.

Includes the following attributes:

AttributeDescription
android:minWidth
android:minHeight
android:mediaRouteTypesThe types of media routes the button and its resulting chooser will filter by.

public static final int[] Menu

public static final int[] MenuGroup

Base attributes that are available to all groups.

Includes the following attributes:

AttributeDescription
android:enabledSpecifies whether the widget is enabled.
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:menuCategoryThe category applied to all items within this group.
android:orderInCategoryThe order within the category applied to all items within this group.
android:checkableBehaviorWhether the items are capable of displaying a check mark.

public static final int[] MenuItem

Base attributes that are available to all Item objects.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:enabledSpecifies whether the widget is enabled.
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:checkedIndicates the initial checked state of this button.
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:menuCategoryThe category applied to all items within this group.
android:orderInCategoryThe order within the category applied to all items within this group.
android:titleThe title associated with the item.
android:titleCondensedThe condensed title associated with the item.
android:alphabeticShortcutThe alphabetic shortcut key.
android:numericShortcutThe numeric shortcut key.
android:checkableWhether the item is capable of displaying a check mark.
android:onClickName of the method in this View's context to invoke when the view is clicked.
android:contentDescriptionThe content description associated with the item.
android:showAsActionHow this item should display in the Action Bar, if present.
android:actionLayoutAn optional layout to be used as an action view.
android:actionViewClassThe name of an optional View class to instantiate and use as an action view.
android:actionProviderClassThe name of an optional ActionProvider class to instantiate an action view and perform operations such as default action for that menu item.
android:tooltipTextThe tooltip text associated with the item.
android:alphabeticModifiersThe alphabetic modifier key.
android:numericModifiersThe numeric modifier key.
android:iconTintTint to apply to the icon.
android:iconTintModeBlending mode used to apply the icon tint.

public static final int[] MenuItemCheckedFocusedState

State array representing a menu item that is currently focused and checked.

Includes the following attributes:

AttributeDescription
android:state_focusedState value for StateListDrawable, set when a view has input focus.
android:state_checkableState identifier indicating that the object may display a check mark.
android:state_checkedState identifier indicating that the object is currently checked.

public static final int[] MenuItemCheckedState

State array representing a menu item that is currently checked.

Includes the following attributes:

AttributeDescription
android:state_checkableState identifier indicating that the object may display a check mark.
android:state_checkedState identifier indicating that the object is currently checked.

public static final int[] MenuItemUncheckedFocusedState

State array representing a menu item that is focused and checkable but is not currently checked.

Includes the following attributes:

AttributeDescription
android:state_focusedState value for StateListDrawable, set when a view has input focus.
android:state_checkableState identifier indicating that the object may display a check mark.

public static final int[] MenuItemUncheckedState

State array representing a menu item that is checkable but is not currently checked.

Includes the following attributes:

AttributeDescription
android:state_checkableState identifier indicating that the object may display a check mark.

public static final int[] MenuView

Attributes that can be used with a MenuView.

Includes the following attributes:

AttributeDescription
android:windowAnimationStyleReference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.
android:itemTextAppearanceDefault appearance of menu item text.
android:horizontalDividerDefault horizontal divider between rows of menu items.
android:verticalDividerDefault vertical divider between menu items.
android:headerBackgroundDefault background for the menu header.
android:itemBackgroundDefault background for each menu item.
android:itemIconDisabledAlphaDefault disabled icon alpha for each menu item that shows an icon.
android:subMenuArrowDrawable for the arrow icon indicating a particular item is a submenu.

MessagingLinearLayout

public static final int[] MessagingLinearLayout

Attributes that can be used with a MessagingLinearLayout.

Includes the following attributes:

AttributeDescription
android:spacing

MultiSelectListPreference

public static final int[] MultiSelectListPreference

Attributes that can be used with a MultiSelectListPreference.

Includes the following attributes:

AttributeDescription
android:entriesReference to an array resource that will populate a list/adapter.
android:entryValuesThe array to find the value to save for a preference when an entry from entries is selected.

Nfcid2Filter

public static final int[] Nfcid2Filter

Specify one or more nfcid2-filter elements inside a host-nfcf-service element to specify a NFCID2 your service can handle.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

See also:

NinePatchDrawable

public static final int[] NinePatchDrawable

Drawable used to draw 9-patches.

Includes the following attributes:

AttributeDescription
android:srcSets a drawable as the content of this ImageView.
android:ditherEnables 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).
android:tintThe tinting color for the image.
android:alphaalpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
android:tintModeWhen a tint color is set, specifies its Porter-Duff blending mode.

NumberPicker

public static final int[] NumberPicker

Attributes that can be used with a NumberPicker.

Includes the following attributes:

AttributeDescription
android:selectionDividerHeightThe height of the selection divider.

OffHostApduService

public static final int[] OffHostApduService

Use offhost-apdu-service as the root tag of the XML resource that describes an OffHostApduService service, which is referenced from its OffHostApduService.SERVICE_META_DATA entry.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:requireDeviceUnlockWhether the device must be unlocked before routing data to this service.
android:apduServiceBannerA drawable that can be rendered in Android's system UI for representing the service.
android:secureElementNameSecure Element which the AIDs should be routed to
android:requireDeviceScreenOnWhether the device must be screen on before routing data to this service.
android:shouldDefaultToObserveModeWhether the device should default to observe mode when this service is default or in the foreground.

OvershootInterpolator

public static final int[] OvershootInterpolator

Attributes that can be used with a OvershootInterpolator.

Includes the following attributes:

AttributeDescription
android:tensionThis is the amount of tension.

PagedView

public static final int[] PagedView

PagedView specific attributes. These attributes are used to customize a PagedView view in XML files.

Includes the following attributes:

AttributeDescription

PathInterpolator

public static final int[] PathInterpolator

Attributes that can be used with a PathInterpolator.

Includes the following attributes:

AttributeDescription
android:controlX1The x coordinate of the first control point of the cubic Bezier.
android:controlY1The y coordinate of the first control point of the cubic Bezier.
android:controlX2The x coordinate of the second control point of the cubic Bezier.
android:controlY2The y coordinate of the second control point of the cubic Bezier.
android:pathDataThe specification of the operations that define the path.

PatternPathMotion

public static final int[] PatternPathMotion

Use patternPathMotion as the root tag of the XML resource that describes a PatternPathMotion. This must be used within a transition with which the PathMotion should be associated.

Includes the following attributes:

AttributeDescription
android:patternPathDataThe path string describing the pattern to use for the PathPathMotion.

Pointer

public static final int[] Pointer

Attributes that can be used with a Pointer.

Includes the following attributes:

AttributeDescription

PointerIcon

public static final int[] PointerIcon

Attributes that can be used with a PointerIcon.

Includes the following attributes:

AttributeDescription
android:bitmapDrawable to use as the icon bitmap.
android:hotSpotXX coordinate of the icon hot spot.
android:hotSpotYY coordinate of the icon hot spot.

PollingLoopFilter

public static final int[] PollingLoopFilter

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:autoTransact

PollingLoopPatternFilter

public static final int[] PollingLoopPatternFilter

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:autoTransact

public static final int[] PopupWindow

Attributes that can be used with a PopupWindow.

Includes the following attributes:

AttributeDescription
android:popupBackgroundThe background to use for the popup window.
android:popupAnimationStyleThe animation style to use for the popup window.
android:overlapAnchorWhether the popup window should overlap its anchor view.
android:popupElevationWindow elevation to use for the popup window.
android:popupEnterTransitionTransition used to move views into the popup window.
android:popupExitTransitionTransition used to move views out of the popup window.

PopupWindowBackgroundState

public static final int[] PopupWindowBackgroundState

Attributes that can be used with a PopupWindowBackgroundState.

Includes the following attributes:

AttributeDescription
android:state_above_anchorState identifier indicating the popup will be above the anchor.

Preference

public static final int[] Preference

Base attributes available to Preference.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:persistentFlag to control special persistent mode of an application.
android:enabledSpecifies whether the widget is enabled.
android:layoutSupply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.
android:titleThe title associated with the item.
android:selectableWhether the Preference is selectable.
android:keyThe key to store the Preference value.
android:summaryThe summary for the item.
android:orderThe order for the Preference (lower values are to be ordered first).
android:widgetLayoutThe layout for the controllable widget portion of a Preference.
android:dependencyThe key of another Preference that this Preference will depend on.
android:defaultValueThe 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.
android:shouldDisableViewWhether the view of this Preference should be disabled when this Preference is disabled.
android:fragmentThe fragment that is displayed when the user selects this item.
android:recycleEnabledWhether the preference has enabled to have its view recycled when used in the list view.
android:singleLineTitleWhether to use single line for the preference title text.
android:iconSpaceReservedWhether the space for the preference icon view will be reserved.

PreferenceActivity

public static final int[] PreferenceActivity

Base attributes available to PreferenceActivity.

Includes the following attributes:

AttributeDescription
android:layoutSupply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.

PreferenceFragment

public static final int[] PreferenceFragment

Base attributes available to PreferenceFragment.

Includes the following attributes:

AttributeDescription
android:layoutSupply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.
android:dividerDrawable or color to draw between list items.

PreferenceFrameLayout

public static final int[] PreferenceFrameLayout

Attributes that can be used with a PreferenceFrameLayout.

Includes the following attributes:

AttributeDescription

PreferenceFrameLayout_Layout

public static final int[] PreferenceFrameLayout_Layout

Attributes that can be used with a PreferenceFrameLayout_Layout.

Includes the following attributes:

AttributeDescription

PreferenceGroup

public static final int[] PreferenceGroup

Base attributes available to PreferenceGroup.

Includes the following attributes:

AttributeDescription
android:orderingFromXmlWhether to order the Preference under this group as they appear in the XML file.

PreferenceHeader

public static final int[] PreferenceHeader

Attribute for a header describing the item shown in the top-level list from which the selects the set of preference to dig in to.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:titleThe title associated with the item.
android:summaryThe summary for the item.
android:fragmentThe fragment that is displayed when the user selects this item.
android:breadCrumbTitleThe title for the bread crumb of this item.
android:breadCrumbShortTitleThe short title for the bread crumb of this item.

PreferenceScreen

public static final int[] PreferenceScreen

Base attributes available to PreferenceScreen.

Includes the following attributes:

AttributeDescription
android:dividerDrawable or color to draw between list items.

PrintService

public static final int[] PrintService

Use print-service as the root tag of the XML resource that describes an PrintService service, which is referenced from its PrintService.SERVICE_META_DATA meta-data entry.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:addPrintersActivityFully qualified class name of an activity that allows the user to manually add printers to this print service.
android:vendorThe vendor name if this print service is vendor specific.
android:advancedPrintOptionsActivityFully qualified class name of an activity with advanced print options specific to this print service.

ProgressBar

public static final int[] ProgressBar

Attributes that can be used with a ProgressBar.

Includes the following attributes:

AttributeDescription
android:maxWidthAn optional argument to supply a maximum width for this view.
android:maxHeightAn optional argument to supply a maximum height for this view.
android:maxDefines the maximum value.
android:progressDefines the default progress value, between 0 and max.
android:secondaryProgressDefines the secondary progress value, between 0 and max.
android:indeterminateAllows to enable the indeterminate mode.
android:indeterminateOnlyRestricts to ONLY indeterminate mode (state-keeping progress mode will not work).
android:indeterminateDrawableDrawable used for the indeterminate mode.
android:progressDrawableDrawable used for the progress mode.
android:indeterminateDurationDuration of the indeterminate animation.
android:indeterminateBehaviorDefines how the indeterminate mode should behave when the progress reaches max.
android:minWidth
android:minHeight
android:interpolatorSets the acceleration curve for the indeterminate animation.
android:animationResolutionTimeout between frames of animation in milliseconds.
android:mirrorForRtlDefines if the associated drawables need to be mirrored when in RTL mode.
android:progressTintTint to apply to the progress indicator.
android:progressTintModeBlending mode used to apply the progress indicator tint.
android:progressBackgroundTintTint to apply to the progress indicator background.
android:progressBackgroundTintModeBlending mode used to apply the progress indicator background tint.
android:secondaryProgressTintTint to apply to the secondary progress indicator.
android:secondaryProgressTintModeBlending mode used to apply the secondary progress indicator tint.
android:indeterminateTintTint to apply to the indeterminate progress indicator.
android:indeterminateTintModeBlending mode used to apply the indeterminate progress indicator tint.
android:backgroundTintTint to apply to the background.
android:backgroundTintModeBlending mode used to apply the background tint.
android:minDefines the minimum value.

PropertyAnimator

public static final int[] PropertyAnimator

Attributes that can be used with a PropertyAnimator.

Includes the following attributes:

AttributeDescription
android:propertyNameName of the property being animated.
android:pathDataThe specification of the operations that define the path.
android:propertyXNameName of the property being animated as the X coordinate of the pathData.
android:propertyYNameName of the property being animated as the Y coordinate of the pathData.

PropertyValuesHolder

public static final int[] PropertyValuesHolder

Attributes that can be used with a PropertyValuesHolder.

Includes the following attributes:

AttributeDescription
android:valueFromValue the animation starts from.
android:valueToValue the animation animates to.
android:valueTypeThe type of valueFrom and valueTo.
android:propertyNameName of the property being animated.

QuickAccessWalletService

public static final int[] QuickAccessWalletService

Use quickaccesswallet-service as the root tag of the XML resource that describes a QuickAccessWalletService, which is referenced from its QuickAccessWalletService.SERVICE_META_DATA meta-data entry.

Includes the following attributes:

AttributeDescription
android:targetActivityFully qualified class name of an activity that allows the user to view their entire wallet
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:shortcutShortLabel
android:shortcutLongLabel

QuickContactBadge

public static final int[] QuickContactBadge

Attributes that can be used with a QuickContactBadge.

Includes the following attributes:

AttributeDescription

RadioGroup

public static final int[] RadioGroup

Attributes that can be used with a RadioGroup.

Includes the following attributes:

AttributeDescription
android:orientationStandard orientation constant.
android:checkedButtonThe id of the child radio button that should be checked by default within this radio group.

RatingBar

public static final int[] RatingBar

Attributes that can be used with a RatingBar.

Includes the following attributes:

AttributeDescription
android:numStarsThe number of stars (or rating items) to show.
android:ratingThe rating to set by default.
android:stepSizeThe step size of the rating.
android:isIndicatorWhether this rating bar is an indicator (and non-changeable by the user).

RatingDefinition

public static final int[] RatingDefinition

Attributes that can be used with rating-definition tags inside of the XML resource that describes TV content rating of a TvInputService, which is referenced from its TvInputManager.META_DATA_CONTENT_RATING_SYSTEMS.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:descriptionDescriptive text for the associated data.
android:titleThe title associated with the item.
android:contentAgeHintThe age associated with the content rating.

RatingSystemDefinition

public static final int[] RatingSystemDefinition

Attributes that can be used with rating-system-definition tags inside of the XML resource that describes TV content rating of a TvInputService, which is referenced from its TvInputManager.META_DATA_CONTENT_RATING_SYSTEMS.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:descriptionDescriptive text for the associated data.
android:titleThe title associated with the item.
android:countryThe country code associated with the content rating system, which consists of two uppercase letters that conform to the ISO 3166 standard.

RecognitionService

public static final int[] RecognitionService

Use recognition-service as the root tag of the XML resource that describes a RecognitionService, which is referenced from its RecognitionService.SERVICE_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:selectableAsDefaultFlag indicating whether a recognition service can be selected as default.

RelativeLayout

public static final int[] RelativeLayout

Attributes that can be used with a RelativeLayout.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:ignoreGravityIndicates what view should not be affected by gravity.

RelativeLayout_Layout

public static final int[] RelativeLayout_Layout

Attributes that can be used with a RelativeLayout_Layout.

Includes the following attributes:

AttributeDescription
android:layout_toLeftOfPositions the right edge of this view to the left of the given anchor view ID.
android:layout_toRightOfPositions the left edge of this view to the right of the given anchor view ID.
android:layout_abovePositions the bottom edge of this view above the given anchor view ID.
android:layout_belowPositions the top edge of this view below the given anchor view ID.
android:layout_alignBaselinePositions the baseline of this view on the baseline of the given anchor view ID.
android:layout_alignLeftMakes the left edge of this view match the left edge of the given anchor view ID.
android:layout_alignTopMakes the top edge of this view match the top edge of the given anchor view ID.
android:layout_alignRightMakes the right edge of this view match the right edge of the given anchor view ID.
android:layout_alignBottomMakes the bottom edge of this view match the bottom edge of the given anchor view ID.
android:layout_alignParentLeftIf true, makes the left edge of this view match the left edge of the parent.
android:layout_alignParentTopIf true, makes the top edge of this view match the top edge of the parent.
android:layout_alignParentRightIf true, makes the right edge of this view match the right edge of the parent.
android:layout_alignParentBottomIf true, makes the bottom edge of this view match the bottom edge of the parent.
android:layout_centerInParentIf true, centers this child horizontally and vertically within its parent.
android:layout_centerHorizontalIf true, centers this child horizontally within its parent.
android:layout_centerVerticalIf true, centers this child vertically within its parent.
android:layout_alignWithParentIfMissingIf set to true, the parent will be used as the anchor when the anchor cannot be be found for layout_toLeftOf, layout_toRightOf, etc.
android:layout_toStartOfPositions the end edge of this view to the start of the given anchor view ID.
android:layout_toEndOfPositions the start edge of this view to the end of the given anchor view ID.
android:layout_alignStartMakes the start edge of this view match the start edge of the given anchor view ID.
android:layout_alignEndMakes the end edge of this view match the end edge of the given anchor view ID.
android:layout_alignParentStartIf true, makes the start edge of this view match the start edge of the parent.
android:layout_alignParentEndIf true, makes the end edge of this view match the end edge of the parent.

See also:

ResolverDrawerLayout

public static final int[] ResolverDrawerLayout

Attributes that can be used with a ResolverDrawerLayout.

Includes the following attributes:

AttributeDescription
android:maxWidthAn optional argument to supply a maximum width for this view.

ResolverDrawerLayout_LayoutParams

public static final int[] ResolverDrawerLayout_LayoutParams

Attributes that can be used with a ResolverDrawerLayout_LayoutParams.

Includes the following attributes:

AttributeDescription
android:layout_gravityStandard gravity constant that a child supplies to its parent.

RestrictionEntry

public static final int[] RestrictionEntry

Attributes that can be used with a RestrictionEntry.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:entriesReference to an array resource that will populate a list/adapter.
android:titleThe title associated with the item.
android:keyThe key to store the Preference value.
android:defaultValueThe 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.
android:entryValuesThe array to find the value to save for a preference when an entry from entries is selected.
android:restrictionType

RingtonePreference

public static final int[] RingtonePreference

Base attributes available to RingtonePreference.

Includes the following attributes:

AttributeDescription
android:ringtoneTypeWhich ringtone type(s) to show in the picker.
android:showDefaultWhether to show an item for a default sound.
android:showSilentWhether to show an item for 'Silent'.

RippleDrawable

public static final int[] RippleDrawable

Drawable used to show animated touch feedback.

Includes the following attributes:

AttributeDescription
android:colorSolid color for the gradient shape.
android:radiusDefines the radius of the four corners.
android:effectColorColor applied to effects.

RotateAnimation

public static final int[] RotateAnimation

Attributes that can be used with a RotateAnimation.

Includes the following attributes:

AttributeDescription
android:fromDegrees
android:toDegrees
android:pivotX
android:pivotY

RotateDrawable

public static final int[] RotateDrawable

Drawable used to rotate another drawable.

Includes the following attributes:

AttributeDescription
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:drawableReference to a drawable resource to use for the frame.
android:fromDegrees
android:toDegrees
android:pivotX
android:pivotY

ScaleAnimation

public static final int[] ScaleAnimation

Attributes that can be used with a ScaleAnimation.

Includes the following attributes:

AttributeDescription
android:pivotX
android:pivotY
android:fromXScale
android:toXScale
android:fromYScale
android:toYScale

ScaleDrawable

public static final int[] ScaleDrawable

Attributes that can be used with a ScaleDrawable.

Includes the following attributes:

AttributeDescription
android:drawableReference to a drawable resource to use for the frame.
android:scaleWidthScale width, expressed as a percentage of the drawable's bound.
android:scaleHeightScale height, expressed as a percentage of the drawable's bound.
android:scaleGravitySpecifies where the drawable is positioned after scaling.
android:useIntrinsicSizeAsMinimumUse the drawable's intrinsic width and height as minimum size values.
android:levelSpecifies the initial drawable level in the range 0 to 10000.

ScrollView

public static final int[] ScrollView

Attributes that can be used with a ScrollView.

Includes the following attributes:

AttributeDescription
android:fillViewportDefines whether the scrollview should stretch its content to fill the viewport.

SearchView

public static final int[] SearchView

Attributes that can be used with a SearchView.

Includes the following attributes:

AttributeDescription
android:layoutSupply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.
android:maxWidthAn optional argument to supply a maximum width for this view.
android:inputTypeThe type of data being placed in a text field, used to help an input method decide how to let the user enter text.
android:imeOptionsAdditional features you can enable in an IME associated with an editor to improve the integration with your application.
android:iconifiedByDefaultThe default state of the SearchView.
android:queryHintAn optional query hint string to be displayed in the empty query field.
android:closeIconClose button icon.
android:goIconGo button icon.
android:searchIconSearch icon.
android:voiceIconVoice button icon.
android:commitIconCommit icon shown in the query suggestion row.
android:suggestionRowLayoutLayout for query suggestion rows.
android:queryBackgroundBackground for the section containing the search query.
android:submitBackgroundBackground for the section containing the action (for example, voice search).
android:searchHintIconSearch icon displayed as a text field hint.

Searchable

public static final int[] Searchable

Searchable activities and applications must provide search configuration information in an XML file, typically called searchable.xml. This file is referenced in your manifest. For a more in-depth discussion of search configuration, please refer to SearchManager.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:iconA Drawable resource providing a graphical representation of its associated item.
android:hintHint text to display when the text is empty.
android:searchModeAdditional features are controlled by mode bits in this field.
android:searchSuggestAuthorityIf provided, this is the trigger indicating that the searchable activity provides suggestions as well.
android:searchSuggestPathIf provided, this will be inserted in the suggestions query Uri, after the authority you have provide but before the standard suggestions path.
android:searchSuggestSelectionIf provided, suggestion queries will be passed into your query function as the selection parameter.
android:searchSuggestIntentActionIf 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.
android:searchSuggestIntentDataIf 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.
android:searchButtonTextIf supplied, this string will be displayed as the text of the "Search" button.
android:inputTypeThe type of data being placed in a text field, used to help an input method decide how to let the user enter text.
android:voiceSearchModeVoice search features are controlled by mode bits in this field.
android:voiceLanguageModelIf provided, this specifies the language model that should be used by the voice recognition system.
android:voicePromptTextIf provided, this specifies a prompt that will be displayed during voice input.
android:voiceLanguageIf provided, this specifies the spoken language to be expected, and that it will be different than the one set in the Locale.getDefault().
android:voiceMaxResultsIf 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.
android:imeOptionsAdditional features you can enable in an IME associated with an editor to improve the integration with your application.
android:searchSuggestThresholdIf provided, this is the minimum number of characters needed to trigger search suggestions.
android:includeInGlobalSearchIf provided and true, this searchable activity will be included in any global lists of search targets.
android:queryAfterZeroResultsIf provided and true, this searchable activity will be invoked for all queries in a particular session.
android:searchSettingsDescriptionIf provided, this string will be used to describe the searchable item in the searchable items settings within system search settings.
android:autoUrlDetectIf 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).

SearchableActionKey

public static final int[] SearchableActionKey

In order to process special action keys during search, you must define them using one or more "ActionKey" elements in your Searchable metadata. For a more in-depth discussion of action code handling, please refer to SearchManager.

Includes the following attributes:

AttributeDescription
android:keycodeThis enum provides the same keycode values as can be found in KeyEvent.
android:queryActionMsgIf you wish to handle an action key during normal search query entry, you must define an action string here.
android:suggestActionMsgIf you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this.
android:suggestActionMsgColumnIf 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.

SeekBar

public static final int[] SeekBar

Attributes that can be used with a SeekBar.

Includes the following attributes:

AttributeDescription
android:thumbDraws the thumb on a seekbar.
android:thumbOffsetAn offset for the thumb that allows it to extend out of the range of the track.
android:splitTrackWhether to split the track and leave a gap for the thumb drawable.
android:thumbTintTint to apply to the thumb drawable.
android:thumbTintModeBlending mode used to apply the thumb tint.
android:tickMarkDrawable displayed at each progress position on a seekbar.
android:tickMarkTintTint to apply to the tick mark drawable.
android:tickMarkTintModeBlending mode used to apply the tick mark tint.

SeekBarPreference

public static final int[] SeekBarPreference

Attributes that can be used with a SeekBarPreference.

Includes the following attributes:

AttributeDescription
android:layoutSupply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.

SelectionModeDrawables

public static final int[] SelectionModeDrawables

Attributes that can be used with a SelectionModeDrawables.

Includes the following attributes:

AttributeDescription
android:actionModeCutDrawableDrawable to use for the Cut action button in Contextual Action Bar.
android:actionModeCopyDrawableDrawable to use for the Copy action button in Contextual Action Bar.
android:actionModePasteDrawableDrawable to use for the Paste action button in Contextual Action Bar.
android:actionModeSelectAllDrawableDrawable to use for the Select all action button in Contextual Action Bar.

SettingInjectorService

public static final int[] SettingInjectorService

Use injected-location-setting as the root tag of the XML resource that describes an injected "Location services" setting. Note that the status value (subtitle) for the setting is specified dynamically by a subclass of SettingInjectorService.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:titleThe title associated with the item.
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:userRestrictionThe user restriction for this preference.

ShapeDrawable

public static final int[] ShapeDrawable

Drawable used to draw shapes.

Includes the following attributes:

AttributeDescription
android:ditherEnables 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).
android:tintThe tinting color for the image.
android:heightMakes the TextView be exactly this tall.
android:widthMakes the TextView be exactly this wide.
android:colorSolid color for the gradient shape.
android:tintModeWhen a tint color is set, specifies its Porter-Duff blending mode.

ShapeDrawablePadding

public static final int[] ShapeDrawablePadding

Defines the padding of a ShapeDrawable.

Includes the following attributes:

AttributeDescription
android:leftAmount of left padding inside the gradient shape.
android:topAmount of top padding inside the gradient shape.
android:rightAmount of right padding inside the gradient shape.
android:bottomAmount of bottom padding inside the gradient shape.

Shortcut

public static final int[] Shortcut

Attributes that can be used with a Shortcut.

Includes the following attributes:

AttributeDescription
android:iconA Drawable resource providing a graphical representation of its associated item.
android:enabledSpecifies whether the widget is enabled.
android:shortcutId
android:shortcutShortLabel
android:shortcutLongLabel
android:shortcutDisabledMessage
android:splashScreenTheme

ShortcutCategories

public static final int[] ShortcutCategories

Attributes that can be used with a ShortcutCategories.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

Slide

public static final int[] Slide

Use slideas the root tag of the XML resource that describes a Slide transition. The attributes of the Transition resource are available in addition to the specific attributes of Slide described here.

Includes the following attributes:

AttributeDescription
android:slideEdge

See also:

SlidingDrawer

public static final int[] SlidingDrawer

SlidingDrawer specific attributes. These attributes are used to configure a SlidingDrawer from XML.

Includes the following attributes:

AttributeDescription
android:orientationStandard orientation constant.
android:bottomOffsetExtra offset for the handle at the bottom of the SlidingDrawer.
android:topOffsetExtra offset for the handle at the top of the SlidingDrawer.
android:allowSingleTapIndicates whether the drawer can be opened/closed by a single tap on the handle.
android:handleIdentifier for the child that represents the drawer's handle.
android:contentIdentifier for the child that represents the drawer's content.
android:animateOnClickIndicates whether the drawer should be opened/closed with an animation when the user clicks the handle.

SlidingTab

public static final int[] SlidingTab

Attributes that can be used with a SlidingTab.

Includes the following attributes:

AttributeDescription
android:orientationStandard orientation constant.

SpellChecker

public static final int[] SpellChecker

Use spell-checker as the root tag of the XML resource that describes an SpellCheckerService service, which is referenced from its SpellCheckerSession.SERVICE_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.

SpellChecker_Subtype

public static final int[] SpellChecker_Subtype

This is the subtype of the spell checker. Subtype can describe locales (for example, en_US and fr_FR).

Includes the following attributes:

AttributeDescription
android:labelA user-legible name for the given item.
android:subtypeLocaleThe locale of the subtype.
android:subtypeExtraValueThe extra value of the subtype.
android:subtypeIdThe unique id for the subtype.
android:languageTagThe BCP-47 Language Tag of the subtype.

Spinner

public static final int[] Spinner

Attributes that can be used with a Spinner.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:dropDownSelectorSelector in a drop down list.
android:popupBackgroundThe background to use for the popup window.
android:promptThe prompt to display when the spinner's dialog is shown.
android:dropDownWidthSpecifies the basic width of the dropdown.
android:spinnerModeDisplay mode for spinner options.
android:popupElevationWindow elevation to use for the popup window.
android:popupThemeReference to a theme that should be used to inflate popups shown by widgets in the toolbar.

StackView

public static final int[] StackView

Attributes that can be used with a StackView.

Includes the following attributes:

AttributeDescription

StateListAnimatorItem

public static final int[] StateListAnimatorItem

Attributes that can be assigned to a StateListAnimator item.

Includes the following attributes:

AttributeDescription
android:animationAnimation to use on each child.

StateListDrawable

public static final int[] StateListDrawable

Drawable used to render several states. Each state is represented by a child drawable.

Includes the following attributes:

AttributeDescription
android:ditherEnables 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).
android:visibleProvides initial visibility state of the drawable; the default value is false.
android:variablePaddingIf true, allows the drawable's padding to change based on the current state that is selected.
android:constantSizeIf true, the drawable's reported internal size will remain constant as the state changes; the size is the maximum of all of the states.
android:enterFadeDurationAmount of time (in milliseconds) to fade in a new state drawable.
android:exitFadeDurationAmount of time (in milliseconds) to fade out an old state drawable.
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).

StateListDrawableItem

public static final int[] StateListDrawableItem

Represents a single state inside a StateListDrawable.

Includes the following attributes:

AttributeDescription
android:drawableReference to a drawable resource to use for the frame.

Storage

public static final int[] Storage

Attributes that can be used with a Storage.

Includes the following attributes:

AttributeDescription

SuggestionSpan

public static final int[] SuggestionSpan

Attributes that can be used with a SuggestionSpan.

Includes the following attributes:

AttributeDescription

Switch

public static final int[] Switch

Attributes that can be used with a Switch.

Includes the following attributes:

AttributeDescription
android:textOnThe text for the button when it is checked.
android:textOffThe text for the button when it is not checked.
android:thumbDraws the thumb on a seekbar.
android:switchTextAppearanceTextAppearance style for text displayed on the switch thumb.
android:trackDrawable to use as the "track" that the switch thumb slides within.
android:switchMinWidthMinimum width for the switch component.
android:switchPaddingMinimum space between the switch and caption text.
android:thumbTextPaddingAmount of padding on either side of text within the switch thumb.
android:splitTrackWhether to split the track and leave a gap for the thumb drawable.
android:thumbTintTint to apply to the thumb drawable.
android:thumbTintModeBlending mode used to apply the thumb tint.
android:showTextWhether to draw on/off text.
android:trackTintTint to apply to the track.
android:trackTintModeBlending mode used to apply the track tint.

SwitchPreference

public static final int[] SwitchPreference

Attributes that can be used with a SwitchPreference.

Includes the following attributes:

AttributeDescription
android:summaryOnThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.
android:summaryOffThe summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.
android:disableDependentsStateThe state (true for on, or false for off) that causes dependents to be disabled.
android:switchTextOnThe text used on the switch itself when in the "on" state.
android:switchTextOffThe text used on the switch itself when in the "off" state.

SyncAdapter

public static final int[] SyncAdapter

Use account-authenticator as the root tag of the XML resource that describes an account authenticator.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:accountTypeThe account type this authenticator handles.
android:contentAuthoritythe authority of a content provider.
android:userVisible
android:supportsUploading
android:allowParallelSyncsSet to true to tell the SyncManager that this SyncAdapter supports multiple simultaneous syncs for the same account type and authority.
android:isAlwaysSyncableSet to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.

SystemCodeFilter

public static final int[] SystemCodeFilter

Specify one or more system-code-filter elements inside a host-nfcf-service element to specify a System Code your service can handle.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

T3tPmmFilter

public static final int[] T3tPmmFilter

Specify one or more t3tPmm-filter elements inside a host-nfcf-service element to specify a LF_T3T_PMM.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.

See also:

TabWidget

public static final int[] TabWidget

Attributes that can be used with a TabWidget.

Includes the following attributes:

AttributeDescription
android:dividerDrawable or color to draw between list items.
android:tabStripLeftDrawable used to draw the left part of the strip underneath the tabs.
android:tabStripRightDrawable used to draw the right part of the strip underneath the tabs.
android:tabStripEnabledDetermines whether the strip under the tab indicators is drawn or not.

TableLayout

public static final int[] TableLayout

Attributes that can be used with a TableLayout.

Includes the following attributes:

AttributeDescription
android:stretchColumnsThe zero-based index of the columns to stretch.
android:shrinkColumnsThe zero-based index of the columns to shrink.
android:collapseColumnsThe zero-based index of the columns to collapse.

TableRow

public static final int[] TableRow

TableRow_Cell

public static final int[] TableRow_Cell

Attributes that can be used with a TableRow_Cell.

Includes the following attributes:

AttributeDescription
android:layout_columnThe index of the column in which this child should be.
android:layout_spanDefines how many columns this child should span.

TextAppearance

public static final int[] TextAppearance

Attributes that can be used with a TextAppearance.

Includes the following attributes:

AttributeDescription
android:textSizeSize of text.
android:typefaceDefault text typeface.
android:textStyleDefault text typeface style.
android:textColorColor of text (usually same as colorForeground).
android:textColorHighlightColor of highlighted text.
android:textColorHintColor of hint text (displayed when the field is empty).
android:textColorLinkColor of link text (URLs).
android:shadowColorPlace a blurred shadow of text underneath the text, drawn with the specified color.
android:shadowDxHorizontal offset of the text shadow.
android:shadowDyVertical offset of the text shadow.
android:shadowRadiusBlur radius of the text shadow.
android:textAllCapsPresent the text in ALL CAPS.
android:fontFamilyDefault font family.
android:elegantTextHeightElegant text height, especially for less compacted complex script text.
android:letterSpacingText letter-spacing.
android:fontFeatureSettingsFont feature settings.
android:fontVariationSettingsThe variation settings to be applied to the font.
android:fallbackLineSpacingWhether to respect the ascent and descent of the fallback fonts that are used in displaying the text.
android:textFontWeightWeight for the font used in the TextView.
android:textLocaleSpecifies the LocaleList for the text in this TextView.
android:lineBreakStyleSpecifies the line-break strategies for text wrapping.
android:lineBreakWordStyleSpecifies the line-break word strategies for text wrapping.
android:searchResultHighlightColorColor of search results highlight.
android:focusedSearchResultHighlightColorColor of focused search result highlight.

TextClock

public static final int[] TextClock

Attributes that can be used with a TextClock.

Includes the following attributes:

AttributeDescription
android:format12HourSpecifies the formatting pattern used to show the time and/or date in 12-hour mode.
android:format24HourSpecifies the formatting pattern used to show the time and/or date in 24-hour mode.
android:timeZoneSpecifies the time zone to use.

TextSwitcher

public static final int[] TextSwitcher

TextToSpeechEngine

public static final int[] TextToSpeechEngine

Use tts-engine as the root tag of the XML resource that describes a text to speech engine implemented as a subclass of TextToSpeechService. The XML resource must be referenced from its TextToSpeech.Engine.SERVICE_META_DATA meta-data entry.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.

TextView

public static final int[] TextView

Attributes that can be used with a TextView.

Includes the following attributes:

AttributeDescription
android:enabledSpecifies whether the widget is enabled.
android:textAppearanceDefault appearance of text: color, typeface, size, and style.
android:textSizeSize of text.
android:typefaceDefault text typeface.
android:textStyleDefault text typeface style.
android:textColorColor of text (usually same as colorForeground).
android:textColorHighlightColor of highlighted text.
android:textColorHintColor of hint text (displayed when the field is empty).
android:textColorLinkColor of link text (URLs).
android:ellipsizeWhere to ellipsize text.
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:autoLinkControls whether links such as urls and email addresses are automatically found and converted to clickable links.
android:linksClickableIf set to false, keeps the movement method from being set to the link movement method even if autoLink causes links to be found.
android:maxWidthAn optional argument to supply a maximum width for this view.
android:maxHeightAn optional argument to supply a maximum height for this view.
android:minWidth
android:minHeight
android:bufferTypeDetermines the minimum type that getText() will return.
android:textText to display.
android:hintHint text to display when the text is empty.
android:textScaleXSets the horizontal scaling factor for the text.
android:cursorVisibleMakes the cursor visible (the default) or invisible.
android:maxLinesMakes the TextView be at most this many lines tall.
android:linesMakes the TextView be exactly this many lines tall.
android:heightMakes the TextView be exactly this tall.
android:minLinesMakes the TextView be at least this many lines tall.
android:maxEmsMakes the TextView be at most this many ems wide.
android:emsMakes the TextView be exactly this many ems wide.
android:widthMakes the TextView be exactly this wide.
android:minEmsMakes the TextView be at least this many ems wide.
android:scrollHorizontallyWhether the text is allowed to be wider than the view (and therefore can be scrolled horizontally).
android:passwordWhether the characters of the field are displayed as password dots instead of themselves.
android:singleLineConstrains 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.
android:selectAllOnFocusIf the text is selectable, select it all when the view takes focus.
android:includeFontPaddingLeave enough room for ascenders and descenders instead of using the font ascent and descent strictly.
android:maxLengthSet an input filter to constrain the text length to the specified number.
android:shadowColorPlace a blurred shadow of text underneath the text, drawn with the specified color.
android:shadowDxHorizontal offset of the text shadow.
android:shadowDyVertical offset of the text shadow.
android:shadowRadiusBlur radius of the text shadow.
android:numericIf set, specifies that this TextView has a numeric input method.
android:digitsIf set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept.
android:phoneNumberIf set, specifies that this TextView has a phone number input method.
android:inputMethodIf set, specifies that this TextView should use the specified input method (specified by fully-qualified class name).
android:capitalizeIf set, specifies that this TextView has a textual input method and should automatically capitalize what the user types.
android:autoTextIf set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors.
android:editableIf set, specifies that this TextView has an input method.
android:freezesTextIf 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.
android:drawableTopThe drawable to be drawn above the text.
android:drawableBottomThe drawable to be drawn below the text.
android:drawableLeftThe drawable to be drawn to the left of the text.
android:drawableRightThe drawable to be drawn to the right of the text.
android:drawablePaddingThe padding between the drawables and the text.
android:lineSpacingExtraExtra spacing between lines of text.
android:lineSpacingMultiplierExtra spacing between lines of text, as a multiplier.
android:marqueeRepeatLimitThe number of times to repeat the marquee animation.
android:inputTypeThe type of data being placed in a text field, used to help an input method decide how to let the user enter text.
android:privateImeOptionsAn 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.
android:editorExtrasReference 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.
android:imeOptionsAdditional features you can enable in an IME associated with an editor to improve the integration with your application.
android:imeActionLabelSupply a value for EditorInfo.actionLabel used when an input method is connected to the text view.
android:imeActionIdSupply a value for EditorInfo.actionId used when an input method is connected to the text view.
android:textSelectHandleLeftReference to a drawable that will be used to display a text selection anchor on the left side of a selection region.
android:textSelectHandleRightReference to a drawable that will be used to display a text selection anchor on the right side of a selection region.
android:textSelectHandleReference to a drawable that will be used to display a text selection anchor for positioning the cursor within text.
android:textEditPasteWindowLayoutThe layout of the view that is displayed on top of the cursor to paste inside a TextEdit field.
android:textEditNoPasteWindowLayoutVariation of textEditPasteWindowLayout displayed when the clipboard is empty.
android:textIsSelectableIndicates that the content of a non-editable TextView can be selected.
android:textEditSidePasteWindowLayoutUsed 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.
android:textEditSideNoPasteWindowLayoutVariation of textEditSidePasteWindowLayout displayed when the clipboard is empty.
android:textCursorDrawableReference to a drawable that will be drawn under the insertion cursor.
android:textEditSuggestionItemLayoutLayout of the TextView item that will populate the suggestion popup window.
android:textAllCapsPresent the text in ALL CAPS.
android:drawableStartThe drawable to be drawn to the start of the text.
android:drawableEndThe drawable to be drawn to the end of the text.
android:fontFamilyDefault font family.
android:elegantTextHeightElegant text height, especially for less compacted complex script text.
android:letterSpacingText letter-spacing.
android:fontFeatureSettingsFont feature settings.
android:drawableTintTint to apply to the compound (left, top, etc.) drawables.
android:drawableTintModeBlending mode used to apply the compound (left, top, etc.) drawables tint.
android:breakStrategyBreak strategy (control over paragraph layout).
android:hyphenationFrequencyFrequency of automatic hyphenation.
android:allowUndoWhether undo should be allowed for editable text.
android:autoSizeTextTypeSpecify the type of auto-size.
android:autoSizeStepGranularitySpecify the auto-size step size if autoSizeTextType is set to uniform.
android:autoSizePresetSizes
android:autoSizeMinTextSizeThe minimum text size constraint to be used when auto-sizing text.
android:autoSizeMaxTextSizeThe maximum text size constraint to be used when auto-sizing text.
android:justificationModeMode for justification.
android:fontVariationSettingsThe variation settings to be applied to the font.
android:fallbackLineSpacingWhether to respect the ascent and descent of the fallback fonts that are used in displaying the text.
android:firstBaselineToTopHeightDistance from the top of the TextView to the first text baseline.
android:lastBaselineToBottomHeightDistance from the bottom of the TextView to the last text baseline.
android:lineHeightExplicit height between lines of text.
android:textFontWeightWeight for the font used in the TextView.
android:textLocaleSpecifies the LocaleList for the text in this TextView.
android:lineBreakStyleSpecifies the line-break strategies for text wrapping.
android:lineBreakWordStyleSpecifies the line-break word strategies for text wrapping.
android:searchResultHighlightColorColor of search results highlight.
android:focusedSearchResultHighlightColorColor of focused search result highlight.
android:useBoundsForWidth
android:useLocalePreferredLineHeightForMinimum
android:shiftDrawingOffsetForStartOverhang

See also:

TextViewAppearance

public static final int[] TextViewAppearance

Attributes that can be used with a TextViewAppearance.

Includes the following attributes:

AttributeDescription
android:textAppearanceDefault appearance of text: color, typeface, size, and style.

TextViewMultiLineBackgroundState

public static final int[] TextViewMultiLineBackgroundState

Attributes that can be used with a TextViewMultiLineBackgroundState.

Includes the following attributes:

AttributeDescription
android:state_multilineState identifier indicating a TextView has a multi-line layout.

Theme

public static final int[] Theme

These are the standard attributes that make up a complete theme.

Includes the following attributes:

AttributeDescription
android:colorForegroundDefault color of foreground imagery.
android:colorBackgroundDefault color of background imagery, ex.
android:backgroundDimAmountDefault background dim amount when a menu, dialog, or something similar pops up.
android:disabledAlphaDefault disabled alpha for widgets that set enabled/disabled alpha programmatically.
android:textAppearanceDefault appearance of text: color, typeface, size, and style.
android:textAppearanceInverseDefault appearance of text against an inverted background: color, typeface, size, and style.
android:textColorPrimaryThe most prominent text color.
android:textColorPrimaryDisableOnlyBright text color.
android:textColorSecondarySecondary text color.
android:textColorPrimaryInversePrimary inverse text color, useful for inverted backgrounds.
android:textColorSecondaryInverseSecondary inverse text color, useful for inverted backgrounds.
android:textColorPrimaryNoDisableBright text color.
android:textColorSecondaryNoDisableDim text color.
android:textColorPrimaryInverseNoDisableBright inverse text color.
android:textColorSecondaryInverseNoDisableDim inverse text color.
android:textColorHintInverseInverse hint text color.
android:textAppearanceLargeText color, typeface, size, and style for "large" text.
android:textAppearanceMediumText color, typeface, size, and style for "medium" text.
android:textAppearanceSmallText color, typeface, size, and style for "small" text.
android:textAppearanceLargeInverseText color, typeface, size, and style for "large" inverse text.
android:textAppearanceMediumInverseText color, typeface, size, and style for "medium" inverse text.
android:textAppearanceSmallInverseText color, typeface, size, and style for "small" inverse text.
android:textCheckMarkDrawable to use for check marks.
android:textCheckMarkInverse
android:buttonStyleNormal Button style.
android:buttonStyleSmallSmall Button style.
android:buttonStyleInsetButton style to inset into an EditText.
android:buttonStyleToggleToggleButton style.
android:galleryItemBackgroundThe preferred background for gallery items.
android:listPreferredItemHeightThe preferred list item height.
android:expandableListPreferredItemPaddingLeftThe preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft).
android:expandableListPreferredChildPaddingLeftThe preferred left padding for an expandable list item that is a child.
android:expandableListPreferredItemIndicatorLeftThe preferred left bound for an expandable list item's indicator.
android:expandableListPreferredItemIndicatorRightThe preferred right bound for an expandable list item's indicator.
android:expandableListPreferredChildIndicatorLeftThe preferred left bound for an expandable list child's indicator.
android:expandableListPreferredChildIndicatorRightThe preferred right bound for an expandable list child's indicator.
android:windowBackgroundDrawable to use as the overall window background.
android:windowFrameDrawable to use as a frame around the window.
android:windowNoTitleFlag indicating whether there should be no title on this window.
android:windowIsFloatingFlag indicating whether this is a floating window.
android:windowIsTranslucentFlag indicating whether this is a translucent window.
android:windowContentOverlayThis Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.
android:windowTitleSizeThe style resource to use for a window's title bar height.
android:windowTitleStyleThe style resource to use for a window's title text.
android:windowTitleBackgroundStyleThe style resource to use for a window's title area.
android:alertDialogStyle
android:panelBackgroundThe background of a panel when it is inset from the left and right edges of the screen.
android:panelFullBackgroundThe background of a panel when it extends to the left and right edges of the screen.
android:panelColorForegroundDefault color of foreground panel imagery.
android:panelColorBackgroundColor that matches (as closely as possible) the panel background.
android:panelTextAppearanceDefault appearance of panel text.
android:absListViewStyleDefault AbsListView style.
android:autoCompleteTextViewStyleDefault AutoCompleteTextView style.
android:checkboxStyleDefault Checkbox style.
android:dropDownListViewStyleDefault ListView style for drop downs.
android:editTextStyleDefault EditText style.
android:expandableListViewStyleDefault ExpandableListView style.
android:galleryStyleDefault Gallery style.
android:gridViewStyleDefault GridView style.
android:imageButtonStyleThe style resource to use for an ImageButton.
android:imageWellStyleThe style resource to use for an ImageButton that is an image well.
android:listViewStyleDefault ListView style.
android:listViewWhiteStyleListView with white background.
android:popupWindowStyleDefault PopupWindow style.
android:progressBarStyleDefault ProgressBar style.
android:progressBarStyleHorizontalHorizontal ProgressBar style.
android:progressBarStyleSmallSmall ProgressBar style.
android:progressBarStyleLargeLarge ProgressBar style.
android:seekBarStyleDefault SeekBar style.
android:ratingBarStyleDefault RatingBar style.
android:ratingBarStyleSmallSmall indicator RatingBar style.
android:radioButtonStyleDefault RadioButton style.
android:scrollViewStyleDefault ScrollView style.
android:spinnerStyleDefault Spinner style.
android:starStyleDefault Star style.
android:tabWidgetStyleDefault TabWidget style.
android:textViewStyleDefault TextView style.
android:webViewStyleDefault WebView style.
android:dropDownItemStyleDefault style for drop down items.
android:spinnerDropDownItemStyleDefault style for spinner drop down items.
android:dropDownHintAppearanceDefault style for drop down hints.
android:spinnerItemStyleDefault spinner item style.
android:mapViewStyleDefault MapView style.
android:preferenceScreenStyleDefault style for PreferenceScreen.
android:preferenceCategoryStyleDefault style for PreferenceCategory.
android:preferenceInformationStyleDefault style for informational Preference.
android:preferenceStyleDefault style for Preference.
android:checkBoxPreferenceStyleDefault style for CheckBoxPreference.
android:yesNoPreferenceStyleDefault style for YesNoPreference.
android:dialogPreferenceStyleDefault style for DialogPreference.
android:editTextPreferenceStyleDefault style for EditTextPreference.
android:ringtonePreferenceStyleDefault style for RingtonePreference.
android:preferenceLayoutChildThe preference layout that has the child/tabbed effect.
android:windowAnimationStyleReference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.
android:colorForegroundInverseDefault color of foreground imagery on an inverted background.
android:textAppearanceButtonText color, typeface, size, and style for the text inside of a button.
android:listSeparatorTextViewStyleTextView style for list separators.
android:windowFullscreenFlag indicating whether this window should fill the entire screen.
android:progressBarStyleSmallTitleSmall ProgressBar in title style.
android:ratingBarStyleIndicatorIndicator RatingBar style.
android:textColorTertiaryTertiary text color.
android:textColorTertiaryInverseTertiary inverse text color, useful for inverted backgrounds.
android:listDividerThe drawable for the list divider.
android:listChoiceIndicatorSingleDrawable to use for single choice indicators.
android:listChoiceIndicatorMultipleDrawable to use for multiple choice indicators.
android:windowNoDisplayFlag indicating that this window should not be displayed at all.
android:backgroundDimEnabledControl whether dimming behind the window is enabled.
android:windowDisablePreviewFlag allowing you to disable the splash screen for a window.
android:windowSoftInputModeDefines the default soft input state that this window would like when it is displayed.
android:candidatesTextStyleSpansA styled string, specifying the style to be used for showing inline candidate text when composing with an input method.
android:progressBarStyleInverseInverse ProgressBar style.
android:progressBarStyleSmallInverseSmall inverse ProgressBar style.
android:progressBarStyleLargeInverseLarge inverse ProgressBar style.
android:textColorPrimaryInverseDisableOnlyBright inverse text color.
android:windowShowWallpaperFlag indicating that this window's background should be the user's current wallpaper.
android:textAppearanceSearchResultSubtitleText color, typeface, size, and style for system search result subtitle.
android:textAppearanceSearchResultTitleText color, typeface, size, and style for system search result title.
android:colorBackgroundCacheHintThis is a hint for a solid color that can be used for caching rendered views.
android:quickContactBadgeStyleWindowSmallDefault quickcontact badge style with small quickcontact window.
android:quickContactBadgeStyleWindowMediumDefault quickcontact badge style with medium quickcontact window.
android:quickContactBadgeStyleWindowLargeDefault quickcontact badge style with large quickcontact window.
android:quickContactBadgeStyleSmallWindowSmallDefault quickcontact badge style with small quickcontact window.
android:quickContactBadgeStyleSmallWindowMediumDefault quickcontact badge style with medium quickcontact window.
android:quickContactBadgeStyleSmallWindowLargeDefault quickcontact badge style with large quickcontact window.
android:expandableListViewWhiteStyleExpandableListView with white background.
android:webTextViewStyleDefault WebTextView style.
android:textSelectHandleLeftReference to a drawable that will be used to display a text selection anchor on the left side of a selection region.
android:textSelectHandleRightReference to a drawable that will be used to display a text selection anchor on the right side of a selection region.
android:textSelectHandleReference to a drawable that will be used to display a text selection anchor for positioning the cursor within text.
android:textSelectHandleWindowStyleReference to a style that will be used for the window containing a text selection anchor.
android:windowActionBarFlag indicating whether this window should have an Action Bar in place of the usual title bar.
android:actionBarStyleReference to a style for the Action Bar.
android:dropDownSpinnerStyleDefault dropdown Spinner style.
android:actionDropDownStyleDefault ActionBar dropdown style.
android:actionButtonStyleDefault action button style.
android:actionModeBackgroundBackground drawable to use for action mode UI.
android:actionModeCloseDrawableDrawable to use for the close action mode button.
android:windowActionModeOverlayFlag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
android:windowActionBarOverlayFlag indicating whether this window's Action Bar should overlay application content.
android:actionBarSizeSize of the Action Bar, including the contextual bar used to present Action Modes.
android:listChoiceBackgroundIndicatorDrawable used as a background for selected list items.
android:actionBarTabStyleDefault style for tabs within an action bar.
android:actionBarTabBarStyleReference to a style for the Action Bar Tab Bar.
android:actionBarTabTextStyleReference to a style for the Action Bar Tab text.
android:actionOverflowButtonStyleReference to a style for Action Bar overflow buttons.
android:actionModeCloseButtonStyleReference to a style for the Action Mode close button.
android:activatedBackgroundIndicatorDrawable used as a background for activated items.
android:listPopupWindowStyleDefault ListPopupWindow style.
android:popupMenuStyleDefault PopupMenu style.
android:textAppearanceLargePopupMenuText color, typeface, size, and style for the text inside of a popup menu.
android:textAppearanceSmallPopupMenuText color, typeface, size, and style for small text inside of a popup menu.
android:listDividerAlertDialogThe list divider used in alert dialogs.
android:textColorAlertDialogListItemColor of list item text in alert dialogs.
android:dialogThemeTheme to use for dialogs spawned from this theme.
android:alertDialogThemeTheme to use for alert dialogs spawned from this theme.
android:dividerVerticalDrawable to use for generic vertical dividers.
android:homeAsUpIndicatorSpecifies a drawable to use for the 'home as up' indicator.
android:selectableItemBackgroundBackground drawable for bordered standalone items that need focus/pressed states.
android:actionModeCutDrawableDrawable to use for the Cut action button in Contextual Action Bar.
android:actionModeCopyDrawableDrawable to use for the Copy action button in Contextual Action Bar.
android:actionModePasteDrawableDrawable to use for the Paste action button in Contextual Action Bar.
android:textEditPasteWindowLayoutThe layout of the view that is displayed on top of the cursor to paste inside a TextEdit field.
android:textEditNoPasteWindowLayoutVariation of textEditPasteWindowLayout displayed when the clipboard is empty.
android:windowEnableSplitTouchFlag indicating that this window should allow touches to be split across other windows that also support split touch.
android:borderlessButtonStyleStyle for buttons without an explicit border, often used in groups.
android:dividerHorizontalDrawable to use for generic horizontal dividers.
android:buttonBarStyleStyle for button bars.
android:buttonBarButtonStyleStyle for buttons within button bars.
android:segmentedButtonStyleStyle for segmented buttons - a container that houses several buttons with the appearance of a singel button broken into segments.
android:fastScrollThumbDrawableDrawable to use as the fast scroll thumb.
android:fastScrollPreviewBackgroundLeftDrawable to use as the fast scroll index preview window background when shown on the left.
android:fastScrollPreviewBackgroundRightDrawable to use as the fast scroll index preview window background when shown on the right.
android:fastScrollTrackDrawableDrawable to use as the track for the fast scroll thumb.
android:fastScrollOverlayPositionPosition of the fast scroll index overlay window.
android:detailsElementBackgroundBackground that can be used behind parts of a UI that provide details on data the user is selecting.
android:textColorHighlightInverseColor of highlighted text, when used in a light theme.
android:textColorLinkInverseColor of link text (URLs), when used in a light theme.
android:editTextColorEditText text foreground color.
android:editTextBackgroundEditText background drawable.
android:horizontalScrollViewStyleDefault HorizontalScrollView style.
android:alertDialogIconIcon drawable to use for alerts.
android:fastScrollTextColorText color for the fast scroll index overlay.
android:windowCloseOnTouchOutsideControl whether a container should automatically close itself if the user touches outside of it.
android:datePickerStyleThe DatePicker style.
android:calendarViewStyleThe CalendarView style.
android:textEditSidePasteWindowLayoutUsed 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.
android:textEditSideNoPasteWindowLayoutVariation of textEditSidePasteWindowLayout displayed when the clipboard is empty.
android:actionMenuTextAppearanceTextAppearance style that will be applied to text that appears within action menu items.
android:actionMenuTextColorColor for text that appears within action menu items.
android:switchPreferenceStyleDefault style for switch preferences.
android:textSuggestionsWindowStyleReference to a style that will be used for the window containing a list of possible text suggestions in an EditText.
android:textEditSuggestionItemLayoutLayout of the TextView item that will populate the suggestion popup window.
android:actionModeSelectAllDrawableDrawable to use for the Select all action button in Contextual Action Bar.
android:listPreferredItemHeightLargeA larger, more robust list item height.
android:listPreferredItemHeightSmallA smaller, sleeker list item height.
android:actionBarSplitStyleReference to a style for the split Action Bar.
android:colorPressedHighlightDefault highlight color for items that are pressed.
android:colorLongPressedHighlightDefault highlight color for items that are long-pressed.
android:colorFocusedHighlightDefault highlight color for items that are focused.
android:colorActivatedHighlightDefault highlight color for items that are activated.
android:colorMultiSelectHighlightDefault highlight color for items in multiple selection mode.
android:actionModeStyleReference to a style for the Action Mode.
android:actionBarWidgetThemeReference to a theme that should be used to inflate widgets and layouts destined for the action bar.
android:actionBarDividerCustom divider drawable to use for elements in the action bar.
android:actionBarItemBackgroundCustom item state list drawable background for action bar items.
android:actionModeSplitBackgroundBackground drawable to use for action mode UI in the lower split bar.
android:textAppearanceListItemThe preferred TextAppearance for the primary text of list items.
android:textAppearanceListItemSmallThe preferred TextAppearance for the primary text of small list items.
android:listPreferredItemPaddingLeftThe preferred padding along the left edge of list items.
android:listPreferredItemPaddingRightThe preferred padding along the right edge of list items.
android:mediaRouteButtonStyleDefault style for the MediaRouteButton widget.
android:listPreferredItemPaddingStartThe preferred padding along the start edge of list items.
android:listPreferredItemPaddingEndThe preferred padding along the end edge of list items.
android:presentationThemeTheme to use for presentations spawned from this theme.
android:checkedTextViewStyleDefault CheckedTextView style.
android:windowOverscanFlag indicating whether this window should extend into overscan region.
android:windowTranslucentStatusFlag indicating whether this window requests a translucent status bar.
android:windowTranslucentNavigationFlag indicating whether this window requests a translucent navigation bar.
android:windowSwipeToDismissFlag to indicate that a window can be swiped away to be dismissed.
android:windowContentTransitionsFlag indicating whether this window requests that content changes be performed as scene changes with transitions.
android:windowContentTransitionManagerReference to a TransitionManager XML resource defining the desired transitions between different window content.
android:colorControlNormalThe color applied to framework controls in their normal state.
android:colorControlActivatedThe color applied to framework controls in their activated (ex.
android:colorButtonNormalThe color applied to framework buttons in their normal state.
android:colorControlHighlightThe color applied to framework control highlights (ex.
android:actionBarThemeReference to a theme that should be used to inflate the action bar.
android:textAppearanceListItemSecondaryThe preferred TextAppearance for the secondary text of list items.
android:colorPrimaryThe primary branding color for the app.
android:colorPrimaryDarkDark variant of the primary branding color.
android:colorAccentBright complement to the primary branding color.
android:windowEnterTransitionReference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene.
android:windowExitTransitionReference 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.
android:windowSharedElementEnterTransitionReference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene.
android:windowSharedElementExitTransitionReference 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.
android:windowAllowReturnTransitionOverlapFlag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes.
android:windowAllowEnterTransitionOverlapFlag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity.
android:stackViewStyleDefault StackView style.
android:switchStyleDefault style for the Switch widget.
android:actionOverflowMenuStyleReference to a style for the Action Bar menu.
android:selectableItemBackgroundBorderlessBackground drawable for borderless standalone items that need focus/pressed states.
android:windowTransitionBackgroundFadeDurationThe duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition.
android:actionModeShareDrawableDrawable to use for the Share action button in WebView selection action modes.
android:actionModeFindDrawableDrawable to use for the Find action button in WebView selection action modes.
android:actionModeWebSearchDrawableDrawable to use for the Web Search action button in WebView selection action modes.
android:searchViewStyleStyle for the search query widget.
android:buttonBarPositiveButtonStyleStyle for the "positive" buttons within button bars.
android:buttonBarNeutralButtonStyleStyle for the "neutral" buttons within button bars.
android:buttonBarNegativeButtonStyleStyle for the "negative" buttons within button bars.
android:actionBarPopupThemeReference to a theme that should be used to inflate popups shown by widgets in the action bar.
android:timePickerStyleThe TimePicker style.
android:timePickerDialogThemeThe TimePicker dialog theme.
android:toolbarStyleDefault Toolbar style.
android:datePickerDialogThemeThe DatePicker dialog theme.
android:windowReturnTransitionReference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close.
android:windowReenterTransitionReference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity.
android:windowSharedElementReturnTransitionReference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity.
android:windowSharedElementReenterTransitionReference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity.
android:windowSharedElementsUseOverlayIndicates whether or not shared elements should use an overlay during transitions.
android:ambientShadowAlphaAlpha value of the ambient shadow projected by elevated views, between 0 and 1.
android:spotShadowAlphaAlpha value of the spot shadow projected by elevated views, between 0 and 1.
android:windowActivityTransitionsFlag indicating whether this window allows Activity Transitions.
android:colorEdgeEffectThe color applied to the edge effect on scrolling containers.
android:dialogPreferredPaddingPreferred padding for dialog content.
android:colorBackgroundFloatingDefault color of background imagery for floating components, ex.
android:fingerprintAuthDrawableIcon that should be used to indicate that an app is waiting for a fingerprint scan.
android:listMenuViewStyleDefault menu-style ListView style.
android:contextPopupMenuStyleDefault context menu PopupMenu style.
android:textAppearancePopupMenuHeaderText color, typeface, size, and style for header text inside of a popup menu.
android:windowBackgroundFallbackDrawable to draw selectively within the inset areas when the windowBackground has been set to null.
android:preferenceFragmentStyleDefault style for Headers pane in PreferenceActivity.
android:numberPickerStyleNumberPicker style.
android:colorSecondaryThe secondary branding color for the app.
android:colorErrorColor used for error states and things that need to be drawn to the users attention..
android:primaryContentAlphaThe alpha applied to the foreground color to create the primary text color.
android:secondaryContentAlphaThe alpha applied to the foreground color to create the secondary text color.
android:autofilledHighlightDrawable to be drawn over the view to mark it as autofilled
android:dialogCornerRadiusCorner radius of dialogs.
android:buttonCornerRadiusCorner radius of buttons.
android:forceDarkAllowed

Whether or not the force dark feature is allowed to be applied to this View.

android:isLightThemeSpecifies that a theme has a light background with dark text on top.
android:windowBlurBehindRadiusWhen windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window.
android:windowBlurBehindEnabledIf set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.
android:windowBackgroundBlurRadiusBlur the screen behind the window with the bounds of the window.
android:effectColorColor applied to effects.

See also:

TimePicker

public static final int[] TimePicker

Attributes that can be used with a TimePicker.

Includes the following attributes:

AttributeDescription
android:headerBackgroundDefault background for the menu header.
android:headerTimeTextAppearanceThe text appearance for the time header.
android:headerAmPmTextAppearanceThe text appearance for the AM/PM header.
android:numbersTextColorThe color for the hours/minutes numbers.
android:numbersBackgroundColorThe background color for the hours/minutes numbers.
android:numbersSelectorColorThe color for the hours/minutes selector.
android:amPmTextColorThe color for the AM/PM selectors.
android:amPmBackgroundColorThe background color state list for the AM/PM selectors.
android:timePickerModeDefines the look of the widget.
android:numbersInnerTextColorThe color for the inner hours numbers used in 24-hour mode.

ToggleButton

public static final int[] ToggleButton

Attributes that can be used with a ToggleButton.

Includes the following attributes:

AttributeDescription
android:disabledAlphaDefault disabled alpha for widgets that set enabled/disabled alpha programmatically.
android:textOnThe text for the button when it is checked.
android:textOffThe text for the button when it is not checked.

Toolbar

public static final int[] Toolbar

Attributes that can be used with a Toolbar.

Includes the following attributes:

AttributeDescription
android:gravitySpecifies how an object should position its content, on both the X and Y axes, within its own bounds.
android:titleThe title associated with the item.
android:logoA Drawable resource providing an extended graphical logo for its associated item.
android:subtitleSpecifies subtitle text used for navigationMode="normal".
android:titleTextAppearance
android:subtitleTextAppearance
android:contentInsetStartMinimum inset for content views within a bar.
android:contentInsetEndMinimum inset for content views within a bar.
android:contentInsetLeftMinimum inset for content views within a bar.
android:contentInsetRightMinimum inset for content views within a bar.
android:popupThemeReference to a theme that should be used to inflate popups shown by widgets in the toolbar.
android:navigationIconIcon drawable to use for the navigation button located at the start of the toolbar.
android:navigationContentDescriptionText to set as the content description for the navigation button located at the start of the toolbar.
android:collapseContentDescriptionText to set as the content description for the collapse button.
android:titleTextColorA color to apply to the title string.
android:subtitleTextColorA color to apply to the subtitle string.
android:logoDescriptionA content description string to describe the appearance of the associated logo image.
android:titleMarginSpecifies extra space on the left, start, right and end sides of the toolbar's title.
android:titleMarginStartSpecifies extra space on the start side of the toolbar's title.
android:titleMarginEndSpecifies extra space on the end side of the toolbar's title.
android:titleMarginTopSpecifies extra space on the top side of the toolbar's title.
android:titleMarginBottomSpecifies extra space on the bottom side of the toolbar's title.
android:maxButtonHeight
android:buttonGravity
android:collapseIconIcon drawable to use for the collapse button.
android:contentInsetStartWithNavigationMinimum inset for content views within a bar when a navigation button is present, such as the Up button.
android:contentInsetEndWithActionsMinimum inset for content views within a bar when actions from a menu are present.

Toolbar_LayoutParams

public static final int[] Toolbar_LayoutParams

Attributes that can be used with a Toolbar_LayoutParams.

Includes the following attributes:

AttributeDescription
android:layout_gravityStandard gravity constant that a child supplies to its parent.

Transition

public static final int[] Transition

Use specific transition subclass names as the root tag of the XML resource that describes a Transition, such as changeBounds, fade, and transitionSet.

Includes the following attributes:

AttributeDescription
android:interpolatorSets the acceleration curve for the indeterminate animation.
android:durationAmount of time (in milliseconds) to display this frame.
android:startDelayDelay in milliseconds before the transition starts.
android:matchOrderThe match order to use for the transition.

TransitionManager

public static final int[] TransitionManager

Use transitionManager as the root tag of the XML resource that describes a TransitionManager.

Includes the following attributes:

AttributeDescription
android:fromSceneThe originating scene in this scene change.
android:toSceneThe destination scene in this scene change.
android:transitionThe id of a transition to be used in a particular scene change.

TransitionSet

public static final int[] TransitionSet

Use set as the root tag of the XML resource that describes a TransitionSet transition.

Includes the following attributes:

AttributeDescription
android:transitionOrdering

TransitionTarget

public static final int[] TransitionTarget

Use target as the root tag of the XML resource that describes a targetId of a transition. There can be one or more targets inside a targets tag, which is itself inside an appropriate Transition tag.

Includes the following attributes:

AttributeDescription
android:targetClassThe class part of the ComponentName to assign to the Intent, as per Intent.setComponent().
android:targetIdThe id of a target on which this transition will animate changes.
android:excludeIdThe id of a target to exclude from this transition.
android:excludeClassThe fully-qualified name of the Class to exclude from this transition.
android:targetNameThe transitionName of the target on which this transition will animation changes.
android:excludeNameThe transitionName of the target to exclude from this transition.

TranslateAnimation

public static final int[] TranslateAnimation

Attributes that can be used with a TranslateAnimation.

Includes the following attributes:

AttributeDescription
android:fromXDelta
android:toXDelta
android:fromYDelta
android:toYDelta

TvAdService

public static final int[] TvAdService

Use tv-ad-service as the root tag of the XML resource that describes a android.media.tv.ad.TvAdService, which is referenced from its android.media.tv.ad.TvAdService#SERVICE_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:adServiceTypesThe advertisement types that the TV ad service supports.

TvInputService

public static final int[] TvInputService

Use tv-input as the root tag of the XML resource that describes a TvInputService, which is referenced from its TvInputService.SERVICE_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:setupActivityComponent name of an activity that allows the user to set up this service.
android:canRecordAttribute whether the TV input service can record programs.
android:tunerCountThe number of tuners that the TV input service is associated with.
android:canPauseRecordingAttribute whether the TV input service can pause recording programs.

TvInteractiveAppService

public static final int[] TvInteractiveAppService

Use tv-interactive-app as the root tag of the XML resource that describes a TvInteractiveAppService, which is referenced from its TvInteractiveAppService.SERVICE_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:supportedTypesThe interactive app types that the TV interactive app service supports.

TwoLineListItem

public static final int[] TwoLineListItem

Attributes that can be used with a TwoLineListItem.

Includes the following attributes:

AttributeDescription
android:mode

VectorDrawable

public static final int[] VectorDrawable

Drawable used to draw vector paths.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:tintThe tinting color for the image.
android:heightMakes the TextView be exactly this tall.
android:widthMakes the TextView be exactly this wide.
android:alphaalpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
android:autoMirroredIndicates if the drawable needs to be mirrored when its layout direction is RTL (right-to-left).
android:tintModeWhen a tint color is set, specifies its Porter-Duff blending mode.
android:viewportWidthThe width of the canvas the drawing is on.
android:viewportHeightThe height of the canvas the drawing is on.
android:opticalInsetLeftLeft optical inset.
android:opticalInsetTopTop optical inset.
android:opticalInsetRightRight optical inset.
android:opticalInsetBottomBottom optical inset.

VectorDrawableClipPath

public static final int[] VectorDrawableClipPath

Defines the clip path used in VectorDrawables.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:pathDataThe specification of the operations that define the path.

VectorDrawableGroup

public static final int[] VectorDrawableGroup

Defines the group used in VectorDrawables.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:pivotX
android:pivotY
android:scaleXscale of the view in the x direction.
android:scaleYscale of the view in the y direction.
android:rotationrotation of the view, in degrees.
android:translateXThe amount to translate the group on X coordinate.
android:translateYThe amount to translate the group on Y coordinate.

VectorDrawablePath

public static final int[] VectorDrawablePath

Defines the path used in VectorDrawables.

Includes the following attributes:

AttributeDescription
android:nameA unique name for the given item.
android:fillColorThe color to fill the path if not defined implies no fill.
android:pathDataThe specification of the operations that define the path.
android:strokeColorThe color to stroke the path if not defined implies no stroke.
android:strokeWidthThe width a path stroke.
android:trimPathStartThe fraction of the path to trim from the start from 0 to 1.
android:trimPathEndThe fraction of the path to trim from the end from 0 to 1 .
android:trimPathOffsetShift trim region (allows visible region to include the start and end) from 0 to 1.
android:strokeLineCapsets the linecap for a stroked path.
android:strokeLineJoinsets the lineJoin for a stroked path.
android:strokeMiterLimitsets the Miter limit for a stroked path.
android:strokeAlphaThe opacity of a path stroke, as a value between 0 (completely transparent) and 1 (completely opaque).
android:fillAlphaThe alpha of the path fill, as a value between 0 (completely transparent) and 1 (completely opaque).
android:fillTypesets the fillType for a path.

VerticalSlider_Layout

public static final int[] VerticalSlider_Layout

Attributes that can be used with a VerticalSlider_Layout.

Includes the following attributes:

AttributeDescription
android:layout_scale

VideoView2

public static final int[] VideoView2

Attributes that are read when parsing a tag.

Includes the following attributes:

AttributeDescription

View

public static final int[] View

Attributes that can be used with View or any of its subclasses. Also see ViewGroup_Layout for attributes that are processed by the view's parent.

Includes the following attributes:

AttributeDescription
android:themeThe overall theme to use for an activity.
android:scrollbarSizeSets the width of vertical scrollbars and height of horizontal scrollbars.
android:scrollbarThumbHorizontalDefines the horizontal scrollbar thumb drawable.
android:scrollbarThumbVerticalDefines the vertical scrollbar thumb drawable.
android:scrollbarTrackHorizontalDefines the horizontal scrollbar track drawable.
android:scrollbarTrackVerticalDefines the vertical scrollbar track drawable.
android:scrollbarAlwaysDrawHorizontalTrackDefines whether the horizontal scrollbar track should always be drawn.
android:scrollbarAlwaysDrawVerticalTrackDefines whether the vertical scrollbar track should always be drawn.
android:scrollbarStyleControls the scrollbar style and position.
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:tagSupply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().
android:scrollXThe initial horizontal scroll offset, in pixels.
android:scrollYThe initial vertical scroll offset, in pixels.
android:backgroundA drawable to use as the background.
android:paddingSets the padding, in pixels, of all four edges.
android:paddingLeftSets the padding, in pixels, of the left edge; see R.attr.padding.
android:paddingTopSets the padding, in pixels, of the top edge; see R.attr.padding.
android:paddingRightSets the padding, in pixels, of the right edge; see R.attr.padding.
android:paddingBottomSets the padding, in pixels, of the bottom edge; see R.attr.padding.
android:focusableControls whether a view can take focus.
android:focusableInTouchModeBoolean that controls whether a view can take focus while in touch mode.
android:visibilityControls the initial visibility of the view.
android:fitsSystemWindowsBoolean internal attribute to adjust view layout based on system windows such as the status bar.
android:scrollbarsDefines which scrollbars should be displayed on scrolling or not.
android:fadingEdgeThis attribute is ignored in API level 14 (Build.VERSION_CODES.ICE_CREAM_SANDWICH) and higher.
android:fadingEdgeLengthDefines the length of the fading edges.
android:nextFocusLeftDefines the next view to give focus to when the next focus is View.FOCUS_LEFT.
android:nextFocusRightDefines the next view to give focus to when the next focus is View.FOCUS_RIGHT If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.
android:nextFocusUpDefines the next view to give focus to when the next focus is View.FOCUS_UP If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.
android:nextFocusDownDefines the next view to give focus to when the next focus is View.FOCUS_DOWN If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.
android:clickableDefines whether this view reacts to click events.
android:longClickableDefines whether this view reacts to long click events.
android:saveEnabledIf false, no state will be saved for this view when it is being frozen.
android:drawingCacheQualityDefines the quality of translucent drawing caches.
android:duplicateParentStateWhen this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.
android:foregroundDefines the drawable to draw over the content.
android:minWidth
android:minHeight
android:foregroundGravityDefines the gravity to apply to the foreground drawable.
android:soundEffectsEnabledBoolean that controls whether a view should have sound effects enabled for events such as clicking and touching.
android:keepScreenOnControls whether the view's window should keep the screen on while visible.
android:isScrollContainerSet 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.
android:hapticFeedbackEnabledBoolean that controls whether a view should have haptic feedback enabled for events such as long presses.
android:onClickName of the method in this View's context to invoke when the view is clicked.
android:contentDescriptionThe content description associated with the item.
android:scrollbarFadeDurationDefines the delay in milliseconds that a scrollbar takes to fade out.
android:scrollbarDefaultDelayBeforeFadeDefines the delay in milliseconds that a scrollbar waits before fade out.
android:fadeScrollbarsDefines whether to fade out scrollbars when they are not in use.
android:overScrollModeDefines over-scrolling behavior.
android:filterTouchesWhenObscuredSpecifies whether to filter touches when the view's window is obscured by another visible window.
android:alphaalpha property of the view, as a value between 0 (completely transparent) and 1 (completely opaque).
android:transformPivotXx location of the pivot point around which the view will rotate and scale.
android:transformPivotYy location of the pivot point around which the view will rotate and scale.
android:translationXtranslation in x of the view.
android:translationYtranslation in y of the view.
android:scaleXscale of the view in the x direction.
android:scaleYscale of the view in the y direction.
android:rotationrotation of the view, in degrees.
android:rotationXrotation of the view around the x axis, in degrees.
android:rotationYrotation of the view around the y axis, in degrees.
android:verticalScrollbarPositionDetermines which side the vertical scroll bar should be placed on.
android:nextFocusForwardDefines the next view to give focus to when the next focus is View.FOCUS_FORWARD If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.
android:layerTypeSpecifies the type of layer backing this view.
android:requiresFadingEdgeDefines which edges should be faded on scrolling.
android:importantForAccessibilityDescribes whether or not this view is important for accessibility.
android:textDirectionDefines the direction of the text.
android:textAlignmentDefines the alignment of the text.
android:layoutDirectionDefines the direction of layout drawing.
android:paddingStartSets the padding, in pixels, of the start edge; see R.attr.padding.
android:paddingEndSets the padding, in pixels, of the end edge; see R.attr.padding.
android:labelForSpecifies the id of a view for which this view serves as a label for accessibility purposes.
android:accessibilityLiveRegionIndicates to accessibility services whether the user should be notified when this view changes.
android:translationZtranslation in z of the view.
android:transitionNameNames a View such that it can be identified for Transitions.
android:nestedScrollingEnabledSpecifies that this view should permit nested scrolling within a compatible ancestor view.
android:elevationbase z depth of the view.
android:stateListAnimatorSets the state-based animator for the View.
android:backgroundTintTint to apply to the background.
android:backgroundTintModeBlending mode used to apply the background tint.
android:foregroundTintTint to apply to the foreground.
android:foregroundTintModeBlending mode used to apply the foreground tint.
android:outlineProviderViewOutlineProvider used to determine the View's Outline.
android:accessibilityTraversalBeforeSets the id of a view that screen readers are requested to visit after this view.
android:accessibilityTraversalAfterSets the id of a view that screen readers are requested to visit before this view.
android:scrollIndicatorsDefines which scroll indicators should be displayed when the view can be scrolled.
android:contextClickableDefines whether this view reacts to context click events.
android:pointerIcon
android:forceHasOverlappingRenderingWhether this view has elements that may overlap when drawn.
android:tooltipTextThe tooltip text associated with the item.
android:paddingHorizontalSets the padding, in pixels, of the left and right edges; see R.attr.padding.
android:paddingVerticalSets the padding, in pixels, of the top and bottom edges; see R.attr.padding.
android:keyboardNavigationClusterWhether this view is a root of a keyboard navigation cluster.
android:nextClusterForwardDefines the next keyboard navigation cluster.
android:focusedByDefaultWhether this view is a default-focus view.
android:autofillHintsDescribes the content of a view so that a autofill service can fill in the appropriate data.
android:importantForAutofillHints the Android System whether the view node associated with this View should be included in a view structure used for autofill purposes.
android:defaultFocusHighlightEnabledWhether this View should use a default focus highlight when it gets focused but doesn't have R.attr.state_focused defined in its background.
android:screenReaderFocusableWhether this view should be treated as a focusable unit by screen reader accessibility tools.
android:accessibilityPaneTitleThe title this view should present to accessibility as a pane title.
android:accessibilityHeadingWhether or not this view is a heading for accessibility purposes.
android:outlineSpotShadowColorSets the color of the spot shadow that is drawn when the view has a positive Z or elevation value.
android:outlineAmbientShadowColorSets the color of the ambient shadow that is drawn when the view has a positive Z or elevation value.
android:forceDarkAllowed

Whether or not the force dark feature is allowed to be applied to this View.

android:importantForContentCaptureHints the Android System whether the view node associated with this View should be use for content capture purposes.
android:allowClickWhenDisabledWhether or not allow clicks on disabled view.
android:clipToOutline

Whether the View's Outline should be used to clip the contents of the View.

android:preferKeepClear

Sets a preference to keep the bounds of this view clear from floating windows above this view's window.

android:autoHandwritingEnabled

Whether or not the auto handwriting initiation is enabled in this View.

android:handwritingBoundsOffsetLeft

The amount of offset that is applied to the left edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

android:handwritingBoundsOffsetTop

The amount of offset that is applied to the top edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

android:handwritingBoundsOffsetRight

The amount of offset that is applied to the right edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

android:handwritingBoundsOffsetBottom

The amount of offset that is applied to the bottom edge of the view's stylus handwriting bounds, which by default is the view's visible bounds.

android:accessibilityDataSensitiveDescribes whether this view should allow interactions from AccessibilityServices only if the service sets the isAccessibilityTool property.
android:isCredentialBoolean that hints the Android System that the view is credential and associated with CredentialManager
android:contentSensitivity

See also:

ViewAnimator

public static final int[] ViewAnimator

Attributes that can be used with a ViewAnimator.

Includes the following attributes:

AttributeDescription
android:inAnimationIdentifier for the animation to use when a view is shown.
android:outAnimationIdentifier for the animation to use when a view is hidden.
android:animateFirstViewDefines whether to animate the current View when the ViewAnimation is first displayed.

ViewDrawableStates

public static final int[] ViewDrawableStates

Attributes that can be used with a ViewDrawableStates.

Includes the following attributes:

AttributeDescription
android:state_focusedState value for StateListDrawable, set when a view has input focus.
android:state_window_focusedState value for StateListDrawable, set when a view's window has input focus.
android:state_enabledState value for StateListDrawable, set when a view is enabled.
android:state_selectedState value for StateListDrawable, set when a view (or one of its parents) is currently selected.
android:state_pressedState value for StateListDrawable, set when the user is pressing down in a view.
android:state_activatedState value for StateListDrawable, set when a view or its parent has been "activated" meaning the user has currently marked it as being of interest.
android:state_acceleratedState value for StateListDrawable, indicating that the Drawable is in a view that is hardware accelerated.
android:state_hoveredState value for StateListDrawable, set when a pointer is hovering over the view.
android:state_drag_can_acceptState 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.
android:state_drag_hoveredState for StateListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipient) is currently positioned over the Drawable.

ViewFlipper

public static final int[] ViewFlipper

Attributes that can be used with a ViewFlipper.

Includes the following attributes:

AttributeDescription
android:flipInterval
android:autoStartWhen true, automatically start animating.

ViewGroup

public static final int[] ViewGroup

Attributes that can be used with a ViewGroup or any of its subclasses. Also see ViewGroup_Layout for attributes that this class processes in its children.

Includes the following attributes:

AttributeDescription
android:clipChildrenDefines whether a child is limited to draw inside of its bounds or not.
android:clipToPaddingDefines whether the ViewGroup will clip its children and resize (but not clip) any EdgeEffect to its padding, if padding is not zero.
android:layoutAnimationDefines the layout animation to use the first time the ViewGroup is laid out.
android:animationCacheDefines whether layout animations should create a drawing cache for their children.
android:persistentDrawingCacheDefines the persistence of the drawing cache.
android:alwaysDrawnWithCacheDefines whether the ViewGroup should always draw its children using their drawing cache or not.
android:addStatesFromChildrenSets whether this ViewGroup's drawable states also include its children's drawable states.
android:descendantFocusabilityDefines the relationship between the ViewGroup and its descendants when looking for a View to take focus.
android:splitMotionEventsSets whether this ViewGroup should split MotionEvents to separate child views during touch event dispatch.
android:animateLayoutChangesDefines whether changes in layout (caused by adding and removing items) should cause a LayoutTransition to run.
android:layoutModeDefines the layout mode of this ViewGroup.
android:transitionGroupSets whether or not this ViewGroup should be treated as a single entity when doing an Activity transition.
android:touchscreenBlocksFocusSet to true if this ViewGroup blocks focus in the presence of a touchscreen.

ViewGroup_Layout

public static final int[] ViewGroup_Layout

This is the basic set of layout attributes that are common to all layout managers. These attributes are specified with the rest of a view's normal attributes (such as R.attr.background, but will be parsed by the view's parent and ignored by the child.

The values defined here correspond to the base layout attribute class ViewGroup.LayoutParams.

Includes the following attributes:

AttributeDescription
android:layout_widthSpecifies the basic width of the view.
android:layout_heightSpecifies the basic height of the view.

ViewGroup_MarginLayout

public static final int[] ViewGroup_MarginLayout

This is the basic set of layout attributes for layout managers that wish to place margins around their child views. These attributes are specified with the rest of a view's normal attributes (such as R.attr.background, but will be parsed by the view's parent and ignored by the child.

The values defined here correspond to the base layout attribute class ViewGroup.MarginLayoutParams.

Includes the following attributes:

AttributeDescription
android:layout_widthSpecifies the basic width of the view.
android:layout_heightSpecifies the basic height of the view.
android:layout_marginSpecifies extra space on the left, top, right and bottom sides of this view.
android:layout_marginLeftSpecifies extra space on the left side of this view.
android:layout_marginTopSpecifies extra space on the top side of this view.
android:layout_marginRightSpecifies extra space on the right side of this view.
android:layout_marginBottomSpecifies extra space on the bottom side of this view.
android:layout_marginStartSpecifies extra space on the start side of this view.
android:layout_marginEndSpecifies extra space on the end side of this view.
android:layout_marginHorizontalSpecifies extra space on the left and right sides of this view.
android:layout_marginVerticalSpecifies extra space on the top and bottom sides of this view.

ViewStub

public static final int[] ViewStub

A ViewStub lets you lazily include other XML layouts inside your application at runtime.

Includes the following attributes:

AttributeDescription
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:layoutSupply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.
android:inflatedIdOverrides the id of the inflated View with this value.

ViewSwitcher

public static final int[] ViewSwitcher

ViewTag

public static final int[] ViewTag

Attributes that can be assigned to a tag for a particular View.

Includes the following attributes:

AttributeDescription
android:valueConcrete value to assign to this piece of named meta-data.
android:idSupply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().

VisibilityTransition

public static final int[] VisibilityTransition

Use with Visibility transitions, such as slide, explode, and fade to mark which views are supported.

Includes the following attributes:

AttributeDescription
android:transitionVisibilityModeChanges whether the transition supports appearing and/or disappearing Views.

VoiceInteractionService

public static final int[] VoiceInteractionService

Use voice-interaction-service as the root tag of the XML resource that describes a VoiceInteractionService, which is referenced from its VoiceInteractionService.SERVICE_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:sessionServiceThe service that hosts active voice interaction sessions.
android:recognitionServiceThe service that provides voice recognition.
android:supportsAssistFlag indicating whether this voice interaction service is capable of handling the assist action.
android:supportsLaunchVoiceAssistFromKeyguardFlag indicating whether this voice interaction service is capable of being launched from the keyguard.
android:supportsLocalInteractionFlag indicating whether this voice interaction service can handle local voice interaction requests from an Activity.

VoiceInteractionSession

public static final int[] VoiceInteractionSession

VolumePreference

public static final int[] VolumePreference

Base attributes available to VolumePreference.

Includes the following attributes:

AttributeDescription
android:streamTypeDifferent audio stream types.

Wallpaper

public static final int[] Wallpaper

Use wallpaper as the root tag of the XML resource that describes an WallpaperService, which is referenced from its WallpaperService.SERVICE_META_DATA meta-data entry. Described here are the attributes that can be included in that tag.

Includes the following attributes:

AttributeDescription
android:descriptionDescriptive text for the associated data.
android:settingsActivityFully qualified class name of an activity that allows the user to modify the settings for this service.
android:thumbnailReference to the wallpaper's thumbnail bitmap.
android:authorName of the author and/or source/collection of this component, for example, Art Collection, Picasso.
android:contextUriUri that specifies a link for further context of this wallpaper, for example, http://www.picasso.org.
android:contextDescriptionTitle of the uri that specifies a link for further context of this wallpaper, for example, Explore collection.
android:showMetadataInPreviewWhether to show any metadata when previewing the wallpaper.
android:settingsSliceUriUri that specifies a settings Slice for this wallpaper.
android:supportsMultipleDisplaysIndicates that this wallpaper service can support multiple engines to render on each surface independently.
android:shouldUseDefaultUnfoldTransitionIndicates that this wallpaper service should receive zoom transition updates when changing the structural state of the device (e.g.

WallpaperPreviewInfo

public static final int[] WallpaperPreviewInfo

Use wallpaper-preview as the root tag of the XML resource that describes a wallpaper preview.

Includes the following attributes:

AttributeDescription
android:staticWallpaperPreviewA resource id of a static drawable.

Window

public static final int[] Window

The set of attributes that describe a Windows's theme.

Includes the following attributes:

AttributeDescription
android:backgroundDimAmountDefault background dim amount when a menu, dialog, or something similar pops up.
android:windowBackgroundDrawable to use as the overall window background.
android:windowFrameDrawable to use as a frame around the window.
android:windowNoTitleFlag indicating whether there should be no title on this window.
android:windowIsFloatingFlag indicating whether this is a floating window.
android:windowIsTranslucentFlag indicating whether this is a translucent window.
android:windowContentOverlayThis Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.
android:textColorColor of text (usually same as colorForeground).
android:windowAnimationStyleReference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.
android:windowFullscreenFlag indicating whether this window should fill the entire screen.
android:windowNoDisplayFlag indicating that this window should not be displayed at all.
android:backgroundDimEnabledControl whether dimming behind the window is enabled.
android:windowDisablePreviewFlag allowing you to disable the splash screen for a window.
android:windowSoftInputModeDefines the default soft input state that this window would like when it is displayed.
android:windowShowWallpaperFlag indicating that this window's background should be the user's current wallpaper.
android:windowActionBarFlag indicating whether this window should have an Action Bar in place of the usual title bar.
android:windowActionModeOverlayFlag indicating whether action modes should overlay window content when there is not reserved space for their UI (such as an Action Bar).
android:windowActionBarOverlayFlag indicating whether this window's Action Bar should overlay application content.
android:windowEnableSplitTouchFlag indicating that this window should allow touches to be split across other windows that also support split touch.
android:windowMinWidthMajorThe minimum width the window is allowed to be, along the major axis of the screen.
android:windowMinWidthMinorThe minimum width the window is allowed to be, along the minor axis of the screen.
android:windowCloseOnTouchOutsideControl whether a container should automatically close itself if the user touches outside of it.
android:windowOverscanFlag indicating whether this window should extend into overscan region.
android:windowTranslucentStatusFlag indicating whether this window requests a translucent status bar.
android:windowTranslucentNavigationFlag indicating whether this window requests a translucent navigation bar.
android:windowContentTransitionsFlag indicating whether this window requests that content changes be performed as scene changes with transitions.
android:windowContentTransitionManagerReference to a TransitionManager XML resource defining the desired transitions between different window content.
android:windowEnterTransitionReference to a Transition XML resource defining the desired Transition used to move Views into the initial Window's content Scene.
android:windowExitTransitionReference 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.
android:windowSharedElementEnterTransitionReference to a Transition XML resource defining the desired Transition used to move shared elements transferred into the Window's initial content Scene.
android:windowSharedElementExitTransitionReference 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.
android:windowAllowReturnTransitionOverlapFlag indicating whether this Window's transition should overlap with the exiting transition of the called Activity when the called Activity finishes.
android:windowAllowEnterTransitionOverlapFlag indicating whether this Window's transition should overlap with the exiting transition of the calling Activity.
android:windowDrawsSystemBarBackgroundsFlag indicating whether this Window is responsible for drawing the background for the system bars.
android:statusBarColorThe color for the status bar.
android:navigationBarColorThe color for the navigation bar.
android:windowTransitionBackgroundFadeDurationThe duration, in milliseconds, of the window background fade duration when transitioning into or away from an Activity when called with an Activity Transition.
android:windowElevationElevation to use for the window.
android:windowClipToOutlineWhether to clip window content to the outline of the window background.
android:windowReturnTransitionReference to a Transition XML resource defining the desired Transition used to move Views out of the scene when the Window is preparing to close.
android:windowReenterTransitionReference to a Transition XML resource defining the desired Transition used to move Views in to the scene when returning from a previously-started Activity.
android:windowSharedElementReturnTransitionReference to a Transition XML resource defining the desired Transition used to move shared elements transferred back to a calling Activity.
android:windowSharedElementReenterTransitionReference to a Transition XML resource defining the desired Transition used for shared elements transferred back to a calling Activity.
android:windowSharedElementsUseOverlayIndicates whether or not shared elements should use an overlay during transitions.
android:windowActivityTransitionsFlag indicating whether this window allows Activity Transitions.
android:windowLightStatusBarIf set, the status bar will be drawn such that it is compatible with a light status bar background.
android:windowBackgroundFallbackDrawable to draw selectively within the inset areas when the windowBackground has been set to null.
android:windowSplashscreenContentReference to a drawable to be used as the splash screen content of the window.
android:windowLightNavigationBarIf set, the navigation bar will be drawn such that it is compatible with a light navigation bar background.
android:navigationBarDividerColorShows a thin line of the specified color between the navigation bar and the app content.
android:windowLayoutInDisplayCutoutModeControls how the window is laid out if there is a DisplayCutout.
android:enforceStatusBarContrastSets whether the system should ensure that the status bar has enough contrast when a fully transparent background is requested.
android:enforceNavigationBarContrastSets whether the system should ensure that the navigation bar has enough contrast when a fully transparent background is requested.
android:windowBlurBehindRadiusWhen windowBlurBehindEnabled is set, this is the amount of blur to apply behind the window.
android:windowBlurBehindEnabledIf set, everything behind the window will be blurred with radius windowBackgroundBlurRadius.
android:windowBackgroundBlurRadiusBlur the screen behind the window with the bounds of the window.
android:windowSplashScreenBackgroundThe background color for the splash screen, if not specify then system will calculate from windowBackground.
android:windowSplashScreenAnimatedIconReplace an icon in the center of the starting window, if the object is animated and drawable(e.g.
android:windowSplashScreenAnimationDurationThe duration, in milliseconds, of the window splash screen icon animation duration when playing the splash screen starting window.
android:windowSplashScreenBrandingImagePlace a drawable image in the bottom of the starting window.
android:windowSplashScreenIconBackgroundColorSet a background behind the splash screen icon.
android:windowSplashScreenBehaviorSpecify whether this application always wants the icon to be displayed on the splash screen.
android:windowNoMoveAnimationFlag indicating whether this window should skip movement animations.
android:windowOptOutEdgeToEdgeEnforcementFlag indicating whether this window would opt-out the edge-to-edge enforcement.
android:windowIsFrameRatePowerSavingsBalancedOffer Window the ability to opt out the UI Toolkit discrete variable refresh rate.

See also:

WindowAnimation

public static final int[] WindowAnimation

Window animation class attributes.

Includes the following attributes:

AttributeDescription
android:windowEnterAnimationThe animation used when a window is being added.
android:windowExitAnimationThe animation used when a window is being removed.
android:windowShowAnimationThe animation used when a window is going from INVISIBLE to VISIBLE.
android:windowHideAnimationThe animation used when a window is going from VISIBLE to INVISIBLE.
android:activityOpenEnterAnimationWhen opening a new activity, this is the animation that is run on the next activity (which is entering the screen).
android:activityOpenExitAnimationWhen opening a new activity, this is the animation that is run on the previous activity (which is exiting the screen).
android:activityCloseEnterAnimationWhen closing the current activity, this is the animation that is run on the next activity (which is entering the screen).
android:activityCloseExitAnimationWhen closing the current activity, this is the animation that is run on the current activity (which is exiting the screen).
android:taskOpenEnterAnimationWhen 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).
android:taskOpenExitAnimationWhen 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).
android:taskCloseEnterAnimationWhen 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).
android:taskCloseExitAnimationWhen 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).
android:taskToFrontEnterAnimationWhen 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).
android:taskToFrontExitAnimationWhen bringing an existing task to the foreground, this is the animation that is run on the current foreground activity (which is exiting the screen).
android:taskToBackEnterAnimationWhen 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).
android:taskToBackExitAnimationWhen 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).
android:wallpaperOpenEnterAnimationWhen 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).
android:wallpaperOpenExitAnimationWhen 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).
android:wallpaperCloseEnterAnimationWhen 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).
android:wallpaperCloseExitAnimationWhen 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).
android:wallpaperIntraOpenEnterAnimationWhen 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).
android:wallpaperIntraOpenExitAnimationWhen 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).
android:wallpaperIntraCloseEnterAnimationWhen 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).
android:wallpaperIntraCloseExitAnimationWhen 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).
android:launchTaskBehindTargetAnimationWhen 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).
android:launchTaskBehindSourceAnimationWhen 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).

See also:

Public constructors

styleable

public styleable ()