Android
android
public static final class

android.R.styleable

java.lang.Object
android.R.styleable

Summary

Constants

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

0x00000006 
int  AbsListView_drawSelectorOnTop 

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

0x00000001 
int  AbsListView_listSelector 

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

0x00000000 
int  AbsListView_scrollingCache 

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

0x00000003 
int  AbsListView_stackFromBottom 

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

0x00000002 
int  AbsListView_textFilterEnabled 

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

0x00000004 
int  AbsListView_transcriptMode 

Sets the transcript mode for the list. 

0x00000005 
int[]  AbsSpinner  Attributes that can be used with a AbsSpinner.     
int  AbsSpinner_entries 

Reference to an array resource that will populate the Spinner. 

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

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

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

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

0x00000000 
int[]  AlertDialog  Attributes that can be used with a AlertDialog.     
int  AlertDialog_bottomBright 

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

0x00000007 
int  AlertDialog_bottomDark 

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

0x00000003 
int  AlertDialog_bottomMedium 

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

0x00000008 
int  AlertDialog_centerBright 

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

0x00000006 
int  AlertDialog_centerDark 

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

0x00000002 
int  AlertDialog_centerMedium 

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

0x00000009 
int  AlertDialog_fullBright 

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

0x00000004 
int  AlertDialog_fullDark 

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

0x00000000 
int  AlertDialog_topBright 

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

0x00000005 
int  AlertDialog_topDark 

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

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

0x00000000 
int  AlphaAnimation_toAlpha 

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

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

0x00000000 
int  AnalogClock_hand_hour 

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

0x00000001 
int  AnalogClock_hand_minute 

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

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

0x00000000 
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_enabled 

