public static final class

R.styleable

extends Object
java.lang.Object
   ↳ android.R.styleable

Summary

Constants
int[] AbsListView Attributes that can be used with a AbsListView.
int AbsListView_cacheColorHint

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

int AbsListView_drawSelectorOnTop

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

int AbsListView_fastScrollEnabled

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

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 Attributes that can be used with a AbsSpinner.
int AbsSpinner_entries

Reference to an array resource that will populate the Spinner.

int[] AbsoluteLayout_Layout Attributes that can be used with a AbsoluteLayout_Layout.
int AbsoluteLayout_Layout_layout_x

This symbol is the offset where the 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 layout_y attribute's value can be found in the AbsoluteLayout_Layout array.

int[] AccelerateInterpolator Attributes that can be used with a AccelerateInterpolator.
int AccelerateInterpolator_factor

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

int[] AccountAuthenticator Use account-authenticator as the root tag of the XML resource that describes an account authenticator.
int AccountAuthenticator_accountPreferences

A preferences.xml file for authenticator-specific settings.

int AccountAuthenticator_accountType

The account type this authenticator handles.

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[] AlertDialog The set of attributes that describe a AlertDialog's theme.
int AlertDialog_bottomBright

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

int AlertDialog_bottomDark

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

int AlertDialog_bottomMedium

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

int AlertDialog_centerBright

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

int AlertDialog_centerDark

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

int AlertDialog_centerMedium

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

int AlertDialog_fullBright

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

int AlertDialog_fullDark

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

int AlertDialog_topBright

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

int AlertDialog_topDark

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

int[] AlphaAnimation Attributes that can be used with a AlphaAnimation.
int AlphaAnimation_fromAlpha

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

int AlphaAnimation_toAlpha

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

int[] AnalogClock Attributes that can be used with a AnalogClock.
int AnalogClock_dial

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

int AnalogClock_hand_hour

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

int AnalogClock_hand_minute

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

int[] AndroidManifest The manifest tag is the root of an AndroidManifest.xml file, describing the contents of an Android package (.apk) file.
int[] AndroidManifestAction Attributes that can be supplied in an AndroidManifest.xml action tag, a child of the intent-filter tag.
int AndroidManifestAction_name

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

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.
int[] AndroidManifestActivityAlias The activity-alias tag declares a new name for an existing activity tag.
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_label

A user-legible name for the given item.

int AndroidManifestActivityAlias_name

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

int AndroidManifestActivityAlias_permission

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

int AndroidManifestActivityAlias_targetActivity

The name of the activity this alias should launch.

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_alwaysRetainTaskState

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

int AndroidManifestActivity_clearTaskOnLaunch

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

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

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

int AndroidManifestActivity_label

A user-legible name for the given item.

int AndroidManifestActivity_launchMode

Specify how an activity should be launched.

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_permission

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

int AndroidManifestActivity_process

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

int AndroidManifestActivity_screenOrientation

Specify the orientation an activity should be run in.

int AndroidManifestActivity_stateNotNeeded

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

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

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

int[] AndroidManifestApplication The application tag describes application-level components contained in the package, as well as general application attributes.
int AndroidManifestApplication_allowBackup

Whether to allow the application to participate in backup infrastructure.

int AndroidManifestApplication_allowClearUserData

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

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_backupAgent

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

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_description

Descriptive text for the associated data.

int AndroidManifestApplication_enabled

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

int AndroidManifestApplication_hasCode

Indicate whether this application contains code.

int AndroidManifestApplication_icon

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

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_label

A user-legible name for the given item.

int AndroidManifestApplication_manageSpaceActivity

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

int AndroidManifestApplication_name

An optional name of a class implementing the overall Application for this package.

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_process

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

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.

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

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

This corresponds to the global attribute resource symbol restoreNeedsApplication.

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_vmSafeMode

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

int[] AndroidManifestCategory Attributes that can be supplied in an AndroidManifest.xml category tag, a child of the intent-filter tag.
int AndroidManifestCategory_name

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

int[] AndroidManifestCompatibleScreensScreen Attributes that can be supplied in an AndroidManifest.xml screen tag, a child of compatible-screens, which is itseld a child of the root manifest tag.
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 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.
int AndroidManifestData_host

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

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.addDataAuthority() with PATTERN_LITERAL.

int AndroidManifestData_pathPattern

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

int AndroidManifestData_pathPrefix

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

int AndroidManifestData_port

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

int AndroidManifestData_scheme

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

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

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

int AndroidManifestGrantUriPermission_pathPattern

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

int AndroidManifestGrantUriPermission_pathPrefix

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

int[] AndroidManifestInstrumentation Attributes that can be supplied in an AndroidManifest.xml instrumentation tag, a child of the root manifest tag.
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_name

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

int AndroidManifestInstrumentation_targetPackage

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

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

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

int[] AndroidManifestMetaData The meta-data tag is used to attach additional arbitrary data to an application component.
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 Private tag to declare the original package name that this package is based on.
int AndroidManifestOriginalPackage_name

A unique name for the given item.

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

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

int AndroidManifestPathPermission_pathPattern

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

int AndroidManifestPathPermission_pathPrefix

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

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 permission name for read-only access to a ContentProvider.

int AndroidManifestPathPermission_writePermission

A specific permission name for write access to a ContentProvider.

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).
int[] AndroidManifestPermissionGroup The permission-group tag declares a logical grouping of related permissions.
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_name

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

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

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

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_label

A user-legible name for the given item.

int AndroidManifestPermission_name

Required public name of the permission, which other components and packages will use when referring to this 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[] AndroidManifestProtectedBroadcast Private tag to declare system protected broadcast actions.
int AndroidManifestProtectedBroadcast_name

A unique name for the given item.

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

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

int AndroidManifestProvider_description

Descriptive text for the associated data.

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_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_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 permission name for read-only access to a ContentProvider.

int AndroidManifestProvider_syncable

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

int AndroidManifestProvider_writePermission

A specific permission name for write access to a ContentProvider.

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

Descriptive text for the associated data.

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_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[] 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.
int AndroidManifestService_description

Descriptive text for the associated data.

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_icon

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

int AndroidManifestService_label

A user-legible name for the given 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[] AndroidManifestSupportsScreens The supports-screens specifies the screen dimensions an application supports.
int AndroidManifestSupportsScreens_anyDensity

Indicates whether the application can accommodate any screen density.

int AndroidManifestSupportsScreens_largeScreens

Indicates whether the application supports larger screen form-factors.

int AndroidManifestSupportsScreens_normalScreens

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

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[] AndroidManifestUsesConfiguration The uses-configuration tag specifies a specific hardware configuration value used by the application.
int AndroidManifestUsesConfiguration_reqFiveWayNav

Application's requirement for five way navigation

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

int AndroidManifestUsesConfiguration_reqHardKeyboard

Application's requirement for a hard keyboard

Must be a boolean value, either "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 The uses-feature tag specifies a specific feature used by the 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[] AndroidManifestUsesLibrary The uses-libraries specifies a shared library that this package requires to be linked against.
int AndroidManifestUsesLibrary_name

Required name of the library you use.

int AndroidManifestUsesLibrary_required

Specify whether this library is required for the application.

int[] AndroidManifestUsesPermission The uses-permission tag requests a <permission> that the containing package must be granted in order for it to operate correctly.
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[] AndroidManifestUsesSdk The uses-sdk tag describes the SDK features that the containing package must be running on to operate correctly.
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 AndroidManifest_installLocation

The default install location defined by an application.

int AndroidManifest_sharedUserId

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

int AndroidManifest_sharedUserLabel

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

int AndroidManifest_versionCode

Internal version code.

int AndroidManifest_versionName

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

int[] AnimatedRotateDrawable Attributes that can be used with a AnimatedRotateDrawable.
int AnimatedRotateDrawable_drawable

Reference to a drawable resource to use for the frame.

int AnimatedRotateDrawable_pivotX

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

int AnimatedRotateDrawable_pivotY

This symbol is the offset where the 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[] Animation Attributes that can be used with a Animation.
int[] AnimationDrawable Attributes that can be used with a AnimationDrawable.
int[] AnimationDrawableItem Attributes that can be used with a AnimationDrawableItem.
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[] AnimationSet Attributes that can be used with a AnimationSet.
int AnimationSet_shareInterpolator

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

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, the animation transformation is applied before the animation has started.

int Animation_fillEnabled

When set to true, fillAfter 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_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[] AnticipateInterpolator Attributes that can be used with a AnticipateInterpolator.
int AnticipateInterpolator_tension

This is the amount of tension.

int[] AnticipateOvershootInterpolator Attributes that can be used with a AnticipateOvershootInterpolator.
int AnticipateOvershootInterpolator_extraTension

This is the amount by which to multiply the tension.

int AnticipateOvershootInterpolator_tension

This is the amount of tension.

int[] AppWidgetProviderInfo Use appwidget-provider as the root tag of the XML resource that describes an AppWidget provider.
int AppWidgetProviderInfo_configure

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

int AppWidgetProviderInfo_initialLayout

A resource id of a layout.

int AppWidgetProviderInfo_minHeight

Minimum height of the AppWidget.

int AppWidgetProviderInfo_minWidth

Minimum width of the AppWidget.

int AppWidgetProviderInfo_updatePeriodMillis

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

int[] AutoCompleteTextView Attributes that can be used with a AutoCompleteTextView.
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_dropDownHorizontalOffset

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

int AutoCompleteTextView_dropDownSelector

Selector in a drop down list.

int AutoCompleteTextView_dropDownVerticalOffset

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

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[] BitmapDrawable Drawable used to draw bitmaps.
int BitmapDrawable_antialias

Enables or disables antialiasing.

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_src

Identifier of the bitmap file.

int BitmapDrawable_tileMode

Defines the tile mode.

int[] Button Attributes that can be used with a Button.
int[] CheckBoxPreference Base attributes available to CheckBoxPreference.
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 Attributes that can be used with a CheckedTextView.
int CheckedTextView_checkMark

Drawable used for the check mark graphic.

int CheckedTextView_checked

Indicates the initial checked state of this text.

int[] Chronometer Attributes that can be used with a Chronometer.
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 Attributes that can be used with a ClipDrawable.
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 Drawable used to draw a single color.
int ColorDrawable_color

The color to use.

int[] CompoundButton Attributes that can be used with a CompoundButton.
int CompoundButton_button

Drawable used for the button graphic (e.g.

int CompoundButton_checked

Indicates the initial checked state of this button.

int[] ContactsDataKind Maps a specific contact data MIME-type to styling information.
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[] CycleInterpolator Attributes that can be used with a CycleInterpolator.
int CycleInterpolator_cycles

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

int[] DatePicker Attributes that can be used with a DatePicker.
int DatePicker_endYear

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

int DatePicker_startYear

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

int[] DecelerateInterpolator Attributes that can be used with a DecelerateInterpolator.
int DecelerateInterpolator_factor

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

int[] DeviceAdmin Use device-admin as the root tag of the XML resource that describes a DeviceAdminReceiver, which is referenced from its DEVICE_ADMIN_META_DATA meta-data entry.
int DeviceAdmin_visible

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

int[] DialogPreference Base attributes available to DialogPreference.
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[] Drawable Base attributes that are available to all Drawable objects.
int[] DrawableCorners Attributes that can be used with a DrawableCorners.
int DrawableCorners_bottomLeftRadius

This symbol is the offset where the bottomLeftRadius attribute's value can be found in the DrawableCorners array.

int DrawableCorners_bottomRightRadius

This symbol is the offset where the bottomRightRadius attribute's value can be found in the DrawableCorners array.

int DrawableCorners_radius

This symbol is the offset where the radius attribute's value can be found in the DrawableCorners array.

int DrawableCorners_topLeftRadius

This symbol is the offset where the topLeftRadius attribute's value can be found in the DrawableCorners array.

int DrawableCorners_topRightRadius

This symbol is the offset where the topRightRadius attribute's value can be found in the DrawableCorners array.

int[] DrawableStates Drawable states.
int DrawableStates_state_active

State value for StateListDrawable.

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_enabled

State value for StateListDrawable.

int DrawableStates_state_first

State value for StateListDrawable.

int DrawableStates_state_focused

State value for StateListDrawable.

int DrawableStates_state_last

State value for StateListDrawable.

int DrawableStates_state_middle

State value for StateListDrawable.

int DrawableStates_state_pressed

State value for StateListDrawable.

int DrawableStates_state_selected

State value for StateListDrawable.

int DrawableStates_state_single

State value for StateListDrawable.

int DrawableStates_state_window_focused

State value for StateListDrawable.

int Drawable_visible

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

int[] EditText Attributes that can be used with a EditText.
int[] ExpandableListChildIndicatorState State array representing an expandable list child's indicator.
int ExpandableListChildIndicatorState_state_last

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

int[] ExpandableListGroupIndicatorState State array representing an expandable list group's indicator.
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 Attributes that can be used with a ExpandableListView.
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_childIndicatorLeft

The left bound for a child's indicator.

int ExpandableListView_childIndicatorRight

The right bound for a child's indicator.

int ExpandableListView_groupIndicator

Indicator shown beside the group View.

int ExpandableListView_indicatorLeft

The left bound for an item's indicator.

int ExpandableListView_indicatorRight

The right bound for an item's indicator.

int[] Extra An extra data value to place into a an extra/name value pair held in a Bundle, as per Bundle.
int Extra_name

Required name of the extra data.

int Extra_value

Concrete value to put for this named extra data.

int[] FrameLayout Attributes that can be used with a FrameLayout.
int[] FrameLayout_Layout Attributes that can be used with a FrameLayout_Layout.
int FrameLayout_Layout_layout_gravity

Standard gravity constant that a child can supply to its parent.

int FrameLayout_foreground

Defines the drawable to draw over the content.

int FrameLayout_foregroundGravity

Defines the gravity to apply to the foreground drawable.

int FrameLayout_measureAllChildren

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

int[] Gallery Attributes that can be used with a Gallery.
int Gallery_animationDuration

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

int Gallery_gravity

Specifies how to place the content of an object, both on the x- and y-axis, within the object itself.

int Gallery_spacing

This symbol is the offset where the 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[] GestureOverlayView GestureOverlayView specific attributes.
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[] GradientDrawable Attributes that can be used with a GradientDrawable.
int[] GradientDrawableGradient Attributes that can be used with a GradientDrawableGradient.
int GradientDrawableGradient_angle

This symbol is the offset where the angle attribute's value can be found in the GradientDrawableGradient array.

int GradientDrawableGradient_centerColor

Optional center color.

int GradientDrawableGradient_centerX

This symbol is the offset where the centerX attribute's value can be found in the GradientDrawableGradient array.

int GradientDrawableGradient_centerY

This symbol is the offset where the centerY attribute's value can be found in the GradientDrawableGradient array.

int GradientDrawableGradient_endColor

This symbol is the offset where the endColor attribute's value can be found in the GradientDrawableGradient array.

int GradientDrawableGradient_gradientRadius

This symbol is the offset where the gradientRadius attribute's value can be found in the GradientDrawableGradient array.

int GradientDrawableGradient_startColor

This symbol is the offset where the startColor attribute's value can be found in the GradientDrawableGradient array.

int GradientDrawableGradient_type

This symbol is the offset where the type attribute's value can be found in the GradientDrawableGradient array.

int GradientDrawableGradient_useLevel

This symbol is the offset where the useLevel attribute's value can be found in the GradientDrawableGradient array.

int[] GradientDrawablePadding Attributes that can be used with a GradientDrawablePadding.
int GradientDrawablePadding_bottom

This symbol is the offset where the bottom attribute's value can be found in the GradientDrawablePadding array.

int GradientDrawablePadding_left

This symbol is the offset where the left attribute's value can be found in the GradientDrawablePadding array.

int GradientDrawablePadding_right

This symbol is the offset where the right attribute's value can be found in the GradientDrawablePadding array.

int GradientDrawablePadding_top

This symbol is the offset where the top attribute's value can be found in the GradientDrawablePadding array.

int[] GradientDrawableSize Attributes that can be used with a GradientDrawableSize.
int GradientDrawableSize_height

Makes the TextView be exactly this many pixels tall.

int GradientDrawableSize_width

Makes the TextView be exactly this many pixels wide.

int[] GradientDrawableSolid Attributes that can be used with a GradientDrawableSolid.
int GradientDrawableSolid_color

This symbol is the offset where the color attribute's value can be found in the GradientDrawableSolid array.

int[] GradientDrawableStroke Attributes that can be used with a GradientDrawableStroke.
int GradientDrawableStroke_color

This symbol is the offset where the color attribute's value can be found in the GradientDrawableStroke array.

int GradientDrawableStroke_dashGap

This symbol is the offset where the dashGap attribute's value can be found in the GradientDrawableStroke array.

int GradientDrawableStroke_dashWidth

This symbol is the offset where the dashWidth attribute's value can be found in the GradientDrawableStroke array.

int GradientDrawableStroke_width

Makes the TextView be exactly this many pixels wide.

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_shape

This symbol is the offset where the shape attribute's value can be found in the GradientDrawable array.

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_useLevel

This symbol is the offset where the useLevel attribute's value can be found in the GradientDrawable array.

int GradientDrawable_visible

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

int[] GridLayoutAnimation Attributes that can be used with a GridLayoutAnimation.
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[] GridView Attributes that can be used with a GridView.
int GridView_columnWidth

This symbol is the offset where the columnWidth attribute's value can be found in the GridView array.

int GridView_gravity

Specifies how to place the content of an object, both on the x- and y-axis, within the object itself.

int GridView_horizontalSpacing

This symbol is the offset where the horizontalSpacing attribute's value can be found in the GridView array.

int GridView_numColumns

This symbol is the offset where the numColumns attribute's value can be found in the GridView array.

int GridView_stretchMode

This symbol is the offset where the stretchMode attribute's value can be found in the GridView array.

int GridView_verticalSpacing

This symbol is the offset where the verticalSpacing attribute's value can be found in the GridView array.

int[] HorizontalScrollView Attributes that can be used with a HorizontalScrollView.
int HorizontalScrollView_fillViewport

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

int[] Icon Attributes that can be used with a Icon.
int[] IconDefault Attributes that can be used with a IconDefault.
int IconDefault_icon

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

int[] IconMenuView Attributes that can be used with a IconMenuView.
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[] ImageSwitcher Attributes that can be used with a ImageSwitcher.
int[] ImageView Attributes that can be used with a ImageView.
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_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

Set a tinting color for the image.

int[] InputExtras An input-extras is a container for extra data to supply to an input method.
int[] InputMethod Use input-method as the root tag of the XML resource that describes an InputMethod service, which is referenced from its SERVICE_META_DATA meta-data entry.
int[] InputMethodService Attributes that can be used with a InputMethodService.
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_isDefault

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

int InputMethod_settingsActivity

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

int[] InsetDrawable Attributes that can be used with a InsetDrawable.
int InsetDrawable_drawable

Reference to a drawable resource to use for the frame.

int InsetDrawable_insetBottom

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

int InsetDrawable_insetLeft

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

int InsetDrawable_insetRight

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

int InsetDrawable_insetTop

This symbol is the offset where the 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[] Intent Declaration of an Intent object in XML.
int[] IntentCategory A category to add to an Intent, as per Intent.addCategory().
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_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[] Keyboard Attributes that can be used with a Keyboard.
int[] KeyboardView Attributes that can be used with a KeyboardView.
int[] KeyboardViewPreviewState Attributes that can be used with a KeyboardViewPreviewState.
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

Place a shadow of the specified color behind the text.

int KeyboardView_shadowRadius

Radius of the shadow.

int KeyboardView_verticalCorrection

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

int[] Keyboard_Key Attributes that can be used with a Keyboard_Key.
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 Attributes that can be used with a Keyboard_Row.
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[] LayerDrawableItem Attributes that can be used with a LayerDrawableItem.
int LayerDrawableItem_bottom

This symbol is the offset where the bottom attribute's value can be found in the LayerDrawableItem array.

int LayerDrawableItem_drawable

Reference to a drawable resource to use for the frame.

int LayerDrawableItem_id

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

int LayerDrawableItem_left

This symbol is the offset where the left attribute's value can be found in the LayerDrawableItem array.

int LayerDrawableItem_right

This symbol is the offset where the right attribute's value can be found in the LayerDrawableItem array.

int LayerDrawableItem_top

This symbol is the offset where the top attribute's value can be found in the LayerDrawableItem array.

int[] LayoutAnimation Attributes that can be used with a LayoutAnimation.
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 Attributes that can be used with a LevelListDrawableItem.
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[] LinearLayout Attributes that can be used with a LinearLayout.
int[] LinearLayout_Layout Attributes that can be used with a LinearLayout_Layout.
int LinearLayout_Layout_layout_gravity

Standard gravity constant that a child can supply to its parent.

int LinearLayout_Layout_layout_height

Specifies the basic height of the view.

int LinearLayout_Layout_layout_weight

This symbol is the offset where the layout_weight attribute's value can be found in the LinearLayout_Layout array.

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_gravity

Specifies how to place the content of an object, both on the x- and y-axis, within the object itself.

int LinearLayout_orientation

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

int LinearLayout_weightSum

Defines the maximum weight sum.

int[] ListPreference Base attributes available to ListPreference.
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 Attributes that can be used with a ListView.
int ListView_choiceMode

Defines the choice behavior for the ListView.

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[] LockPatternView Attributes that can be used with a LockPatternView.
int[] MapView The set of attributes for a MapView.
int MapView_apiKey

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

int[] Menu Base attributes that are available to all Menu objects.
int[] MenuGroup Base attributes that are available to all groups.
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[] MenuItem Base attributes that are available to all Item objects.
int[] MenuItemCheckedFocusedState State array representing a menu item that is currently focused and checked.
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.

int[] MenuItemCheckedState State array representing a menu item that is currently checked.
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 array representing a menu item that is focused and checkable but is not 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.

int[] MenuItemUncheckedState State array representing a menu item that is checkable but is not currently checked.
int MenuItemUncheckedState_state_checkable

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

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_enabled

Whether the item is enabled.

int MenuItem_icon

The icon associated with this item.

int MenuItem_id

The ID of the item.

int MenuItem_menuCategory

The category applied to the item.

int MenuItem_numericShortcut

The numeric shortcut key.

int MenuItem_orderInCategory

The order within the category applied to the item.

int MenuItem_title

The title associated with the item.

int MenuItem_titleCondensed

The condensed title associated with the item.

int MenuItem_visible

Whether the item is shown/visible.

int[] MenuView Attributes that can be used with a MenuView.
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_verticalDivider

Default vertical divider between menu items.

int MenuView_windowAnimationStyle

Default animations for the menu.

int[] NinePatchDrawable Drawable used to draw 9-patches.
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[] OvershootInterpolator Attributes that can be used with a OvershootInterpolator.
int OvershootInterpolator_tension

This is the amount of tension.

int[] PopupWindow Attributes that can be used with a PopupWindow.
int[] PopupWindowBackgroundState Attributes that can be used with a PopupWindowBackgroundState.
int PopupWindowBackgroundState_state_above_anchor

State identifier indicating the popup will be above the anchor.

int PopupWindow_popupAnimationStyle

This symbol is the offset where the popupAnimationStyle attribute's value can be found in the PopupWindow array.

int PopupWindow_popupBackground

This symbol is the offset where the popupBackground attribute's value can be found in the PopupWindow array.

int[] Preference Base attributes available to Preference.
int[] PreferenceGroup Base attributes available to PreferenceGroup.
int PreferenceGroup_orderingFromXml

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

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_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 shared preferences.

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_summary

The summary for the Preference in a PreferenceActivity screen.

int Preference_title

The title for the Preference in a PreferenceActivity screen.

int Preference_widgetLayout

The layout for the controllable widget portion of a Preference.

int[] ProgressBar Attributes that can be used with a ProgressBar.
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_interpolator

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

int ProgressBar_max

Defines the maximum value the progress can take.

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_minHeight

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

int ProgressBar_minWidth

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

int ProgressBar_progress

Defines the default progress value, between 0 and max.

int ProgressBar_progressDrawable

Drawable used for the progress mode.

int ProgressBar_secondaryProgress

Defines the secondary progress value, between 0 and max.

int[] QuickContactBadge Attributes that can be used with a QuickContactBadge.
int[] RadioGroup Attributes that can be used with a RadioGroup.
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 Attributes that can be used with a RatingBar.
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[] RecognitionService Use recognition-service as the root tag of the XML resource that describes a RecognitionService, which is reference from its SERVICE_META_DATA meta-data entry.
int RecognitionService_settingsActivity

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

int[] RelativeLayout Attributes that can be used with a RelativeLayout.
int[] RelativeLayout_Layout Attributes that can be used with a RelativeLayout_Layout.
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_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_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_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_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_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_gravity

Specifies how to place the content of an object, both on the x- and y-axis, within the object itself.

int RelativeLayout_ignoreGravity

Indicates what view should not be affected by gravity.

int[] RingtonePreference Base attributes available to RingtonePreference.
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 RotarySelector_orientation

Use "horizontal" or "vertical".

int[] RotateAnimation Attributes that can be used with a RotateAnimation.
int RotateAnimation_fromDegrees

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

int RotateAnimation_pivotX

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

int RotateAnimation_pivotY

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

int RotateAnimation_toDegrees

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

int[] RotateDrawable Attributes that can be used with a RotateDrawable.
int RotateDrawable_drawable

Reference to a drawable resource to use for the frame.

int RotateDrawable_fromDegrees

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

int RotateDrawable_pivotX

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

int RotateDrawable_pivotY

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

int RotateDrawable_toDegrees

This symbol is the offset where the 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 Attributes that can be used with a ScaleAnimation.
int ScaleAnimation_fromXScale

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

int ScaleAnimation_fromYScale

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

int ScaleAnimation_pivotX

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

int ScaleAnimation_pivotY

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

int ScaleAnimation_toXScale

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

int ScaleAnimation_toYScale

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

int[] ScaleDrawable Attributes that can be used with a ScaleDrawable.
int ScaleDrawable_drawable

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

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[] ScrollView Attributes that can be used with a ScrollView.
int ScrollView_fillViewport

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

int[] Searchable Searchable activities and applications must provide search configuration information in an XML file, typically called searchable.xml.
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.
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 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[] SeekBar Attributes that can be used with a SeekBar.
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[] ShapeDrawable Drawable used to draw shapes.
int[] ShapeDrawablePadding Defines the padding of a ShapeDrawable.
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_height

Defines the height of the shape.

int ShapeDrawable_width

Defines the width of the shape.

int[] SlidingDrawer SlidingDrawer specific attributes.
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 Attributes that can be used with a SlidingTab.
int SlidingTab_orientation

Use "horizontal" for a row, "vertical" for a column.

int[] Spinner Attributes that can be used with a Spinner.
int Spinner_prompt

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

int[] StateListDrawable Attributes that can be used with a StateListDrawable.
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_variablePadding

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

int StateListDrawable_visible

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

int[] SyncAdapter Use account-authenticator as the root tag of the XML resource that describes an account authenticator.
int SyncAdapter_accountType

The account type this authenticator handles.

int SyncAdapter_contentAuthority

the authority of a content provider.

int SyncAdapter_supportsUploading

This symbol is the offset where the supportsUploading attribute's value can be found in the SyncAdapter array.

int SyncAdapter_userVisible

This symbol is the offset where the userVisible attribute's value can be found in the SyncAdapter array.

int[] TabWidget Attributes that can be used with a TabWidget.
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 Attributes that can be used with a TableLayout.
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 Attributes that can be used with a TableRow.
int[] TableRow_Cell Attributes that can be used with a TableRow_Cell.
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 Attributes that can be used with a TextAppearance.
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_textSize

Size of the text.

int TextAppearance_textStyle

Style (bold, italic, bolditalic) for the text.

int TextAppearance_typeface

Typeface (normal, sans, serif, monospace) for the text.

int[] TextSwitcher Attributes that can be used with a TextSwitcher.
int[] TextView Attributes that can be used with a TextView.
int TextView_autoLink

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

int TextView_autoText

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

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_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_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_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 TextView is enabled or not.

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 many pixels tall.

int TextView_hint

Hint text to display when the text is empty.

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

If the text is selectable, select it all when the view takes focus instead of moving the cursor to the start or end.

int TextView_shadowColor

Place a shadow of the specified color behind the text.

int TextView_shadowDx

Horizontal offset of the shadow.

int TextView_shadowDy

Vertical offset of the shadow.

int TextView_shadowRadius

Radius of the shadow.

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_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_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 (bold, italic, bolditalic) for the text.

int TextView_typeface

Typeface (normal, sans, serif, monospace) for the text.

int TextView_width

Makes the TextView be exactly this many pixels wide.

int[] Theme These are the standard attributes that make up a complete theme.
int Theme_absListViewStyle

Default AbsListView style.

int Theme_alertDialogStyle

This symbol is the offset where the alertDialogStyle attribute's value can be found in the Theme array.

int Theme_autoCompleteTextViewStyle

Default AutoCompleteTextView style.

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

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

int Theme_colorBackgroundCacheHint

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

int Theme_colorForeground

Default color of foreground imagery.

int Theme_colorForegroundInverse

Default color of foreground imagery on an inverted background.

int Theme_dialogPreferenceStyle

Default style for DialogPreference.

int Theme_disabledAlpha

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

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_editTextPreferenceStyle

Default style for EditTextPreference.

int Theme_editTextStyle

Default EditText style.

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_galleryItemBackground

The preferred background for gallery items.

int Theme_galleryStyle

Default Gallery style.

int Theme_gridViewStyle

Default GridView 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_listChoiceIndicatorMultiple

Drawable to use for multiple choice indicators.

int Theme_listChoiceIndicatorSingle

Drawable to use for single choice indicators.

int Theme_listDivider

This symbol is the offset where the listDivider attribute's value can be found in the Theme array.

int Theme_listPreferredItemHeight

The preferred list item height.

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

Default PopupWindow style.

int Theme_preferenceCategoryStyle

Default style for PreferenceCategory.

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

Default SeekBar style.

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_starStyle

Default Star style.

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

Drawable to use for check marks.

int Theme_textCheckMarkInverse

This symbol is the offset where the textCheckMarkInverse attribute's value can be found in the Theme array.

int Theme_textColorHintInverse

Inverse hint text color.

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

Default TextView style.

int Theme_webTextViewStyle

Default WebTextView style.

int Theme_webViewStyle

Default WebView style.

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_windowContentOverlay

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

int Theme_windowDisablePreview

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

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

Default style for YesNoPreference.

int[] ToggleButton Attributes that can be used with a ToggleButton.
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[] TranslateAnimation Attributes that can be used with a TranslateAnimation.
int TranslateAnimation_fromXDelta

This symbol is the offset where the fromXDelta attribute's value can be found in the TranslateAnimation array.

int TranslateAnimation_fromYDelta

This symbol is the offset where the fromYDelta attribute's value can be found in the TranslateAnimation array.

int TranslateAnimation_toXDelta

This symbol is the offset where the toXDelta attribute's value can be found in the TranslateAnimation array.

int TranslateAnimation_toYDelta

This symbol is the offset where the toYDelta attribute's value can be found in the TranslateAnimation array.

int[] TwoLineListItem Attributes that can be used with a TwoLineListItem.
int TwoLineListItem_mode

This symbol is the offset where the mode attribute's value can be found in the TwoLineListItem array.

int[] VerticalSlider_Layout Attributes that can be used with a VerticalSlider_Layout.
int VerticalSlider_Layout_layout_scale

This symbol is the offset where the layout_scale attribute's value can be found in the VerticalSlider_Layout array.

int[] View Attributes that can be used with View or any of its subclasses.
int[] ViewAnimator Attributes that can be used with a ViewAnimator.
int ViewAnimator_inAnimation

This symbol is the offset where the inAnimation attribute's value can be found in the ViewAnimator array.

int ViewAnimator_outAnimation

This symbol is the offset where the outAnimation attribute's value can be found in the ViewAnimator array.

int[] ViewDrawableStates Attributes that can be used with a ViewDrawableStates.
int ViewDrawableStates_state_enabled

State value for StateListDrawable.

int ViewDrawableStates_state_focused

State value for StateListDrawable.

int ViewDrawableStates_state_pressed

State value for StateListDrawable.

int ViewDrawableStates_state_selected

State value for StateListDrawable.

int ViewDrawableStates_state_window_focused

State value for StateListDrawable.

int[] ViewFlipper Attributes that can be used with a ViewFlipper.
int ViewFlipper_autoStart

When true, automatically start animating

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

int ViewFlipper_flipInterval

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

int[] ViewGroup Attributes that can be used with a ViewGroup or any of its subclasses.
int[] ViewGroup_Layout This is the basic set of layout attributes that are common to all layout managers.
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 This is the basic set of layout attributes for layout managers that wish to place margins around their child views.
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_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_marginTop

Specifies extra space on the top side 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_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 drawing surface so as to exclude the padding area.

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_persistentDrawingCache

Defines the persistence of the drawing cache.

int[] ViewStub A ViewStub lets you lazily include other XML layouts inside your application at runtime.
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[] ViewSwitcher Attributes that can be used with a ViewSwitcher.
int View_background

A drawable to use as the background.

int View_clickable

Defines whether this view reacts to click events.

int View_contentDescription

Defines text that briefly describes content of the view.

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_fadeScrollbars

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

int View_fadingEdge

Defines which edges should be fadeded on scrolling.

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

Boolean that 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_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_isScrollContainer

Set this if the view will serve as a scrolling container, meaing 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_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_nextFocusDown

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

int View_nextFocusLeft

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

int View_nextFocusRight

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

int View_nextFocusUp

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

int View_onClick

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

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

int View_paddingLeft

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

int View_paddingRight

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

int View_paddingTop

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

int View_saveEnabled

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

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

Controls the initial visibility of the view.

int[] VolumePreference Base attributes available to VolumePreference.
int VolumePreference_streamType

Different audio stream types.

int[] Wallpaper Use wallpaper as the root tag of the XML resource that describes an WallpaperService, which is referenced from its SERVICE_META_DATA meta-data entry.
int Wallpaper_author

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

int Wallpaper_description

Short description of the component's purpose or behavior.

int Wallpaper_settingsActivity

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

int Wallpaper_thumbnail

Reference to a the wallpaper's thumbnail bitmap.

int[] Window The set of attributes that describe a Windows's theme.
int[] WindowAnimation Window animation class attributes.
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_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_textColor

Color of text (usually same as colorForeground).

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_windowContentOverlay

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

int Window_windowDisablePreview

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

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_windowIsTranslucent

Flag indicating whether this is a translucent window.

int Window_windowNoDisplay

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

int Window_windowNoTitle

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

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.

Public Constructors
R.styleable()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int[] AbsListView

Since: API Level

Attributes that can be used with a AbsListView.

Includes the following attributes:

AttributeDescription
android:cacheColorHint Indicates that this list will always be drawn on top of solid, single-color opaque background.
android:drawSelectorOnTop When set to true, the selector will be drawn over the selected item.
android:fastScrollEnabled Enables the fast scroll thumb that can be dragged to quickly scroll through the list.
android:listSelector Drawable used to indicate the currently selected item in the list.
android:scrollingCache When set to true, the list uses a drawing cache during scrolling.
android: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.
android:stackFromBottom Used by ListView and GridView to stack their content from the bottom.
android:textFilterEnabled When set to true, the list will filter results as the user types.
android:transcriptMode Sets the transcript mode for the list.

public static final int AbsListView_cacheColorHint

Since: API Level

Indicates that this list will always be drawn on top of solid, single-color opaque background. This allows the list to optimize drawing.

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

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

This corresponds to the global attribute resource symbol cacheColorHint.

Constant Value: 6 (0x00000006)

public static final int AbsListView_drawSelectorOnTop

Since: API Level

When set to true, the selector will be drawn over the selected item. Otherwise the selector is drawn behind the selected item. The default value is false.

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

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

This corresponds to the global attribute resource symbol drawSelectorOnTop.

Constant Value: 1 (0x00000001)

public static final int AbsListView_fastScrollEnabled

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol fastScrollEnabled.

Constant Value: 7 (0x00000007)

public static final int AbsListView_listSelector

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol listSelector.

Constant Value: 0 (0x00000000)

public static final int AbsListView_scrollingCache

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol scrollingCache.

Constant Value: 3 (0x00000003)

public static final int AbsListView_smoothScrollbar

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol smoothScrollbar.

Constant Value: 8 (0x00000008)

public static final int AbsListView_stackFromBottom

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol stackFromBottom.

Constant Value: 2 (0x00000002)

public static final int AbsListView_textFilterEnabled

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol textFilterEnabled.

Constant Value: 4 (0x00000004)

public static final int AbsListView_transcriptMode

Since: API Level

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
disabled0 Disables transcript mode. This is the default value.
normal1 The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen.
alwaysScroll2 The list will automatically scroll to the bottom, no matter what items are currently visible.

This corresponds to the global attribute resource symbol transcriptMode.

Constant Value: 5 (0x00000005)

public static final int[] AbsSpinner

Since: API Level

Attributes that can be used with a AbsSpinner.

Includes the following attributes:

AttributeDescription
android:entries Reference to an array resource that will populate the Spinner.

public static final int AbsSpinner_entries

Since: API Level

Reference to an array resource that will populate the Spinner. For static content, this is simpler than populating the Spinner programmatically.

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

This corresponds to the global attribute resource symbol entries.

Constant Value: 0 (0x00000000)

public static final int[] AbsoluteLayout_Layout

Since: API Level

Attributes that can be used with a AbsoluteLayout_Layout.

Includes the following attributes:

AttributeDescription
android:layout_x
android:layout_y

public static final int AbsoluteLayout_Layout_layout_x

Since: API Level

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

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

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

Constant Value: 0 (0x00000000)

public static final int AbsoluteLayout_Layout_layout_y

Since: API Level

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

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

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

Constant Value: 1 (0x00000001)

public static final int[] AccelerateInterpolator

Since: API Level

Attributes that can be used with a AccelerateInterpolator.

Includes the following attributes:

AttributeDescription
android:factor This is the amount of deceleration to add when easing in.

public static final int AccelerateInterpolator_factor

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol factor.

Constant Value: 0 (0x00000000)

public static final int[] AccountAuthenticator

Since: API Level

Use account-authenticator as the root tag of the XML resource that describes an account authenticator.

Includes the following attributes:

AttributeDescription
android:accountPreferences A preferences.
android:accountType The account type this authenticator handles.
android:icon The icon of the authenticator.
android:label The user-visible name of the authenticator.
android:smallIcon Smaller icon of the authenticator.

public static final int AccountAuthenticator_accountPreferences

Since: API Level

A preferences.xml file for authenticator-specific settings.

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

This corresponds to the global attribute resource symbol accountPreferences.

Constant Value: 4 (0x00000004)

public static final int AccountAuthenticator_accountType

Since: API Level

The account type this authenticator handles.

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

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

This corresponds to the global attribute resource symbol accountType.

Constant Value: 2 (0x00000002)

public static final int AccountAuthenticator_icon

Since: API Level

The icon of the authenticator.

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AccountAuthenticator_label

Since: API Level

The user-visible name of the authenticator.

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

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AccountAuthenticator_smallIcon

Since: API Level

Smaller icon of the authenticator.

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

This corresponds to the global attribute resource symbol smallIcon.

Constant Value: 3 (0x00000003)

public static final int AlertDialog_bottomBright

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 7 (0x00000007)

public static final int AlertDialog_bottomDark

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 3 (0x00000003)

public static final int AlertDialog_bottomMedium

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 8 (0x00000008)

public static final int AlertDialog_centerBright

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 6 (0x00000006)

public static final int AlertDialog_centerDark

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 2 (0x00000002)

public static final int AlertDialog_centerMedium

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 9 (0x00000009)

public static final int AlertDialog_fullBright

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 4 (0x00000004)

public static final int AlertDialog_fullDark

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 0 (0x00000000)

public static final int AlertDialog_topBright

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 5 (0x00000005)

public static final int AlertDialog_topDark

Since: API Level

This symbol is the offset where the 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 to a theme attribute in the form "?[package:][type:]name".

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

Constant Value: 1 (0x00000001)

public static final int[] AlphaAnimation

Since: API Level

Attributes that can be used with a AlphaAnimation.

Includes the following attributes:

AttributeDescription
android:fromAlpha
android:toAlpha

public static final int AlphaAnimation_fromAlpha

Since: API Level

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

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

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

Constant Value: 0 (0x00000000)

public static final int AlphaAnimation_toAlpha

Since: API Level

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

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

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

Constant Value: 1 (0x00000001)

public static final int[] AnalogClock

Since: API Level

Attributes that can be used with a AnalogClock.

Includes the following attributes:

AttributeDescription
android:dial
android:hand_hour
android:hand_minute

public static final int AnalogClock_dial

Since: API Level

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

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

Constant Value: 0 (0x00000000)

public static final int AnalogClock_hand_hour

Since: API Level

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

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

Constant Value: 1 (0x00000001)

public static final int AnalogClock_hand_minute

Since: API Level

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

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

Constant Value: 2 (0x00000002)

public static final int[] AndroidManifest

Since: API Level

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: permission, permission-group, permission-tree, uses-sdk, uses-permission, uses-configuration, application, instrumentation, uses-feature.

Includes the following attributes:

AttributeDescription
android:installLocation The default install location defined by an application.
android:sharedUserId Specify the name of a user ID that will be shared between multiple packages.
android:sharedUserLabel Specify a label for the shared user UID of this package.
android:versionCode Internal version code.
android:versionName The text shown to the user to indicate the version they have.

public static final int[] AndroidManifestAction

Since: API Level

Attributes that can be supplied in an AndroidManifest.xml action tag, a child of the intent-filter tag. See addAction(String) for more information.

Includes the following attributes:

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

public static final int AndroidManifestAction_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int[] AndroidManifestActivity

Since: API Level

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: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.
android:alwaysRetainTaskState Specify whether an acitivty's task state should always be maintained by the system, or if it is allowed to reset the task to its initial state in certain situations.
android:clearTaskOnLaunch Specify whether an activity's task should be cleared when it is re-launched from the home screen.
android:configChanges Specify one or more configuration changes that the activity will handle itself.
android:description Descriptive text for the associated data.
android:enabled Specify whether the activity is enabled or not (that is, can be instantiated by the system).
android:excludeFromRecents Indicates that an Activity should be excluded from the list of recently launched activities.
android:exported Flag indicating whether the given application component is available to other applications.
android:finishOnCloseSystemDialogs Specify whether an activity should be finished when a "close system windows" request has been made.
android:finishOnTaskLaunch Specify whether an activity should be finished when its task is brought to the foreground by relaunching from the home screen.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:launchMode Specify how an activity should be launched.
android:multiprocess Specify whether a component is allowed to have multiple instances of itself running in different processes.
android:name Required name of the class implementing the activity, deriving from Activity.
android:noHistory Specify whether an activity should be kept in its history stack.
android:permission Specify a permission that a client is required to have in order to use the associated object.
android:process Specify a specific process that the associated code is to run in.
android:screenOrientation Specify the orientation an activity should be run in.
android:stateNotNeeded Indicates that an Activity does not need to have its freeze state (as returned by onSaveInstanceState(Bundle) retained in order to be restarted.
android:taskAffinity Specify a task name that activities have an "affinity" to.
android:theme The overall theme to use for an activity.
android:windowSoftInputMode Specify the default soft-input mode for the main window of this activity.

public static final int[] AndroidManifestActivityAlias

Since: API Level

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:description Descriptive text for the associated data.
android:enabled Specify whether the activity-alias is enabled or not (that is, can be instantiated by the system).
android:exported Flag indicating whether the given application component is available to other applications.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:name Required name of the class implementing the activity, deriving from Activity.
android:permission Specify a permission that a client is required to have in order to use the associated object.
android:targetActivity The name of the activity this alias should launch.

public static final int AndroidManifestActivityAlias_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 6 (0x00000006)

public static final int AndroidManifestActivityAlias_enabled

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol enabled.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestActivityAlias_exported

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol exported.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestActivityAlias_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestActivityAlias_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestActivityAlias_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestActivityAlias_permission

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol permission.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestActivityAlias_targetActivity

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol targetActivity.

Constant Value: 7 (0x00000007)

public static final int AndroidManifestActivity_allowTaskReparenting

Since: API Level

Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. Use with the application tag (to supply a default for all activities in the application), or with an activity tag (to supply a specific setting for that component).

Normally when an application is started, it is associated with the task of the activity that started it and stays there for its entire lifetime. You can use the allowTaskReparenting feature to force an activity to be re-parented to a different task when the task it is in goes to the background. Typically this is used to cause the activities of an application to move back to the main task associated with that application. The activity is re-parented to the task with the same taskAffinity as it has.

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

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

This corresponds to the global attribute resource symbol allowTaskReparenting.

Constant Value: 19 (0x00000013)

public static final int AndroidManifestActivity_alwaysRetainTaskState

Since: API Level

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

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

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

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

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

This corresponds to the global attribute resource symbol alwaysRetainTaskState.

Constant Value: 18 (0x00000012)

public static final int AndroidManifestActivity_clearTaskOnLaunch

Since: API Level

Specify whether an activity's task should be cleared when it is re-launched from the home screen. As a result, every time the user starts the task, they will be brought to its root activity, regardless of whether they used BACK or HOME to last leave it. This flag only applies to activities that are used to start the root of a new task.

An example of the use of this flag would be for the case where a user launches activity A from home, and from there goes to activity B. They now press home, and then return to activity A. Normally they would see activity B, since that is what they were last doing in A's task. However, if A has set this flag to true, then upon going to the background all of the tasks on top of it (B in this case) are removed, so when the user next returns to A they will restart at its original activity.

When this option is used in conjunction with allowTaskReparenting, the allowTaskReparenting trumps the clear. That is, all activities above the root activity of the task will be removed: those that have an affinity will be moved to the task they are associated with, otherwise they will simply be dropped as described here.

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

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

This corresponds to the global attribute resource symbol clearTaskOnLaunch.

Constant Value: 11 (0x0000000b)

public static final int AndroidManifestActivity_configChanges

Since: API Level

Specify one or more configuration changes that the activity will handle itself. If not specified, the activity will be restarted if any of these configuration changes happen in the system. Otherwise, the activity will remain running and its Activity.onConfigurationChanged method called with the new configuration.

Note that all of these configuration changes can impact the resource values seen by the application, so you will generally need to re-retrieve all resources (including view layouts, drawables, etc) to correctly handle any configuration change.

These values must be kept in sync with those in ActivityInfo and include/utils/ResourceTypes.h.

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

ConstantValueDescription
mcc0x0001 The IMSI MCC has changed, that is a SIM has been detected and updated the Mobile Country Code.
mnc0x0002 The IMSI MNC has changed, that is a SIM has been detected and updated the Mobile Network Code.
locale0x0004 The locale has changed, that is the user has selected a new language that text should be displayed in.
touchscreen0x0008 The touchscreen has changed. Should never normally happen.
keyboard0x0010 The keyboard type has changed, for example the user has plugged in an external keyboard.
keyboardHidden0x0020 The keyboard or navigation accessibility has changed, for example the user has slid the keyboard out to expose it. Note that despite its name, this applied to any accessibility: keyboard or navigation.
navigation0x0040 The navigation type has changed. Should never normally happen.
orientation0x0080 The screen orientation has changed, that is the user has rotated the device.
screenLayout0x0100 The screen layout has changed. This might be caused by a different display being activated.
uiMode0x0200 The global user interface mode has changed. For example, going in or out of car mode, night mode changing, etc.
fontScale0x40000000 The font scaling factor has changed, that is the user has selected a new global font size.

This corresponds to the global attribute resource symbol configChanges.

Constant Value: 16 (0x00000010)

public static final int AndroidManifestActivity_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 17 (0x00000011)

public static final int AndroidManifestActivity_enabled

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol enabled.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestActivity_excludeFromRecents

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol excludeFromRecents.

Constant Value: 13 (0x0000000d)

public static final int AndroidManifestActivity_exported

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol exported.

Constant Value: 6 (0x00000006)

public static final int AndroidManifestActivity_finishOnCloseSystemDialogs

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol finishOnCloseSystemDialogs.

Constant Value: 22 (0x00000016)

public static final int AndroidManifestActivity_finishOnTaskLaunch

Since: API Level

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

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

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

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

This corresponds to the global attribute resource symbol finishOnTaskLaunch.

Constant Value: 10 (0x0000000a)

public static final int AndroidManifestActivity_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestActivity_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestActivity_launchMode

Since: API Level

Specify how an activity should be launched. See the Application Fundamentals documentation 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 FLAG_ACTIVITY_SINGLE_TOP, FLAG_ACTIVITY_NEW_TASK, and FLAG_ACTIVITY_MULTIPLE_TASK.

Must be one of the following constant values.

ConstantValueDescription
standard0 The default mode, which will usually create a new instance of the activity when it is started, though this behavior may change with the introduction of other options such as Intent.FLAG_ACTIVITY_NEW_TASK.
singleTop1 If, when starting the activity, there is already an instance of the same activity class in the foreground that is interacting with the user, then re-use that instance. This existing instance will receive a call to Activity.onNewIntent() with the new Intent that is being started.
singleTask2 If, when starting the activity, there is already a task running that starts with this activity, then instead of starting a new instance the current task is brought to the front. The existing instance will receive a call to Activity.onNewIntent() with the new Intent that is being started, and with the Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set. This is a superset of the singleTop mode, where if there is already an instance of the activity being started at the top of the stack, it will receive the Intent as described there (without the FLAG_ACTIVITY_BROUGHT_TO_FRONT flag set). See the Application Fundamentals documentation for more details on tasks.
singleInstance3 Only allow one instance of this activity to ever be running. This activity gets a unique task with only itself running in it; if it is ever launched again with the same Intent, then that task will be brought forward and its Activity.onNewIntent() method called. If this activity tries to start a new activity, that new activity will be launched in a separate task. See the Application Fundamentals documentation for more details on tasks.

This corresponds to the global attribute resource symbol launchMode.

Constant Value: 14 (0x0000000e)

public static final int AndroidManifestActivity_multiprocess

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol multiprocess.

Constant Value: 9 (0x00000009)

public static final int AndroidManifestActivity_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestActivity_noHistory

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol noHistory.

Constant Value: 21 (0x00000015)

public static final int AndroidManifestActivity_permission

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol permission.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestActivity_process

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol process.

Constant Value: 7 (0x00000007)

public static final int AndroidManifestActivity_screenOrientation

Since: API Level

Specify the orientation an activity should be run in. If not specified, it will run in the current preferred orientation of the screen.

Must be one of the following constant values.

ConstantValueDescription
unspecified-1 No preference specified: let the system decide the best orientation. This will either be the orientation selected by the activity below, or the user's preferred orientation if this activity is the bottom of a task. If the user explicitly turned off sensor based orientation through settings sensor based device rotation will be ignored. If not by default sensor based orientation will be taken into account and the orientation will changed based on how the user rotates the device
landscape0 Would like to have the screen in a landscape orientation: that is, with the display wider than it is tall, ignoring sensor data.
portrait1 Would like to have the screen in a portrait orientation: that is, with the display taller than it is wide, ignoring sensor data.
user2 Use the user's current preferred orientation of the handset.
behind3 Keep the screen in the same orientation as whatever is behind this activity.
sensor4 Orientation is determined by a physical orientation sensor: the display will rotate based on how the user moves the device.
nosensor5 Always ignore orientation determined by orientation sensor: the display will not rotate when the user moves the device.
sensorLandscape6 Would like to have the screen in landscape orientation, but can use the sensor to change which direction the screen is facing.
sensorPortait7 Would like to have the screen in portrait orientation, but can use the sensor to change which direction the screen is facing.
reverseLandscape8 Would like to have the screen in landscape orientation, turned in the opposite direction from normal landscape.
reversePortait9 Would like to have the screen in portrait orientation, turned in the opposite direction from normal portrait.
fullSensor10 Orientation is determined by a physical orientation sensor: the display will rotate based on how the user moves the device. This allows any of the 4 possible rotations, regardless of what the device will normally do (for example some devices won't normally use 180 degree rotation).

This corresponds to the global attribute resource symbol screenOrientation.

Constant Value: 15 (0x0000000f)

public static final int AndroidManifestActivity_stateNotNeeded

Since: API Level

Indicates that an Activity does not need to have its freeze state (as returned by 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 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.

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

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

This corresponds to the global attribute resource symbol stateNotNeeded.

Constant Value: 12 (0x0000000c)

public static final int AndroidManifestActivity_taskAffinity

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol taskAffinity.

Constant Value: 8 (0x00000008)

public static final int AndroidManifestActivity_theme

Since: API Level

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.

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

This corresponds to the global attribute resource symbol theme.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestActivity_windowSoftInputMode

Since: API Level

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
stateUnspecified0 Not specified, use what the system thinks is best. This is the default.
stateUnchanged1 Leave the soft input window as-is, in whatever state it last was.
stateHidden2 Make the soft input area hidden when normally appropriate (when the user is navigating forward to your window).
stateAlwaysHidden3 Always make the soft input area hidden when this window has input focus.
stateVisible4 Make the soft input area visible when normally appropriate (when the user is navigating forward to your window).
stateAlwaysVisible5 Always make the soft input area visible when this window has input focus.
adjustUnspecified0x00 The window resize/pan adjustment has not been specified, the system will automatically select between resize and pan modes, depending on whether the content of the window has any layout views that can scroll their contents. If there is such a view, then the window will be resized, with the assumption being that the resizeable area can be reduced to make room for the input UI.
adjustResize0x10 Always resize the window: the content area of the window is reduced to make room for the soft input area.
adjustPan0x20 Don't resize the window to make room for the soft input area; instead pan the contents of the window as focus moves inside of it so that the user can see what they are typing. This is generally less desireable than panning because the user may need to close the input area to get at and interact with parts of the window.

This corresponds to the global attribute resource symbol windowSoftInputMode.

Constant Value: 20 (0x00000014)

public static final int[] AndroidManifestApplication

Since: API Level

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, and uses-library. The application tag appears as a child of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:allowBackup Whether to allow the application to participate in backup infrastructure.
android:allowClearUserData Option to let applications specify that user data can/cannot be cleared.
android: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.
android:backupAgent The name of the class subclassing BackupAgent to manage backup and restore of the application's data on external storage.
android:debuggable Flag indicating whether the application can be debugged, even when running on a device that is running in user mode.
android:description Descriptive text for the associated data.
android:enabled Specify whether the components in this application are enabled or not (that is, can be instantiated by the system).
android:hasCode Indicate whether this application contains code.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:killAfterRestore Whether the application in question should be terminated after its settings have been restored during a full-system restore operation.
android:label A user-legible name for the given item.
android:manageSpaceActivity Name of activity to be launched for managing the application's space on the device.
android:name An optional name of a class implementing the overall Application for this package.
android:permission Specify a permission that a client is required to have in order to use the associated object.
android:persistent Flag to control special persistent mode of an application.
android:process Specify a specific process that the associated code is to run in.
android: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.
android:restoreNeedsApplication @deprecated This attribute is not used by the Android operating system.
android:taskAffinity Specify a task name that activities have an "affinity" to.
android:testOnly Option to indicate this application is only for testing purposes.
android:theme The overall theme to use for an activity.
android:vmSafeMode Flag indicating whether the application requests the VM to operate in the safe mode.

public static final int AndroidManifestApplication_allowBackup

Since: API Level

Whether to allow the application to participate in backup infrastructure. If this attribute is set to false, no backup of the application will ever be performed, even by a full-system backup that would otherwise cause all application data to be saved via adb. The default value of this attribute is true.

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

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

This corresponds to the global attribute resource symbol allowBackup.

Constant Value: 17 (0x00000011)

public static final int AndroidManifestApplication_allowClearUserData

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol allowClearUserData.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestApplication_allowTaskReparenting

Since: API Level

Specify that an activity can be moved out of a task it is in to the task it has an affinity for when appropriate. Use with the application tag (to supply a default for all activities in the application), or with an activity tag (to supply a specific setting for that component).

Normally when an application is started, it is associated with the task of the activity that started it and stays there for its entire lifetime. You can use the allowTaskReparenting feature to force an activity to be re-parented to a different task when the task it is in goes to the background. Typically this is used to cause the activities of an application to move back to the main task associated with that application. The activity is re-parented to the task with the same taskAffinity as it has.

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

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

This corresponds to the global attribute resource symbol allowTaskReparenting.

Constant Value: 14 (0x0000000e)

public static final int AndroidManifestApplication_backupAgent

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol backupAgent.

Constant Value: 16 (0x00000010)

public static final int AndroidManifestApplication_debuggable

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol debuggable.

Constant Value: 10 (0x0000000a)

public static final int AndroidManifestApplication_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 13 (0x0000000d)

public static final int AndroidManifestApplication_enabled

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol enabled.

Constant Value: 9 (0x00000009)

public static final int AndroidManifestApplication_hasCode

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol hasCode.

Constant Value: 7 (0x00000007)

public static final int AndroidManifestApplication_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestApplication_killAfterRestore

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol killAfterRestore.

Constant Value: 18 (0x00000012)

public static final int AndroidManifestApplication_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestApplication_manageSpaceActivity

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol manageSpaceActivity.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestApplication_name

Since: API Level

An optional name of a class implementing the overall Application for this package. When the process for your package is started, this class is instantiated before any of the other application components. Note that this is not required, and in fact most applications will probably not need it.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestApplication_permission

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol permission.

Constant Value: 6 (0x00000006)

public static final int AndroidManifestApplication_persistent

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol persistent.

Constant Value: 8 (0x00000008)

public static final int AndroidManifestApplication_process

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol process.

Constant Value: 11 (0x0000000b)

public static final int AndroidManifestApplication_restoreAnyVersion

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol restoreAnyVersion.

Constant Value: 21 (0x00000015)

public static final int AndroidManifestApplication_restoreNeedsApplication

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol restoreNeedsApplication.

Constant Value: 19 (0x00000013)

public static final int AndroidManifestApplication_taskAffinity

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol taskAffinity.

Constant Value: 12 (0x0000000c)

public static final int AndroidManifestApplication_testOnly

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol testOnly.

Constant Value: 15 (0x0000000f)

public static final int AndroidManifestApplication_theme

Since: API Level

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.

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

This corresponds to the global attribute resource symbol theme.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestApplication_vmSafeMode

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol vmSafeMode.

Constant Value: 20 (0x00000014)

public static final int[] AndroidManifestCategory

Since: API Level

Attributes that can be supplied in an AndroidManifest.xml category tag, a child of the intent-filter tag. See addCategory(String) for more information.

Includes the following attributes:

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

public static final int AndroidManifestCategory_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int[] AndroidManifestCompatibleScreensScreen

Since: API Level

Attributes that can be supplied in an AndroidManifest.xml screen tag, a child of compatible-screens, which is itseld a child of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:screenDensity Specifies a compatible screen density, as per the device configuration screen density bins.
android:screenSize Specifies a compatible screen size, as per the device configuration screen size bins.

public static final int AndroidManifestCompatibleScreensScreen_screenDensity

Since: API Level

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

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

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

May be one of the following constant values.

ConstantValueDescription
ldpi120 A low density screen, approximately 120dpi.
mdpi160 A medium density screen, approximately 160dpi.
hdpi240 A high density screen, approximately 240dpi.
xhdpi320 An extra high density screen, approximately 320dpi.

This corresponds to the global attribute resource symbol screenDensity.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestCompatibleScreensScreen_screenSize

Since: API Level

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

Must be one of the following constant values.

ConstantValueDescription
small200 A small screen configuration, at least 240x320db.
normal300 A normal screen configuration, at least 320x480db.
large400 A large screen configuration, at least 400x530db.
xlarge500 An extra large screen configuration, at least 600x800db.

This corresponds to the global attribute resource symbol screenSize.

Constant Value: 0 (0x00000000)

public static final int[] AndroidManifestData

Since: API Level

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:host Specify a URI authority host that is handled, as per IntentFilter.addDataAuthority().
android:mimeType Specify a MIME type that is handled, as per IntentFilter.addDataType().
android:path Specify a URI path that must exactly match, as per IntentFilter.addDataAuthority() with PATTERN_LITERAL.
android:pathPattern Specify a URI path that matches a simple pattern, as per IntentFilter.addDataAuthority() with PATTERN_SIMPLE_GLOB.
android:pathPrefix Specify a URI path that must be a prefix to match, as per IntentFilter.addDataAuthority() with PATTERN_PREFIX.
android:port Specify a URI authority port that is handled, as per IntentFilter.addDataAuthority().
android:scheme Specify a URI scheme that is handled, as per IntentFilter.addDataScheme().

public static final int AndroidManifestData_host

Since: API Level

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

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

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

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

This corresponds to the global attribute resource symbol host.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestData_mimeType

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol mimeType.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestData_path

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol path.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestData_pathPattern

Since: API Level

Specify a URI path that matches a simple pattern, as per IntentFilter.addDataAuthority() with 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.

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

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

This corresponds to the global attribute resource symbol pathPattern.

Constant Value: 6 (0x00000006)

public static final int AndroidManifestData_pathPrefix

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol pathPrefix.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestData_port

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol port.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestData_scheme

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol scheme.

Constant Value: 1 (0x00000001)

public static final int[] AndroidManifestGrantUriPermission

Since: API Level

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.

Includes the following attributes:

AttributeDescription
android:path Specify a URI path that must exactly match, as per PatternMatcher with PATTERN_LITERAL.
android:pathPattern Specify a URI path that matches a simple pattern, as per PatternMatcher with PATTERN_SIMPLE_GLOB.
android:pathPrefix Specify a URI path that must be a prefix to match, as per PatternMatcher with PATTERN_PREFIX.

public static final int AndroidManifestGrantUriPermission_path

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol path.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestGrantUriPermission_pathPattern

Since: API Level

Specify a URI path that matches a simple pattern, as per PatternMatcher with 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.

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

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

This corresponds to the global attribute resource symbol pathPattern.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestGrantUriPermission_pathPrefix

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol pathPrefix.

Constant Value: 1 (0x00000001)

public static final int[] AndroidManifestInstrumentation

Since: API Level

Attributes that can be supplied in an AndroidManifest.xml instrumentation tag, a child of the root manifest tag.

Includes the following attributes:

AttributeDescription
android:functionalTest Flag indicating that an Instrumentation class should be run as a functional test.
android: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.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:name Required name of the class implementing the instrumentation, deriving from Instrumentation.
android:targetPackage The name of the application package that an Instrumentation object will run against.

public static final int AndroidManifestInstrumentation_functionalTest

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol functionalTest.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestInstrumentation_handleProfiling

Since: API Level

Flag indicating that an Instrumentation class wants to take care of starting/stopping profiling itself, rather than relying on the default behavior of profiling the complete time it is running. This allows it to target profiling data at a specific set of operations.

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

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

This corresponds to the global attribute resource symbol handleProfiling.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestInstrumentation_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestInstrumentation_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestInstrumentation_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestInstrumentation_targetPackage

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol targetPackage.

Constant Value: 3 (0x00000003)

public static final int[] AndroidManifestIntentFilter

Since: API Level

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:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:priority Specify the relative importance or ability in handling a particular Intent.

public static final int AndroidManifestIntentFilter_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestIntentFilter_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestIntentFilter_priority

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol priority.

Constant Value: 2 (0x00000002)

public static final int[] AndroidManifestMetaData

Since: API Level

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:name A unique name for the given item.
android:resource Resource identifier to assign to this piece of named meta-data.
android:value Concrete value to assign to this piece of named meta-data.

public static final int AndroidManifestMetaData_name

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestMetaData_resource

Since: API Level

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.

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

This corresponds to the global attribute resource symbol resource.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestMetaData_value

Since: API Level

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

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

This corresponds to the global attribute resource symbol value.

Constant Value: 1 (0x00000001)

public static final int[] AndroidManifestOriginalPackage

Since: API Level

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:name A unique name for the given item.

public static final int AndroidManifestOriginalPackage_name

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int[] AndroidManifestPathPermission

Since: API Level

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.

Includes the following attributes:

AttributeDescription
android:path Specify a URI path that must exactly match, as per PatternMatcher with PATTERN_LITERAL.
android:pathPattern Specify a URI path that matches a simple pattern, as per PatternMatcher with PATTERN_SIMPLE_GLOB.
android:pathPrefix Specify a URI path that must be a prefix to match, as per PatternMatcher with PATTERN_PREFIX.
android:permission Specify a permission that a client is required to have in order to use the associated object.
android:readPermission A specific permission name for read-only access to a ContentProvider.
android:writePermission A specific permission name for write access to a ContentProvider.

public static final int AndroidManifestPathPermission_path

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol path.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestPathPermission_pathPattern

Since: API Level

Specify a URI path that matches a simple pattern, as per PatternMatcher with 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.

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

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

This corresponds to the global attribute resource symbol pathPattern.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestPathPermission_pathPrefix

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol pathPrefix.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestPathPermission_permission

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol permission.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestPathPermission_readPermission

Since: API Level

A specific permission name for read-only access to a ContentProvider. See the Security and Permissions document for more information on permissions.

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

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

This corresponds to the global attribute resource symbol readPermission.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestPathPermission_writePermission

Since: API Level

A specific permission name for write access to a ContentProvider. See the Security and Permissions document for more information on permissions.

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

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

This corresponds to the global attribute resource symbol writePermission.

Constant Value: 2 (0x00000002)

public static final int[] AndroidManifestPermission

Since: API Level

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:description Descriptive text for the associated data.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:name Required public name of the permission, which other components and packages will use when referring to this permission.
android:permissionGroup Specified the name of a group that this permission is associated with.
android: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.

public static final int[] AndroidManifestPermissionGroup

Since: API Level

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:description Descriptive text for the associated data.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:name Required public name of the permission group, permissions will use to specify the group they are in.

public static final int AndroidManifestPermissionGroup_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestPermissionGroup_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestPermissionGroup_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestPermissionGroup_name

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int[] AndroidManifestPermissionTree

Since: API Level

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:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:name Required public name of the permission tree, which is the base name of all permissions under it.

public static final int AndroidManifestPermissionTree_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestPermissionTree_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestPermissionTree_name

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestPermission_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestPermission_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestPermission_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestPermission_name

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestPermission_permissionGroup

Since: API Level

Specified the name of a group that this permission is associated with. The group must have been defined with the permission-group tag.

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

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

This corresponds to the global attribute resource symbol permissionGroup.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestPermission_protectionLevel

Since: API Level

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

Must be one of the following constant values.

ConstantValueDescription
normal0 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).
dangerous1 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.
signature2 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.
signatureOrSystem3 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.

This corresponds to the global attribute resource symbol protectionLevel.

Constant Value: 3 (0x00000003)

public static final int[] AndroidManifestProtectedBroadcast

Since: API Level

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:name A unique name for the given item.

public static final int AndroidManifestProtectedBroadcast_name

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int[] AndroidManifestProvider

Since: API Level

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:authorities Specify the authorities under which this content provider can be found.
android:description Descriptive text for the associated data.
android:enabled Specify whether this provider is enabled or not (that is, can be instantiated by the system).
android:exported Flag indicating whether the given application component is available to other applications.
android: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.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:initOrder Specify the order in which content providers hosted by a process are instantiated when that process is created.
android:label A user-legible name for the given item.
android:multiprocess Specify whether a component is allowed to have multiple instances of itself running in different processes.
android:name Required name of the class implementing the provider, deriving from ContentProvider.
android:permission Specify a permission that a client is required to have in order to use the associated object.
android:process Specify a specific process that the associated code is to run in.
android:readPermission A specific permission name for read-only access to a ContentProvider.
android:syncable Flag indicating whether this content provider would like to participate in data synchronization.
android:writePermission A specific permission name for write access to a ContentProvider.

public static final int AndroidManifestProvider_authorities

Since: API Level

Specify the authorities under which this content provider can be found. Multiple authorities may be supplied by separating them with a semicolon. Authority names should use a Java-style naming convention (such as com.google.provider.MyProvider) in order to avoid conflicts. Typically this name is the same as the class implementation describing the provider's data structure.

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

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

This corresponds to the global attribute resource symbol authorities.

Constant Value: 10 (0x0000000a)

public static final int AndroidManifestProvider_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 14 (0x0000000e)

public static final int AndroidManifestProvider_enabled

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol enabled.

Constant Value: 6 (0x00000006)

public static final int AndroidManifestProvider_exported

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol exported.

Constant Value: 7 (0x00000007)

public static final int AndroidManifestProvider_grantUriPermissions

Since: API Level

If true, the Context.grantUriPermission or corresponding Intent flags can be used to allow others to access specific URIs in the content provider, even if they do not have an explicit read or write permission. If you are supporting this feature, you must be sure to call Context.revokeUriPermission when URIs are deleted from your provider.

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

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

This corresponds to the global attribute resource symbol grantUriPermissions.

Constant Value: 13 (0x0000000d)

public static final int AndroidManifestProvider_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestProvider_initOrder

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol initOrder.

Constant Value: 12 (0x0000000c)

public static final int AndroidManifestProvider_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestProvider_multiprocess

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol multiprocess.

Constant Value: 9 (0x00000009)

public static final int AndroidManifestProvider_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestProvider_permission

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol permission.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestProvider_process

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol process.

Constant Value: 8 (0x00000008)

public static final int AndroidManifestProvider_readPermission

Since: API Level

A specific permission name for read-only access to a ContentProvider. See the Security and Permissions document for more information on permissions.

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

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

This corresponds to the global attribute resource symbol readPermission.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestProvider_syncable

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol syncable.

Constant Value: 11 (0x0000000b)

public static final int AndroidManifestProvider_writePermission

Since: API Level

A specific permission name for write access to a ContentProvider. See the Security and Permissions document for more information on permissions.

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

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

This corresponds to the global attribute resource symbol writePermission.

Constant Value: 5 (0x00000005)

public static final int[] AndroidManifestReceiver

Since: API Level

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:description Descriptive text for the associated data.
android:enabled Specify whether the receiver is enabled or not (that is, can be instantiated by the system).
android:exported Flag indicating whether the given application component is available to other applications.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:name Required name of the class implementing the receiver, deriving from BroadcastReceiver.
android:permission Specify a permission that a client is required to have in order to use the associated object.
android:process Specify a specific process that the associated code is to run in.

public static final int AndroidManifestReceiver_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 7 (0x00000007)

public static final int AndroidManifestReceiver_enabled

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol enabled.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestReceiver_exported

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol exported.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestReceiver_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestReceiver_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestReceiver_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestReceiver_permission

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol permission.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestReceiver_process

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol process.

Constant Value: 6 (0x00000006)

public static final int[] AndroidManifestService

Since: API Level

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:description Descriptive text for the associated data.
android:enabled Specify whether the service is enabled or not (that is, can be instantiated by the system).
android:exported Flag indicating whether the given application component is available to other applications.
android:icon A Drawable resource providing a graphical representation of its associated item.
android:label A user-legible name for the given item.
android:name Required name of the class implementing the service, deriving from Service.
android:permission Specify a permission that a client is required to have in order to use the associated object.
android:process Specify a specific process that the associated code is to run in.

public static final int AndroidManifestService_description

Since: API Level

Descriptive text for the associated data.

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

This corresponds to the global attribute resource symbol description.

Constant Value: 7 (0x00000007)

public static final int AndroidManifestService_enabled

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol enabled.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestService_exported

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol exported.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestService_icon

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol icon.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestService_label

Since: API Level

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 to a theme attribute in the form "?[package:][type:]name".

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

This corresponds to the global attribute resource symbol label.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestService_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestService_permission

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol permission.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestService_process

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol process.

Constant Value: 6 (0x00000006)

public static final int[] AndroidManifestSupportsScreens

Since: API Level

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:anyDensity Indicates whether the application can accommodate any screen density.
android:largeScreens Indicates whether the application supports larger screen form-factors.
android:normalScreens Indicates whether an application supports the normal screen form-factors.
android:resizeable Indicates whether the application can resize itself to newer screen sizes.
android:smallScreens Indicates whether the application supports smaller screen form-factors.
android:xlargeScreens Indicates whether the application supports extra large screen form-factors.

public static final int AndroidManifestSupportsScreens_anyDensity

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol anyDensity.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestSupportsScreens_largeScreens

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol largeScreens.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestSupportsScreens_normalScreens

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol normalScreens.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestSupportsScreens_resizeable

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol resizeable.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestSupportsScreens_smallScreens

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol smallScreens.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestSupportsScreens_xlargeScreens

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol xlargeScreens.

Constant Value: 5 (0x00000005)

public static final int[] AndroidManifestUsesConfiguration

Since: API Level

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.

Includes the following attributes:

AttributeDescription
android:reqFiveWayNav Application's requirement for five way navigation
android:reqHardKeyboard Application's requirement for a hard keyboard
android:reqKeyboardType The input method preferred by an application.
android:reqNavigation The navigation device preferred by an application.
android:reqTouchScreen The type of touch screen used by an application.

public static final int AndroidManifestUsesConfiguration_reqFiveWayNav

Since: API Level

Application's requirement for five way navigation

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

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

This corresponds to the global attribute resource symbol reqFiveWayNav.

Constant Value: 4 (0x00000004)

public static final int AndroidManifestUsesConfiguration_reqHardKeyboard

Since: API Level

Application's requirement for a hard keyboard

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

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

This corresponds to the global attribute resource symbol reqHardKeyboard.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestUsesConfiguration_reqKeyboardType

Since: API Level

The input method preferred by an application.

Must be one of the following constant values.

ConstantValueDescription
undefined0
nokeys1
qwerty2
twelvekey3

This corresponds to the global attribute resource symbol reqKeyboardType.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestUsesConfiguration_reqNavigation

Since: API Level

The navigation device preferred by an application.

Must be one of the following constant values.

ConstantValueDescription
undefined0
nonav1
dpad2
trackball3
wheel4

This corresponds to the global attribute resource symbol reqNavigation.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestUsesConfiguration_reqTouchScreen

Since: API Level

The type of touch screen used by an application.

Must be one of the following constant values.

ConstantValueDescription
undefined0
notouch1
stylus2
finger3

This corresponds to the global attribute resource symbol reqTouchScreen.

Constant Value: 0 (0x00000000)

public static final int[] AndroidManifestUsesFeature

Since: API Level

The uses-feature tag specifies a specific feature used by the application. For example an application might specify that it requires specific version of OpenGL. Multiple such 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:glEsVersion The GLES driver version number needed by an application.
android:name The name of the feature that is being used.
android:required Specify whether this feature is required for the application.

public static final int AndroidManifestUsesFeature_glEsVersion

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol glEsVersion.

Constant Value: 1 (0x00000001)

public static final int AndroidManifestUsesFeature_name

Since: API Level

The name of the feature that is being used.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestUsesFeature_required

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol required.

Constant Value: 2 (0x00000002)

public static final int[] AndroidManifestUsesLibrary

Since: API Level

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:name Required name of the library you use.
android:required Specify whether this library is required for the application.

public static final int AndroidManifestUsesLibrary_name

Since: API Level

Required name of the library you use.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestUsesLibrary_required

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol required.

Constant Value: 1 (0x00000001)

public static final int[] AndroidManifestUsesPermission

Since: API Level

The uses-permission tag requests a <permission> that the containing package must be granted in order for it to operate correctly. 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: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.

public static final int AndroidManifestUsesPermission_name

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol name.

Constant Value: 0 (0x00000000)

public static final int[] AndroidManifestUsesSdk

Since: API Level

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:maxSdkVersion This is the maximum SDK version number that an application works on.
android:minSdkVersion This is the minimum SDK version number that the application requires.
android:targetSdkVersion This is the SDK version number that the application is targeting.

public static final int AndroidManifestUsesSdk_maxSdkVersion

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol maxSdkVersion.

Constant Value: 2 (0x00000002)

public static final int AndroidManifestUsesSdk_minSdkVersion

Since: API Level

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

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

This corresponds to the global attribute resource symbol minSdkVersion.

Constant Value: 0 (0x00000000)

public static final int AndroidManifestUsesSdk_targetSdkVersion

Since: API Level

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

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

This corresponds to the global attribute resource symbol targetSdkVersion.

Constant Value: 1 (0x00000001)

public static final int AndroidManifest_installLocation

Since: API Level

The default install location defined by an application.

Must be one of the following constant values.

ConstantValueDescription
auto0 Let the system decide ideal install location
internalOnly1 Explicitly request to be installed on internal phone storage only.
preferExternal2 Prefer to be installed on SD card. There is no guarantee that the system will honor this request. The application might end up being installed on internal storage if external media is unavailable or too full.

This corresponds to the global attribute resource symbol installLocation.

Constant Value: 4 (0x00000004)

public static final int AndroidManifest_sharedUserId

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol sharedUserId.

Constant Value: 0 (0x00000000)

public static final int AndroidManifest_sharedUserLabel

Since: API Level

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.

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

This corresponds to the global attribute resource symbol sharedUserLabel.

Constant Value: 3 (0x00000003)

public static final int AndroidManifest_versionCode

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol versionCode.

Constant Value: 1 (0x00000001)

public static final int AndroidManifest_versionName

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol versionName.

Constant Value: 2 (0x00000002)

public static final int[] AnimatedRotateDrawable

Since: API Level

Attributes that can be used with a AnimatedRotateDrawable.

Includes the following attributes:

AttributeDescription
android:drawable Reference to a drawable resource to use for the frame.
android:pivotX
android:pivotY
android:visible Provides initial visibility state of the drawable; the default value is false.

public static final int AnimatedRotateDrawable_drawable

Since: API Level

Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.

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

This corresponds to the global attribute resource symbol drawable.

Constant Value: 1 (0x00000001)

public static final int AnimatedRotateDrawable_pivotX

Since: API Level

This symbol is the offset where the 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.

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

Constant Value: 2 (0x00000002)

public static final int AnimatedRotateDrawable_pivotY

Since: API Level

This symbol is the offset where the 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.

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

Constant Value: 3 (0x00000003)

public static final int AnimatedRotateDrawable_visible

Since: API Level

Provides initial visibility state of the drawable; the default value is false. See setVisible(boolean, boolean).

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

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

This corresponds to the global attribute resource symbol visible.

Constant Value: 0 (0x00000000)

public static final int[] Animation

Since: API Level

Attributes that can be used with a Animation.

Includes the following attributes:

AttributeDescription
android:detachWallpaper Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it.
android:duration Amount of time (in milliseconds) for the animation to run.
android:fillAfter When set to true, the animation transformation is applied after the animation is over.
android:fillBefore When set to true, the animation transformation is applied before the animation has started.
android:fillEnabled When set to true, fillAfter is taken into account.
android:interpolator Defines the interpolator used to smooth the animation movement in time.
android:repeatCount Defines how many times the animation should repeat.
android:repeatMode Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite.
android:startOffset Delay in milliseconds before the animation runs, once start time is reached.
android:zAdjustment Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation.

public static final int[] AnimationDrawable

Since: API Level

Attributes that can be used with a AnimationDrawable.

Includes the following attributes:

AttributeDescription
android:oneshot If true, the animation will only run a single time and then stop.
android:variablePadding If true, allows the drawable's padding to change based on the current state that is selected.
android:visible Provides initial visibility state of the drawable; the default value is false.

public static final int[] AnimationDrawableItem

Since: API Level

Attributes that can be used with a AnimationDrawableItem.

Includes the following attributes:

AttributeDescription
android:drawable Reference to a drawable resource to use for the frame.
android:duration Amount of time (in milliseconds) to display this frame.

public static final int AnimationDrawableItem_drawable

Since: API Level

Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.

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

This corresponds to the global attribute resource symbol drawable.

Constant Value: 1 (0x00000001)

public static final int AnimationDrawableItem_duration

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol duration.

Constant Value: 0 (0x00000000)

public static final int AnimationDrawable_oneshot

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol oneshot.

Constant Value: 2 (0x00000002)

public static final int AnimationDrawable_variablePadding

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol variablePadding.

Constant Value: 1 (0x00000001)

public static final int AnimationDrawable_visible

Since: API Level

Provides initial visibility state of the drawable; the default value is false. See setVisible(boolean, boolean).

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

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

This corresponds to the global attribute resource symbol visible.

Constant Value: 0 (0x00000000)

public static final int[] AnimationSet

Since: API Level

Attributes that can be used with a AnimationSet.

Includes the following attributes:

AttributeDescription
android:shareInterpolator

public static final int AnimationSet_shareInterpolator

Since: API Level

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

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

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

Constant Value: 0 (0x00000000)

public static final int Animation_detachWallpaper

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol detachWallpaper.

Constant Value: 9 (0x00000009)

public static final int Animation_duration

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol duration.

Constant Value: 1 (0x00000001)

public static final int Animation_fillAfter

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol fillAfter.

Constant Value: 3 (0x00000003)

public static final int Animation_fillBefore

Since: API Level

When set to true, the animation transformation is applied before the animation has started. The default value is true. If fillEnabled is not set to true, fillBefore is assumed to be true.

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

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

This corresponds to the global attribute resource symbol fillBefore.

Constant Value: 2 (0x00000002)

public static final int Animation_fillEnabled

Since: API Level

When set to true, fillAfter is taken into account.

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

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

This corresponds to the global attribute resource symbol fillEnabled.

Constant Value: 8 (0x00000008)

public static final int Animation_interpolator

Since: API Level

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

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

This corresponds to the global attribute resource symbol interpolator.

Constant Value: 0 (0x00000000)

public static final int Animation_repeatCount

Since: API Level

Defines how many times the animation should repeat. The default value is 0.

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

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

May be one of the following constant values.

ConstantValueDescription
infinite-1

This corresponds to the global attribute resource symbol repeatCount.

Constant Value: 5 (0x00000005)

public static final int Animation_repeatMode

Since: API Level

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
restart1 The animation starts again from the beginning.
reverse2 The animation plays backward.

This corresponds to the global attribute resource symbol repeatMode.

Constant Value: 6 (0x00000006)

public static final int Animation_startOffset

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol startOffset.

Constant Value: 4 (0x00000004)

public static final int Animation_zAdjustment

Since: API Level

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
normal0 The content being animated be kept in its current Z order.
top1 The content being animated is forced on top of all other content for the duration of the animation.
bottom-1 The content being animated is forced under all other content for the duration of the animation.

This corresponds to the global attribute resource symbol zAdjustment.

Constant Value: 7 (0x00000007)

public static final int[] AnticipateInterpolator

Since: API Level

Attributes that can be used with a AnticipateInterpolator.

Includes the following attributes:

AttributeDescription
android:tension This is the amount of tension.

public static final int AnticipateInterpolator_tension

Since: API Level

This is the amount of tension.

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

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

This corresponds to the global attribute resource symbol tension.

Constant Value: 0 (0x00000000)

public static final int[] AnticipateOvershootInterpolator

Since: API Level

Attributes that can be used with a AnticipateOvershootInterpolator.

Includes the following attributes:

AttributeDescription
android:extraTension This is the amount by which to multiply the tension.
android:tension This is the amount of tension.

public static final int AnticipateOvershootInterpolator_extraTension

Since: API Level

This is the amount by which to multiply the tension.

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

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

This corresponds to the global attribute resource symbol extraTension.

Constant Value: 1 (0x00000001)

public static final int AnticipateOvershootInterpolator_tension

Since: API Level

This is the amount of tension.

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

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

This corresponds to the global attribute resource symbol tension.

Constant Value: 0 (0x00000000)

public static final int[] AppWidgetProviderInfo

Since: API Level

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:configure A class name in the AppWidget's package to be launched to configure.
android:initialLayout A resource id of a layout.
android:minHeight Minimum height of the AppWidget.
android:minWidth Minimum width of the AppWidget.
android:updatePeriodMillis Update period in milliseconds, or 0 if the AppWidget will update itself.

public static final int AppWidgetProviderInfo_configure

Since: API Level

A class name in the AppWidget's package to be launched to configure. If not supplied, then no activity will be launched.

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

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

This corresponds to the global attribute resource symbol configure.

Constant Value: 4 (0x00000004)

public static final int AppWidgetProviderInfo_initialLayout

Since: API Level

A resource id of a layout.

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

This corresponds to the global attribute resource symbol initialLayout.

Constant Value: 3 (0x00000003)

public static final int AppWidgetProviderInfo_minHeight

Since: API Level

Minimum height of the AppWidget.

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

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

This corresponds to the global attribute resource symbol minHeight.

Constant Value: 1 (0x00000001)

public static final int AppWidgetProviderInfo_minWidth

Since: API Level

Minimum width of the AppWidget.

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

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

This corresponds to the global attribute resource symbol minWidth.

Constant Value: 0 (0x00000000)

public static final int AppWidgetProviderInfo_updatePeriodMillis

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol updatePeriodMillis.

Constant Value: 2 (0x00000002)

public static final int[] AutoCompleteTextView

Since: API Level

Attributes that can be used with a AutoCompleteTextView.

Includes the following attributes:

AttributeDescription
android:completionHint Defines the hint displayed in the drop down menu.
android:completionHintView Defines the hint view displayed in the drop down menu.
android:completionThreshold Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu.
android:dropDownAnchor View to anchor the auto-complete dropdown to.
android:dropDownHeight Specifies the basic height of the dropdown.
android:dropDownHorizontalOffset Amount of pixels by which the drop down should be offset horizontally.
android:dropDownSelector Selector in a drop down list.
android:dropDownVerticalOffset Amount of pixels by which the drop down should be offset vertically.
android:dropDownWidth Specifies the basic width of the dropdown.
android: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.

public static final int AutoCompleteTextView_completionHint

Since: API Level

Defines the hint displayed in the drop down menu.

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

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

This corresponds to the global attribute resource symbol completionHint.

Constant Value: 0 (0x00000000)

public static final int AutoCompleteTextView_completionHintView

Since: API Level

Defines the hint view displayed in the drop down menu.

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

This corresponds to the global attribute resource symbol completionHintView.

Constant Value: 1 (0x00000001)

public static final int AutoCompleteTextView_completionThreshold

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol completionThreshold.

Constant Value: 2 (0x00000002)

public static final int AutoCompleteTextView_dropDownAnchor

Since: API Level

View to anchor the auto-complete dropdown to. If not specified, the text view itself is used.

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

This corresponds to the global attribute resource symbol dropDownAnchor.

Constant Value: 6 (0x00000006)

public static final int AutoCompleteTextView_dropDownHeight

Since: API Level

Specifies the basic height of the dropdown. Its value may be a dimension (such as "12dip") for a constant height, fill_parent or match_parent to fill the height of the screen, or wrap_content to match the height of the content of the drop down.

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

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

May be one of the following constant values.

ConstantValueDescription
fill_parent-1 The dropdown should fit the height of the screen. This constant is deprecated starting from API Level 8 and is replaced by match_parent.
match_parent-1 The dropdown should fit the height of the screen. Introduced in API Level 8.
wrap_content-2 The dropdown should fit the height of the content.

This corresponds to the global attribute resource symbol dropDownHeight.

Constant Value: 7 (0x00000007)

public static final int AutoCompleteTextView_dropDownHorizontalOffset

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol dropDownHorizontalOffset.

Constant Value: 8 (0x00000008)

public static final int AutoCompleteTextView_dropDownSelector

Since: API Level

Selector in a drop down list.

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

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

This corresponds to the global attribute resource symbol dropDownSelector.

Constant Value: 3 (0x00000003)

public static final int AutoCompleteTextView_dropDownVerticalOffset

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol dropDownVerticalOffset.

Constant Value: 9 (0x00000009)

public static final int AutoCompleteTextView_dropDownWidth

Since: API Level

Specifies the basic width of the dropdown. Its value may be a dimension (such as "12dip") for a constant width, fill_parent or match_parent to match the width of the screen, or wrap_content to match the width of the anchored view.

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

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

May be one of the following constant values.

ConstantValueDescription
fill_parent-1 The dropdown should fill the width of the screen. This constant is deprecated starting from API Level 8 and is replaced by match_parent.
match_parent-1 The dropdown should fit the width of the screen. Introduced in API Level 8.
wrap_content-2 The dropdown should fit the width of its anchor.

This corresponds to the global attribute resource symbol dropDownWidth.

Constant Value: 5 (0x00000005)

public static final int AutoCompleteTextView_inputType

Since: API Level

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
none0x00000000 There is no content type. The text is not editable.
text0x00000001 Just plain old text. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_NORMAL.
textCapCharacters0x00001001 Can be combined with text and its variations to request capitalization of all characters. Corresponds to TYPE_TEXT_FLAG_CAP_CHARACTERS.
textCapWords0x00002001 Can be combined with text and its variations to request capitalization of the first character of every word. Corresponds to TYPE_TEXT_FLAG_CAP_WORDS.
textCapSentences0x00004001 Can be combined with text and its variations to request capitalization of the first character of every sentence. Corresponds to TYPE_TEXT_FLAG_CAP_SENTENCES.
textAutoCorrect0x00008001 Can be combined with text and its variations to request auto-correction of text being input. Corresponds to TYPE_TEXT_FLAG_AUTO_CORRECT.
textAutoComplete0x00010001 Can be combined with text and its variations to specify that this field will be doing its own auto-completion and talking with the input method appropriately. Corresponds to TYPE_TEXT_FLAG_AUTO_COMPLETE.
textMultiLine0x00020001 Can be combined with text and its variations to allow multiple lines of text in the field. If this flag is not set, the text field will be constrained to a single line. Corresponds to TYPE_TEXT_FLAG_MULTI_LINE.
textImeMultiLine0x00040001 Can be combined with text and its variations to indicate that though the regular text view should not be multiple lines, the IME should provide multiple lines if it can. Corresponds to TYPE_TEXT_FLAG_IME_MULTI_LINE.
textNoSuggestions0x00080001 Can be combined with text and its variations to indicate that the IME should not show any dictionary-based word suggestions. Corresponds to TYPE_TEXT_FLAG_NO_SUGGESTIONS.
textUri0x00000011 Text that will be used as a URI. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_URI.
textEmailAddress0x00000021 Text that will be used as an e-mail address. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_EMAIL_ADDRESS.
textEmailSubject0x00000031 Text that is being supplied as the subject of an e-mail. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_EMAIL_SUBJECT.
textShortMessage0x00000041 Text that is the content of a short message. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_SHORT_MESSAGE.
textLongMessage0x00000051 Text that is the content of a long message. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_LONG_MESSAGE.
textPersonName0x00000061 Text that is the name of a person. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_PERSON_NAME.
textPostalAddress0x00000071 Text that is being supplied as a postal mailing address. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_POSTAL_ADDRESS.
textPassword0x00000081 Text that is a password. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_PASSWORD.
textVisiblePassword0x00000091 Text that is a password that should be visible. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_VISIBLE_PASSWORD.
textWebEditText0x000000a1 Text that is being supplied as text in a web form. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_WEB_EDIT_TEXT.
textFilter0x000000b1 Text that is filtering some other data. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_FILTER.
textPhonetic0x000000c1 Text that is for phonetic pronunciation, such as a phonetic name field in a contact entry. Corresponds to TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_PHONETIC.
number0x00000002 A numeric only field. Corresponds to TYPE_CLASS_NUMBER.
numberSigned0x00001002 Can be combined with number and its other options to allow a signed number. Corresponds to TYPE_CLASS_NUMBER | TYPE_NUMBER_FLAG_SIGNED.
numberDecimal0x00002002 Can be combined with number and its other options to allow a decimal (fractional) number. Corresponds to TYPE_CLASS_NUMBER | TYPE_NUMBER_FLAG_DECIMAL.
phone0x00000003 For entering a phone number. Corresponds to TYPE_CLASS_PHONE.
datetime0x00000004 For entering a date and time. Corresponds to TYPE_CLASS_DATETIME | TYPE_DATETIME_VARIATION_NORMAL.
date0x00000014 For entering a date. Corresponds to TYPE_CLASS_DATETIME | TYPE_DATETIME_VARIATION_DATE.
time0x00000024 For entering a time. Corresponds to TYPE_CLASS_DATETIME | TYPE_DATETIME_VARIATION_TIME.

This corresponds to the global attribute resource symbol inputType.

Constant Value: 4 (0x00000004)

public static final int[] BitmapDrawable

Since: API Level

Drawable used to draw bitmaps.

Includes the following attributes:

AttributeDescription
android:antialias Enables or disables antialiasing.
android: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).
android:filter Enables or disables bitmap filtering.
android:gravity Defines the gravity for the bitmap.
android:src Identifier of the bitmap file.
android:tileMode Defines the tile mode.

public static final int BitmapDrawable_antialias

Since: API Level

Enables or disables antialiasing.

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

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

This corresponds to the global attribute resource symbol antialias.

Constant Value: 2 (0x00000002)

public static final int BitmapDrawable_dither

Since: API Level

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

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

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

This corresponds to the global attribute resource symbol dither.

Constant Value: 4 (0x00000004)

public static final int BitmapDrawable_filter

Since: API Level

Enables or disables bitmap filtering. Filtering is used when the bitmap is shrunk or stretched to smooth its apperance.

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

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

This corresponds to the global attribute resource symbol filter.

Constant Value: 3 (0x00000003)

public static final int BitmapDrawable_gravity

Since: API Level

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
top0x30 Push object to the top of its container, not changing its size.
bottom0x50 Push object to the bottom of its container, not changing its size.
left0x03 Push object to the left of its container, not changing its size.
right0x05 Push object to the right of its container, not changing its size.
center_vertical0x10 Place object in the vertical center of its container, not changing its size.
fill_vertical0x70 Grow the vertical size of the object if needed so it completely fills its container.
center_horizontal0x01 Place object in the horizontal center of its container, not changing its size.
fill_horizontal0x07 Grow the horizontal size of the object if needed so it completely fills its container.
center0x11 Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
fill0x77 Grow the horizontal and vertical size of the object if needed so it completely fills its container.
clip_vertical0x80 Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges.
clip_horizontal0x08 Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges.

This corresponds to the global attribute resource symbol gravity.

Constant Value: 0 (0x00000000)

public static final int BitmapDrawable_src

Since: API Level

Identifier of the bitmap file. This attribute is mandatory.

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

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

This corresponds to the global attribute resource symbol src.

Constant Value: 1 (0x00000001)

public static final int BitmapDrawable_tileMode

Since: API Level

Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. Gravity is ignored when the tile mode is enabled.

Must be one of the following constant values.

ConstantValueDescription
disabled-1 Do not tile the bitmap. This is the default value.
clamp0 Replicates the edge color.
repeat1 Repeats the bitmap in both direction.
mirror2 Repeats the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.

This corresponds to the global attribute resource symbol tileMode.

Constant Value: 5 (0x00000005)

public static final int[] Button

Since: API Level

Attributes that can be used with a Button.

public static final int[] CheckBoxPreference

Since: API Level

Base attributes available to CheckBoxPreference.

Includes the following attributes:

AttributeDescription
android:disableDependentsState The state (true for on, or false for off) that causes dependents to be disabled.
android:summaryOff The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is unchecked.
android:summaryOn The summary for the Preference in a PreferenceActivity screen when the CheckBoxPreference is checked.

public static final int CheckBoxPreference_disableDependentsState

Since: API Level

The state (true for on, or false for off) that causes dependents to be disabled. By default, dependents will be disabled when this is unchecked, so the value of this preference is false.

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

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

This corresponds to the global attribute resource symbol disableDependentsState.

Constant Value: 2 (0x00000002)

public static final int CheckBoxPreference_summaryOff

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol summaryOff.

Constant Value: 1 (0x00000001)

public static final int CheckBoxPreference_summaryOn

Since: API Level

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.

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

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

This corresponds to the global attribute resource symbol summaryOn.

Constant Value: 0 (0x00000000)

public static final int[] CheckedTextView

Since: API Level

Attributes that can be used with a CheckedTextView.

Includes the following attributes:

AttributeDescription
android:checkMark Drawable used for the check mark graphic.
android:checked Indicates the initial checked state of this text.

public static final int CheckedTextView_checkMark

Since: API Level

Drawable used for the check mark graphic.

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

This corresponds to the global attribute resource symbol checkMark.

Constant Value: 1 (0x00000001)

public static final int CheckedTextView_checked

Since: API Level

Indicates the initial checked state of this text.

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

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

This corresponds to the global attribute resource symbol checked.

Constant Value: 0 (0x00000000)

public static final int[] Chronometer

Since: AP