Specify whether the activity-alias is enabled or not (i.e. 

0x00000004 
int  AndroidManifestActivityAlias_exported 

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

0x00000005 
int  AndroidManifestActivityAlias_icon 

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

0x00000001 
int  AndroidManifestActivityAlias_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestActivityAlias_name 

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

0x00000002 
int  AndroidManifestActivityAlias_permission 

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

0x00000003 
int  AndroidManifestActivityAlias_targetActivity 

The name of the activity this alias should launch. 

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

18  0x00000012 
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. 

17  0x00000011 
int  AndroidManifestActivity_clearTaskOnLaunch 

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

11  0x0000000b 
int  AndroidManifestActivity_configChanges 

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

16  0x00000010 
int  AndroidManifestActivity_enabled 

Specify whether the activity is enabled or not (i.e. 

0x00000005 
int  AndroidManifestActivity_excludeFromRecents 

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

13  0x0000000d 
int  AndroidManifestActivity_exported 

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

0x00000006 
int  AndroidManifestActivity_finishOnTaskLaunch 

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

10  0x0000000a 
int  AndroidManifestActivity_icon 

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

0x00000002 
int  AndroidManifestActivity_label 

A user-legible name for the given item. 

0x00000001 
int  AndroidManifestActivity_launchMode 

Specify how an activity should be launched. 

14  0x0000000e 
int  AndroidManifestActivity_multiprocess 

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

0x00000009 
int  AndroidManifestActivity_name 

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

0x00000003 
int  AndroidManifestActivity_permission 

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

0x00000004 
int  AndroidManifestActivity_process 

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

0x00000007 
int  AndroidManifestActivity_screenOrientation 

Specify the orientation an activity should be run in. 

15  0x0000000f 
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. 

12  0x0000000c 
int  AndroidManifestActivity_taskAffinity 

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

0x00000008 
int  AndroidManifestActivity_theme 

The overall theme to use for an activity. 

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

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

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

14  0x0000000e 
int  AndroidManifestApplication_debuggable 

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

10  0x0000000a 
int  AndroidManifestApplication_description 

A longer descriptive text about a particular application or permission that can be granted. 

13  0x0000000d 
int  AndroidManifestApplication_enabled 

Specify whether the components in this application are enabled or not (i.e. 

0x00000009 
int  AndroidManifestApplication_hasCode 

Indicate whether this application contains code. 

0x00000007 
int  AndroidManifestApplication_icon 

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

0x00000002 
int  AndroidManifestApplication_label 

A user-legible name for the given item. 

0x00000001 
int  AndroidManifestApplication_manageSpaceActivity 

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

0x00000004 
int  AndroidManifestApplication_name 

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

0x00000003 
int  AndroidManifestApplication_permission 

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

0x00000006 
int  AndroidManifestApplication_persistent 

Flag to control special persistent mode of an application. 

0x00000008 
int  AndroidManifestApplication_process 

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

11  0x0000000b 
int  AndroidManifestApplication_taskAffinity 

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

12  0x0000000c 
int  AndroidManifestApplication_theme 

The overall theme to use for an activity. 

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

0x00000000 
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()

0x00000002 
int  AndroidManifestData_mimeType 

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

0x00000000 
int  AndroidManifestData_path 

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

0x00000004 
int  AndroidManifestData_pathPattern 

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

0x00000006 
int  AndroidManifestData_pathPrefix 

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

0x00000005 
int  AndroidManifestData_port 

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

0x00000003 
int  AndroidManifestData_scheme 

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

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

0x00000000 
int  AndroidManifestGrantUriPermission_pathPattern 

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

0x00000002 
int  AndroidManifestGrantUriPermission_pathPrefix 

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

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

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

0x00000004 
int  AndroidManifestInstrumentation_icon 

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

0x00000001 
int  AndroidManifestInstrumentation_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestInstrumentation_name 

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

0x00000002 
int  AndroidManifestInstrumentation_targetPackage 

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

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

0x00000001 
int  AndroidManifestIntentFilter_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestIntentFilter_priority 

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

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

0x00000000 
int  AndroidManifestMetaData_resource 

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

0x00000002 
int  AndroidManifestMetaData_value 

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

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

A longer descriptive text about a particular application or permission that can be granted. 

0x00000003 
int  AndroidManifestPermissionGroup_icon 

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

0x00000001 
int  AndroidManifestPermissionGroup_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestPermissionGroup_name 

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

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

0x00000001 
int  AndroidManifestPermissionTree_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestPermissionTree_name 

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

0x00000002 
int  AndroidManifestPermission_description 

A longer descriptive text about a particular application or permission that can be granted. 

0x00000005 
int  AndroidManifestPermission_icon 

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

0x00000001 
int  AndroidManifestPermission_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestPermission_name 

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

0x00000002 
int  AndroidManifestPermission_permissionGroup 

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

0x00000004 
int  AndroidManifestPermission_protectionLevel 

Specifies the degree of protection that should be associated with a permission, indicating how much a holder of the permission can compromise the system. 

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

10  0x0000000a 
int  AndroidManifestProvider_enabled 

Specify whether this provider is enabled or not (i.e. 

0x00000006 
int  AndroidManifestProvider_exported 

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

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

13  0x0000000d 
int  AndroidManifestProvider_icon 

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

0x00000001 
int  AndroidManifestProvider_initOrder 

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

12  0x0000000c 
int  AndroidManifestProvider_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestProvider_multiprocess 

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

0x00000009 
int  AndroidManifestProvider_name 

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

0x00000002 
int  AndroidManifestProvider_permission 

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

0x00000003 
int  AndroidManifestProvider_process 

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

0x00000008 
int  AndroidManifestProvider_readPermission 

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

0x00000004 
int  AndroidManifestProvider_syncable 

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

11  0x0000000b 
int  AndroidManifestProvider_writePermission 

A specific permission name for write access to a ContentProvider

0x00000005 
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_enabled 

Specify whether the receiver is enabled or not (i.e. 

0x00000004 
int  AndroidManifestReceiver_exported 

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

0x00000005 
int  AndroidManifestReceiver_icon 

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

0x00000001 
int  AndroidManifestReceiver_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestReceiver_name 

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

0x00000002 
int  AndroidManifestReceiver_permission 

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

0x00000003 
int  AndroidManifestReceiver_process 

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

0x00000006 
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_enabled 

Specify whether the service is enabled or not (i.e. 

0x00000004 
int  AndroidManifestService_exported 

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

0x00000005 
int  AndroidManifestService_icon 

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

0x00000001 
int  AndroidManifestService_label 

A user-legible name for the given item. 

0x00000000 
int  AndroidManifestService_name 

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

0x00000002 
int  AndroidManifestService_permission 

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

0x00000003 
int  AndroidManifestService_process 

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

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

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

0x00000000 
int[]  AndroidManifestUsesSdk  The uses-sdk tag describes the SDK features that the containing package must be running on to operate correctly.     
int  AndroidManifestUsesSdk_minSdkVersion 

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

0x00000000 
int  AndroidManifest_sharedUserId 

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

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

0x00000001 
int  AnimationDrawableItem_duration 

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

0x00000000 
int  AnimationDrawable_oneshot 

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

0x00000002 
int  AnimationDrawable_variablePadding 

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

0x00000001 
int  AnimationDrawable_visible 

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

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

0x00000000 
int  Animation_duration 

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

0x00000001 
int  Animation_fillAfter 

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

0x00000003 
int  Animation_fillBefore 

When set to true, the animation transformation is applied before the animation has started. 

0x00000002 
int  Animation_interpolator 

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

0x00000000 
int  Animation_repeatCount 

Defines how many times the animation should repeat. 

0x00000005 
int  Animation_repeatMode 

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

0x00000006 
int  Animation_startOffset 

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

0x00000004 
int  Animation_zAdjustment 

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

0x00000007 
int[]  AutoCompleteTextView  Attributes that can be used with a AutoCompleteTextView.     
int  AutoCompleteTextView_completionHint 

Defines the hint displayed in the drop down menu. 

0x00000000 
int  AutoCompleteTextView_completionHintView 

Defines the hint view displayed in the drop down menu. 

0x00000001 
int  AutoCompleteTextView_completionThreshold 

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

0x00000002 
int  AutoCompleteTextView_dropDownSelector 

Selector in a drop down list. 

0x00000003 
int[]  BitmapDrawable  Drawable used to draw bitmaps.     
int  BitmapDrawable_antialias 

Enables or disables antialiasing. 

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

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

0x00000004 
int  BitmapDrawable_filter 

Enables or disables bitmap filtering. 

0x00000003 
int  BitmapDrawable_gravity 

Defines the gravity for the bitmap. 

0x00000000 
int  BitmapDrawable_src 

Identifier of the bitmap file. 

0x00000001 
int  BitmapDrawable_tileMode 

Defines the tile mode. 

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

0x00000002 
int  CheckBoxPreference_summaryOff 

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

0x00000001 
int  CheckBoxPreference_summaryOn 

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

0x00000000 
int[]  CheckedTextView  Attributes that can be used with a CheckedTextView.     
int  CheckedTextView_checkMark 

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

0x00000001 
int  CheckedTextView_checked 

Indicates the initial checked state of this text

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

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

0x00000000 
int[]  ClipDrawable  Attributes that can be used with a ClipDrawable.     
int  ClipDrawable_clipOrientation 

The orientation for the clip. 

0x00000002 
int  ClipDrawable_drawable 

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

0x00000001 
int  ClipDrawable_gravity 

Specifies where to clip within the drawable. 

0x00000000 
int[]  ColorDrawable  Drawable used to draw a single color.     
int  ColorDrawable_color 

The color to use. 

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

Drawable used for the button graphic (e.g. 

0x00000001 
int  CompoundButton_checked 

Indicates the initial checked state of this button

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

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

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

The last year (inclusive) i.e. 

0x00000001 
int  DatePicker_startYear 

The first year (inclusive) i.e. 

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

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

0x00000000 
int[]  DialogPreference  Base attributes available to DialogPreference.     
int  DialogPreference_dialogIcon 

The icon for the dialog. 

0x00000002 
int  DialogPreference_dialogLayout 

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

0x00000005 
int  DialogPreference_dialogMessage 

The message in the dialog. 

0x00000001 
int  DialogPreference_dialogTitle 

The title in the dialog. 

0x00000000 
int  DialogPreference_negativeButtonText 

The negative button text for the dialog. 

0x00000004 
int  DialogPreference_positiveButtonText 

The positive button text for the dialog. 

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

0x00000003 
int  DrawableCorners_bottomRightRadius 

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

0x00000004 
int  DrawableCorners_radius 

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

0x00000000 
int  DrawableCorners_topLeftRadius 

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

0x00000001 
int  DrawableCorners_topRightRadius 

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

0x00000002 
int[]  DrawableStates  Drawable states.     
int  DrawableStates_state_active 

State value for StateListDrawable

0x00000006 
int  DrawableStates_state_checkable 

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

0x00000003 
int  DrawableStates_state_checked 

State identifier indicating that the object is currently checked. 

0x00000004 
int  DrawableStates_state_enabled 

State value for StateListDrawable

0x00000002 
int  DrawableStates_state_first 

State value for StateListDrawable

0x00000008 
int  DrawableStates_state_focused 

State value for StateListDrawable

0x00000000 
int  DrawableStates_state_last 

State value for StateListDrawable

10  0x0000000a 
int  DrawableStates_state_middle 

State value for StateListDrawable

0x00000009 
int  DrawableStates_state_pressed 

State value for StateListDrawable

11  0x0000000b 
int  DrawableStates_state_selected 

State value for StateListDrawable

0x00000005 
int  DrawableStates_state_single 

State value for StateListDrawable

0x00000007 
int  DrawableStates_state_window_focused 

State value for StateListDrawable

0x00000001 
int  Drawable_visible 

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

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

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

0x00000001 
int  ExpandableListGroupIndicatorState_state_expanded 

State identifier indicating the group is expanded. 

0x00000000 
int[]  ExpandableListView  Attributes that can be used with a ExpandableListView.     
int  ExpandableListView_childDivider 

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

0x00000006 
int  ExpandableListView_childIndicator 

Indicator shown beside the child View. 

0x00000001 
int  ExpandableListView_childIndicatorLeft 

The left bound for a child's indicator. 

0x00000004 
int  ExpandableListView_childIndicatorRight 

The right bound for a child's indicator. 

0x00000005 
int  ExpandableListView_groupIndicator 

Indicator shown beside the group View. 

0x00000000 
int  ExpandableListView_indicatorLeft 

The left bound for an item's indicator. 

0x00000002 
int  ExpandableListView_indicatorRight 

The right bound for an item's indicator. 

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

0x00000000 
int  FrameLayout_foreground 

Defines the drawable to draw over the content. 

0x00000000 
int  FrameLayout_foregroundGravity 

Defines the gravity to apply to the foreground drawable. 

0x00000002 
int  FrameLayout_measureAllChildren 

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

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

0x00000001 
int  Gallery_gravity 

Specifies how to place an object, both its x and y axis, within a larger containing object. 

0x00000000 
int  Gallery_spacing 

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

0x00000002 
int  Gallery_unselectedAlpha 

Sets the alpha on the items that are not selected. 

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

0x00000003 
int  GradientDrawableGradient_centerColor 

Optional center color. 

0x00000008 
int  GradientDrawableGradient_centerX 

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

0x00000005 
int  GradientDrawableGradient_centerY 

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

0x00000006 
int  GradientDrawableGradient_endColor 

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

0x00000001 
int  GradientDrawableGradient_gradientRadius 

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

0x00000007 
int  GradientDrawableGradient_startColor 

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

0x00000000 
int  GradientDrawableGradient_type 

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

0x00000004 
int  GradientDrawableGradient_useLevel 

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

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

0x00000003 
int  GradientDrawablePadding_left 

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

0x00000000 
int  GradientDrawablePadding_right 

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

0x00000002 
int  GradientDrawablePadding_top 

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

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

Makes the TextView be exactly this many pixels tall. 

0x00000000 
int  GradientDrawableSize_width 

Makes the TextView be exactly this many pixels wide. 

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

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

0x00000001 
int  GradientDrawableStroke_dashGap 

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

0x00000003 
int  GradientDrawableStroke_dashWidth 

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

0x00000002 
int  GradientDrawableStroke_width 

Makes the TextView be exactly this many pixels wide. 

0x00000000 
int  GradientDrawable_innerRadiusRatio 

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

0x00000002 
int  GradientDrawable_shape 

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

0x00000001 
int  GradientDrawable_thicknessRatio 

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

0x00000003 
int  GradientDrawable_useLevel 

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

0x00000004 
int  GradientDrawable_visible 

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

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

0x00000000 
int  GridLayoutAnimation_direction 

Direction of the animation in the grid. 

0x00000002 
int  GridLayoutAnimation_directionPriority 

Priority of the rows and columns. 

0x00000003 
int  GridLayoutAnimation_rowDelay 

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

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

0x00000004 
int  GridView_gravity 

Specifies how to place an object, both its x and y axis, within a larger containing object. 

0x00000000 
int  GridView_horizontalSpacing 

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

0x00000001 
int  GridView_numColumns 

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

0x00000005 
int  GridView_stretchMode 

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

0x00000003 
int  GridView_verticalSpacing 

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

0x00000002 
int[]  IconMenuView  Attributes that can be used with a IconMenuView.     
int  IconMenuView_maxItemsPerRow 

Defines the maximum number of items per row. 

0x00000002 
int  IconMenuView_maxRows 

Defines the maximum number of rows displayed. 

0x00000001 
int  IconMenuView_moreIcon 

'More' icon

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

0x00000003 
int  IconMenuView_rowHeight 

Defines the height of each row. 

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

0x00000002 
int  ImageView_baselineAlignBottom 

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

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

0x00000006 
int  ImageView_cropToPadding 

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

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

0x00000007 
int  ImageView_maxHeight 

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

0x00000004 
int  ImageView_maxWidth 

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

0x00000003 
int  ImageView_scaleType 

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

0x00000001 
int  ImageView_src 

Sets a drawable as the content of this ImageView. 

0x00000000 
int  ImageView_tint 

Set a tinting color for the image

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

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

Reference to a drawable resource to use for the frame. 

0x00000001 
int  InsetDrawable_insetBottom 

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

0x00000005 
int  InsetDrawable_insetLeft 

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

0x00000002 
int  InsetDrawable_insetRight 

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

0x00000003 
int  InsetDrawable_insetTop 

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

0x00000004 
int  InsetDrawable_visible 

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

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

0x00000000 
int[]  IntentExtra  An extra data value to place in the Intent, as per Intent.putExtra()    
int  IntentExtra_name 

Required name of the extra data. 

0x00000000 
int  IntentExtra_value 

Concrete value to put for this named extra data. 

0x00000001 
int  Intent_action 

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

0x00000002 
int  Intent_data 

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

0x00000003 
int  Intent_mimeType 

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

0x00000001 
int  Intent_targetClass 

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

0x00000004 
int  Intent_targetPackage 

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

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

0x00000005 
int  LayerDrawableItem_drawable 

Reference to a drawable resource to use for the frame. 

0x00000001 
int  LayerDrawableItem_id 

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

0x00000000 
int  LayerDrawableItem_left 

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

0x00000002 
int  LayerDrawableItem_right 

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

0x00000004 
int  LayerDrawableItem_top 

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

0x00000003 
int[]  LayoutAnimation  Attributes that can be used with a LayoutAnimation.     
int  LayoutAnimation_animation 

Animation to use on each child. 

0x00000002 
int  LayoutAnimation_animationOrder 

The order in which the animations will be started. 

0x00000003 
int  LayoutAnimation_delay 

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

0x00000001 
int  LayoutAnimation_interpolator 

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

0x00000000 
int[]  LevelListDrawableItem  Attributes that can be used with a LevelListDrawableItem.     
int  LevelListDrawableItem_drawable 

Reference to a drawable resource to use for the frame. 

0x00000000 
int  LevelListDrawableItem_maxLevel 

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

0x00000002 
int  LevelListDrawableItem_minLevel 

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

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

0x00000000 
int  LinearLayout_Layout_layout_height 

Specifies the basic height of the view. 

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

0x00000003 
int  LinearLayout_Layout_layout_width 

Specifies the basic width of the view. 

0x00000001 
int  LinearLayout_animationDuration 

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

0x00000002 
int  LinearLayout_baselineAligned 

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

0x00000003 
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 (i.e which child TextView). 

0x00000004 
int  LinearLayout_gravity 

Specifies how to place an object, both its x and y axis, within a larger containing object. 

0x00000000 
int  LinearLayout_orientation 

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

0x00000001 
int  LinearLayout_weightSum 

Defines the maximum weight sum. 

0x00000005 
int[]  ListPreference  Base attributes available to ListPreference.     
int  ListPreference_entries 

The human-readable array to present as a list. 

0x00000000 
int  ListPreference_entryValues 

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

0x00000001 
int[]  ListView  Attributes that can be used with a ListView.     
int  ListView_choiceMode 

Defines the choice behavior for the List. 

0x00000003 
int  ListView_divider 

Drawable or color to draw between list items. 

0x00000001 
int  ListView_dividerHeight 

Height of the divider. 

0x00000002 
int  ListView_entries 

Reference to an array resource that will populate the ListView. 

0x00000000 
int[]  MapView  Attributes that can be used with a MapView.     
int  MapView_apiKey 

An API Key required to use MapView. 

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

0x00000005 
int  MenuGroup_enabled 

Whether the items are enabled. 

0x00000000 
int  MenuGroup_id 

The ID of the group. 

0x00000001 
int  MenuGroup_menuCategory 

The category applied to all items within this group. 

0x00000003 
int  MenuGroup_orderInCategory 

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

0x00000004 
int  MenuGroup_visible 

Whether the items are shown/visible. 

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

0x00000001 
int  MenuItemCheckedFocusedState_state_checked 

State identifier indicating that the object is currently checked. 

0x00000002 
int  MenuItemCheckedFocusedState_state_focused 

State value for StateListDrawable

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

0x00000000 
int  MenuItemCheckedState_state_checked 

State identifier indicating that the object is currently checked. 

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

0x00000001 
int  MenuItemUncheckedFocusedState_state_focused 

State value for StateListDrawable

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

0x00000000 
int  MenuItem_alphabeticShortcut 

The alphabetic shortcut key. 

0x00000009 
int  MenuItem_checkable 

Whether the item is capable of displaying a check mark. 

11  0x0000000b 
int  MenuItem_checked 

Whether the item is checked. 

0x00000003 
int  MenuItem_enabled 

Whether the item is enabled. 

0x00000001 
int  MenuItem_icon 

The icon associated with this item. 

0x00000000 
int  MenuItem_id 

The ID of the item. 

0x00000002 
int  MenuItem_menuCategory 

The category applied to the item. 

0x00000005 
int  MenuItem_numericShortcut 

The numeric shortcut key. 

10  0x0000000a 
int  MenuItem_orderInCategory 

The order within the category applied to the item. 

0x00000006 
int  MenuItem_title 

The title associated with the item. 

0x00000007 
int  MenuItem_titleCondensed 

The condensed title associated with the item. 

0x00000008 
int  MenuItem_visible 

Whether the item is shown/visible. 

0x00000004 
int[]  MenuView  Attributes that can be used with a MenuView.     
int  MenuView_headerBackground 

Default background for the menu header. 

0x00000004 
int  MenuView_horizontalDivider 

Default horizontal divider between rows of menu items. 

0x00000002 
int  MenuView_itemBackground 

Default background for each menu item. 

0x00000005 
int  MenuView_itemIconDisabledAlpha 

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

0x00000006 
int  MenuView_itemTextAppearance 

Default appearance of menu item text. 

0x00000001 
int  MenuView_verticalDivider 

Default vertical divider between menu items. 

0x00000003 
int  MenuView_windowAnimationStyle 

Default animations for the 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". 

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

0x00000000 
int  PopupWindow_popupBackground 

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

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

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

10  0x0000000a 
int  Preference_dependency 

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

0x00000009 
int  Preference_enabled 

Whether the Preference is enabled. 

0x00000001 
int  Preference_key 

The key to store the Preference value. 

0x00000005 
int  Preference_layout 

The layout for the Preference in a PreferenceActivity screen. 

0x00000002 
int  Preference_order 

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

0x00000007 
int  Preference_persistent 

Whether the Preference stores its value to the shared preferences. 

0x00000000 
int  Preference_selectable 

Whether the Preference is selectable. 

0x00000004 
int  Preference_shouldDisableView 

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

11  0x0000000b 
int  Preference_summary 

The summary for the Preference in a PreferenceActivity screen. 

0x00000006 
int  Preference_title 

The title for the Preference in a PreferenceActivity screen. 

0x00000003 
int  Preference_widgetLayout 

The layout for the controllable widget portion of a Preference. 

0x00000008 
int[]  ProgressBar  Attributes that can be used with a ProgressBar.     
int  ProgressBar_indeterminate 

Allows to enable the indeterminate mode. 

0x00000005 
int  ProgressBar_indeterminateBehavior 

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

10  0x0000000a 
int  ProgressBar_indeterminateDrawable 

Drawable used for the indeterminate mode. 

0x00000007 
int  ProgressBar_indeterminateDuration 

Duration of the indeterminate animation. 

0x00000009 
int  ProgressBar_indeterminateOnly 

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

0x00000006 
int  ProgressBar_interpolator 

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

13  0x0000000d 
int  ProgressBar_max 

Defines the maximum value the progress can take. 

0x00000002 
int  ProgressBar_maxHeight 

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

0x00000001 
int  ProgressBar_maxWidth 

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

0x00000000 
int  ProgressBar_minHeight 

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

12  0x0000000c 
int  ProgressBar_minWidth 

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

11  0x0000000b 
int  ProgressBar_progress 

Defines the default progress value, between 0 and max. 

0x00000003 
int  ProgressBar_progressDrawable 

Drawable used for the progress mode. 

0x00000008 
int  ProgressBar_secondaryProgress 

Defines the secondary progress value, between 0 and max. 

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

0x00000001 
int  RadioGroup_orientation 

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

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

0x00000003 
int  RatingBar_numStars 

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

0x00000000 
int  RatingBar_rating 

The rating to set by default. 

0x00000001 
int  RatingBar_stepSize 

The step size of the rating. 

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

0x00000002 
int  RelativeLayout_Layout_layout_alignBaseline 

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

0x00000004 
int  RelativeLayout_Layout_layout_alignBottom 

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

0x00000008 
int  RelativeLayout_Layout_layout_alignLeft 

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

0x00000005 
int  RelativeLayout_Layout_layout_alignParentBottom 

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

12  0x0000000c 
int  RelativeLayout_Layout_layout_alignParentLeft 

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

0x00000009 
int  RelativeLayout_Layout_layout_alignParentRight 

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

11  0x0000000b 
int  RelativeLayout_Layout_layout_alignParentTop 

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

10  0x0000000a 
int  RelativeLayout_Layout_layout_alignRight 

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

0x00000007 
int  RelativeLayout_Layout_layout_alignTop 

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

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

16  0x00000010 
int  RelativeLayout_Layout_layout_below 

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

0x00000003 
int  RelativeLayout_Layout_layout_centerHorizontal 

If true, centers this child horizontally within its parent. 

14  0x0000000e 
int  RelativeLayout_Layout_layout_centerInParent 

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

13  0x0000000d 
int  RelativeLayout_Layout_layout_centerVertical 

If true, centers this child vertically within its parent. 

15  0x0000000f 
int  RelativeLayout_Layout_layout_toLeftOf 

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

0x00000000 
int  RelativeLayout_Layout_layout_toRightOf 

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

0x00000001 
int  RelativeLayout_gravity 

Specifies how to place an object, both its x and y axis, within a larger containing object. 

0x00000000 
int  RelativeLayout_ignoreGravity 

Indicates what view should not be affected by gravity. 

0x00000001 
int[]  RingtonePreference  Base attributes available to RingtonePreference.     
int  RingtonePreference_ringtoneType 

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

0x00000000 
int  RingtonePreference_showDefault 

Whether to show an item for a default sound. 

0x00000001 
int  RingtonePreference_showSilent 

Whether to show an item for 'Silent'. 

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

0x00000000 
int  RotateAnimation_pivotX 

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

0x00000002 
int  RotateAnimation_pivotY 

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

0x00000003 
int  RotateAnimation_toDegrees 

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

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

Reference to a drawable resource to use for the frame. 

0x00000001 
int  RotateDrawable_fromDegrees 

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

0x00000002 
int  RotateDrawable_pivotX 

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

0x00000004 
int  RotateDrawable_pivotY 

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

0x00000005 
int  RotateDrawable_toDegrees 

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

0x00000003 
int  RotateDrawable_visible 

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

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

0x00000002 
int  ScaleAnimation_fromYScale 

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

0x00000004 
int  ScaleAnimation_pivotX 

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

0x00000000 
int  ScaleAnimation_pivotY 

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

0x00000001 
int  ScaleAnimation_toXScale 

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

0x00000003 
int  ScaleAnimation_toYScale 

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

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

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

0x00000000 
int  ScaleDrawable_scaleGravity 

Specifies where the drawable is positioned after scaling. 

0x00000003 
int  ScaleDrawable_scaleHeight 

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

0x00000002 
int  ScaleDrawable_scaleWidth 

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

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

0x00000000 
int[]  Searchable  Searchable activities & 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. 

0x00000000 
int  SearchableActionKey_queryActionMsg 

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

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

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

0x00000003 
int  Searchable_hint 

If supplied, this string will be displayed as a hint to the user. 

0x00000002 
int  Searchable_icon 

If provided, this icon will be shown in place of the label. 

0x00000001 
int  Searchable_label 

This is the user-displayed name of the searchable activity. 

0x00000000 
int  Searchable_searchButtonText 

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

0x00000009 
int  Searchable_searchMode 

Additional features are controlled by mode bits in this field. 

0x00000003 
int  Searchable_searchSuggestAuthority 

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

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

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

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

0x00000005 
int  Searchable_searchSuggestSelection 

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

0x00000006 
int[]  SeekBar  Attributes that can be used with a SeekBar.     
int  SeekBar_thumb 

Draws the thumb on a seekbar

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

0x00000000 
int  SeekBar_thumbOffset 

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

0x00000001 
int[]  ShapeDrawable  Drawable used to draw shapes.     
int[]  ShapeDrawablePadding  Defines the padding of a ShapeDrawable.     
int  ShapeDrawablePadding_bottom 

Bottom padding. 

0x00000003 
int  ShapeDrawablePadding_left 

Left padding. 

0x00000000 
int  ShapeDrawablePadding_right 

Right padding. 

0x00000002 
int  ShapeDrawablePadding_top 

Top padding. 

0x00000001 
int  ShapeDrawable_color 

Defines the color of the shape. 

0x00000002 
int  ShapeDrawable_height 

Defines the height of the shape. 

0x00000000 
int  ShapeDrawable_width 

Defines the width of the shape. 

0x00000001 
int[]  SlidingDrawer  SlidingDrawer specific attributes.     
int  SlidingDrawer_bottomOffset 

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

0x00000003 
int  SlidingDrawer_content 

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

0x00000002 
int  SlidingDrawer_handle 

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

0x00000001 
int  SlidingDrawer_orientation 

Orientation of the SlidingDrawer. 

0x00000000 
int  SlidingDrawer_topOffset 

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

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

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

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

0x00000002 
int  StateListDrawable_variablePadding 

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

0x00000001 
int  StateListDrawable_visible 

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

0x00000000 
int[]  TabWidget  Attributes that can be used with a TabWidget.     
int[]  TableLayout  Attributes that can be used with a TableLayout.     
int  TableLayout_collapseColumns 

The 0 based index of the columns to collapse. 

0x00000002 
int  TableLayout_shrinkColumns 

The 0 based index of the columns to shrink. 

0x00000001 
int  TableLayout_stretchColumns 

The 0 based index of the columns to stretch. 

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

0x00000000 
int  TableRow_Cell_layout_span 

Defines how many columns this child should span. 

0x00000001 
int[]  TextAppearance  Attributes that can be used with a TextAppearance.     
int  TextAppearance_textColor 

Text color. 

0x00000003 
int  TextAppearance_textColorHighlight 

Color of the text selection highlight. 

0x00000004 
int  TextAppearance_textColorHint 

Color of the hint text. 

0x00000005 
int  TextAppearance_textColorLink 

Color of the links. 

0x00000006 
int  TextAppearance_textSize 

Size of the text. 

0x00000000 
int  TextAppearance_textStyle 

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

0x00000002 
int  TextAppearance_typeface 

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

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

11  0x0000000b 
int  TextView_autoText 

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

45  0x0000002d 
int  TextView_bufferType 

Determines what the minimum type that getText() will return. 

17  0x00000011 
int  TextView_capitalize 

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

44  0x0000002c 
int  TextView_cursorVisible 

Makes the cursor visible (the default) or invisible

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

21  0x00000015 
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. 

41  0x00000029 
int  TextView_drawableBottom 

The drawable to be drawn below the text. 

49  0x00000031 
int  TextView_drawableLeft 

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

50  0x00000032 
int  TextView_drawablePadding 

The padding between the drawables and the text. 

52  0x00000034 
int  TextView_drawableRight 

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

51  0x00000033 
int  TextView_drawableTop 

The drawable to be drawn above the text. 

48  0x00000030 
int  TextView_editable 

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

46  0x0000002e 
int  TextView_ellipsize 

If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle. 

0x00000009 
int  TextView_ems 

Makes the TextView be exactly this many ems wide

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

27  0x0000001b 
int  TextView_enabled 

Deprecated: use state_enabled instead. 

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

47  0x0000002f 
int  TextView_gravity 

Vertical gravity (top, center_vertical, bottom) when the text is smaller than the view. 

10  0x0000000a 
int  TextView_height 

Makes the TextView be exactly this many pixels tall. 

24  0x00000018 
int  TextView_hint 

Hint text to display when the text is empty. 

19  0x00000013 
int  TextView_includeFontPadding 

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

34  0x00000022 
int  TextView_inputMethod 

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

43  0x0000002b 
int  TextView_lines 

Makes the TextView be exactly this many lines tall

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

23  0x00000017 
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. 

12  0x0000000c 
int  TextView_maxEms 

Makes the TextView be at most this many ems wide

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

26  0x0000001a 
int  TextView_maxHeight 

Makes the TextView be at most this many pixels tall

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

14  0x0000000e 
int  TextView_maxLength 

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

35  0x00000023 
int  TextView_maxLines 

Makes the TextView be at most this many lines tall

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

22  0x00000016 
int  TextView_maxWidth 

Makes the TextView be at most this many pixels wide

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

13  0x0000000d 
int  TextView_minEms 

Makes the TextView be at least this many ems wide

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

29  0x0000001d 
int  TextView_minHeight 

Makes the TextView be at least this many pixels tall

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

16  0x00000010 
int  TextView_minLines 

Makes the TextView be at least this many lines tall

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

25  0x00000019 
int  TextView_minWidth 

Makes the TextView be at least this many pixels wide

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

15  0x0000000f 
int  TextView_numeric 

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

40  0x00000028 
int  TextView_password 

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

31  0x0000001f 
int  TextView_phoneNumber 

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

42  0x0000002a 
int  TextView_scrollHorizontally 

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

30  0x0000001e 
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. 

33  0x00000021 
int  TextView_shadowColor 

Place a shadow of the specified color behind the text. 

36  0x00000024 
int  TextView_shadowDx 

Horizontal offset of the shadow. 

37  0x00000025 
int  TextView_shadowDy 

Vertical offset of the shadow. 

38  0x00000026 
int  TextView_shadowRadius 

Radius of the shadow. 

39  0x00000027 
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. 

32  0x00000020 
int  TextView_text 

Text to display. 

18  0x00000012 
int  TextView_textAppearance 

Base text color, typeface, size, and style. 

0x00000001 
int  TextView_textColor 

Text color. 

0x00000005 
int  TextView_textColorHighlight 

Color of the text selection highlight. 

0x00000006 
int  TextView_textColorHint 

Color of the hint text. 

0x00000007 
int  TextView_textColorLink 

Text color for links. 

0x00000008 
int  TextView_textScaleX 

Sets the horizontal scaling factor for the text

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

20  0x00000014 
int  TextView_textSize 

Size of the text. 

0x00000002 
int  TextView_textStyle 

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

0x00000004 
int  TextView_typeface 

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

0x00000003 
int  TextView_width 

Makes the TextView be exactly this many pixels wide. 

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

Default AbsListView style. 

51  0x00000033 
int  Theme_alertDialogStyle 

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

45  0x0000002d 
int  Theme_autoCompleteTextViewStyle 

Default AutoCompleteTextView style. 

52  0x00000034 
int  Theme_backgroundDimAmount 

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

0x00000002 
int  Theme_buttonStyle 

Normal Button style. 

24  0x00000018 
int  Theme_buttonStyleInset 

Button style to inset into an EditText. 

26  0x0000001a 
int  Theme_buttonStyleSmall 

Small Button style. 

25  0x00000019 
int  Theme_buttonStyleToggle 

ToggleButton style. 

27  0x0000001b 
int  Theme_checkBoxPreferenceStyle 

Default style for CheckBoxPreference. 

87  0x00000057 
int  Theme_checkboxStyle 

Default Checkbox style. 

53  0x00000035 
int  Theme_colorBackground 

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

0x00000001 
int  Theme_colorForeground 

Default color of foreground imagery. 

0x00000000 
int  Theme_colorForegroundInverse 

Default color of foreground imagery on an inverted background. 

94  0x0000005e 
int  Theme_dialogPreferenceStyle 

Default style for DialogPreference. 

89  0x00000059 
int  Theme_disabledAlpha 

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

0x00000003 
int  Theme_dropDownHintAppearance 

Default style for drop down hints. 

80  0x00000050 
int  Theme_dropDownItemStyle 

Default style for drop down items. 

78  0x0000004e 
int  Theme_dropDownListViewStyle 

Default ListView style for drop downs. 

54  0x00000036 
int  Theme_editTextPreferenceStyle 

Default style for EditTextPreference. 

90  0x0000005a 
int  Theme_editTextStyle 

Default EditText style. 

55  0x00000037 
int  Theme_expandableListPreferredChildIndicatorLeft 

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

34  0x00000022 
int  Theme_expandableListPreferredChildIndicatorRight 

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

35  0x00000023 
int  Theme_expandableListPreferredChildPaddingLeft 

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

31  0x0000001f 
int  Theme_expandableListPreferredItemIndicatorLeft 

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

32  0x00000020 
int  Theme_expandableListPreferredItemIndicatorRight 

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

33  0x00000021 
int  Theme_expandableListPreferredItemPaddingLeft 

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

30  0x0000001e 
int  Theme_expandableListViewStyle 

Default ExpandableListView style. 

56  0x00000038 
int  Theme_galleryItemBackground 

The preferred background for gallery items. 

28  0x0000001c 
int  Theme_galleryStyle 

Default Gallery style. 

57  0x00000039 
int  Theme_gridViewStyle 

Default GridView style. 

58  0x0000003a 
int  Theme_imageButtonStyle 

The style resource to use for an ImageButton

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

59  0x0000003b 
int  Theme_imageWellStyle 

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

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

60  0x0000003c 
int  Theme_listDivider 

The drawable for the list divider

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

102  0x00000066 
int  Theme_listPreferredItemHeight 

The preferred list item height

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

29  0x0000001d 
int  Theme_listSeparatorTextViewStyle 

TextView style for list separators. 

96  0x00000060 
int  Theme_listViewStyle 

Default ListView style. 

61  0x0000003d 
int  Theme_listViewWhiteStyle 

ListView with white background. 

62  0x0000003e 
int  Theme_mapViewStyle 

Default MapView style. 

82  0x00000052 
int  Theme_panelBackground 

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

46  0x0000002e 
int  Theme_panelColorBackground 

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

49  0x00000031 
int  Theme_panelColorForeground 

Default color of foreground panel imagery. 

48  0x00000030 
int  Theme_panelFullBackground 

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

47  0x0000002f 
int  Theme_panelTextAppearance 

Default appearance of panel text. 

50  0x00000032 
int  Theme_popupWindowStyle 

Default PopupWindow style. 

63  0x0000003f 
int  Theme_preferenceCategoryStyle 

Default style for PreferenceCategory. 

84  0x00000054 
int  Theme_preferenceInformationStyle 

Default style for informational Preference. 

85  0x00000055 
int  Theme_preferenceLayoutChild 

The preference layout that has the child/tabbed effect. 

92  0x0000005c 
int  Theme_preferenceScreenStyle 

Default style for PreferenceScreen. 

83  0x00000053 
int  Theme_preferenceStyle 

Default style for Preference. 

86  0x00000056 
int  Theme_progressBarStyle 

Default ProgressBar style. 

64  0x00000040 
int  Theme_progressBarStyleHorizontal 

Horizontal ProgressBar style. 

65  0x00000041 
int  Theme_progressBarStyleLarge 

Large ProgressBar style. 

67  0x00000043 
int  Theme_progressBarStyleSmall 

Small ProgressBar style. 

66  0x00000042 
int  Theme_progressBarStyleSmallTitle 

Small ProgressBar in title style. 

98  0x00000062 
int  Theme_radioButtonStyle 

Default RadioButton style. 

71  0x00000047 
int  Theme_ratingBarStyle 

Default RatingBar style. 

69  0x00000045 
int  Theme_ratingBarStyleIndicator 

Indicator RatingBar style. 

99  0x00000063 
int  Theme_ratingBarStyleSmall 

Small indicator RatingBar style. 

70  0x00000046 
int  Theme_ringtonePreferenceStyle 

Default style for RingtonePreference. 

91  0x0000005b 
int  Theme_scrollViewStyle 

Default ScrollView style. 

72  0x00000048 
int  Theme_seekBarStyle 

Default SeekBar style. 

68  0x00000044 
int  Theme_spinnerDropDownItemStyle 

Default style for spinner drop down items. 

79  0x0000004f 
int  Theme_spinnerItemStyle 

Default spinner item style. 

81  0x00000051 
int  Theme_spinnerStyle 

Default Spinner style. 

73  0x00000049 
int  Theme_starStyle 

Default Star style. 

74  0x0000004a 
int  Theme_tabWidgetStyle 

Default TabWidget style. 

75  0x0000004b 
int  Theme_textAppearance 

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

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

0x00000004 
int  Theme_textAppearanceButton 

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

95  0x0000005f 
int  Theme_textAppearanceInverse 

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

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

0x00000005 
int  Theme_textAppearanceLarge 

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

16  0x00000010 
int  Theme_textAppearanceLargeInverse 

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

19  0x00000013 
int  Theme_textAppearanceMedium 

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

17  0x00000011 
int  Theme_textAppearanceMediumInverse 

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

20  0x00000014 
int  Theme_textAppearanceSmall 

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

18  0x00000012 
int  Theme_textAppearanceSmallInverse 

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

21  0x00000015 
int  Theme_textCheckMark 

Drawable to use for check marks

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

22  0x00000016 
int  Theme_textCheckMarkInverse 

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

23  0x00000017 
int  Theme_textColorHintInverse 

Inverse hint text color

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

15  0x0000000f 
int  Theme_textColorPrimary 

The most prominent text color, for the

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

0x00000006 
int  Theme_textColorPrimaryDisableOnly 

Bright text color. 

0x00000007 
int  Theme_textColorPrimaryInverse 

Primary inverse text color, useful for inverted backgrounds

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

0x00000009 
int  Theme_textColorPrimaryInverseNoDisable 

Bright inverse text color. 

13  0x0000000d 
int  Theme_textColorPrimaryNoDisable 

Bright text color. 

11  0x0000000b 
int  Theme_textColorSecondary 

Secondary text color

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

0x00000008 
int  Theme_textColorSecondaryInverse 

Secondary inverse text color, useful for inverted backgrounds

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

10  0x0000000a 
int  Theme_textColorSecondaryInverseNoDisable 

Dim inverse text color. 

14  0x0000000e 
int  Theme_textColorSecondaryNoDisable 

Dim text color. 

12  0x0000000c 
int  Theme_textColorTertiary 

Tertiary text color

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

100  0x00000064 
int  Theme_textColorTertiaryInverse 

Tertiary inverse text color, useful for inverted backgrounds

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

101  0x00000065 
int  Theme_textViewStyle 

Default TextView style. 

76  0x0000004c 
int  Theme_webViewStyle 

Default WebView style. 

77  0x0000004d 
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

93  0x0000005d 
int  Theme_windowBackground 

Drawable to use as the overall window background. 

36  0x00000024 
int  Theme_windowContentOverlay 

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

41  0x00000029 
int  Theme_windowFrame 

Drawable to use as a frame around the window. 

37  0x00000025 
int  Theme_windowFullscreen 

Flag indicating whether this window should fill the entire screen. 

97  0x00000061 
int  Theme_windowIsFloating 

Flag indicating whether this is a floating window. 

39  0x00000027 
int  Theme_windowIsTranslucent 

Flag indicating whether this is a translucent window. 

40  0x00000028 
int  Theme_windowNoTitle 

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

38  0x00000026 
int  Theme_windowTitleBackgroundStyle 

The style resource to use for a window's title area. 

44  0x0000002c 
int  Theme_windowTitleSize 

The style resource to use for a window's title bar height. 

42  0x0000002a 
int  Theme_windowTitleStyle 

The style resource to use for a window's title text. 

43  0x0000002b 
int  Theme_yesNoPreferenceStyle 

Default style for YesNoPreference. 

88  0x00000058 
int[]  ToggleButton  Attributes that can be used with a ToggleButton.     
int  ToggleButton_disabledAlpha 

The alpha to apply to the indicator when disabled. 

0x00000000 
int  ToggleButton_textOff 

The text for the button when it is not checked. 

0x00000002 
int  ToggleButton_textOn 

The text for the button when it is checked. 

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

0x00000000 
int  TranslateAnimation_fromYDelta 

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

0x00000002 
int  TranslateAnimation_toXDelta 

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

0x00000001 
int  TranslateAnimation_toYDelta 

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

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

0x00000000 
int[]  VerticalSlider  Attributes that can be used with a VerticalSlider.     
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. 

0x00000000 
int  VerticalSlider_animationDuration 

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

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

0x00000000 
int  ViewAnimator_outAnimation 

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

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

State value for StateListDrawable

0x00000002 
int  ViewDrawableStates_state_focused 

State value for StateListDrawable

0x00000000 
int  ViewDrawableStates_state_pressed 

State value for StateListDrawable

0x00000004 
int  ViewDrawableStates_state_selected 

State value for StateListDrawable

0x00000003 
int  ViewDrawableStates_state_window_focused 

State value for StateListDrawable

0x00000001 
int[]  ViewFlipper  Attributes that can be used with a ViewFlipper.     
int  ViewFlipper_flipInterval 

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

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

0x00000001 
int  ViewGroup_Layout_layout_width 

Specifies the basic width of the view. 

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

0x00000001 
int  ViewGroup_MarginLayout_layout_margin 

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

0x00000002 
int  ViewGroup_MarginLayout_layout_marginBottom 

Specifies extra space on the bottom side of this view. 

0x00000006 
int  ViewGroup_MarginLayout_layout_marginLeft 

Specifies extra space on the left side of this view. 

0x00000003 
int  ViewGroup_MarginLayout_layout_marginRight 

Specifies extra space on the right side of this view. 

0x00000005 
int  ViewGroup_MarginLayout_layout_marginTop 

Specifies extra space on the top side of this view. 

0x00000004 
int  ViewGroup_MarginLayout_layout_width 

Specifies the basic width of the view. 

0x00000000 
int  ViewGroup_addStatesFromChildren 

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

0x00000006 
int  ViewGroup_alwaysDrawnWithCache 

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

0x00000005 
int  ViewGroup_animationCache 

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

0x00000003 
int  ViewGroup_clipChildren 

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

0x00000000 
int  ViewGroup_clipToPadding 

Defines whether the ViewGroup will clip its drawing surface so as to exclude the padding area. 

0x00000001 
int  ViewGroup_descendantFocusability 

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

0x00000007 
int  ViewGroup_layoutAnimation 

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

0x00000002 
int  ViewGroup_persistentDrawingCache 

Defines the persistence of the drawing cache. 

0x00000004 
int[]  ViewStub  Attributes that can be used with ViewStub    
int  ViewStub_inflatedId 

Overrides the id of the inflated View with this value. 

0x00000001 
int  ViewStub_layout 

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

0x00000000 
int[]  ViewSwitcher  Attributes that can be used with a ViewSwitcher.     
int  View_background 

A drawable to use as the background. 

12  0x0000000c 
int  View_clickable 

Defines whether this view reacts to click events. 

29  0x0000001d 
int  View_drawingCacheQuality 

Defines the quality of translucent drawing caches. 

32  0x00000020 
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. 

33  0x00000021 
int  View_fadingEdge 

Defines which edges should be fadeded on scrolling. 

23  0x00000017 
int  View_fadingEdgeLength 

Defines the length of the fading edges. 

24  0x00000018 
int  View_fitsSystemWindows 

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

21  0x00000015 
int  View_focusable 

Boolean that controls whether a view can take focus. 

18  0x00000012 
int  View_focusableInTouchMode 

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

19  0x00000013 
int  View_id 

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

0x00000008 
int  View_keepScreenOn 

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

36  0x00000024 
int  View_longClickable 

Defines whether this view reacts to long click events. 

30  0x0000001e 
int  View_minHeight 

Defines the minimum height of the view. 

35  0x00000023 
int  View_minWidth 

Defines the minimum width of the view. 

34  0x00000022 
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. 

28  0x0000001c 
int  View_nextFocusLeft 

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

25  0x00000019 
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. 

26  0x0000001a 
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. 

27  0x0000001b 
int  View_padding 

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

13  0x0000000d 
int  View_paddingBottom 

Sets the padding, in pixels, of the bottom edge; see padding

17  0x00000011 
int  View_paddingLeft 

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

14  0x0000000e 
int  View_paddingRight 

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

16  0x00000010 
int  View_paddingTop 

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

15  0x0000000f 
int  View_saveEnabled 

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

31  0x0000001f 
int  View_scrollX 

The initial horizontal scroll offset, in pixels. 

10  0x0000000a 
int  View_scrollY 

The initial vertical scroll offset, in pixels. 

11  0x0000000b 
int  View_scrollbarAlwaysDrawHorizontalTrack 

Defines whether the horizontal scrollbar track should always be drawn. 

0x00000005 
int  View_scrollbarAlwaysDrawVerticalTrack 

Defines whether the vertical scrollbar track should always be drawn

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

0x00000006 
int  View_scrollbarSize 

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

0x00000000 
int  View_scrollbarStyle 

Controls the scrollbar style and position. 

0x00000007 
int  View_scrollbarThumbHorizontal 

Defines the horizontal scrollbar thumb drawable. 

0x00000001 
int  View_scrollbarThumbVertical 

Defines the vertical scrollbar thumb drawable. 

0x00000002 
int  View_scrollbarTrackHorizontal 

Defines the horizontal scrollbar track drawable. 

0x00000003 
int  View_scrollbarTrackVertical 

Defines the vertical scrollbar track drawable. 

0x00000004 
int  View_scrollbars 

Defines which scrollbars should be displayed on scrolling or not. 

22  0x00000016 
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()

0x00000009 
int  View_visibility 

Controls the initial visibility of the view. 

20  0x00000014 
int[]  VolumePreference  Base attributes available to VolumePreference.     
int  VolumePreference_streamType 

Different audio stream types. 

0x00000000 
int[]  Window  Attributes that can be used with a Window.     
int[]  WindowAnimation  Attributes that can be used with a WindowAnimation.     
int  WindowAnimation_activityCloseEnterAnimation 

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

0x00000006 
int  WindowAnimation_activityCloseExitAnimation 

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

0x00000007 
int  WindowAnimation_activityOpenEnterAnimation 

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

0x00000004 
int  WindowAnimation_activityOpenExitAnimation 

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

0x00000005 
int  WindowAnimation_taskCloseEnterAnimation 

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

10  0x0000000a 
int  WindowAnimation_taskCloseExitAnimation 

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

11  0x0000000b 
int  WindowAnimation_taskOpenEnterAnimation 

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

0x00000008 
int  WindowAnimation_taskOpenExitAnimation 

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

0x00000009 
int  WindowAnimation_taskToBackEnterAnimation 

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

14  0x0000000e 
int  WindowAnimation_taskToBackExitAnimation 

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

15  0x0000000f 
int  WindowAnimation_taskToFrontEnterAnimation 

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

12  0x0000000c 
int  WindowAnimation_taskToFrontExitAnimation 

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

13  0x0000000d 
int  WindowAnimation_windowEnterAnimation 

The animation used when a window is being added. 

0x00000000 
int  WindowAnimation_windowExitAnimation 

The animation used when a window is being removed. 

0x00000001 
int  WindowAnimation_windowHideAnimation 

The animation used when a window is going from VISIBLE to INVISIBLE. 

0x00000003 
int  WindowAnimation_windowShowAnimation 

The animation used when a window is going from INVISIBLE to VISIBLE. 

0x00000002 
int  Window_textColor 

Color of text (usually same as colorForeground). 

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

0x00000007 
int  Window_windowBackground 

Drawable to use as the overall window background. 

0x00000000 
int  Window_windowContentOverlay 

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

0x00000005 
int  Window_windowFrame 

Drawable to use as a frame around the window. 

0x00000001 
int  Window_windowFullscreen 

Flag indicating whether this window should fill the entire screen. 

0x00000008 
int  Window_windowIsFloating 

Flag indicating whether this is a floating window. 

0x00000003 
int  Window_windowIsTranslucent 

Flag indicating whether this is a translucent window. 

0x00000004 
int  Window_windowNoTitle 

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

0x00000002 

Public Constructors

            R.styleable()
Methods inherited from class java.lang.Object

Details

Constants

public static final int[] AbsListView

Attributes that can be used with a AbsListView.

Includes the following attributes:

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

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

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_listSelector

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

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

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_stackFromBottom

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

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

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

Attributes that can be used with a AbsSpinner.

Includes the following attributes:

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

public static final int AbsSpinner_entries

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

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

Attributes that can be used with a AbsoluteLayout_Layout.

Includes the following attributes:

AttributeSummary
android:layout_x
android:layout_y

public static final 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.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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

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), db (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

Attributes that can be used with a AccelerateInterpolator.

Includes the following attributes:

AttributeSummary
android:factor This is the amount of deceleration to ad when easing in.

public static final int AccelerateInterpolator_factor

This is the amount of deceleration to ad 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 AlertDialog_bottomBright

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

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

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

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

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

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

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

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

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

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

Attributes that can be used with a AlphaAnimation.

Includes the following attributes:

AttributeSummary
android:fromAlpha
android:toAlpha

public static final int AlphaAnimation_fromAlpha

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

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

Attributes that can be used with a AnalogClock.

Includes the following attributes:

AttributeSummary
android:dial
android:hand_hour
android:hand_minute

public static final int AnalogClock_dial

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

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

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

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, application, instrumentation.

Includes the following attributes:

AttributeSummary
android:sharedUserId Specify the name of a user ID that will be shared between multiple packages.

public static final int[] AndroidManifestAction

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:

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

public static final int AndroidManifestAction_name

The name of an action that is handled, using the Java-style naming convention. For example, to support Intent.ACTION_VIEW you would put android.intent.action.VIEW here. Custom actions should generally use a prefix matching the package name.

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

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:

AttributeSummary
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:enabled Specify whether the activity is enabled or not (i.
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: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: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.

public static final int[] AndroidManifestActivityAlias

The activity-alias tag declares a new name for an existing activity tag.

Zero or more intent-filter tags can be included inside of an activity-alias, to specify the Intents that it can handle. If none are specified, the activity can only be started through direct specification of its class name. The activity-alias tag appears as a child tag of the application tag.

Includes the following attributes:

AttributeSummary
android:enabled Specify whether the activity-alias is enabled or not (i.
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_enabled

Specify whether the activity-alias is enabled or not (i.e. 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

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

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

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

Required name of the class implementing the activity, deriving from Activity. This is a fully qualified class name (i.e., 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

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

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: 6 (0x00000006)

public static final int AndroidManifestActivity_allowTaskReparenting

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

Normally when an application is started, it is associated with the task of the activity that started it and stays there for its entire lifetime. You can use the allowTaskReparenting feature to force an activity to be re-parented to a different task when the task it is in goes to the background. Typically this is used to cause the activities of an application to move back to the main task associated with that application. The activity is re-parented to the task with the same 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: 18 (0x00000012)

public static final 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.

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: 17 (0x00000011)

public static final int AndroidManifestActivity_clearTaskOnLaunch

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

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

When this option is used in conjunction with 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

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 accessibility has changed, for example the user has slid the keyboard out to expose it.
navigation0x0040 The navigation type has changed. Should never normally happen.
orientation0x0080 The screen orientation has changed, that is the user has rotated the device.
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_enabled

Specify whether the activity is enabled or not (i.e. 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

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

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_finishOnTaskLaunch

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

If both this option and 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

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

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

Specify how an activity should be launched. See the Application Model documentation for important information on how these options impact the behavior of your application.

If this attribute is not specified, multiple 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
multiple0 The default mode, which always creates a new instance of the activity when it is started.
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 Model 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 Model 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

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

Required name of the class implementing the activity, deriving from Activity. This is a fully qualified class name (i.e., 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_permission

Specify a permission that a client is required to have in order to use the associated object. If the client does not hold the named permission, its request will fail. See the Security Model 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

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

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.
portrait1 Would like to have the screen in a portrait orientation: that is, with the display taller than it is wide.
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: tthe display will not rotate when the user moves the device.

This corresponds to the global attribute resource symbol screenOrientation.

Constant Value: 15 (0x0000000f)

public static final 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. 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

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

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

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:

AttributeSummary
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:debuggable Flag indicating whether the application can be debugged, even when running on a device that is running in user mode.
android:description A longer descriptive text about a particular application or permission that can be granted.
android:enabled Specify whether the components in this application are enabled or not (i.
android:hasCode Indicate whether this application contains code.
android:icon A Drawable resource providing a graphical representation of its associated item.
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:taskAffinity Specify a task name that activities have an "affinity" to.
android:theme The overall theme to use for an activity.

public static final int AndroidManifestApplication_allowClearUserData

Option to let applications specify that user data can/cannot be cleared. Some applications might not want to clear user data. Such applications can explicitly set this value to false. This flag is turned on by default unless explicitly set to false by applications.

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

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_debuggable

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

A longer descriptive text about a particular application or permission that can be granted. This must be a reference to a string resource; unlike the label attribute, this can not be a raw 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 description.

Constant Value: 13 (0x0000000d)

public static final int AndroidManifestApplication_enabled

Specify whether the components in this application are enabled or not (i.e. 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

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

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_label

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

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

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

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

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

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

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

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_taskAffinity

Specify a task name that activities have an "affinity" to. Use with the application tag (to supply a default affinity for all activities in the application), or with the activity tag (to supply a specific affinity for that component).

The default value for this attribute is the same as the package name, indicating that all activities in the manifest should generally be considered a single "application" to the user. You can use this attribute to modify that behavior: either giving them an affinity for another task, if the activities are intended to be part of that task from the user's perspective, or using an empty string for activities that have no affinity to a task.

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_theme

The overall theme to use for an activity. Use with either the application tag (to supply a default theme for all activities) or the activity tag (to supply a specific theme for that activity).

This automatically sets your activity's Context to use this theme, and may also be used for "starting" animations prior to the activity being launched (to better match what the activity actually looks like). It is a reference to a style resource defining the theme. If not set, the default system theme will be used.

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[] AndroidManifestCategory

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:

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

public static final int AndroidManifestCategory_name

The name of category that is handled, using the Java-style naming convention. For example, to support Intent.CATEGORY_LAUNCHER you would put android.intent.category.LAUNCHER here. Custom actions should generally use a prefix matching the package name.

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[] AndroidManifestData

Attributes that can be supplied in an AndroidManifest.xml data tag, a child of the intent-filter tag, describing the types of data that match. This tag can be specified multiple times to supply multiple data options, as described in the IntentFilter class. Note that all such tags are adding options to the same IntentFilter so that, for example, <data android:scheme="myscheme" android:host="me.com" /> is equivalent to <data android:scheme="myscheme" /> <data android:host="me.com" />.

Includes the following attributes:

AttributeSummary
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

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

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

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

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

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

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

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

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

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

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

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:

AttributeSummary
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

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

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

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

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

Includes the following attributes:

AttributeSummary
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

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

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

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

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

Required name of the class implementing the instrumentation, deriving from Instrumentation. This is a fully qualified class name (i.e., 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

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

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:

AttributeSummary
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

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

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

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

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:

AttributeSummary
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

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

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

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[] AndroidManifestPermission

The permission tag declares a security permission that can be used to control access from other packages to specific components or features in your package (or other packages). See the Security Model document for more information on permissions.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeSummary
android:description A longer descriptive text about a particular application or permission that can be granted.
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 Specifies the degree of protection that should be associated with a permission, indicating how much a holder of the permission can compromise the system.

public static final int[] AndroidManifestPermissionGroup

The permission-group tag declares a logical grouping of related permissions.

Note that this tag does not declare a permission itself, only a namespace in which further permissions can be placed. See the <permission> tag for more information.

This appears as a child tag of the root manifest tag.

Includes the following attributes:

AttributeSummary
android:description A longer descriptive text about a particular application or permission that can be granted.
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

A longer descriptive text about a particular application or permission that can be granted. This must be a reference to a string resource; unlike the label attribute, this can not be a raw 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 description.

Constant Value: 3 (0x00000003)

public static final int AndroidManifestPermissionGroup_icon

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

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

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

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

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

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:

AttributeSummary
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

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

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

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

A longer descriptive text about a particular application or permission that can be granted. This must be a reference to a string resource; unlike the label attribute, this can not be a raw 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 description.

Constant Value: 5 (0x00000005)

public static final int AndroidManifestPermission_icon

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

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

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

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

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

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

Specifies the degree of protection that should be associated with a permission, indicating how much a holder of the permission can compromise the system.

Must be one of the following constant values.

ConstantValueDescription
normal0 A normal permission, allowing the holder to get to application-level features that are not especially dangerous to possess. This is the default protection level.
dangerous1 A permission that is more dangerous than normal, or not normally needed by applications. Such permissions may not be granted to an application without the user's explicit confirmation.
signature2 A permission that can only be granted to other packages that are signed with the same signature as the one declaring the permission.
signatureOrSystem3 A special type of signed permission that is also granted to any package installed in the system image. Please don't use this unless you absolutely need to.

This corresponds to the global attribute resource symbol protectionLevel.

Constant Value: 3 (0x00000003)

public static final int[] AndroidManifestProvider

The provider tag declares a ContentProvider class that is available as part of the package's application components, supplying structured access to data managed by the application.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeSummary
android:authorities Specify the authorities under which this content provider can be found.
android:enabled Specify whether this provider is enabled or not (i.
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

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_enabled

Specify whether this provider is enabled or not (i.e. 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

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

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

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

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

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

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

Required name of the class implementing the provider, deriving from ContentProvider. This is a fully qualified class name (i.e., 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

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

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

A specific permission name for read-only access to a ContentProvider. See the Security Model 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

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

A specific permission name for write access to a ContentProvider. See the Security Model 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

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:

AttributeSummary
android:enabled Specify whether the receiver is enabled or not (i.
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_enabled

Specify whether the receiver is enabled or not (i.e. 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

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

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

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

Required name of the class implementing the receiver, deriving from BroadcastReceiver. This is a fully qualified class name (i.e., 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

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

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

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:

AttributeSummary
android:enabled Specify whether the service is enabled or not (i.
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_enabled

Specify whether the service is enabled or not (i.e. 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

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

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

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

Required name of the class implementing the service, deriving from Service. This is a fully qualified class name (i.e., 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

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

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[] AndroidManifestUsesLibrary

The uses-libraries specifies a shared library that this package requires to be linked against. Specifying this flag tells the system to include this library's code in your class loader.

This appears as a child tag of the application tag.

Includes the following attributes:

AttributeSummary
android:name Required name of the library you use.

public static final int AndroidManifestUsesLibrary_name

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[] AndroidManifestUsesPermission

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

AttributeSummary
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

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

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:

AttributeSummary
android:minSdkVersion This is the minimum SDK version number that the application requires.

public static final int AndroidManifestUsesSdk_minSdkVersion

This is the minimum SDK version number that the application requires. Currently there is only one SDK version, 1. If not supplied, the application will work on any SDK.

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

Constant Value: 0 (0x00000000)

public static final int AndroidManifest_sharedUserId

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[] Animation

Attributes that can be used with a Animation.

Includes the following attributes:

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

Attributes that can be used with a AnimationDrawable.

Includes the following attributes:

AttributeSummary
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

Attributes that can be used with a AnimationDrawableItem.

Includes the following attributes:

AttributeSummary
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

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

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

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

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

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

Attributes that can be used with a AnimationSet.

Includes the following attributes:

AttributeSummary
android:shareInterpolator

public static final int AnimationSet_shareInterpolator

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_duration

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

When set to true, the animation transformation is applied after the animation is over. 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 fillAfter.

Constant Value: 3 (0x00000003)

public static final int Animation_fillBefore

When set to true, the animation transformation is applied before the animation has started. 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 fillBefore.

Constant Value: 2 (0x00000002)

public static final int Animation_interpolator

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

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

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

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

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[] AutoCompleteTextView

Attributes that can be used with a AutoCompleteTextView.

Includes the following attributes:

AttributeSummary
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:dropDownSelector Selector in a drop down list.

public static final int AutoCompleteTextView_completionHint

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

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

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_dropDownSelector

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[] BitmapDrawable

Drawable used to draw bitmaps.

Includes the following attributes:

AttributeSummary
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

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

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

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

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.

This corresponds to the global attribute resource symbol gravity.

Constant Value: 0 (0x00000000)

public static final int BitmapDrawable_src

Identifier of the bitmap file. This attribute is mandatory.

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

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

Attributes that can be used with a Button.

public static final int[] CheckBoxPreference

Base attributes available to CheckBoxPreference.

Includes the following attributes:

AttributeSummary
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

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

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

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

Attributes that can be used with a CheckedTextView.

Includes the following attributes:

AttributeSummary
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

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

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

Attributes that can be used with a Chronometer.

Includes the following attributes:

AttributeSummary
android: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.

public static final int Chronometer_format

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

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

Constant Value: 0 (0x00000000)

public static final int[] ClipDrawable

Attributes that can be used with a ClipDrawable.

Includes the following attributes:

AttributeSummary
android:clipOrientation The orientation for the clip.
android:drawable Reference to a drawable resource to draw with the specified scale.
android:gravity Specifies where to clip within the drawable.

public static final int ClipDrawable_clipOrientation

The orientation for the clip.

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

ConstantValueDescription
horizontal1 Clip the drawable horizontally.
vertical2 Clip the drawable vertically.

This corresponds to the global attribute resource symbol clipOrientation.

Constant Value: 2 (0x00000002)

public static final int ClipDrawable_drawable

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

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 ClipDrawable_gravity

Specifies where to clip within the drawable. The default value is left.

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

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

This corresponds to the global attribute resource symbol gravity.

Constant Value: 0 (0x00000000)

public static final int[] ColorDrawable

Drawable used to draw a single color.

Includes the following attributes:

AttributeSummary
android:color The color to use.

public static final int ColorDrawable_color

The color to use.

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

Constant Value: 0 (0x00000000)

public static final int[] CompoundButton

Attributes that can be used with a CompoundButton.

Includes the following attributes:

AttributeSummary
android:button Drawable used for the button graphic (e.
android:checked Indicates the initial checked state of this button

public static final int CompoundButton_button

Drawable used for the button graphic (e.g. checkbox, radio button, etc).

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

Constant Value: 1 (0x00000001)

public static final int CompoundButton_checked

Indicates the initial checked state of this button

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[] CycleInterpolator

Attributes that can be used with a CycleInterpolator.

Includes the following attributes:

AttributeSummary
android:cycles

public static final int CycleInterpolator_cycles

This symbol is the offset where the cycles attribute's value can be found in the CycleInterpolator 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[] DatePicker

Attributes that can be used with a DatePicker.

Includes the following attributes:

AttributeSummary
android:endYear The last year (inclusive) i.
android:startYear The first year (inclusive) i.

public static final int DatePicker_endYear

The last year (inclusive) i.e. 2010

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

Constant Value: 1 (0x00000001)

public static final int DatePicker_startYear

The first year (inclusive) i.e. 1940

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

Constant Value: 0 (0x00000000)

public static final int[] DecelerateInterpolator

Attributes that can be used with a DecelerateInterpolator.

Includes the following attributes:

AttributeSummary
android:factor This is the amount of acceleration to ad when easing out.

public static final int DecelerateInterpolator_factor

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

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[] DialogPreference

Base attributes available to DialogPreference.

Includes the following attributes:

AttributeSummary
android:dialogIcon The icon for the dialog.
android:dialogLayout A layout to be used as the content View for the dialog.
android:dialogMessage The message in the dialog.
android:dialogTitle The title in the dialog.
android:negativeButtonText The negative button text for the dialog.
android:positiveButtonText The positive button text for the dialog.

public static final int DialogPreference_dialogIcon

The icon for the dialog.

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

Constant Value: 2 (0x00000002)

public static final int DialogPreference_dialogLayout

A layout to be used as the content View for the dialog. By default, this shouldn't be needed. If a custom DialogPreference is required, this should be set. For example, the EditTextPreference uses a layout with an EditText as this attribute.

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

Constant Value: 5 (0x00000005)

public static final int DialogPreference_dialogMessage

The message in the dialog. If a dialogLayout is provided and contains a TextView with ID android:id/message, this message will be placed in there.

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

Constant Value: 1 (0x00000001)

public static final int DialogPreference_dialogTitle

The title in the dialog.

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

Constant Value: 0 (0x00000000)

public static final int DialogPreference_negativeButtonText

The negative button text for the dialog. Set to @null to hide the negative button.

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

Constant Value: 4 (0x00000004)

public static final int DialogPreference_positiveButtonText

The positive button text for the dialog. Set to @null to hide the positive button.

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

Constant Value: 3 (0x00000003)

public static final int[] Drawable

Base attributes that are available to all Drawable objects.

Includes the following attributes:

AttributeSummary
android:visible Provides initial visibility state of the drawable; the default value is false.

See Also

public static final int DrawableCorners_bottomLeftRadius

This symbol is the offset where the bottomLeftRadius attribute's value can be found in the DrawableCorners 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), db (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: 3 (0x00000003)

public static final int DrawableCorners_bottomRightRadius

This symbol is the offset where the bottomRightRadius attribute's value can be found in the DrawableCorners 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), db (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: 4 (0x00000004)

public static final int DrawableCorners_radius

This symbol is the offset where the radius attribute's value can be found in the DrawableCorners 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), db (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 DrawableCorners_topLeftRadius

This symbol is the offset where the topLeftRadius attribute's value can be found in the DrawableCorners 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), db (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 DrawableCorners_topRightRadius

This symbol is the offset where the topRightRadius attribute's value can be found in the DrawableCorners 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), db (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: 2 (0x00000002)

public static final int[] DrawableStates

Drawable states. The mapping of Drawable states to a particular drawables is specified in the "state" elements of a Widget's "selector" element. Possible values:
  • "state_focused"
  • "state_window_focused"
  • "state_enabled"
  • "state_checked"
  • "state_selected"
  • "state_active"
  • "state_single"
  • "state_first"
  • "state_mid"
  • "state_last"
  • "state_only"
  • "state_pressed"
  • "state_error"
  • "state_circle"
  • "state_rect"
  • "state_grow"
  • "state_move"

Includes the following attributes:

AttributeSummary
android:state_active State value for StateListDrawable.
android:state_checkable State identifier indicating that the object may display a check mark.
android:state_checked State identifier indicating that the object is currently checked.
android:state_enabled State value for StateListDrawable.
android:state_first State value for StateListDrawable.
android:state_focused State value for StateListDrawable.
android:state_last State value for StateListDrawable.
android:state_middle State value for StateListDrawable.
android:state_pressed State value for StateListDrawable.
android:state_selected State value for StateListDrawable.
android:state_single State value for StateListDrawable.
android:state_window_focused State value for StateListDrawable.

public static final int DrawableStates_state_active

State value for StateListDrawable.

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

Constant Value: 6 (0x00000006)

public static final int DrawableStates_state_checkable

State identifier indicating that the object may display a check mark. See state_checked for the identifier that indicates whether it is actually checked.

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

Constant Value: 3 (0x00000003)

public static final int DrawableStates_state_checked

State identifier indicating that the object is currently checked. See state_checkable for an additional identifier that can indicate if any object may ever display a check, regardless of whether state_checked is currently set.

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

Constant Value: 4 (0x00000004)

public static final int DrawableStates_state_enabled

State value for StateListDrawable.

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

Constant Value: 2 (0x00000002)

public static final int DrawableStates_state_first

State value for StateListDrawable.

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

Constant Value: 8 (0x00000008)

public static final int DrawableStates_state_focused

State value for StateListDrawable.

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

Constant Value: 0 (0x00000000)

public static final int DrawableStates_state_last

State value for StateListDrawable.

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

Constant Value: 10 (0x0000000a)

public static final int DrawableStates_state_middle

State value for StateListDrawable.

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

Constant Value: 9 (0x00000009)

public static final int DrawableStates_state_pressed

State value for StateListDrawable.

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

Constant Value: 11 (0x0000000b)

public static final int DrawableStates_state_selected

State value for StateListDrawable.

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

Constant Value: 5 (0x00000005)

public static final int DrawableStates_state_single

State value for StateListDrawable.

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

Constant Value: 7 (0x00000007)

public static final int DrawableStates_state_window_focused

State value for StateListDrawable.

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

Constant Value: 1 (0x00000001)

public static final int Drawable_visible

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[] EditText

Attributes that can be used with a EditText.

public static final int[] ExpandableListChildIndicatorState

State array representing an expandable list child's indicator.

Includes the following attributes:

AttributeSummary
android:state_last State identifier indicating the child is the last child within its group.

public static final int ExpandableListChildIndicatorState_state_last

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

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

Constant Value: 0 (0x00000000)

public static final int[] ExpandableListGroupIndicatorState

State array representing an expandable list group's indicator.

Includes the following attributes:

AttributeSummary
android:state_empty State identifier indicating the group is empty (has no children).
android:state_expanded State identifier indicating the group is expanded.

public static final int ExpandableListGroupIndicatorState_state_empty

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

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

Constant Value: 1 (0x00000001)

public static final int ExpandableListGroupIndicatorState_state_expanded

State identifier indicating the group is expanded.

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

Constant Value: 0 (0x00000000)

public static final int[] ExpandableListView

Attributes that can be used with a ExpandableListView.

Includes the following attributes:

AttributeSummary
android:childDivider Drawable or color that is used as a divider for children.
android:childIndicator Indicator shown beside the child View.
android:childIndicatorLeft The left bound for a child's indicator.
android:childIndicatorRight The right bound for a child's indicator.
android:groupIndicator Indicator shown beside the group View.
android:indicatorLeft The left bound for an item's indicator.
android:indicatorRight The right bound for an item's indicator.

public static final int ExpandableListView_childDivider

Drawable or color that is used as a divider for children. (It will drawn below and above child items.) The height of this will be the same as the height of the normal list item divider.

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

Constant Value: 6 (0x00000006)

public static final int ExpandableListView_childIndicator

Indicator shown beside the child View. This can be a stateful Drawable.

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

Constant Value: 1 (0x00000001)

public static final int ExpandableListView_childIndicatorLeft

The left bound for a child's indicator.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 childIndicatorLeft.

Constant Value: 4 (0x00000004)

public static final int ExpandableListView_childIndicatorRight

The right bound for a child's indicator.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 childIndicatorRight.

Constant Value: 5 (0x00000005)

public static final int ExpandableListView_groupIndicator

Indicator shown beside the group View. This can be a stateful Drawable.

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

Constant Value: 0 (0x00000000)

public static final int ExpandableListView_indicatorLeft

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 indicatorLeft.

Constant Value: 2 (0x00000002)

public static final int ExpandableListView_indicatorRight

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 indicatorRight.

Constant Value: 3 (0x00000003)

public static final int[] FrameLayout

Attributes that can be used with a FrameLayout.

Includes the following attributes:

AttributeSummary
android:foreground Defines the drawable to draw over the content.
android:foregroundGravity Defines the gravity to apply to the foreground drawable.
android:measureAllChildren Determines whether to measure all children or just those in the VISIBLE or INVISIBLE state when measuring.

public static final int[] FrameLayout_Layout

Attributes that can be used with a FrameLayout_Layout.

Includes the following attributes:

AttributeSummary
android:layout_gravity Standard gravity constant that a child can supply to its parent.

public static final int FrameLayout_Layout_layout_gravity

Standard gravity constant that a child can supply to its parent. Defines how to place an object, both its x and y axis, within a larger containing object.

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.

This corresponds to the global attribute resource symbol layout_gravity.

Constant Value: 0 (0x00000000)

public static final int FrameLayout_foreground

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

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

Constant Value: 0 (0x00000000)

public static final int FrameLayout_foregroundGravity

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

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

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

This corresponds to the global attribute resource symbol foregroundGravity.

Constant Value: 2 (0x00000002)

public static final int FrameLayout_measureAllChildren

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

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

Constant Value: 1 (0x00000001)

public static final int[] Gallery

Attributes that can be used with a Gallery.

Includes the following attributes:

AttributeSummary
android:animationDuration Sets how long a transition animation should run (in milliseconds) when layout has changed.
android:gravity Specifies how to place an object, both its x and y axis, within a larger containing object.
android:spacing
android:unselectedAlpha Sets the alpha on the items that are not selected.

public static final int Gallery_animationDuration

Sets how long a transition animation should run (in milliseconds) when layout has changed. Only relevant if animation is turned on.

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

Constant Value: 1 (0x00000001)

public static final int Gallery_gravity

Specifies how to place an object, both its x and y axis, within a larger containing object.

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.

This corresponds to the global attribute resource symbol gravity.

Constant Value: 0 (0x00000000)

public static final int Gallery_spacing

This symbol is the offset where the spacing attribute's value can be found in the Gallery 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), db (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: 2 (0x00000002)

public static final int Gallery_unselectedAlpha

Sets the alpha on the items that are not selected.

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

Constant Value: 3 (0x00000003)

public static final int[] GradientDrawable

Attributes that can be used with a GradientDrawable.

Includes the following attributes:

AttributeSummary
android:innerRadiusRatio
android:shape
android:thicknessRatio
android:useLevel
android:visible Provides initial visibility state of the drawable; the default value is false.

public static final int GradientDrawableGradient_angle

This symbol is the offset where the angle attribute's value can be found in the GradientDrawableGradient 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: 3 (0x00000003)

public static final int GradientDrawableGradient_centerColor

Optional center color. For linear gradients, use centerX or centerY to place the center color.

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

Constant Value: 8 (0x00000008)

public static final int GradientDrawableGradient_centerX

This symbol is the offset where the centerX attribute's value can be found in the GradientDrawableGradient 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: 5 (0x00000005)

public static final int GradientDrawableGradient_centerY

This symbol is the offset where the centerY attribute's value can be found in the GradientDrawableGradient 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: 6 (0x00000006)

public static final int GradientDrawableGradient_endColor

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

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.

Constant Value: 1 (0x00000001)

public static final int GradientDrawableGradient_gradientRadius

This symbol is the offset where the gradientRadius attribute's value can be found in the GradientDrawableGradient 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: 7 (0x00000007)

public static final int GradientDrawableGradient_startColor

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

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.

Constant Value: 0 (0x00000000)

public static final int GradientDrawableGradient_type

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

Must be one of the following constant values.

ConstantValueDescription
linear0
radial1
sweep2
Constant Value: 4 (0x00000004)

public static final int GradientDrawableGradient_useLevel

This symbol is the offset where the useLevel attribute's value can be found in the GradientDrawableGradient 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: 2 (0x00000002)

public static final int[] GradientDrawablePadding

Attributes that can be used with a GradientDrawablePadding.

Includes the following attributes:

AttributeSummary
android:bottom
android:left
android:right
android:top

public static final int GradientDrawablePadding_bottom

This symbol is the offset where the bottom attribute's value can be found in the GradientDrawablePadding 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), db (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: 3 (0x00000003)

public static final int GradientDrawablePadding_left

This symbol is the offset where the left attribute's value can be found in the GradientDrawablePadding 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), db (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 GradientDrawablePadding_right

This symbol is the offset where the right attribute's value can be found in the GradientDrawablePadding 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), db (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: 2 (0x00000002)

public static final int GradientDrawablePadding_top

This symbol is the offset where the top attribute's value can be found in the GradientDrawablePadding 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), db (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[] GradientDrawableSize

Attributes that can be used with a GradientDrawableSize.

Includes the following attributes:

AttributeSummary
android:height Makes the TextView be exactly this many pixels tall.
android:width Makes the TextView be exactly this many pixels wide.

public static final int GradientDrawableSize_height

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 height.

Constant Value: 0 (0x00000000)

public static final int GradientDrawableSize_width

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 width.

Constant Value: 1 (0x00000001)

public static final int[] GradientDrawableSolid

Attributes that can be used with a GradientDrawableSolid.

Includes the following attributes:

AttributeSummary
android:color

public static final int GradientDrawableSolid_color

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

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.

Constant Value: 0 (0x00000000)

public static final int[] GradientDrawableStroke

Attributes that can be used with a GradientDrawableStroke.

Includes the following attributes:

AttributeSummary
android:color
android:dashGap
android:dashWidth
android:width Makes the TextView be exactly this many pixels wide.

public static final int GradientDrawableStroke_color

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

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.

Constant Value: 1 (0x00000001)

public static final int GradientDrawableStroke_dashGap

This symbol is the offset where the dashGap attribute's value can be found in the GradientDrawableStroke 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), db (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: 3 (0x00000003)

public static final int GradientDrawableStroke_dashWidth

This symbol is the offset where the dashWidth attribute's value can be found in the GradientDrawableStroke 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), db (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: 2 (0x00000002)

public static final int GradientDrawableStroke_width

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 width.

Constant Value: 0 (0x00000000)

public static final int GradientDrawable_innerRadiusRatio

This symbol is the offset where the innerRadiusRatio attribute's value can be found in the GradientDrawable 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: 2 (0x00000002)

public static final int GradientDrawable_shape

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

Must be one of the following constant values.

ConstantValueDescription
rectangle0
oval1
line2
ring3
Constant Value: 1 (0x00000001)

public static final int GradientDrawable_thicknessRatio

This symbol is the offset where the thicknessRatio attribute's value can be found in the GradientDrawable 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: 3 (0x00000003)

public static final int GradientDrawable_useLevel

This symbol is the offset where the useLevel attribute's value can be found in the GradientDrawable 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: 4 (0x00000004)

public static final int GradientDrawable_visible

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[] GridLayoutAnimation

Attributes that can be used with a GridLayoutAnimation.

Includes the following attributes:

AttributeSummary
android:columnDelay Fraction of the animation duration used to delay the beginning of the animation of each column.
android:direction Direction of the animation in the grid.
android:directionPriority Priority of the rows and columns.
android:rowDelay Fraction of the animation duration used to delay the beginning of the animation of each row.

public static final int GridLayoutAnimation_columnDelay

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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

Constant Value: 0 (0x00000000)

public static final int GridLayoutAnimation_direction

Direction of the animation in the grid.

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

ConstantValueDescription
left_to_right0x0 Animates columns from left to right.
right_to_left0x1 Animates columns from right to left.
top_to_bottom0x0 Animates rows from top to bottom.
bottom_to_top0x2 Animates rows from bottom to top.

This corresponds to the global attribute resource symbol direction.

Constant Value: 2 (0x00000002)

public static final int GridLayoutAnimation_directionPriority

Priority of the rows and columns. When the priority is none, both rows and columns have the same priority. When the priority is column, the animations will be applied on the columns first. The same goes for rows.

Must be one of the following constant values.

ConstantValueDescription
none0 Rows and columns are animated at the same time.
column1 Columns are animated first.
row2 Rows are animated first.

This corresponds to the global attribute resource symbol directionPriority.

Constant Value: 3 (0x00000003)

public static final int GridLayoutAnimation_rowDelay

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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

Constant Value: 1 (0x00000001)

public static final int[] GridView

Attributes that can be used with a GridView.

Includes the following attributes:

AttributeSummary
android:columnWidth
android:gravity Specifies how to place an object, both its x and y axis, within a larger containing object.
android:horizontalSpacing
android:numColumns
android:stretchMode
android:verticalSpacing

public static final int GridView_columnWidth

This symbol is the offset where the columnWidth attribute's value can be found in the GridView 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), db (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: 4 (0x00000004)

public static final int GridView_gravity

Specifies how to place an object, both its x and y axis, within a larger containing object.

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.

This corresponds to the global attribute resource symbol gravity.

Constant Value: 0 (0x00000000)

public static final int GridView_horizontalSpacing

This symbol is the offset where the horizontalSpacing attribute's value can be found in the GridView 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), db (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 GridView_numColumns

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

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
auto_fit-1
Constant Value: 5 (0x00000005)

public static final int GridView_stretchMode

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

Must be one of the following constant values.

ConstantValueDescription
none0
spacingWidth1
columnWidth2
Constant Value: 3 (0x00000003)

public static final int GridView_verticalSpacing

This symbol is the offset where the verticalSpacing attribute's value can be found in the GridView 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), db (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: 2 (0x00000002)

public static final int[] IconMenuView

Attributes that can be used with a IconMenuView.

Includes the following attributes:

AttributeSummary
android:maxItemsPerRow Defines the maximum number of items per row.
android:maxRows Defines the maximum number of rows displayed.
android:moreIcon 'More' icon
android:rowHeight Defines the height of each row.

public static final int IconMenuView_maxItemsPerRow

Defines the maximum number of items per row.

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

Constant Value: 2 (0x00000002)

public static final int IconMenuView_maxRows

Defines the maximum number of rows displayed.

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

Constant Value: 1 (0x00000001)

public static final int IconMenuView_moreIcon

'More' icon

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

Constant Value: 3 (0x00000003)

public static final int IconMenuView_rowHeight

Defines the height of each row.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 rowHeight.

Constant Value: 0 (0x00000000)

public static final int[] ImageSwitcher

Attributes that can be used with a ImageSwitcher.

public static final int[] ImageView

Attributes that can be used with a ImageView.

Includes the following attributes:

AttributeSummary
android:adjustViewBounds Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
android:baselineAlignBottom If true, the image view will be baseline aligned with based on its bottom edge
android:cropToPadding If true, the image will be cropped to fit within its padding
android:maxHeight An optional argument to supply a maximum height for this view.
android:maxWidth An optional argument to supply a maximum width for this view.
android:scaleType Controls how the image should be resized or moved to match the size of this ImageView.
android:src Sets a drawable as the content of this ImageView.
android:tint Set a tinting color for the image

public static final int ImageView_adjustViewBounds

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

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

Constant Value: 2 (0x00000002)

public static final int ImageView_baselineAlignBottom

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

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

Constant Value: 6 (0x00000006)

public static final int ImageView_cropToPadding

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

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

Constant Value: 7 (0x00000007)

public static final int ImageView_maxHeight

An optional argument to supply a maximum height for this view. See {see android.widget.ImageView#setMaxHeight} for details.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 maxHeight.

Constant Value: 4 (0x00000004)

public static final int ImageView_maxWidth

An optional argument to supply a maximum width for this view. See {see android.widget.ImageView#setMaxWidth} for details.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 maxWidth.

Constant Value: 3 (0x00000003)

public static final int ImageView_scaleType

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

Must be one of the following constant values.

ConstantValueDescription
matrix0
fitXY1
fitStart2
fitCenter3
fitEnd4
center5
centerCrop6
centerInside7

This corresponds to the global attribute resource symbol scaleType.

Constant Value: 1 (0x00000001)

public static final int ImageView_src

Sets a drawable as the content of this ImageView.

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

public static final int ImageView_tint

Set a tinting color for the image

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

Constant Value: 5 (0x00000005)

public static final int[] InsetDrawable

Attributes that can be used with a InsetDrawable.

Includes the following attributes:

AttributeSummary
android:drawable Reference to a drawable resource to use for the frame.
android:insetBottom
android:insetLeft
android:insetRight
android:insetTop
android:visible Provides initial visibility state of the drawable; the default value is false.

public static final int InsetDrawable_drawable

Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.

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 InsetDrawable_insetBottom

This symbol is the offset where the insetBottom attribute's value can be found in the InsetDrawable 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), db (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: 5 (0x00000005)

public static final int InsetDrawable_insetLeft

This symbol is the offset where the insetLeft attribute's value can be found in the InsetDrawable 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), db (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: 2 (0x00000002)

public static final int InsetDrawable_insetRight

This symbol is the offset where the insetRight attribute's value can be found in the InsetDrawable 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), db (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: 3 (0x00000003)

public static final int InsetDrawable_insetTop

This symbol is the offset where the insetTop attribute's value can be found in the InsetDrawable 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), db (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: 4 (0x00000004)

public static final int InsetDrawable_visible

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[] Intent

Declaration of an Intent object in XML. May also include zero or more and {@link #IntentExtra tags.

Includes the following attributes:

AttributeSummary
android:action The action name to assign to the Intent, as per Intent.setAction().
android:data The data URI to assign to the Intent, as per Intent.setData().
android:mimeType The MIME type name to assign to the Intent, as per Intent.setType().
android:targetClass The class part of the ComponentName to assign to the Intent, as per Intent.setComponent().
android:targetPackage The package part of the ComponentName to assign to the Intent, as per Intent.setComponent().

public static final int[] IntentCategory

A category to add to an Intent, as per Intent.addCategory().

Includes the following attributes:

AttributeSummary
android:name Required name of the category.

public static final int IntentCategory_name

Required name of the category.

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[] IntentExtra

An extra data value to place in the Intent, as per Intent.putExtra().

Includes the following attributes:

AttributeSummary
android:name Required name of the extra data.
android:value Concrete value to put for this named extra data.

public static final int IntentExtra_name

Required name of the extra data.

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 IntentExtra_value

Concrete value to put for this named extra data.

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

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

May be a boolean value, 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 Intent_action

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

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

Constant Value: 2 (0x00000002)

public static final int Intent_data

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

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

Constant Value: 3 (0x00000003)

public static final int Intent_mimeType

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

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: 1 (0x00000001)

public static final int Intent_targetClass

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

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

Constant Value: 4 (0x00000004)

public static final int Intent_targetPackage

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

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: 0 (0x00000000)

public static final int[] LayerDrawableItem

Attributes that can be used with a LayerDrawableItem.

Includes the following attributes:

AttributeSummary
android:bottom
android:drawable Reference to a drawable resource to use for the frame.
android:id Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:left
android:right
android:top

public static final int LayerDrawableItem_bottom

This symbol is the offset where the bottom attribute's value can be found in the LayerDrawableItem 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), db (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: 5 (0x00000005)

public static final int LayerDrawableItem_drawable

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 LayerDrawableItem_id

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

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

Constant Value: 0 (0x00000000)

public static final int LayerDrawableItem_left

This symbol is the offset where the left attribute's value can be found in the LayerDrawableItem 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), db (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: 2 (0x00000002)

public static final int LayerDrawableItem_right

This symbol is the offset where the right attribute's value can be found in the LayerDrawableItem 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), db (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: 4 (0x00000004)

public static final int LayerDrawableItem_top

This symbol is the offset where the top attribute's value can be found in the LayerDrawableItem 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), db (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: 3 (0x00000003)

public static final int[] LayoutAnimation

Attributes that can be used with a LayoutAnimation.

Includes the following attributes:

AttributeSummary
android:animation Animation to use on each child.
android:animationOrder The order in which the animations will be started.
android:delay Fraction of the animation duration used to delay the beginning of the animation of each child.
android:interpolator Interpolator used to interpolate the delay between the start of each animation.

public static final int LayoutAnimation_animation

Animation to use on each child.

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

Constant Value: 2 (0x00000002)

public static final int LayoutAnimation_animationOrder

The order in which the animations will be started.

Must be one of the following constant values.

ConstantValueDescription
normal0 Animations are started in the natural order.
reverse1 Animations are started in the reverse order.
random2 Animations are started randomly.

This corresponds to the global attribute resource symbol animationOrder.

Constant Value: 3 (0x00000003)

public static final int LayoutAnimation_delay

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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

Constant Value: 1 (0x00000001)

public static final int LayoutAnimation_interpolator

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

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[] LevelListDrawableItem

Attributes that can be used with a LevelListDrawableItem.

Includes the following attributes:

AttributeSummary
android:drawable Reference to a drawable resource to use for the frame.
android:maxLevel
android:minLevel

public static final int LevelListDrawableItem_drawable

Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.

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: 0 (0x00000000)

public static final int LevelListDrawableItem_maxLevel

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

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.

Constant Value: 2 (0x00000002)

public static final int LevelListDrawableItem_minLevel

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

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.

Constant Value: 1 (0x00000001)

public static final int[] LinearLayout

Attributes that can be used with a LinearLayout.

Includes the following attributes:

AttributeSummary
android:animationDuration Sets how long a transition animation should run (in milliseconds) when layout has changed.
android:baselineAligned When set to false, prevents the layout from aligning its children's baselines.
android: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 (i.
android:gravity Specifies how to place an object, both its x and y axis, within a larger containing object.
android:orientation Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column.
android:weightSum Defines the maximum weight sum.

public static final int[] LinearLayout_Layout

Attributes that can be used with a LinearLayout_Layout.

Includes the following attributes:

AttributeSummary
android:layout_gravity Standard gravity constant that a child can supply to its parent.
android:layout_height Specifies the basic height of the view.
android:layout_weight
android:layout_width Specifies the basic width of the view.

public static final int LinearLayout_Layout_layout_gravity

Standard gravity constant that a child can supply to its parent. Defines how to place an object, both its x and y axis, within a larger containing object.

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.

This corresponds to the global attribute resource symbol layout_gravity.

Constant Value: 0 (0x00000000)

public static final int LinearLayout_Layout_layout_height

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

This corresponds to the global attribute resource symbol layout_height.

Constant Value: 2 (0x00000002)

public static final 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.

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: 3 (0x00000003)

public static final int LinearLayout_Layout_layout_width

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

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

This corresponds to the global attribute resource symbol layout_width.

Constant Value: 1 (0x00000001)

public static final int LinearLayout_animationDuration

Sets how long a transition animation should run (in milliseconds) when layout has changed. Only relevant if animation is turned on.

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

Constant Value: 2 (0x00000002)

public static final int LinearLayout_baselineAligned

When set to false, prevents the layout from aligning its children's baselines. This attribute is particularly useful when the children use different values for gravity. The default value is true.

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

Constant Value: 3 (0x00000003)

public static final int LinearLayout_baselineAlignedChildIndex

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

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

Constant Value: 4 (0x00000004)

public static final int LinearLayout_gravity

Specifies how to place an object, both its x and y axis, within a larger containing object.

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.

This corresponds to the global attribute resource symbol gravity.

Constant Value: 0 (0x00000000)

public static final int LinearLayout_orientation

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

Must be one of the following constant values.

ConstantValueDescription
horizontal0 Defines an horizontal widget.
vertical1 Defines a vertical widget.

This corresponds to the global attribute resource symbol orientation.

Constant Value: 1 (0x00000001)

public static final int LinearLayout_weightSum

Defines the maximum weight sum. If unspecified, the sum is computed by adding the layout_weight of all of the children. This can be used for instance to give a single child 50% of the total available space by giving it a layout_weight of 0.5 and setting the weightSum to 1.0.

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

Constant Value: 5 (0x00000005)

public static final int[] ListPreference

Base attributes available to ListPreference.

Includes the following attributes:

AttributeSummary
android:entries The human-readable array to present as a list.
android:entryValues The array to find the value to save for a preference when an entry from entries is selected.

public static final int ListPreference_entries

The human-readable array to present as a list. Each entry must have a corresponding index in entryValues.

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 ListPreference_entryValues

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

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

Constant Value: 1 (0x00000001)

public static final int[] ListView

Attributes that can be used with a ListView.

Includes the following attributes:

AttributeSummary
android:choiceMode Defines the choice behavior for the List.
android:divider Drawable or color to draw between list items.
android:dividerHeight Height of the divider.
android:entries Reference to an array resource that will populate the ListView.

public static final int ListView_choiceMode

Defines the choice behavior for the List. By default, Lists do not have any choice behavior. By setting the choiceMode to singleChoice, the List allows up to one item to be in a chosen state. By setting the choiceMode to multipleChoice, the list allows any number of items to be chosen.

Must be one of the following constant values.

ConstantValueDescription
none0 Normal list that does not indicate choices
singleChoice1 The list allows up to one choice
multipleChoice2 The list allows multiple choices

This corresponds to the global attribute resource symbol choiceMode.

Constant Value: 3 (0x00000003)

public static final int ListView_divider

Drawable or color to draw between list items.

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

Constant Value: 1 (0x00000001)

public static final int ListView_dividerHeight

Height of the divider. Will use the intrinsic height of the divider if this is not specified.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 dividerHeight.

Constant Value: 2 (0x00000002)

public static final int ListView_entries

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

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[] MapView

Attributes that can be used with a MapView.

Includes the following attributes:

AttributeSummary
android:apiKey An API Key required to use MapView.

See Also

public static final int MapView_apiKey

An API Key required to use MapView. Currently, this can be an arbitrary string. In order to run on actual devices, though, your app will need an authentic key, but the process for issuing keys is not ready at this time.

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

Constant Value: 0 (0x00000000)

public static final int[] Menu

Base attributes that are available to all Menu objects.

public static final int[] MenuGroup

Base attributes that are available to all groups.

Includes the following attributes:

AttributeSummary
android:checkableBehavior Whether the items are capable of displaying a check mark.
android:enabled Whether the items are enabled.
android:id The ID of the group.
android:menuCategory The category applied to all items within this group.
android:orderInCategory The order within the category applied to all items within this group.
android:visible Whether the items are shown/visible.

public static final int MenuGroup_checkableBehavior

Whether the items are capable of displaying a check mark.

Must be one of the following constant values.

ConstantValueDescription
none0 The items are not checkable.
all1 The items are all checkable.
single2 The items are checkable and there will only be a single checked item in this group.

This corresponds to the global attribute resource symbol checkableBehavior.

Constant Value: 5 (0x00000005)

public static final int MenuGroup_enabled

Whether the items are enabled.

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: 0 (0x00000000)

public static final int MenuGroup_id

The ID of the group.

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

Constant Value: 1 (0x00000001)

public static final int MenuGroup_menuCategory

The category applied to all items within this group. (This will be or'ed with the orderInCategory attribute.)

Must be one of the following constant values.

ConstantValueDescription
container0x00010000 Items are part of a container.
system0x00020000 Items are provided by the system.
secondary0x00030000 Items are user-supplied secondary (infrequently used).
alternative0x00040000 Items are alternative actions.

This corresponds to the global attribute resource symbol menuCategory.

Constant Value: 3 (0x00000003)

public static final int MenuGroup_orderInCategory

The order within the category applied to all items within this group. (This will be or'ed with the category attribute.)

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

Constant Value: 4 (0x00000004)

public static final int MenuGroup_visible

Whether the items are shown/visible.

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: 2 (0x00000002)

public static final int[] MenuItem

Base attributes that are available to all Item objects.

Includes the following attributes:

AttributeSummary
android:alphabeticShortcut The alphabetic shortcut key.
android:checkable Whether the item is capable of displaying a check mark.
android:checked Whether the item is checked.
android:enabled Whether the item is enabled.
android:icon The icon associated with this item.
android:id The ID of the item.
android:menuCategory The category applied to the item.
android:numericShortcut The numeric shortcut key.
android:orderInCategory The order within the category applied to the item.
android:title The title associated with the item.
android:titleCondensed The condensed title associated with the item.
android:visible Whether the item is shown/visible.

public static final int[] MenuItemCheckedFocusedState

State array representing a menu item that is currently focused and checked.

Includes the following attributes:

AttributeSummary
android:state_checkable State identifier indicating that the object may display a check mark.
android:state_checked State identifier indicating that the object is currently checked.
android:state_focused State value for StateListDrawable.

public static final int MenuItemCheckedFocusedState_state_checkable

State identifier indicating that the object may display a check mark. See state_checked for the identifier that indicates whether it is actually checked.

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

Constant Value: 1 (0x00000001)

public static final int MenuItemCheckedFocusedState_state_checked

State identifier indicating that the object is currently checked. See state_checkable for an additional identifier that can indicate if any object may ever display a check, regardless of whether state_checked is currently set.

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

Constant Value: 2 (0x00000002)

public static final int MenuItemCheckedFocusedState_state_focused

State value for StateListDrawable.

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

Constant Value: 0 (0x00000000)

public static final int[] MenuItemCheckedState

State array representing a menu item that is currently checked.

Includes the following attributes:

AttributeSummary
android:state_checkable State identifier indicating that the object may display a check mark.
android:state_checked State identifier indicating that the object is currently checked.

public static final int MenuItemCheckedState_state_checkable

State identifier indicating that the object may display a check mark. See state_checked for the identifier that indicates whether it is actually checked.

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

Constant Value: 0 (0x00000000)

public static final int MenuItemCheckedState_state_checked

State identifier indicating that the object is currently checked. See state_checkable for an additional identifier that can indicate if any object may ever display a check, regardless of whether state_checked is currently set.

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

Constant Value: 1 (0x00000001)

public static final int[] MenuItemUncheckedFocusedState

State array representing a menu item that is focused and checkable but is not currently checked.

Includes the following attributes:

AttributeSummary
android:state_checkable State identifier indicating that the object may display a check mark.
android:state_focused State value for StateListDrawable.

public static final int MenuItemUncheckedFocusedState_state_checkable

State identifier indicating that the object may display a check mark. See state_checked for the identifier that indicates whether it is actually checked.

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

Constant Value: 1 (0x00000001)

public static final int MenuItemUncheckedFocusedState_state_focused

State value for StateListDrawable.

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

Constant Value: 0 (0x00000000)

public static final int[] MenuItemUncheckedState

State array representing a menu item that is checkable but is not currently checked.

Includes the following attributes:

AttributeSummary
android:state_checkable State identifier indicating that the object may display a check mark.

public static final int MenuItemUncheckedState_state_checkable

State identifier indicating that the object may display a check mark. See state_checked for the identifier that indicates whether it is actually checked.

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

Constant Value: 0 (0x00000000)

public static final int MenuItem_alphabeticShortcut

The alphabetic shortcut key. This is the shortcut when using a keyboard with alphabetic keys.

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

Constant Value: 9 (0x00000009)

public static final int MenuItem_checkable

Whether the item is capable of displaying a check mark.

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

Constant Value: 11 (0x0000000b)

public static final int MenuItem_checked

Whether the item is checked. Note that you must first have enabled checking with the checkable attribute or else the check mark will not appear.

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: 3 (0x00000003)

public static final int MenuItem_enabled

Whether the item is enabled.

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: 1 (0x00000001)

public static final int MenuItem_icon

The icon associated with this item. This icon will not always be shown, so the title should be sufficient in describing this item.

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: 0 (0x00000000)

public static final int MenuItem_id

The ID of the item.

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

Constant Value: 2 (0x00000002)

public static final int MenuItem_menuCategory

The category applied to the item. (This will be or'ed with the orderInCategory attribute.)

Must be one of the following constant values.

ConstantValueDescription
container0x00010000 Items are part of a container.
system0x00020000 Items are provided by the system.
secondary0x00030000 Items are user-supplied secondary (infrequently used).
alternative0x00040000 Items are alternative actions.

This corresponds to the global attribute resource symbol menuCategory.

Constant Value: 5 (0x00000005)

public static final int MenuItem_numericShortcut

The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) keyboard.

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

Constant Value: 10 (0x0000000a)

public static final int MenuItem_orderInCategory

The order within the category applied to the item. (This will be or'ed with the category attribute.)

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

Constant Value: 6 (0x00000006)

public static final int MenuItem_title

The title associated with the item.

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

Constant Value: 7 (0x00000007)

public static final int MenuItem_titleCondensed

The condensed title associated with the item. This is used in situations where the normal title may be too long to be displayed.

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

Constant Value: 8 (0x00000008)

public static final int MenuItem_visible

Whether the item is shown/visible.

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: 4 (0x00000004)

public static final int[] MenuView

Attributes that can be used with a MenuView.

Includes the following attributes:

AttributeSummary
android:headerBackground Default background for the menu header.
android:horizontalDivider Default horizontal divider between rows of menu items.
android:itemBackground Default background for each menu item.
android:itemIconDisabledAlpha Default disabled icon alpha for each menu item that shows an icon.
android:itemTextAppearance Default appearance of menu item text.
android:verticalDivider Default vertical divider between menu items.
android:windowAnimationStyle Default animations for the menu

public static final int MenuView_headerBackground

Default background for the menu header.

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

Constant Value: 4 (0x00000004)

public static final int MenuView_horizontalDivider

Default horizontal divider between rows of menu items.

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

Constant Value: 2 (0x00000002)

public static final int MenuView_itemBackground

Default background for each menu item.

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

Constant Value: 5 (0x00000005)

public static final int MenuView_itemIconDisabledAlpha

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

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

Constant Value: 6 (0x00000006)

public static final int MenuView_itemTextAppearance

Default appearance of menu item text.

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

Constant Value: 1 (0x00000001)

public static final int MenuView_verticalDivider

Default vertical divider between menu items.

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

Constant Value: 3 (0x00000003)

public static final int MenuView_windowAnimationStyle

Default animations for the 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 windowAnimationStyle.

Constant Value: 0 (0x00000000)

public static final int[] PopupWindow

Attributes that can be used with a PopupWindow.

Includes the following attributes:

AttributeSummary
android:popupBackground

public static final int[] PopupWindowBackgroundState

Attributes that can be used with a PopupWindowBackgroundState.

Includes the following attributes:

AttributeSummary
android:state_above_anchor State identifier indicating the popup will be above the anchor.

public static final int PopupWindowBackgroundState_state_above_anchor

State identifier indicating the popup will be above the anchor.

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

Constant Value: 0 (0x00000000)

public static final int PopupWindow_popupBackground

This symbol is the offset where the popupBackground attribute's value can be found in the PopupWindow 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[] Preference

Base attributes available to Preference.

Includes the following attributes:

AttributeSummary
android: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.
android:dependency The key of another Preference that this Preference will depend on.
android:enabled Whether the Preference is enabled.
android:key The key to store the Preference value.
android:layout The layout for the Preference in a PreferenceActivity screen.
android:order The order for the Preference (lower values are to be ordered first).
android:persistent Whether the Preference stores its value to the shared preferences.
android:selectable Whether the Preference is selectable.
android:shouldDisableView Whether the view of this Preference should be disabled when this Preference is disabled.
android:summary The summary for the Preference in a PreferenceActivity screen.
android:title The title for the Preference in a PreferenceActivity screen.
android:widgetLayout The layout for the controllable widget portion of a Preference.

public static final int[] PreferenceGroup

Base attributes available to PreferenceGroup.

Includes the following attributes:

AttributeSummary
android:orderingFromXml Whether to order the Preference under this group as they appear in the XML file.

public static final int PreferenceGroup_orderingFromXml

Whether to order the Preference under this group as they appear in the XML file. If this is false, the ordering will follow the Preference order attribute and default to alphabetic for those without the order attribute.

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

Constant Value: 0 (0x00000000)

public static final int Preference_defaultValue

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

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

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

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

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

This corresponds to the global attribute resource symbol defaultValue.

Constant Value: 10 (0x0000000a)

public static final int Preference_dependency

The key of another Preference that this Preference will depend on. If the other Preference is not set or is off, this Preference will be disabled.

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

Constant Value: 9 (0x00000009)

public static final int Preference_enabled

Whether the Preference is enabled.

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: 1 (0x00000001)

public static final int Preference_key

The key to store the Preference value.

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

Constant Value: 5 (0x00000005)

public static final int Preference_layout

The layout for the Preference in a PreferenceActivity screen. This should rarely need to be changed, look at widgetLayout instead.

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

Constant Value: 2 (0x00000002)

public static final int Preference_order

The order for the Preference (lower values are to be ordered first). If this is not specified, the default orderin will be alphabetic.

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

Constant Value: 7 (0x00000007)

public static final int Preference_persistent

Whether the Preference stores its value to the shared preferences.

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: 0 (0x00000000)

public static final int Preference_selectable

Whether the Preference is selectable.

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

Constant Value: 4 (0x00000004)

public static final int Preference_shouldDisableView

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

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

Constant Value: 11 (0x0000000b)

public static final int Preference_summary

The summary for the Preference in a PreferenceActivity screen.

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

Constant Value: 6 (0x00000006)

public static final int Preference_title

The title for the Preference in a PreferenceActivity screen.

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

Constant Value: 3 (0x00000003)

public static final int Preference_widgetLayout

The layout for the controllable widget portion of a Preference. This is inflated into the layout for a Preference and should be used more frequently than the layout attribute. For example, a checkbox preference would specify a custom layout (consisting of just the CheckBox) here.

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

Constant Value: 8 (0x00000008)

public static final int[] ProgressBar

Attributes that can be used with a ProgressBar.

Includes the following attributes:

AttributeSummary
android:indeterminate Allows to enable the indeterminate mode.
android:indeterminateBehavior Defines how the indeterminate mode should behave when the progress reaches max.
android:indeterminateDrawable Drawable used for the indeterminate mode.
android:indeterminateDuration Duration of the indeterminate animation.
android:indeterminateOnly Restricts to ONLY indeterminate mode (state-keeping progress mode will not work).
android:interpolator
android:max Defines the maximum value the progress can take.
android:maxHeight An optional argument to supply a maximum height for this view.
android:maxWidth An optional argument to supply a maximum width for this view.
android:minHeight
android:minWidth
android:progress Defines the default progress value, between 0 and max.
android:progressDrawable Drawable used for the progress mode.
android:secondaryProgress Defines the secondary progress value, between 0 and max.

public static final int ProgressBar_indeterminate

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

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

Constant Value: 5 (0x00000005)

public static final int ProgressBar_indeterminateBehavior

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

Must be one of the following constant values.

ConstantValueDescription
repeat1 Progress starts over from 0.
cycle2 Progress keeps the current value and goes back to 0.

This corresponds to the global attribute resource symbol indeterminateBehavior.

Constant Value: 10 (0x0000000a)

public static final int ProgressBar_indeterminateDrawable

Drawable used for the indeterminate mode.

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

Constant Value: 7 (0x00000007)

public static final int ProgressBar_indeterminateDuration

Duration of the indeterminate animation.

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

Constant Value: 9 (0x00000009)

public static final int ProgressBar_indeterminateOnly

Restricts to ONLY indeterminate mode (state-keeping progress mode will not 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 indeterminateOnly.

Constant Value: 6 (0x00000006)

public static final int ProgressBar_interpolator

This symbol is the offset where the interpolator attribute's value can be found in the ProgressBar 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: 13 (0x0000000d)

public static final int ProgressBar_max

Defines the maximum value the progress can take.

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

Constant Value: 2 (0x00000002)

public static final int ProgressBar_maxHeight

An optional argument to supply a maximum height for this view. See {see android.widget.ImageView#setMaxHeight} for details.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 maxHeight.

Constant Value: 1 (0x00000001)

public static final int ProgressBar_maxWidth

An optional argument to supply a maximum width for this view. See {see android.widget.ImageView#setMaxWidth} for details.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 maxWidth.

Constant Value: 0 (0x00000000)

public static final int ProgressBar_minHeight

This symbol is the offset where the minHeight attribute's value can be found in the ProgressBar 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), db (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: 12 (0x0000000c)

public static final int ProgressBar_minWidth

This symbol is the offset where the minWidth attribute's value can be found in the ProgressBar 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), db (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: 11 (0x0000000b)

public static final int ProgressBar_progress

Defines the default progress value, between 0 and max.

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

Constant Value: 3 (0x00000003)

public static final int ProgressBar_progressDrawable

Drawable used for the progress mode.

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

Constant Value: 8 (0x00000008)

public static final int ProgressBar_secondaryProgress

Defines the secondary progress value, between 0 and max. This progress is drawn between the primary progress and the background. It can be ideal for media scenarios such as showing the buffering progress while the default progress shows the play progress.

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

Constant Value: 4 (0x00000004)

public static final int[] RadioGroup

Attributes that can be used with a RadioGroup.

Includes the following attributes:

AttributeSummary
android:checkedButton The id of the child radio button that should be checked by default within this radio group.
android:orientation Should the radio group be a column or a row? Use "horizontal" for a row, "vertical" for a column.

public static final int RadioGroup_checkedButton

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

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

Constant Value: 1 (0x00000001)

public static final int RadioGroup_orientation

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

Must be one of the following constant values.

ConstantValueDescription
horizontal0 Defines an horizontal widget.
vertical1 Defines a vertical widget.

This corresponds to the global attribute resource symbol orientation.

Constant Value: 0 (0x00000000)

public static final int[] RatingBar

Attributes that can be used with a RatingBar.

Includes the following attributes:

AttributeSummary
android:isIndicator Whether this rating bar is an indicator (and non-changeable by the user).
android:numStars The number of stars (or rating items) to show.
android:rating The rating to set by default.
android:stepSize The step size of the rating.

public static final int RatingBar_isIndicator

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

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

Constant Value: 3 (0x00000003)

public static final int RatingBar_numStars

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

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

Constant Value: 0 (0x00000000)

public static final int RatingBar_rating

The rating to set by default.

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

Constant Value: 1 (0x00000001)

public static final int RatingBar_stepSize

The step size of the rating.

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

Constant Value: 2 (0x00000002)

public static final int[] RelativeLayout

Attributes that can be used with a RelativeLayout.

Includes the following attributes:

AttributeSummary
android:gravity Specifies how to place an object, both its x and y axis, within a larger containing object.
android:ignoreGravity Indicates what view should not be affected by gravity.

public static final int[] RelativeLayout_Layout

Attributes that can be used with a RelativeLayout_Layout.

Includes the following attributes:

AttributeSummary
android:layout_above Positions the bottom edge of this view above the given anchor view ID.
android:layout_alignBaseline Positions the baseline of this view on the baseline of the given anchor view ID.
android:layout_alignBottom Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
android:layout_alignLeft Makes the left edge of this view match the left edge of the given anchor view ID.
android:layout_alignParentBottom f true, makes the bottom edge of this view match the bottom edge of the parent.
android:layout_alignParentLeft If true, makes the left edge of this view match the left edge of the parent.
android:layout_alignParentRight If true, makes the right edge of this view match the right edge of the parent.
android:layout_alignParentTop If true, makes the top edge of this view match the top edge of the parent.
android:layout_alignRight Makes the right edge of this view match the right edge of the given anchor view ID.
android:layout_alignTop Makes the top edge of this view match the top edge of the given anchor view ID.
android: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.
android:layout_below Positions the top edge of this view below the given anchor view ID.
android:layout_centerHorizontal If true, centers this child horizontally within its parent.
android:layout_centerInParent If true, centers this child horizontally and vertically within its parent.
android:layout_centerVertical If true, centers this child vertically within its parent.
android:layout_toLeftOf Positions the right edge of this view to the left of the given anchor view ID.
android:layout_toRightOf Positions the left edge of this view to the right of the given anchor view ID.

public static final int RelativeLayout_Layout_layout_above

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

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

Constant Value: 2 (0x00000002)

public static final int RelativeLayout_Layout_layout_alignBaseline

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

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

Constant Value: 4 (0x00000004)

public static final int RelativeLayout_Layout_layout_alignBottom

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

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

Constant Value: 8 (0x00000008)

public static final int RelativeLayout_Layout_layout_alignLeft

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

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

Constant Value: 5 (0x00000005)

public static final int RelativeLayout_Layout_layout_alignParentBottom

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

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

Constant Value: 12 (0x0000000c)

public static final int RelativeLayout_Layout_layout_alignParentLeft

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

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

Constant Value: 9 (0x00000009)

public static final int RelativeLayout_Layout_layout_alignParentRight

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

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

Constant Value: 11 (0x0000000b)

public static final int RelativeLayout_Layout_layout_alignParentTop

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

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

Constant Value: 10 (0x0000000a)

public static final int RelativeLayout_Layout_layout_alignRight

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

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

Constant Value: 7 (0x00000007)

public static final int RelativeLayout_Layout_layout_alignTop

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

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

Constant Value: 6 (0x00000006)

public static final int RelativeLayout_Layout_layout_alignWithParentIfMissing

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

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

Constant Value: 16 (0x00000010)

public static final int RelativeLayout_Layout_layout_below

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

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

Constant Value: 3 (0x00000003)

public static final int RelativeLayout_Layout_layout_centerHorizontal

If true, centers this child horizontally within its parent.

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

Constant Value: 14 (0x0000000e)

public static final int RelativeLayout_Layout_layout_centerInParent

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

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

Constant Value: 13 (0x0000000d)

public static final int RelativeLayout_Layout_layout_centerVertical

If true, centers this child vertically within its parent.

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

Constant Value: 15 (0x0000000f)

public static final int RelativeLayout_Layout_layout_toLeftOf

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

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

Constant Value: 0 (0x00000000)

public static final int RelativeLayout_Layout_layout_toRightOf

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

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

Constant Value: 1 (0x00000001)

public static final int RelativeLayout_gravity

Specifies how to place an object, both its x and y axis, within a larger containing object.

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.

This corresponds to the global attribute resource symbol gravity.

Constant Value: 0 (0x00000000)

public static final int RelativeLayout_ignoreGravity

Indicates what view should not be affected by gravity.

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

Constant Value: 1 (0x00000001)

public static final int[] RingtonePreference

Base attributes available to RingtonePreference.

Includes the following attributes:

AttributeSummary
android:ringtoneType Which ringtone type(s) to show in the picker.
android:showDefault Whether to show an item for a default sound.
android:showSilent Whether to show an item for 'Silent'.

public static final int RingtonePreference_ringtoneType

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

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

ConstantValueDescription
ringtone1 Ringtones.
notification2 Notification sounds.
alarm4 Alarm sounds.
all7 All available ringtone sounds.

This corresponds to the global attribute resource symbol ringtoneType.

Constant Value: 0 (0x00000000)

public static final int RingtonePreference_showDefault

Whether to show an item for a default sound.

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

Constant Value: 1 (0x00000001)

public static final int RingtonePreference_showSilent

Whether to show an item for 'Silent'.

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

Constant Value: 2 (0x00000002)

public static final int[] RotateAnimation

Attributes that can be used with a RotateAnimation.

Includes the following attributes:

AttributeSummary
android:fromDegrees
android:pivotX
android:pivotY
android:toDegrees

public static final int RotateAnimation_fromDegrees

This symbol is the offset where the fromDegrees attribute's value can be found in the RotateAnimation 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 RotateAnimation_pivotX

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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 RotateAnimation_pivotY

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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 RotateAnimation_toDegrees

This symbol is the offset where the toDegrees attribute's value can be found in the RotateAnimation 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[] RotateDrawable

Attributes that can be used with a RotateDrawable.

Includes the following attributes:

AttributeSummary
android:drawable Reference to a drawable resource to use for the frame.
android:fromDegrees
android:pivotX
android:pivotY
android:toDegrees
android:visible Provides initial visibility state of the drawable; the default value is false.

public static final int RotateDrawable_drawable

Reference to a drawable resource to use for the frame. If not given, the drawable must be defined by the first child tag.

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 RotateDrawable_fromDegrees

This symbol is the offset where the fromDegrees attribute's value can be found in the RotateDrawable 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: 2 (0x00000002)

public static final int RotateDrawable_pivotX

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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: 4 (0x00000004)

public static final int RotateDrawable_pivotY

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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: 5 (0x00000005)

public static final int RotateDrawable_toDegrees

This symbol is the offset where the toDegrees attribute's value can be found in the RotateDrawable 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: 3 (0x00000003)

public static final int RotateDrawable_visible

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[] ScaleAnimation

public static final int ScaleAnimation_fromXScale

This symbol is the offset where the fromXScale attribute's value can be found in the ScaleAnimation 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: 2 (0x00000002)

public static final int ScaleAnimation_fromYScale

This symbol is the offset where the fromYScale attribute's value can be found in the ScaleAnimation 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: 4 (0x00000004)

public static final int ScaleAnimation_pivotX

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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 ScaleAnimation_pivotY

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

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

May be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

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 ScaleAnimation_toXScale

This symbol is the offset where the toXScale attribute's value can be found in the ScaleAnimation 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: 3 (0x00000003)

public static final int ScaleAnimation_toYScale

This symbol is the offset where the toYScale attribute's value can be found in the ScaleAnimation 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: 5 (0x00000005)

public static final int[] ScaleDrawable

Attributes that can be used with a ScaleDrawable.

Includes the following attributes:

AttributeSummary
android:drawable Reference to a drawable resource to draw with the specified scale.
android:scaleGravity Specifies where the drawable is positioned after scaling.
android:scaleHeight Scale height, expressed as a percentage of the drawable's bound.
android:scaleWidth Scale width, expressed as a percentage of the drawable's bound.

public static final int ScaleDrawable_drawable

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

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: 0 (0x00000000)

public static final int ScaleDrawable_scaleGravity

Specifies where the drawable is positioned after scaling. The default value is left.

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

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

This corresponds to the global attribute resource symbol scaleGravity.

Constant Value: 3 (0x00000003)

public static final int ScaleDrawable_scaleHeight

Scale height, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.

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

Constant Value: 2 (0x00000002)

public static final int ScaleDrawable_scaleWidth

Scale width, expressed as a percentage of the drawable's bound. The value's format is XX%. For instance: 100%, 12.5%, etc.

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

Constant Value: 1 (0x00000001)

public static final int[] ScrollView

Attributes that can be used with a ScrollView.

Includes the following attributes:

AttributeSummary
android:fillViewport Defines whether the scrollview should stretch its content to fill the viewport.

public static final int ScrollView_fillViewport

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

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

Constant Value: 0 (0x00000000)

public static final int[] Searchable

Searchable activities & applications must provide search configuration information in an XML file, typically called searchable.xml. This file is referenced in your manifest. For a more in-depth discussion of search configuration, please refer to SearchManager.

Includes the following attributes:

AttributeSummary
android:hint If supplied, this string will be displayed as a hint to the user.
android:icon If provided, this icon will be shown in place of the label.
android:label This is the user-displayed name of the searchable activity.
android:searchButtonText If supplied, this string will be displayed as the text of the "Search" button.
android:searchMode Additional features are controlled by mode bits in this field.
android:searchSuggestAuthority If provided, this is the trigger indicating that the searchable activity provides suggestions as well.
android: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.
android: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.
android:searchSuggestPath If provided, this will be inserted in the suggestions query Uri, after the authority you have provide but before the standard suggestions path.
android:searchSuggestSelection If provided, suggestion queries will be passed into your query function as the selection parameter.

public static final int[] SearchableActionKey

In order to process special action keys during search, you must define them using one or more "ActionKey" elements in your Searchable metadata. For a more in-depth discussion of action code handling, please refer to SearchManager.

Includes the following attributes:

AttributeSummary
android:keycode This attribute denotes the action key you wish to respond to.
android:queryActionMsg If you wish to handle an action key during normal search query entry, you must define an action string here.
android:suggestActionMsg If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this.
android: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.

public static final int SearchableActionKey_keycode

This attribute denotes the action key you wish to respond to. Note that not all action keys are actually supported using this mechanism, as many of them are used for typing, navigation, or system functions. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the key code, use getIntExtra(SearchManager.ACTION_KEY).

Note, in addition to the keycode, you must also provide one or more of the action specifier attributes. Required attribute.

Must be one of the following constant values.

ConstantValueDescription
KEYCODE_UNKNOWN0
KEYCODE_SOFT_LEFT1
KEYCODE_SOFT_RIGHT2
KEYCODE_HOME3
KEYCODE_BACK4
KEYCODE_CALL5
KEYCODE_ENDCALL6
KEYCODE_07
KEYCODE_18
KEYCODE_29
KEYCODE_310
KEYCODE_411
KEYCODE_512
KEYCODE_613
KEYCODE_714
KEYCODE_815
KEYCODE_916
KEYCODE_STAR17
KEYCODE_POUND18
KEYCODE_DPAD_UP19
KEYCODE_DPAD_DOWN20
KEYCODE_DPAD_LEFT21
KEYCODE_DPAD_RIGHT22
KEYCODE_DPAD_CENTER23
KEYCODE_VOLUME_UP24
KEYCODE_VOLUME_DOWN25
KEYCODE_POWER26
KEYCODE_CAMERA27
KEYCODE_CLEAR28
KEYCODE_A29
KEYCODE_B30
KEYCODE_C31
KEYCODE_D32
KEYCODE_E33
KEYCODE_F34
KEYCODE_G35
KEYCODE_H36
KEYCODE_I37
KEYCODE_J38
KEYCODE_K39
KEYCODE_L40
KEYCODE_M41
KEYCODE_N42
KEYCODE_O43
KEYCODE_P44
KEYCODE_Q45
KEYCODE_R46
KEYCODE_S47
KEYCODE_T48
KEYCODE_U49
KEYCODE_V50
KEYCODE_W51
KEYCODE_X52
KEYCODE_Y53
KEYCODE_Z54
KEYCODE_COMMA55
KEYCODE_PERIOD56
KEYCODE_ALT_LEFT57
KEYCODE_ALT_RIGHT58
KEYCODE_SHIFT_LEFT59
KEYCODE_SHIFT_RIGHT60
KEYCODE_TAB61
KEYCODE_SPACE62
KEYCODE_SYM63
KEYCODE_EXPLORER64
KEYCODE_ENVELOPE65
KEYCODE_ENTER66
KEYCODE_DEL67
KEYCODE_GRAVE68
KEYCODE_MINUS69
KEYCODE_EQUALS70
KEYCODE_LEFT_BRACKET71
KEYCODE_RIGHT_BRACKET72
KEYCODE_BACKSLASH73
KEYCODE_SEMICOLON74
KEYCODE_APOSTROPHE75
KEYCODE_SLASH76
KEYCODE_AT77
KEYCODE_NUM78
KEYCODE_HEADSETHOOK79
KEYCODE_FOCUS80
KEYCODE_PLUS81
KEYCODE_MENU82
KEYCODE_NOTIFICATION83
KEYCODE_SEARCH84

This corresponds to the global attribute resource symbol keycode.

Constant Value: 0 (0x00000000)

public static final int SearchableActionKey_queryActionMsg

If you wish to handle an action key during normal search query entry, you must define an action string here. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). Optional attribute.

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

Constant Value: 1 (0x00000001)

public static final int SearchableActionKey_suggestActionMsg

If you wish to handle an action key while a suggestion is being displayed and selected, there are two ways to handle this. If all of your suggestions can handle the action key, you can simply define the action message using this attribute. This will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). Optional attribute.

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

Constant Value: 2 (0x00000002)

public static final int SearchableActionKey_suggestActionMsgColumn

If you wish to handle an action key while a suggestion is being displayed and selected, but you do not wish to enable this action key for every suggestion, then you can use this attribute to control it on a suggestion-by-suggestion basis. First, you must define a column (and name it here) where your suggestions will include the action string. Then, in your content provider, you must provide this column, and when desired, provide data in this column. The search manager will look at your suggestion cursor, using the string provided here in order to select a column, and will use that to select a string from the cursor. That string will be added to the ACTION_SEARCH intent that is passed to your searchable activity. To examine the string, use getStringExtra(SearchManager.ACTION_MSG). If the data does not exist for the selection suggestion, the action key will be ignored.Optional attribute.

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

Constant Value: 3 (0x00000003)

public static final int Searchable_hint

If supplied, this string will be displayed as a hint to the user. Optional attribute.

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

Constant Value: 2 (0x00000002)

public static final int Searchable_icon

If provided, this icon will be shown in place of the label. It is typically used in order to identify a searchable application via a logo or branding, instead of plain text. This is a reference to a drawable (icon) resource. Optional attribute.

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 Searchable_label

This is the user-displayed name of the searchable activity. Required attribute.

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

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

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

Constant Value: 9 (0x00000009)

public static final int Searchable_searchMode

Additional features are controlled by mode bits in this field. Omitting this field, or setting to zero, provides default behavior. Optional attribute.

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

ConstantValueDescription
filterMode0x01 If set, this flag enables basic filter search functionality.
filterModeQuickStart0x02 If set, this flag enables quickstart filter search functionality.
showSearchLabelAsBadge0x04 If set, this flag enables the display of the search target (label) within the search bar. If neither bad mode is selected, no badge will be shown.
showSearchIconAsBadge0x08 If set, this flag enables the display of the search target (icon) within the search bar. (Note, overrides showSearchLabel) If neither bad mode is selected, no badge will be shown.
queryRewriteFromData0x10 If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to be considered as the text for suggestion query rewriting. This should only be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user inspection and editing - typically, HTTP/HTTPS Uri's.
queryRewriteFromText0x20 If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to be considered as the text for suggestion query rewriting. This should be used for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA values are not suitable for user inspection and editing.

This corresponds to the global attribute resource symbol searchMode.

Constant Value: 3 (0x00000003)

public static final int Searchable_searchSuggestAuthority

If provided, this is the trigger indicating that the searchable activity provides suggestions as well. The value must be a fully-qualified content provider authority (e.g. "com.android.samples.searchsuggest") and should match the "android:authorities" tag in your content provider's manifest entry. Optional attribute.

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

Constant Value: 4 (0x00000004)

public static final int Searchable_searchSuggestIntentAction

If provided, and not overridden by an action in the selected suggestion, this string will be placed in the action field of the Intent when the user clicks a suggestion. Optional attribute.

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

Constant Value: 7 (0x00000007)

public static final int Searchable_searchSuggestIntentData

If provided, and not overridden by an action in the selected suggestion, this string will be placed in the data field of the Intent when the user clicks a suggestion. Optional attribute.

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

Constant Value: 8 (0x00000008)

public static final int Searchable_searchSuggestPath

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

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

Constant Value: 5 (0x00000005)

public static final int Searchable_searchSuggestSelection

If provided, suggestion queries will be passed into your query function as the selection parameter. Typically this will be a WHERE clause for your database, and will contain a single question mark, which represents the actual query string that has been typed by the user. If not provided, then the user query text will be appended to the query Uri (after an additional "/".) Optional attribute.

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

Constant Value: 6 (0x00000006)

public static final int[] SeekBar

Attributes that can be used with a SeekBar.

Includes the following attributes:

AttributeSummary
android:thumb Draws the thumb on a seekbar
android:thumbOffset An offset for the thumb that allows it to extend out of the range of the track.

public static final int SeekBar_thumb

Draws the thumb on a seekbar

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

Constant Value: 0 (0x00000000)

public static final int SeekBar_thumbOffset

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 thumbOffset.

Constant Value: 1 (0x00000001)

public static final int[] ShapeDrawable

Drawable used to draw shapes.

Includes the following attributes:

AttributeSummary
android:color Defines the color of the shape.
android:height Defines the height of the shape.
android:width Defines the width of the shape.

public static final int[] ShapeDrawablePadding

Defines the padding of a ShapeDrawable.

Includes the following attributes:

AttributeSummary
android:bottom Bottom padding.
android:left Left padding.
android:right Right padding.
android:top Top padding.

public static final int ShapeDrawablePadding_bottom

Bottom padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 bottom.

Constant Value: 3 (0x00000003)

public static final int ShapeDrawablePadding_left

Left padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 left.

Constant Value: 0 (0x00000000)

public static final int ShapeDrawablePadding_right

Right padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 right.

Constant Value: 2 (0x00000002)

public static final int ShapeDrawablePadding_top

Top padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 top.

Constant Value: 1 (0x00000001)

public static final int ShapeDrawable_color

Defines the color of the shape.

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

Constant Value: 2 (0x00000002)

public static final int ShapeDrawable_height

Defines the height of the shape.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 height.

Constant Value: 0 (0x00000000)

public static final int ShapeDrawable_width

Defines the width of the shape.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 width.

Constant Value: 1 (0x00000001)

public static final int[] SlidingDrawer

SlidingDrawer specific attributes. These attribtues are used to configure a SlidingDrawer from XML.

Includes the following attributes:

AttributeSummary
android:bottomOffset Extra offset for the handle at the bottom of the SlidingDrawer.
android:content Identifier for the child that represents the drawer's content.
android:handle Identifier for the child that represents the drawer's handle.
android:orientation Orientation of the SlidingDrawer.
android:topOffset Extra offset for the handle at the top of the SlidingDrawer.

public static final int SlidingDrawer_bottomOffset

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 is a private symbol.

Constant Value: 3 (0x00000003)

public static final int SlidingDrawer_content

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

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 is a private symbol.

Constant Value: 2 (0x00000002)

public static final int SlidingDrawer_handle

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

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 is a private symbol.

Constant Value: 1 (0x00000001)

public static final int SlidingDrawer_orientation

Orientation of the SlidingDrawer.

Must be one of the following constant values.

ConstantValueDescription
horizontal0 Defines an horizontal widget.
vertical1 Defines a vertical widget.

This corresponds to the global attribute resource symbol orientation.

Constant Value: 0 (0x00000000)

public static final int SlidingDrawer_topOffset

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 is a private symbol.

Constant Value: 4 (0x00000004)

public static final int[] Spinner

Attributes that can be used with a Spinner.

Includes the following attributes:

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

See Also

public static final int Spinner_prompt

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

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

Constant Value: 0 (0x00000000)

public static final int[] StateListDrawable

Attributes that can be used with a StateListDrawable.

Includes the following attributes:

AttributeSummary
android: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.
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 StateListDrawable_constantSize

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

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

Constant Value: 2 (0x00000002)

public static final int StateListDrawable_variablePadding

If true, allows the drawable's padding to change based on the current state that is selected. If false, the padding will stay the same (based on the maximum padding of all the states). Enabling this feature requires that the owner of the drawable deal with performing layout when the state changes, which is often not supported.

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 StateListDrawable_visible

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[] TabWidget

Attributes that can be used with a TabWidget.

public static final int[] TableLayout

Attributes that can be used with a TableLayout.

Includes the following attributes:

AttributeSummary
android:collapseColumns The 0 based index of the columns to collapse.
android:shrinkColumns The 0 based index of the columns to shrink.
android:stretchColumns The 0 based index of the columns to stretch.

public static final int TableLayout_collapseColumns

The 0 based index of the columns to collapse. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored.

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

Constant Value: 2 (0x00000002)

public static final int TableLayout_shrinkColumns

The 0 based index of the columns to shrink. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can shrink all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.

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

Constant Value: 1 (0x00000001)

public static final int TableLayout_stretchColumns

The 0 based index of the columns to stretch. The column indices must be separated by a comma: 1, 2, 5. Illegal and duplicate indices are ignored. You can stretch all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time.

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

Constant Value: 0 (0x00000000)

public static final int[] TableRow

Attributes that can be used with a TableRow.

public static final int[] TableRow_Cell

Attributes that can be used with a TableRow_Cell.

Includes the following attributes:

AttributeSummary
android:layout_column The index of the column in which this child should be.
android:layout_span Defines how many columns this child should span.

public static final int TableRow_Cell_layout_column

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

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

Constant Value: 0 (0x00000000)

public static final int TableRow_Cell_layout_span

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

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

Constant Value: 1 (0x00000001)

public static final int[] TextAppearance

Attributes that can be used with a TextAppearance.

Includes the following attributes:

AttributeSummary
android:textColor Text color.
android:textColorHighlight Color of the text selection highlight.
android:textColorHint Color of the hint text.
android:textColorLink Color of the links.
android:textSize Size of the text.
android:textStyle Style (bold, italic, bolditalic) for the text.
android:typeface Typeface (normal, sans, serif, monospace) for the text.

public static final int TextAppearance_textColor

Text color.

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

Constant Value: 3 (0x00000003)

public static final int TextAppearance_textColorHighlight

Color of the text selection highlight.

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

Constant Value: 4 (0x00000004)

public static final int TextAppearance_textColorHint

Color of the hint text.

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

Constant Value: 5 (0x00000005)

public static final int TextAppearance_textColorLink

Color of the links.

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

Constant Value: 6 (0x00000006)

public static final int TextAppearance_textSize

Size of the text.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 textSize.

Constant Value: 0 (0x00000000)

public static final int TextAppearance_textStyle

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

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

ConstantValueDescription
normal0
bold1
italic2

This corresponds to the global attribute resource symbol textStyle.

Constant Value: 2 (0x00000002)

public static final int TextAppearance_typeface

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

Must be one of the following constant values.

ConstantValueDescription
normal0
sans1
serif2
monospace3

This corresponds to the global attribute resource symbol typeface.

Constant Value: 1 (0x00000001)

public static final int[] TextSwitcher

Attributes that can be used with a TextSwitcher.

public static final int[] TextView

Attributes that can be used with a TextView.

Includes the following attributes:

AttributeSummary
android:autoLink Controls whether links such as urls and email addresses are automatically found and converted to clickable links.
android:autoText If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors.
android:bufferType Determines what the minimum type that getText() will return.
android:capitalize If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types.
android:cursorVisible Makes the cursor visible (the default) or invisible
android:digits If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept.
android:drawableBottom The drawable to be drawn below the text.
android:drawableLeft The drawable to be drawn to the left of the text.
android:drawablePadding The padding between the drawables and the text.
android:drawableRight The drawable to be drawn to the right of the text.
android:drawableTop The drawable to be drawn above the text.
android:editable If set, specifies that this TextView has an input method.
android:ellipsize If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle.
android:ems Makes the TextView be exactly this many ems wide
android:enabled Deprecated: use state_enabled instead.
android: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.
android:gravity Vertical gravity (top, center_vertical, bottom) when the text is smaller than the view.
android:height Makes the TextView be exactly this many pixels tall.
android:hint Hint text to display when the text is empty.
android:includeFontPadding Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly.
android:inputMethod If set, specifies that this TextView should use the specified input method (specified by fully-qualified class name).
android:lines Makes the TextView be exactly this many lines tall
android: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.
android:maxEms Makes the TextView be at most this many ems wide
android:maxHeight Makes the TextView be at most this many pixels tall
android:maxLength Set an input filter to constrain the text length to the specified number.
android:maxLines Makes the TextView be at most this many lines tall
android:maxWidth Makes the TextView be at most this many pixels wide
android:minEms Makes the TextView be at least this many ems wide
android:minHeight Makes the TextView be at least this many pixels tall
android:minLines Makes the TextView be at least this many lines tall
android:minWidth Makes the TextView be at least this many pixels wide
android:numeric If set, specifies that this TextView has a numeric input method.
android:password Whether the characters of the field are displayed as password dots instead of themselves.
android:phoneNumber If set, specifies that this TextView has a phone number input method.
android:scrollHorizontally Whether the text is allowed to be wider than the view (and therefore can be scrolled horizontally).
android:selectAllOnFocus If the text is selectable, select it all when the view takes focus instead of moving the cursor to the start or end.
android:shadowColor Place a shadow of the specified color behind the text.
android:shadowDx Horizontal offset of the shadow.
android:shadowDy Vertical offset of the shadow.
android:shadowRadius Radius of the shadow.
android: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.
android:text Text to display.
android:textAppearance Base text color, typeface, size, and style.
android:textColor Text color.
android:textColorHighlight Color of the text selection highlight.
android:textColorHint Color of the hint text.
android:textColorLink Text color for links.
android:textScaleX Sets the horizontal scaling factor for the text
android:textSize Size of the text.
android:textStyle Style (bold, italic, bolditalic) for the text.
android:typeface Typeface (normal, sans, serif, monospace) for the text.
android:width Makes the TextView be exactly this many pixels wide.

public static final int TextView_autoLink

Controls whether links such as urls and email addresses are automatically found and converted to clickable links. The default value is "none", disabling this feature.

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

ConstantValueDescription
none0x00 Match no patterns (default)
web0x01 Match Web URLs
email0x02 Match email addresses
phone0x04 Match phone numbers
map0x08 Match map addresses
all0x0f Match all patterns (equivalent to web|email|phone|map)

This corresponds to the global attribute resource symbol autoLink.

Constant Value: 11 (0x0000000b)

public static final int TextView_autoText

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

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

Constant Value: 45 (0x0000002d)

public static final int TextView_bufferType

Determines what the minimum type that getText() will return. The default is "normal". Note that EditText and LogTextBox always return Editable, even if you specify something less powerful here.

Must be one of the following constant values.

ConstantValueDescription
normal0 Can return any CharSequence, possibly a Spanned one if the source text was Spanned.
spannable1 Can only return Spannable.
editable2 Can only return Spannable and Editable.

This corresponds to the global attribute resource symbol bufferType.

Constant Value: 17 (0x00000011)

public static final int TextView_capitalize

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

Must be one of the following constant values.

ConstantValueDescription
none0 Don't automatically capitalize anything.
sentences1 Capitalize the first word of each sentence.
words2 Capitalize the first letter of every word.
characters3 Capitalize every character.

This corresponds to the global attribute resource symbol capitalize.

Constant Value: 44 (0x0000002c)

public static final int TextView_cursorVisible

Makes the cursor visible (the default) or invisible

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

Constant Value: 21 (0x00000015)

public static final int TextView_digits

If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. If this is set, numeric is implied to be true. The default is false.

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

Constant Value: 41 (0x00000029)

public static final int TextView_drawableBottom

The drawable to be drawn below the text.

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

Constant Value: 49 (0x00000031)

public static final int TextView_drawableLeft

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

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

Constant Value: 50 (0x00000032)

public static final int TextView_drawablePadding

The padding between the drawables and the text.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 drawablePadding.

Constant Value: 52 (0x00000034)

public static final int TextView_drawableRight

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

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

Constant Value: 51 (0x00000033)

public static final int TextView_drawableTop

The drawable to be drawn above the text.

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

Constant Value: 48 (0x00000030)

public static final int TextView_editable

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

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

Constant Value: 46 (0x0000002e)

public static final int TextView_ellipsize

If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle. You will often also want to set scrollHorizontally or singleLine as well so that the text as a whole is also constrained to a single line instead of still allowed to be broken onto multiple lines.

Must be one of the following constant values.

ConstantValueDescription
none0
start1
middle2
end3

This corresponds to the global attribute resource symbol ellipsize.

Constant Value: 9 (0x00000009)

public static final int TextView_ems

Makes the TextView be exactly this many ems wide

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

Constant Value: 27 (0x0000001b)

public static final int TextView_enabled

Deprecated: use state_enabled instead.

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: 0 (0x00000000)

public static final int TextView_freezesText

If set, the text view will include its current complete text inside of its frozen icicle in addition to meta-data such as the current cursor position. By default this is disabled; it can be useful when the contents of a text view is not stored in a persistent place such as a content provider.

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

Constant Value: 47 (0x0000002f)

public static final int TextView_gravity

Vertical gravity (top, center_vertical, bottom) when the text is smaller than the view.

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.

This corresponds to the global attribute resource symbol gravity.

Constant Value: 10 (0x0000000a)

public static final int TextView_height

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 height.

Constant Value: 24 (0x00000018)

public static final int TextView_hint

Hint text to display when the text is empty.

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

Constant Value: 19 (0x00000013)

public static final int TextView_includeFontPadding

Leave enough room for ascenders and descenders instead of using the font ascent and descent strictly. (Normally 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 includeFontPadding.

Constant Value: 34 (0x00000022)

public static final int TextView_inputMethod

If set, specifies that this TextView should use the specified input method (specified by fully-qualified class 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 inputMethod.

Constant Value: 43 (0x0000002b)

public static final int TextView_lines

Makes the TextView be exactly this many lines tall

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

Constant Value: 23 (0x00000017)

public static final int TextView_linksClickable

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

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

Constant Value: 12 (0x0000000c)

public static final int TextView_maxEms

Makes the TextView be at most this many ems wide

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

Constant Value: 26 (0x0000001a)

public static final int TextView_maxHeight

Makes the TextView be at most this many pixels tall

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 maxHeight.

Constant Value: 14 (0x0000000e)

public static final int TextView_maxLength

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

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

Constant Value: 35 (0x00000023)

public static final int TextView_maxLines

Makes the TextView be at most this many lines tall

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

Constant Value: 22 (0x00000016)

public static final int TextView_maxWidth

Makes the TextView be at most this many pixels wide

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 maxWidth.

Constant Value: 13 (0x0000000d)

public static final int TextView_minEms

Makes the TextView be at least this many ems wide

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

Constant Value: 29 (0x0000001d)

public static final int TextView_minHeight

Makes the TextView be at least this many pixels tall

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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: 16 (0x00000010)

public static final int TextView_minLines

Makes the TextView be at least this many lines tall

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

Constant Value: 25 (0x00000019)

public static final int TextView_minWidth

Makes the TextView be at least this many pixels wide

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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: 15 (0x0000000f)

public static final int TextView_numeric

If set, specifies that this TextView has a numeric input method. The default is false.

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

ConstantValueDescription
integer0x01 Input is numeric.
signed0x003 Input is numeric, with sign allowed.
decimal0x05 Input is numeric, with decimals allowed.

This corresponds to the global attribute resource symbol numeric.

Constant Value: 40 (0x00000028)

public static final int TextView_password

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

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

Constant Value: 31 (0x0000001f)

public static final int TextView_phoneNumber

If set, specifies that this TextView has a phone number input method. The default 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 phoneNumber.

Constant Value: 42 (0x0000002a)

public static final int TextView_scrollHorizontally

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

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

Constant Value: 30 (0x0000001e)

public static final 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.

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

Constant Value: 33 (0x00000021)

public static final int TextView_shadowColor

Place a shadow of the specified color behind the text.

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

Constant Value: 36 (0x00000024)

public static final int TextView_shadowDx

Horizontal offset of the shadow.

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

Constant Value: 37 (0x00000025)

public static final int TextView_shadowDy

Vertical offset of the shadow.

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

Constant Value: 38 (0x00000026)

public static final int TextView_shadowRadius

Radius of the shadow.

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

Constant Value: 39 (0x00000027)

public static final int TextView_singleLine

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

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

Constant Value: 32 (0x00000020)

public static final int TextView_text

Text to display.

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

Constant Value: 18 (0x00000012)

public static final int TextView_textAppearance

Base text color, typeface, size, and style.

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

Constant Value: 1 (0x00000001)

public static final int TextView_textColor

Text color.

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

Constant Value: 5 (0x00000005)

public static final int TextView_textColorHighlight

Color of the text selection highlight.

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

Constant Value: 6 (0x00000006)

public static final int TextView_textColorHint

Color of the hint text.

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

Constant Value: 7 (0x00000007)

public static final int TextView_textColorLink

Text color for links.

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

Constant Value: 8 (0x00000008)

public static final int TextView_textScaleX

Sets the horizontal scaling factor for the text

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

Constant Value: 20 (0x00000014)

public static final int TextView_textSize

Size of the text.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 textSize.

Constant Value: 2 (0x00000002)

public static final int TextView_textStyle

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

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

ConstantValueDescription
normal0
bold1
italic2

This corresponds to the global attribute resource symbol textStyle.

Constant Value: 4 (0x00000004)

public static final int TextView_typeface

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

Must be one of the following constant values.

ConstantValueDescription
normal0
sans1
serif2
monospace3

This corresponds to the global attribute resource symbol typeface.

Constant Value: 3 (0x00000003)

public static final int TextView_width

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 width.

Constant Value: 28 (0x0000001c)

public static final int[] Theme

These are the standard attributes that make up a complete theme.

Includes the following attributes:

AttributeSummary
android:absListViewStyle Default AbsListView style.
android:alertDialogStyle
android:autoCompleteTextViewStyle Default AutoCompleteTextView style.
android:backgroundDimAmount Default background dim amount when a menu, dialog, or something similar pops up.
android:buttonStyle Normal Button style.
android:buttonStyleInset Button style to inset into an EditText.
android:buttonStyleSmall Small Button style.
android:buttonStyleToggle ToggleButton style.
android:checkBoxPreferenceStyle Default style for CheckBoxPreference.
android:checkboxStyle Default Checkbox style.
android:colorBackground Color that matches (as closely as possible) the window background.
android:colorForeground Default color of foreground imagery.
android:colorForegroundInverse Default color of foreground imagery on an inverted background.
android:dialogPreferenceStyle Default style for DialogPreference.
android:disabledAlpha Default disabled alpha for widgets that set enabled/disabled alpha programmatically.
android:dropDownHintAppearance Default style for drop down hints.
android:dropDownItemStyle Default style for drop down items.
android:dropDownListViewStyle Default ListView style for drop downs.
android:editTextPreferenceStyle Default style for EditTextPreference.
android:editTextStyle Default EditText style.
android:expandableListPreferredChildIndicatorLeft The preferred left bound for an expandable list child's indicator.
android:expandableListPreferredChildIndicatorRight The preferred right bound for an expandable list child's indicator.
android:expandableListPreferredChildPaddingLeft The preferred left padding for an expandable list item that is a child.
android:expandableListPreferredItemIndicatorLeft The preferred left bound for an expandable list item's indicator.
android:expandableListPreferredItemIndicatorRight The preferred right bound for an expandable list item's indicator.
android:expandableListPreferredItemPaddingLeft The preferred left padding for an expandable list item (for child-specific layouts, use expandableListPreferredChildPaddingLeft).
android:expandableListViewStyle Default ExpandableListView style.
android:galleryItemBackground The preferred background for gallery items.
android:galleryStyle Default Gallery style.
android:gridViewStyle Default GridView style.
android:imageButtonStyle The style resource to use for an ImageButton
android:imageWellStyle The style resource to use for an ImageButton that is an image well
android:listDivider The drawable for the list divider
android:listPreferredItemHeight The preferred list item height
android:listSeparatorTextViewStyle TextView style for list separators.
android:listViewStyle Default ListView style.
android:listViewWhiteStyle ListView with white background.
android:mapViewStyle Default MapView style.
android:panelBackground The background of a panel when it is inset from the left and right edges of the screen.
android:panelColorBackground Color that matches (as closely as possible) the panel background.
android:panelColorForeground Default color of foreground panel imagery.
android:panelFullBackground The background of a panel when it extends to the left and right edges of the screen.
android:panelTextAppearance Default appearance of panel text.
android:popupWindowStyle Default PopupWindow style.
android:preferenceCategoryStyle Default style for PreferenceCategory.
android:preferenceInformationStyle Default style for informational Preference.
android:preferenceLayoutChild The preference layout that has the child/tabbed effect.
android:preferenceScreenStyle Default style for PreferenceScreen.
android:preferenceStyle Default style for Preference.
android:progressBarStyle Default ProgressBar style.
android:progressBarStyleHorizontal Horizontal ProgressBar style.
android:progressBarStyleLarge Large ProgressBar style.
android:progressBarStyleSmall Small ProgressBar style.
android:progressBarStyleSmallTitle Small ProgressBar in title style.
android:radioButtonStyle Default RadioButton style.
android:ratingBarStyle Default RatingBar style.
android:ratingBarStyleIndicator Indicator RatingBar style.
android:ratingBarStyleSmall Small indicator RatingBar style.
android:ringtonePreferenceStyle Default style for RingtonePreference.
android:scrollViewStyle Default ScrollView style.
android:seekBarStyle Default SeekBar style.
android:spinnerDropDownItemStyle Default style for spinner drop down items.
android:spinnerItemStyle Default spinner item style.
android:spinnerStyle Default Spinner style.
android:starStyle Default Star style.
android:tabWidgetStyle Default TabWidget style.
android:textAppearance Default appearance of text: color, typeface, size, and style
android:textAppearanceButton Text color, typeface, size, and style for the text inside of a button.
android:textAppearanceInverse Default appearance of text against an inverted background: color, typeface, size, and style
android:textAppearanceLarge Text color, typeface, size, and style for "large" text.
android:textAppearanceLargeInverse Text color, typeface, size, and style for "large" inverse text.
android:textAppearanceMedium Text color, typeface, size, and style for "medium" text.
android:textAppearanceMediumInverse Text color, typeface, size, and style for "medium" inverse text.
android:textAppearanceSmall Text color, typeface, size, and style for "small" text.
android:textAppearanceSmallInverse Text color, typeface, size, and style for "small" inverse text.
android:textCheckMark Drawable to use for check marks
android:textCheckMarkInverse
android:textColorHintInverse Inverse hint text color
android:textColorPrimary The most prominent text color, for the
android:textColorPrimaryDisableOnly Bright text color.
android:textColorPrimaryInverse Primary inverse text color, useful for inverted backgrounds
android:textColorPrimaryInverseNoDisable Bright inverse text color.
android:textColorPrimaryNoDisable Bright text color.
android:textColorSecondary Secondary text color
android:textColorSecondaryInverse Secondary inverse text color, useful for inverted backgrounds
android:textColorSecondaryInverseNoDisable Dim inverse text color.
android:textColorSecondaryNoDisable Dim text color.
android:textColorTertiary Tertiary text color
android:textColorTertiaryInverse Tertiary inverse text color, useful for inverted backgrounds
android:textViewStyle Default TextView style.
android:webViewStyle Default WebView style.
android:windowAnimationStyle Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.
android:windowBackground Drawable to use as the overall window background.
android:windowContentOverlay This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.
android:windowFrame Drawable to use as a frame around the window.
android:windowFullscreen Flag indicating whether this window should fill the entire screen.
android:windowIsFloating Flag indicating whether this is a floating window.
android:windowIsTranslucent Flag indicating whether this is a translucent window.
android:windowNoTitle Flag indicating whether there should be no title on this window.
android:windowTitleBackgroundStyle The style resource to use for a window's title area.
android:windowTitleSize The style resource to use for a window's title bar height.
android:windowTitleStyle The style resource to use for a window's title text.
android:yesNoPreferenceStyle Default style for YesNoPreference.

See Also

public static final int Theme_absListViewStyle

Default AbsListView style.

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

Constant Value: 51 (0x00000033)

public static final int Theme_alertDialogStyle

This symbol is the offset where the alertDialogStyle attribute's value can be found in the Theme 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: 45 (0x0000002d)

public static final int Theme_autoCompleteTextViewStyle

Default AutoCompleteTextView style.

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

Constant Value: 52 (0x00000034)

public static final int Theme_backgroundDimAmount

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

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

Constant Value: 2 (0x00000002)

public static final int Theme_buttonStyle

Normal Button style.

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

Constant Value: 24 (0x00000018)

public static final int Theme_buttonStyleInset

Button style to inset into an EditText.

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

Constant Value: 26 (0x0000001a)

public static final int Theme_buttonStyleSmall

Small Button style.

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

Constant Value: 25 (0x00000019)

public static final int Theme_buttonStyleToggle

ToggleButton style.

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

Constant Value: 27 (0x0000001b)

public static final int Theme_checkBoxPreferenceStyle

Default style for CheckBoxPreference.

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

Constant Value: 87 (0x00000057)

public static final int Theme_checkboxStyle

Default Checkbox style.

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

Constant Value: 53 (0x00000035)

public static final int Theme_colorBackground

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

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

Constant Value: 1 (0x00000001)

public static final int Theme_colorForeground

Default color of foreground imagery.

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

Constant Value: 0 (0x00000000)

public static final int Theme_colorForegroundInverse

Default color of foreground imagery on an inverted background.

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

Constant Value: 94 (0x0000005e)

public static final int Theme_dialogPreferenceStyle

Default style for DialogPreference.

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

Constant Value: 89 (0x00000059)

public static final int Theme_disabledAlpha

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

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

Constant Value: 3 (0x00000003)

public static final int Theme_dropDownHintAppearance

Default style for drop down hints.

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

Constant Value: 80 (0x00000050)

public static final int Theme_dropDownItemStyle

Default style for drop down items.

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

Constant Value: 78 (0x0000004e)

public static final int Theme_dropDownListViewStyle

Default ListView style for drop downs.

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

Constant Value: 54 (0x00000036)

public static final int Theme_editTextPreferenceStyle

Default style for EditTextPreference.

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

Constant Value: 90 (0x0000005a)

public static final int Theme_editTextStyle

Default EditText style.

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

Constant Value: 55 (0x00000037)

public static final int Theme_expandableListPreferredChildIndicatorLeft

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 expandableListPreferredChildIndicatorLeft.

Constant Value: 34 (0x00000022)

public static final int Theme_expandableListPreferredChildIndicatorRight

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 expandableListPreferredChildIndicatorRight.

Constant Value: 35 (0x00000023)

public static final int Theme_expandableListPreferredChildPaddingLeft

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 expandableListPreferredChildPaddingLeft.

Constant Value: 31 (0x0000001f)

public static final int Theme_expandableListPreferredItemIndicatorLeft

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 expandableListPreferredItemIndicatorLeft.

Constant Value: 32 (0x00000020)

public static final int Theme_expandableListPreferredItemIndicatorRight

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 expandableListPreferredItemIndicatorRight.

Constant Value: 33 (0x00000021)

public static final int Theme_expandableListPreferredItemPaddingLeft

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

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 expandableListPreferredItemPaddingLeft.

Constant Value: 30 (0x0000001e)

public static final int Theme_expandableListViewStyle

Default ExpandableListView style.

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

Constant Value: 56 (0x00000038)

public static final int Theme_galleryItemBackground

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

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

Constant Value: 28 (0x0000001c)

public static final int Theme_galleryStyle

Default Gallery style.

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

Constant Value: 57 (0x00000039)

public static final int Theme_gridViewStyle

Default GridView style.

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

Constant Value: 58 (0x0000003a)

public static final int Theme_imageButtonStyle

The style resource to use for an ImageButton

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

Constant Value: 59 (0x0000003b)

public static final int Theme_imageWellStyle

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

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

Constant Value: 60 (0x0000003c)

public static final int Theme_listDivider

The drawable for the list divider

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

Constant Value: 102 (0x00000066)

public static final int Theme_listPreferredItemHeight

The preferred list item height

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 listPreferredItemHeight.

Constant Value: 29 (0x0000001d)

public static final int Theme_listSeparatorTextViewStyle

TextView style for list separators.

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

Constant Value: 96 (0x00000060)

public static final int Theme_listViewStyle

Default ListView style.

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 listViewStyle.

Constant Value: 61 (0x0000003d)

public static final int Theme_listViewWhiteStyle

ListView with white background.

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 listViewWhiteStyle.

Constant Value: 62 (0x0000003e)

public static final int Theme_mapViewStyle

Default MapView style.

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 mapViewStyle.

Constant Value: 82 (0x00000052)

public static final int Theme_panelBackground

The background of a panel when it is inset from the left and right edges of the screen.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 panelBackground.

Constant Value: 46 (0x0000002e)

public static final int Theme_panelColorBackground

Color that matches (as closely as possible) the panel background.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 panelColorBackground.

Constant Value: 49 (0x00000031)

public static final int Theme_panelColorForeground

Default color of foreground panel imagery.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 panelColorForeground.

Constant Value: 48 (0x00000030)

public static final int Theme_panelFullBackground

The background of a panel when it extends to the left and right edges of the screen.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 panelFullBackground.

Constant Value: 47 (0x0000002f)

public static final int Theme_panelTextAppearance

Default appearance of panel text.

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 panelTextAppearance.

Constant Value: 50 (0x00000032)

public static final int Theme_popupWindowStyle

Default PopupWindow style.

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 popupWindowStyle.

Constant Value: 63 (0x0000003f)

public static final int Theme_preferenceCategoryStyle

Default style for PreferenceCategory.

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 preferenceCategoryStyle.

Constant Value: 84 (0x00000054)

public static final int Theme_preferenceInformationStyle

Default style for informational Preference.

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 preferenceInformationStyle.

Constant Value: 85 (0x00000055)

public static final int Theme_preferenceLayoutChild

The preference layout that has the child/tabbed effect.

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 preferenceLayoutChild.

Constant Value: 92 (0x0000005c)

public static final int Theme_preferenceScreenStyle

Default style for PreferenceScreen.

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 preferenceScreenStyle.

Constant Value: 83 (0x00000053)

public static final int Theme_preferenceStyle

Default style for Preference.

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 preferenceStyle.

Constant Value: 86 (0x00000056)

public static final int Theme_progressBarStyle

Default ProgressBar style. This is a medium circular progress bar.

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 progressBarStyle.

Constant Value: 64 (0x00000040)

public static final int Theme_progressBarStyleHorizontal

Horizontal ProgressBar style. This is a horizontal progress bar.

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 progressBarStyleHorizontal.

Constant Value: 65 (0x00000041)

public static final int Theme_progressBarStyleLarge

Large ProgressBar style. This is a large circular progress bar.

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 progressBarStyleLarge.

Constant Value: 67 (0x00000043)

public static final int Theme_progressBarStyleSmall

Small ProgressBar style. This is a small circular progress bar.

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 progressBarStyleSmall.

Constant Value: 66 (0x00000042)

public static final int Theme_progressBarStyleSmallTitle

Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars.

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 progressBarStyleSmallTitle.

Constant Value: 98 (0x00000062)

public static final int Theme_radioButtonStyle

Default RadioButton style.

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 radioButtonStyle.

Constant Value: 71 (0x00000047)

public static final int Theme_ratingBarStyle

Default RatingBar style.

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 ratingBarStyle.

Constant Value: 69 (0x00000045)

public static final int Theme_ratingBarStyleIndicator

Indicator RatingBar style.

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 ratingBarStyleIndicator.

Constant Value: 99 (0x00000063)

public static final int Theme_ratingBarStyleSmall

Small indicator RatingBar style.

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 ratingBarStyleSmall.

Constant Value: 70 (0x00000046)

public static final int Theme_ringtonePreferenceStyle

Default style for RingtonePreference.

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 ringtonePreferenceStyle.

Constant Value: 91 (0x0000005b)

public static final int Theme_scrollViewStyle

Default ScrollView style.

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 scrollViewStyle.

Constant Value: 72 (0x00000048)

public static final int Theme_seekBarStyle

Default SeekBar style.

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 seekBarStyle.

Constant Value: 68 (0x00000044)

public static final int Theme_spinnerDropDownItemStyle

Default style for spinner drop down items.

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 spinnerDropDownItemStyle.

Constant Value: 79 (0x0000004f)

public static final int Theme_spinnerItemStyle

Default spinner item style.

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 spinnerItemStyle.

Constant Value: 81 (0x00000051)

public static final int Theme_spinnerStyle

Default Spinner style.

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 spinnerStyle.

Constant Value: 73 (0x00000049)

public static final int Theme_starStyle

Default Star style.

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 starStyle.

Constant Value: 74 (0x0000004a)

public static final int Theme_tabWidgetStyle

Default TabWidget style.

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 tabWidgetStyle.

Constant Value: 75 (0x0000004b)

public static final int Theme_textAppearance

Default appearance of text: color, typeface, size, and style

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 textAppearance.

Constant Value: 4 (0x00000004)

public static final int Theme_textAppearanceButton

Text color, typeface, size, and style for the text inside of a button.

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 textAppearanceButton.

Constant Value: 95 (0x0000005f)

public static final int Theme_textAppearanceInverse

Default appearance of text against an inverted background: color, typeface, size, and style

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 textAppearanceInverse.

Constant Value: 5 (0x00000005)

public static final int Theme_textAppearanceLarge

Text color, typeface, size, and style for "large" text. Defaults to primary text color.

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 textAppearanceLarge.

Constant Value: 16 (0x00000010)

public static final int Theme_textAppearanceLargeInverse

Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color.

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 textAppearanceLargeInverse.

Constant Value: 19 (0x00000013)

public static final int Theme_textAppearanceMedium

Text color, typeface, size, and style for "medium" text. Defaults to primary text color.

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 textAppearanceMedium.

Constant Value: 17 (0x00000011)

public static final int Theme_textAppearanceMediumInverse

Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color.

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 textAppearanceMediumInverse.

Constant Value: 20 (0x00000014)

public static final int Theme_textAppearanceSmall

Text color, typeface, size, and style for "small" text. Defaults to secondary text color.

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 textAppearanceSmall.

Constant Value: 18 (0x00000012)

public static final int Theme_textAppearanceSmallInverse

Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color.

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 textAppearanceSmallInverse.

Constant Value: 21 (0x00000015)

public static final int Theme_textCheckMark

Drawable to use for check marks

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 textCheckMark.

Constant Value: 22 (0x00000016)

public static final int Theme_textCheckMarkInverse

This symbol is the offset where the textCheckMarkInverse attribute's value can be found in the Theme 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: 23 (0x00000017)

public static final int Theme_textColorHintInverse

Inverse hint text color

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 textColorHintInverse.

Constant Value: 15 (0x0000000f)

public static final int Theme_textColorPrimary

The most prominent text color, for the

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 textColorPrimary.

Constant Value: 6 (0x00000006)

public static final int Theme_textColorPrimaryDisableOnly

Bright text color. Only differentiates based on the disabled state.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorPrimaryDisableOnly.

Constant Value: 7 (0x00000007)

public static final int Theme_textColorPrimaryInverse

Primary inverse text color, useful for inverted backgrounds

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorPrimaryInverse.

Constant Value: 9 (0x00000009)

public static final int Theme_textColorPrimaryInverseNoDisable

Bright inverse text color. This does not differentiate the disabled state.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorPrimaryInverseNoDisable.

Constant Value: 13 (0x0000000d)

public static final int Theme_textColorPrimaryNoDisable

Bright text color. This does not differentiate the disabled state. As an example, buttons use this since they display the disabled state via the background and not the foreground text color.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorPrimaryNoDisable.

Constant Value: 11 (0x0000000b)

public static final int Theme_textColorSecondary

Secondary text color

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 textColorSecondary.

Constant Value: 8 (0x00000008)

public static final int Theme_textColorSecondaryInverse

Secondary inverse text color, useful for inverted backgrounds

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorSecondaryInverse.

Constant Value: 10 (0x0000000a)

public static final int Theme_textColorSecondaryInverseNoDisable

Dim inverse text color. This does not differentiate the disabled state.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorSecondaryInverseNoDisable.

Constant Value: 14 (0x0000000e)

public static final int Theme_textColorSecondaryNoDisable

Dim text color. This does not differentiate the disabled state.

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorSecondaryNoDisable.

Constant Value: 12 (0x0000000c)

public static final int Theme_textColorTertiary

Tertiary text color

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 textColorTertiary.

Constant Value: 100 (0x00000064)

public static final int Theme_textColorTertiaryInverse

Tertiary inverse text color, useful for inverted backgrounds

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColorTertiaryInverse.

Constant Value: 101 (0x00000065)

public static final int Theme_textViewStyle

Default TextView style.

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 textViewStyle.

Constant Value: 76 (0x0000004c)

public static final int Theme_webViewStyle

Default WebView style.

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 webViewStyle.

Constant Value: 77 (0x0000004d)

public static final int Theme_windowAnimationStyle

Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.

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 windowAnimationStyle.

Constant Value: 93 (0x0000005d)

public static final int Theme_windowBackground

Drawable to use as the overall window background. There are a few special considerations you should use when settings this drawable:

  • This information will be used to infer the pixel format for your window's surface. If the drawable has any non-opaque pixels, your window will be translucent (32 bpp).
  • If you want to draw the entire background yourself, you should set this drawable to some solid color that closely matches that background (so the system's preview of your window will match), and then in code manually set your window's background to null so it will not be drawn.

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 windowBackground.

Constant Value: 36 (0x00000024)

public static final int Theme_windowContentOverlay

This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.

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 windowContentOverlay.

Constant Value: 41 (0x00000029)

public static final int Theme_windowFrame

Drawable to use as a frame around the window.

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 windowFrame.

Constant Value: 37 (0x00000025)

public static final int Theme_windowFullscreen

Flag indicating whether this window should fill the entire 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 windowFullscreen.

Constant Value: 97 (0x00000061)

public static final int Theme_windowIsFloating

Flag indicating whether this is a floating window.

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 windowIsFloating.

Constant Value: 39 (0x00000027)

public static final int Theme_windowIsTranslucent

Flag indicating whether this is a translucent window.

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 windowIsTranslucent.

Constant Value: 40 (0x00000028)

public static final int Theme_windowNoTitle

Flag indicating whether there should be no title on this window.

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 windowNoTitle.

Constant Value: 38 (0x00000026)

public static final int Theme_windowTitleBackgroundStyle

The style resource to use for a window's title area.

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 windowTitleBackgroundStyle.

Constant Value: 44 (0x0000002c)

public static final int Theme_windowTitleSize

The style resource to use for a window's title bar height.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 windowTitleSize.

Constant Value: 42 (0x0000002a)

public static final int Theme_windowTitleStyle

The style resource to use for a window's title text.

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 windowTitleStyle.

Constant Value: 43 (0x0000002b)

public static final int Theme_yesNoPreferenceStyle

Default style for YesNoPreference.

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 yesNoPreferenceStyle.

Constant Value: 88 (0x00000058)

public static final int[] ToggleButton

Attributes that can be used with a ToggleButton.

Includes the following attributes:

AttributeSummary
android:disabledAlpha The alpha to apply to the indicator when disabled.
android:textOff The text for the button when it is not checked.
android:textOn The text for the button when it is checked.

public static final int ToggleButton_disabledAlpha

The alpha to apply to the indicator when disabled.

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 disabledAlpha.

Constant Value: 0 (0x00000000)

public static final int ToggleButton_textOff

The text for the button when it is not checked.

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 textOff.

Constant Value: 2 (0x00000002)

public static final int ToggleButton_textOn

The text for the button when it is checked.

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 textOn.

Constant Value: 1 (0x00000001)

public static final int[] TranslateAnimation

Attributes that can be used with a TranslateAnimation.

Includes the following attributes:

AttributeSummary
android:fromXDelta
android:fromYDelta
android:toXDelta
android:toYDelta

public static final int TranslateAnimation_fromXDelta

This symbol is the offset where the fromXDelta attribute's value can be found in the TranslateAnimation 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: 0 (0x00000000)

public static final int TranslateAnimation_fromYDelta

This symbol is the offset where the fromYDelta attribute's value can be found in the TranslateAnimation 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 TranslateAnimation_toXDelta

This symbol is the offset where the toXDelta attribute's value can be found in the TranslateAnimation 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: 1 (0x00000001)

public static final int TranslateAnimation_toYDelta

This symbol is the offset where the toYDelta attribute's value can be found in the TranslateAnimation 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[] TwoLineListItem

Attributes that can be used with a TwoLineListItem.

Includes the following attributes:

AttributeSummary
android:mode

public static final int TwoLineListItem_mode

This symbol is the offset where the mode attribute's value can be found in the TwoLineListItem array.

Must be one of the following constant values.

ConstantValueDescription
oneLine1 Always show only the first line.
collapsing2 When selected show both lines, otherwise show only the first line. This is the default mode
twoLine3 Always show both lines.
Constant Value: 0 (0x00000000)

public static final int[] VerticalSlider

Attributes that can be used with a VerticalSlider.

Includes the following attributes:

AttributeSummary
android:animationDuration Sets how long a transition animation should run (in milliseconds) when layout has changed.

public static final int[] VerticalSlider_Layout

Attributes that can be used with a VerticalSlider_Layout.

Includes the following attributes:

AttributeSummary
android:layout_scale

public static final 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.

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 VerticalSlider_animationDuration

Sets how long a transition animation should run (in milliseconds) when layout has changed. Only relevant if animation is turned on.

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 animationDuration.

Constant Value: 0 (0x00000000)

public static final int[] View

Attributes that can be used with View or any of its subclasses. Also see ViewGroup_Layout for attributes that are processed by the view's parent.

Includes the following attributes:

AttributeSummary
android:background A drawable to use as the background.
android:clickable Defines whether this view reacts to click events.
android:drawingCacheQuality Defines the quality of translucent drawing caches.
android:duplicateParentState When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.
android:fadingEdge Defines which edges should be fadeded on scrolling.
android:fadingEdgeLength Defines the length of the fading edges.
android:fitsSystemWindows Boolean internal attribute to adjust view layout based on system windows such as the status bar.
android:focusable Boolean that controls whether a view can take focus.
android:focusableInTouchMode Boolean that controls whether a view can take focus while in touch mode.
android:id Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById().
android:keepScreenOn Controls whether the view's window should keep the screen on while visible.
android:longClickable Defines whether this view reacts to long click events.
android:minHeight Defines the minimum height of the view.
android:minWidth Defines the minimum width of the view.
android: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.
android:nextFocusLeft Defines the next view to give focus to when the next focus is FOCUS_LEFT.
android: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.
android: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.
android:padding Sets the padding, in pixels, of all four edges.
android:paddingBottom Sets the padding, in pixels, of the bottom edge; see padding.
android:paddingLeft Sets the padding, in pixels, of the left edge; see padding.
android:paddingRight Sets the padding, in pixels, of the right edge; see padding.
android:paddingTop Sets the padding, in pixels, of the top edge; see padding.
android:saveEnabled If unset, no state will be saved for this view when it is being frozen.
android:scrollX The initial horizontal scroll offset, in pixels.
android:scrollY The initial vertical scroll offset, in pixels.
android:scrollbarAlwaysDrawHorizontalTrack Defines whether the horizontal scrollbar track should always be drawn.
android:scrollbarAlwaysDrawVerticalTrack Defines whether the vertical scrollbar track should always be drawn
android:scrollbarSize Sets the width of vertical scrollbars and height of horizontal scrollbars.
android:scrollbarStyle Controls the scrollbar style and position.
android:scrollbarThumbHorizontal Defines the horizontal scrollbar thumb drawable.
android:scrollbarThumbVertical Defines the vertical scrollbar thumb drawable.
android:scrollbarTrackHorizontal Defines the horizontal scrollbar track drawable.
android:scrollbarTrackVertical Defines the vertical scrollbar track drawable.
android:scrollbars Defines which scrollbars should be displayed on scrolling or not.
android:tag Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag().
android:visibility Controls the initial visibility of the view.

public static final int[] ViewAnimator

Attributes that can be used with a ViewAnimator.

Includes the following attributes:

AttributeSummary
android:inAnimation
android:outAnimation

public static final int ViewAnimator_inAnimation

This symbol is the offset where the inAnimation attribute's value can be found in the ViewAnimator 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 ViewAnimator_outAnimation

This symbol is the offset where the outAnimation attribute's value can be found in the ViewAnimator 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[] ViewDrawableStates

public static final int ViewDrawableStates_state_enabled

State value for StateListDrawable.

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 state_enabled.

Constant Value: 2 (0x00000002)

public static final int ViewDrawableStates_state_focused

State value for StateListDrawable.

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 state_focused.

Constant Value: 0 (0x00000000)

public static final int ViewDrawableStates_state_pressed

State value for StateListDrawable.

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 state_pressed.

Constant Value: 4 (0x00000004)

public static final int ViewDrawableStates_state_selected

State value for StateListDrawable.

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 state_selected.

Constant Value: 3 (0x00000003)

public static final int ViewDrawableStates_state_window_focused

State value for StateListDrawable.

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 state_window_focused.

Constant Value: 1 (0x00000001)

public static final int[] ViewFlipper

Attributes that can be used with a ViewFlipper.

Includes the following attributes:

AttributeSummary
android:flipInterval

public static final int ViewFlipper_flipInterval

This symbol is the offset where the flipInterval attribute's value can be found in the ViewFlipper array.

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.

Constant Value: 0 (0x00000000)

public static final int[] ViewGroup

Attributes that can be used with a ViewGroup or any of its subclasses. Also see ViewGroup_Layout for attributes that this class processes in its children.

Includes the following attributes:

AttributeSummary
android:addStatesFromChildren Sets whether this ViewGroup's drawable states also include its children's drawable states.
android:alwaysDrawnWithCache Defines whether the ViewGroup should always draw its children using their drawing cache or not.
android:animationCache Defines whether layout animations should create a drawing cache for their children.
android:clipChildren Defines whether a child is limited to draw inside of its bounds or not.
android:clipToPadding Defines whether the ViewGroup will clip its drawing surface so as to exclude the padding area.
android:descendantFocusability Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.
android:layoutAnimation Defines the layout animation to use the first time the ViewGroup is laid out.
android:persistentDrawingCache Defines the persistence of the drawing cache.

public static final int[] ViewGroup_Layout

This is the basic set of layout attributes that are common to all layout managers. These attributes are specified with the rest of a view's normal attributes (such as background, but will be parsed by the view's parent and ignored by the child.

The values defined here correspond to the base layout attribute class ViewGroup.LayoutParams.

Includes the following attributes:

AttributeSummary
android:layout_height Specifies the basic height of the view.
android:layout_width Specifies the basic width of the view.

public static final int ViewGroup_Layout_layout_height

Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

This corresponds to the global attribute resource symbol layout_height.

Constant Value: 1 (0x00000001)

public static final int ViewGroup_Layout_layout_width

Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

This corresponds to the global attribute resource symbol layout_width.

Constant Value: 0 (0x00000000)

public static final int[] ViewGroup_MarginLayout

This is the basic set of layout attributes for layout managers that wish to place margins around their child views. These attributes are specified with the rest of a view's normal attributes (such as background, but will be parsed by the view's parent and ignored by the child.

The values defined here correspond to the base layout attribute class ViewGroup.MarginLayoutParams.

Includes the following attributes:

AttributeSummary
android:layout_height Specifies the basic height of the view.
android:layout_margin Specifies extra space on the left, top, right and bottom sides of this view.
android:layout_marginBottom Specifies extra space on the bottom side of this view.
android:layout_marginLeft Specifies extra space on the left side of this view.
android:layout_marginRight Specifies extra space on the right side of this view.
android:layout_marginTop Specifies extra space on the top side of this view.
android:layout_width Specifies the basic width of the view.

public static final int ViewGroup_MarginLayout_layout_height

Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

This corresponds to the global attribute resource symbol layout_height.

Constant Value: 1 (0x00000001)

public static final int ViewGroup_MarginLayout_layout_margin

Specifies extra space on the left, top, right and bottom sides of this view. This space is outside this view's bounds.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 layout_margin.

Constant Value: 2 (0x00000002)

public static final int ViewGroup_MarginLayout_layout_marginBottom

Specifies extra space on the bottom side of this view. This space is outside this view's bounds.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 layout_marginBottom.

Constant Value: 6 (0x00000006)

public static final int ViewGroup_MarginLayout_layout_marginLeft

Specifies extra space on the left side of this view. This space is outside this view's bounds.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 layout_marginLeft.

Constant Value: 3 (0x00000003)

public static final int ViewGroup_MarginLayout_layout_marginRight

Specifies extra space on the right side of this view. This space is outside this view's bounds.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 layout_marginRight.

Constant Value: 5 (0x00000005)

public static final int ViewGroup_MarginLayout_layout_marginTop

Specifies extra space on the top side of this view. This space is outside this view's bounds.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 layout_marginTop.

Constant Value: 4 (0x00000004)

public static final int ViewGroup_MarginLayout_layout_width

Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 view should be as big as its parent (minus padding).
wrap_content-2 The view should be only big enough to enclose its content (plus padding).

This corresponds to the global attribute resource symbol layout_width.

Constant Value: 0 (0x00000000)

public static final int ViewGroup_addStatesFromChildren

Sets whether this ViewGroup's drawable states also include its children's drawable states. This is used, for example, to make a group appear to be focused when its child EditText or button is focused.

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 addStatesFromChildren.

Constant Value: 6 (0x00000006)

public static final int ViewGroup_alwaysDrawnWithCache

Defines whether the ViewGroup should always draw its children using their drawing cache or not. The default value is true.

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 alwaysDrawnWithCache.

Constant Value: 5 (0x00000005)

public static final int ViewGroup_animationCache

Defines whether layout animations should create a drawing cache for their children. Enabling the animation cache consumes more memory and requires a longer initialization but provides better performance. The animation cache is enabled by default.

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 animationCache.

Constant Value: 3 (0x00000003)

public static final int ViewGroup_clipChildren

Defines whether a child is limited to draw inside of its bounds or not. This is useful with animations that scale the size of the children to more than 100% for instance. In such a case, this property should be set to false to allow the children to draw outside of their bounds. The default value of this property is true.

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 clipChildren.

Constant Value: 0 (0x00000000)

public static final int ViewGroup_clipToPadding

Defines whether the ViewGroup will clip its drawing surface so as to exclude the padding area. This property is set to true by default.

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 clipToPadding.

Constant Value: 1 (0x00000001)

public static final int ViewGroup_descendantFocusability

Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.

Must be one of the following constant values.

ConstantValueDescription
beforeDescendants0 The ViewGroup will get focus before any of its descendants.
afterDescendants1 The ViewGroup will get focus only if none of its descendants want it.
blocksDescendants2 The ViewGroup will block its descendants from receiving focus.

This corresponds to the global attribute resource symbol descendantFocusability.

Constant Value: 7 (0x00000007)

public static final int ViewGroup_layoutAnimation

Defines the layout animation to use the first time the ViewGroup is laid out. Layout animations can also be started manually after the first layout.

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 layoutAnimation.

Constant Value: 2 (0x00000002)

public static final int ViewGroup_persistentDrawingCache

Defines the persistence of the drawing cache. The drawing cache might be enabled by a ViewGroup for all its children in specific situations (for instance during a scrolling.) This property lets you persist the cache in memory after its initial usage. Persisting the cache consumes more memory but may prevent frequent garbage collection is the cache is created over and over again. By default the persistence is set to scrolling.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
none0x0 The drawing cache is not persisted after use.
animation0x1 The drawing cache is persisted after a layout animation.
scrolling0x2 The drawing cache is persisted after a scroll.
all0x3 The drawing cache is always persisted.

This corresponds to the global attribute resource symbol persistentDrawingCache.

Constant Value: 4 (0x00000004)

public static final int[] ViewStub

Attributes that can be used with ViewStub.

Includes the following attributes:

AttributeSummary
android:inflatedId Overrides the id of the inflated View with this value.
android:layout Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so.

public static final int ViewStub_inflatedId

Overrides the id of the inflated View with this value.

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 inflatedId.

Constant Value: 1 (0x00000001)

public static final int ViewStub_layout

Supply an identifier for the layout resource to inflate when the ViewStub becomes visible or when forced to do so. The layout resource must be a valid reference to a layout.

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 layout.

Constant Value: 0 (0x00000000)

public static final int[] ViewSwitcher

Attributes that can be used with a ViewSwitcher.

public static final int View_background

A drawable to use as the background. This can be either a reference to a full drawable resource (such as a PNG image, 9-patch, XML state list description, etc), or a solid color such as "#ff000000" (black).

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 background.

Constant Value: 12 (0x0000000c)

public static final int View_clickable

Defines whether this view reacts to click events.

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 clickable.

Constant Value: 29 (0x0000001d)

public static final int View_drawingCacheQuality

Defines the quality of translucent drawing caches. This property is used only when the drawing cache is enabled and translucent. The default value is auto.

Must be one of the following constant values.

ConstantValueDescription
auto0 Lets the framework decide what quality level should be used for the drawing cache.
low1 Low quality. When set to low quality, the drawing cache uses a lower color depth, thus losing precision in rendering gradients, but uses less memory.
high2 High quality. When set to high quality, the drawing cache uses a higher color depth but uses more memory.

This corresponds to the global attribute resource symbol drawingCacheQuality.

Constant Value: 32 (0x00000020)

public static final int View_duplicateParentState

When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.

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 duplicateParentState.

Constant Value: 33 (0x00000021)

public static final int View_fadingEdge

Defines which edges should be fadeded on scrolling.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
none0x00000000 No edge is faded.
horizontal0x00001000 Fades horizontal edges only.
vertical0x00002000 Fades vertical edges only.

This corresponds to the global attribute resource symbol fadingEdge.

Constant Value: 23 (0x00000017)

public static final int View_fadingEdgeLength

Defines the length of the fading edges.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 fadingEdgeLength.

Constant Value: 24 (0x00000018)

public static final int View_fitsSystemWindows

Boolean internal attribute to adjust view layout based on system windows such as the status bar. If true, adjusts the padding of this view to leave space for the system windows. Will only take effect if this view is in a non-embedded activity.

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 fitsSystemWindows.

Constant Value: 21 (0x00000015)

public static final int View_focusable

Boolean that controls whether a view can take focus. By default the user can not move focus to a view; by setting this attribute to true the view is allowed to take focus. This value does not impact the behavior of directly calling requestFocus(), which will always request focus regardless of this view. It only impacts where focus navigation will try to move focus.

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 focusable.

Constant Value: 18 (0x00000012)

public static final int View_focusableInTouchMode

Boolean that controls whether a view can take focus while in touch mode. If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.

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 focusableInTouchMode.

Constant Value: 19 (0x00000013)

public static final int View_id

Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById(). This must be a resource reference; typically you set this using the @+ syntax to create a new ID resources. For example: android:id="@+id/my_id" which allows you to later retrieve the view with findViewById(R.id.my_id).

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 id.

Constant Value: 8 (0x00000008)

public static final int View_keepScreenOn

Controls whether the view's window should keep the screen on while visible.

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 is a private symbol.

Constant Value: 36 (0x00000024)

public static final int View_longClickable

Defines whether this view reacts to long click events.

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 longClickable.

Constant Value: 30 (0x0000001e)

public static final int View_minHeight

Defines the minimum height of the view. It is not guaranteed the view will be able to achieve this minimum height (for example, if its parent layout constrains it with less available height).

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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: 35 (0x00000023)

public static final int View_minWidth

Defines the minimum width of the view. It is not guaranteed the view will be able to achieve this minimum width (for example, if its parent layout constrains it with less available width).

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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: 34 (0x00000022)

public static final 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.

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 nextFocusDown.

Constant Value: 28 (0x0000001c)

public static final int View_nextFocusLeft

Defines the next view to give focus to when the next focus is FOCUS_LEFT. If the reference refers to a view that does not exist or is part of a hierarchy that is invisible, a RuntimeException will result when the reference is accessed.

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 nextFocusLeft.

Constant Value: 25 (0x00000019)

public static final 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.

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 nextFocusRight.

Constant Value: 26 (0x0000001a)

public static final 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.

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 nextFocusUp.

Constant Value: 27 (0x0000001b)

public static final int View_padding

Sets the padding, in pixels, of all four edges. Padding is defined as space between the edges of the view and the view's content. A views size will include it's padding. If a background is provided, the padding will initially be set to that (0 if the drawable does not have padding). Explicitly setting a padding value will override the corresponding padding found in the background.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 padding.

Constant Value: 13 (0x0000000d)

public static final int View_paddingBottom

Sets the padding, in pixels, of the bottom edge; see padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 paddingBottom.

Constant Value: 17 (0x00000011)

public static final int View_paddingLeft

Sets the padding, in pixels, of the left edge; see padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 paddingLeft.

Constant Value: 14 (0x0000000e)

public static final int View_paddingRight

Sets the padding, in pixels, of the right edge; see padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 paddingRight.

Constant Value: 16 (0x00000010)

public static final int View_paddingTop

Sets the padding, in pixels, of the top edge; see padding.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 paddingTop.

Constant Value: 15 (0x0000000f)

public static final int View_saveEnabled

If unset, no state will be saved for this view when it is being frozen. The default is true, allowing the view to be saved (however it also must have an ID assigned to it for its state to be saved). Setting this to false only disables the state for this view, not for its children which may still be saved.

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 saveEnabled.

Constant Value: 31 (0x0000001f)

public static final int View_scrollX

The initial horizontal scroll offset, in pixels.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 scrollX.

Constant Value: 10 (0x0000000a)

public static final int View_scrollY

The initial vertical scroll offset, in pixels.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 scrollY.

Constant Value: 11 (0x0000000b)

public static final int View_scrollbarAlwaysDrawHorizontalTrack

Defines whether the horizontal scrollbar track should always be drawn.

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 scrollbarAlwaysDrawHorizontalTrack.

Constant Value: 5 (0x00000005)

public static final int View_scrollbarAlwaysDrawVerticalTrack

Defines whether the vertical scrollbar track should always be drawn

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 scrollbarAlwaysDrawVerticalTrack.

Constant Value: 6 (0x00000006)

public static final int View_scrollbarSize

Sets the width of vertical scrollbars and height of horizontal scrollbars.

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), db (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 scrollbarSize.

Constant Value: 0 (0x00000000)

public static final int View_scrollbarStyle

Controls the scrollbar style and position. The scrollbars can be overlaid or inset. When inset, they add to the padding of the view. And the scrollbars can be drawn inside the padding area or on the edge of the view. For example, if a view has a background drawable and you want to draw the scrollbars inside the padding specified by the drawable, you can use insideOverlay or insideInset. If you want them to appear at the edge of the view, ignoring the padding, then you can use outsideOverlay or outsideInset.

Must be one of the following constant values.

ConstantValueDescription
insideOverlay0x0 Inside the padding and overlaid
insideInset0x01000000 Inside the padding and inset
outsideOverlay0x02000000 Edge of the view and overlaid
outsideInset0x03000000 Edge of the view and inset

This corresponds to the global attribute resource symbol scrollbarStyle.

Constant Value: 7 (0x00000007)

public static final int View_scrollbarThumbHorizontal

Defines the horizontal scrollbar thumb drawable.

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 scrollbarThumbHorizontal.

Constant Value: 1 (0x00000001)

public static final int View_scrollbarThumbVertical

Defines the vertical scrollbar thumb drawable.

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 scrollbarThumbVertical.

Constant Value: 2 (0x00000002)

public static final int View_scrollbarTrackHorizontal

Defines the horizontal scrollbar track drawable.

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 scrollbarTrackHorizontal.

Constant Value: 3 (0x00000003)

public static final int View_scrollbarTrackVertical

Defines the vertical scrollbar track drawable.

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 scrollbarTrackVertical.

Constant Value: 4 (0x00000004)

public static final int View_scrollbars

Defines which scrollbars should be displayed on scrolling or not.

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
none0x00000000 No scrollbar is displayed.
horizontal0x00000100 Displays horizontal scrollbar only.
vertical0x00000200 Displays vertical scrollbar only.

This corresponds to the global attribute resource symbol scrollbars.

Constant Value: 22 (0x00000016)

public static final int View_tag

Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag(). It is generally preferable to use IDs (through the android:id attribute) instead of tags because they are faster and allow for compile-time type checking.

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 tag.

Constant Value: 9 (0x00000009)

public static final int View_visibility

Controls the initial visibility of the view.

Must be one of the following constant values.

ConstantValueDescription
visible0 Visible on screen; the default value.
invisible1 Not displayed, but taken into account during layout (space is left for it).
gone2 Completely hidden, as if the view had not been added.

This corresponds to the global attribute resource symbol visibility.

Constant Value: 20 (0x00000014)

public static final int[] VolumePreference

Base attributes available to VolumePreference.

Includes the following attributes:

AttributeSummary
android:streamType Different audio stream types.

public static final int VolumePreference_streamType

Different audio stream types.

Must be one of the following constant values.

ConstantValueDescription
voice0
system1
ring2
music3
alarm4

This corresponds to the global attribute resource symbol streamType.

Constant Value: 0 (0x00000000)

public static final int[] Window

Attributes that can be used with a Window.

Includes the following attributes:

AttributeSummary
android:textColor Color of text (usually same as colorForeground).
android:windowAnimationStyle Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.
android:windowBackground Drawable to use as the overall window background.
android:windowContentOverlay This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.
android:windowFrame Drawable to use as a frame around the window.
android:windowFullscreen Flag indicating whether this window should fill the entire screen.
android:windowIsFloating Flag indicating whether this is a floating window.
android:windowIsTranslucent Flag indicating whether this is a translucent window.
android:windowNoTitle Flag indicating whether there should be no title on this window.

public static final int[] WindowAnimation

public static final int WindowAnimation_activityCloseEnterAnimation

This symbol is the offset where the activityCloseEnterAnimation attribute's value can be found in the WindowAnimation 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: 6 (0x00000006)

public static final int WindowAnimation_activityCloseExitAnimation

This symbol is the offset where the activityCloseExitAnimation attribute's value can be found in the WindowAnimation 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: 7 (0x00000007)

public static final int WindowAnimation_activityOpenEnterAnimation

This symbol is the offset where the activityOpenEnterAnimation attribute's value can be found in the WindowAnimation 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: 4 (0x00000004)

public static final int WindowAnimation_activityOpenExitAnimation

This symbol is the offset where the activityOpenExitAnimation attribute's value can be found in the WindowAnimation 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: 5 (0x00000005)

public static final int WindowAnimation_taskCloseEnterAnimation

This symbol is the offset where the taskCloseEnterAnimation attribute's value can be found in the WindowAnimation 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: 10 (0x0000000a)

public static final int WindowAnimation_taskCloseExitAnimation

This symbol is the offset where the taskCloseExitAnimation attribute's value can be found in the WindowAnimation 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: 11 (0x0000000b)

public static final int WindowAnimation_taskOpenEnterAnimation

This symbol is the offset where the taskOpenEnterAnimation attribute's value can be found in the WindowAnimation 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: 8 (0x00000008)

public static final int WindowAnimation_taskOpenExitAnimation

This symbol is the offset where the taskOpenExitAnimation attribute's value can be found in the WindowAnimation 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: 9 (0x00000009)

public static final int WindowAnimation_taskToBackEnterAnimation

This symbol is the offset where the taskToBackEnterAnimation attribute's value can be found in the WindowAnimation 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: 14 (0x0000000e)

public static final int WindowAnimation_taskToBackExitAnimation

This symbol is the offset where the taskToBackExitAnimation attribute's value can be found in the WindowAnimation 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: 15 (0x0000000f)

public static final int WindowAnimation_taskToFrontEnterAnimation

This symbol is the offset where the taskToFrontEnterAnimation attribute's value can be found in the WindowAnimation 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: 12 (0x0000000c)

public static final int WindowAnimation_taskToFrontExitAnimation

This symbol is the offset where the taskToFrontExitAnimation attribute's value can be found in the WindowAnimation 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: 13 (0x0000000d)

public static final int WindowAnimation_windowEnterAnimation

The animation used when a window is being added.

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 windowEnterAnimation.

Constant Value: 0 (0x00000000)

public static final int WindowAnimation_windowExitAnimation

The animation used when a window is being removed.

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 windowExitAnimation.

Constant Value: 1 (0x00000001)

public static final int WindowAnimation_windowHideAnimation

The animation used when a window is going from VISIBLE to INVISIBLE.

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 windowHideAnimation.

Constant Value: 3 (0x00000003)

public static final int WindowAnimation_windowShowAnimation

The animation used when a window is going from INVISIBLE to VISIBLE.

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 windowShowAnimation.

Constant Value: 2 (0x00000002)

public static final int Window_textColor

Color of text (usually same as colorForeground).

May be a reference to another resource, in the form "@[+][package:]type:name" or 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 textColor.

Constant Value: 6 (0x00000006)

public static final int Window_windowAnimationStyle

Reference to a style resource holding the set of window animations to use, which can be any of the attributes defined by WindowAnimation.

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 windowAnimationStyle.

Constant Value: 7 (0x00000007)

public static final int Window_windowBackground

Drawable to use as the overall window background. There are a few special considerations you should use when settings this drawable:

  • This information will be used to infer the pixel format for your window's surface. If the drawable has any non-opaque pixels, your window will be translucent (32 bpp).
  • If you want to draw the entire background yourself, you should set this drawable to some solid color that closely matches that background (so the system's preview of your window will match), and then in code manually set your window's background to null so it will not be drawn.

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 windowBackground.

Constant Value: 0 (0x00000000)

public static final int Window_windowContentOverlay

This Drawable is overlaid over the foreground of the Window's content area, usually to place a shadow below the title.

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 windowContentOverlay.

Constant Value: 5 (0x00000005)

public static final int Window_windowFrame

Drawable to use as a frame around the window.

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 windowFrame.

Constant Value: 1 (0x00000001)

public static final int Window_windowFullscreen

Flag indicating whether this window should fill the entire 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 windowFullscreen.

Constant Value: 8 (0x00000008)

public static final int Window_windowIsFloating

Flag indicating whether this is a floating window.

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 windowIsFloating.

Constant Value: 3 (0x00000003)

public static final int Window_windowIsTranslucent

Flag indicating whether this is a translucent window.

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 windowIsTranslucent.

Constant Value: 4 (0x00000004)

public static final int Window_windowNoTitle

Flag indicating whether there should be no title on this window.

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 windowNoTitle.

Constant Value: 2 (0x00000002)

Public Constructors

public R.styleable()

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48